/* ===== VARIÁVEIS E RESET ===== */
:root {
  --primary-color: #c89ed1;
  --primary-dark: #a67fb5;
  --secondary-color: #f8f4f9;
  --text-color: #333;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  transition: all 0.3s ease;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--white);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== BOTÃO MENU MOBILE ===== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 1001;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.mobile-menu-toggle:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* ===== OVERLAY ===== */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay.active {
  display: block;
  opacity: 1;
}

/* ===== SIDEBAR ===== */
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 2rem 1rem;
  width: 280px;
  background: var(--white);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
  overflow-y: auto;
  transition: transform 0.3s ease;
}

/* ===== HEADER DA SIDEBAR ===== */
.sidebar-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.sidebar-header img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  margin-bottom: 1rem;
}

.sidebar-header img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.sidebar-header h1 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  text-align: center;
  font-weight: 600;
}

/* ===== ITENS DO MENU ===== */
.nav-menu li {
  margin-bottom: 0.5rem;
}

.nav-menu li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.nav-menu li a i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.nav-menu li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--primary-color);
  opacity: 0;
  transition: var(--transition);
}

.nav-menu li.active a,
.nav-menu li a:hover {
  color: var(--primary-dark);
  background: var(--secondary-color);
}

.nav-menu li.active a::before,
.nav-menu li a:hover::before {
  opacity: 1;
}

.nav-menu li.blog a {
  color: #e91e63;
}

/* ===== HERO SECTION ===== */
.hero {
  margin-left: 280px;
  padding: 40px 0;
  min-height: 500px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23c89ed1' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  max-width: 500px;
}

.hero-title {
  font-size: 2.8rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  font-weight: 700;
  animation: fadeInDown 1s ease;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 30px;
  line-height: 1.6;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.hero-button:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-image {
  flex: 1;
  text-align: center;
  max-width: 500px;
}

.placeholder-hero {
  height: 350px;
  background: var(--white);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 3rem;
  box-shadow: var(--shadow);
}

.placeholder-hero span {
  margin-top: 15px;
  font-size: 1rem;
  color: var(--text-color);
}

/* ===== CONTEÚDO PRINCIPAL ===== */
.main-container {
  margin-left: 280px;
  padding: 80px 40px;
  max-width: 100%;
  transition: var(--transition);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 50px;
  font-weight: 700;
}

/* ===== GRADE DE PRODUTOS ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* ===== CARDS DE PRODUTOS ===== */
.card {
  background: var(--white);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 320px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card h2 {
  margin: 1rem 0;
  font-size: 1.4rem;
  color: var(--text-color);
  font-weight: 600;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0.5rem 0 1.5rem;
}

/* ===== BOTÕES ===== */
.card button {
  margin-top: auto;
  padding: 12px 24px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.card button:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(200, 158, 209, 0.4);
}

/* Remova ou comente o placeholder-hero se não for mais necessário */
.placeholder-hero {
  display: none;
}

/* ===== RODAPÉ ===== */
.footer {
  background: var(--text-color);
  color: var(--white);
  padding: 50px 0 20px;
  margin-left: 280px;
  transition: var(--transition);
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.footer-logo p {
  font-size: 1rem;
  color: var(--secondary-color);
}

.footer-info h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 15px;
}

.footer-links a {
  color: var(--white);
  font-size: 1.5rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Responsividade do rodapé */
@media (max-width: 992px) {
  .footer {
    margin-left: 240px;
  }
}

@media (max-width: 768px) {
  .footer {
    margin-left: 0;
    width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .footer-info {
    width: 100%;
  }
  
  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 40px 0 15px;
  }
  
  .footer-logo img {
    width: 80px;
    height: 80px;
  }
}

/* Animações */
@keyframes headTilt {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

@keyframes blink {
  0%, 95%, 100% { height: 22px; }
  96%, 99% { height: 2px; }
}

@keyframes meow {
  0%, 30%, 100% { opacity: 0; transform: translateY(10px); }
  5%, 25% { opacity: 1; transform: translateY(0); }
}

@keyframes tailWag {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(15deg); }
}

@keyframes pawLeft {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(5deg); }
}

@keyframes pawRight {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-5deg); }
}

@keyframes yarnBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(90deg); }
  50% { transform: translateY(0) rotate(180deg); }
  75% { transform: translateY(-5px) rotate(270deg); }
}

/* Responsividade */
@media (max-width: 992px) {
  .cat-animation {
    transform: scale(0.9);
  }
}

@media (max-width: 768px) {
  .hero-animation {
    order: -1;
    margin-bottom: 40px;
  }
  
  .cat-animation {
    transform: scale(0.8);
  }
}

@media (max-width: 576px) {
  .cat-animation {
    transform: scale(0.7);
  }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
  .hero-container {
    padding: 0 30px;
  }
  
  .main-container {
    padding: 80px 30px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    width: 240px;
  }
  
  .hero,
  .main-container {
    margin-left: 240px;
  }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .hero-content {
    margin-bottom: 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .placeholder-hero {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    transform: translateX(-100%);
    width: 280px;
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .hero,
  .main-container {
    margin-left: 0;
    width: 100%;
  }
  
  .hero {
    padding: 30px 0;
    min-height: auto;
  }
  
  .hero-container {
    padding: 0 20px;
  }
  
  .main-container {
    padding: 60px 20px;
  }
  
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 20px 0;
  }
  
  .hero-container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .main-container {
    padding: 40px 15px;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .card {
    padding: 20px;
    max-width: 100%;
  }
  
  .placeholder-hero {
    height: 250px;
    font-size: 2.5rem;
  }
  
  .sidebar-header img {
    width: 100px;
    height: 100px;
  }
  
  .sidebar-header h1 {
    font-size: 1.3rem;
  }
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}