/* ==========================================================================
   CSS DESIGN SYSTEM - CLINICA VETERINARIA ANIMAL CENTER
   ========================================================================== */

/* VARIÁVEIS DE DESIGN */
:root {
  /* Paleta de Cores Oficial */
  --purple: #3F2864;
  --purple-dark: #2B1849;
  --teal: #218E8E;
  --teal-dark: #126B6B;
  --yellow: #F5CE21;
  --yellow-dark: #E2BD1B;
  --background: #FFFDF7;
  --background-soft: #F4F0E8;
  --text-main: #25202B;
  --text-muted: #6F6678;
  --white: #FFFFFF;
  --border: rgba(63, 40, 100, 0.12);
  
  /* Cores de Suporte e Efeitos */
  --purple-glow: rgba(63, 40, 100, 0.06);
  --teal-glow: rgba(33, 142, 142, 0.08);
  --yellow-glow: rgba(245, 206, 33, 0.2);
  --glass-bg: rgba(255, 253, 247, 0.85);

  /* Sombras */
  --shadow-sm: 0 4px 12px rgba(37, 32, 43, 0.04);
  --shadow-md: 0 12px 32px rgba(37, 32, 43, 0.08);
  --shadow-lg: 0 24px 48px rgba(63, 40, 100, 0.12);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);

  /* Bordas Arredondadas (Estilo Orgânico/Amigável) */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 45px;
  --radius-circle: 50%;

  /* Transições */
  --transition-fast: all 0.2s ease-in-out;
  --transition-normal: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Largura Máxima */
  --max-width: 1200px;
}

/* RESET E PREPARAÇÃO GLOBAL */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--background);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* TIPOGRAFIA */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--purple-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

p {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* UTILITÁRIOS E CLASSES COMUNS */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }

/* ELEMENTOS DE TEXTO E SEÇÕES */
.section-tag {
  display: inline-block;
  background-color: var(--teal-glow);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
}

.section-tag.style-white {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--yellow);
}

.section-title {
  margin-bottom: 20px;
}

.section-desc, .section-subtitle {
  font-size: 1.15rem;
  margin-bottom: 40px;
}

/* DECORAÇÕES DE FUNDO (Formas Orgânicas e Patinhas) */
.bg-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.organic-blob {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: blobMotion 20s infinite alternate ease-in-out;
}

.blob-1 {
  background-color: var(--purple);
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
}

.blob-2 {
  background-color: var(--teal);
  width: 600px;
  height: 600px;
  top: 800px;
  left: -200px;
  animation-delay: -5s;
}

.floating-paw {
  position: absolute;
  color: var(--purple);
  opacity: 0.04;
  transform: rotate(15deg);
  animation: pawFloat 12s infinite ease-in-out alternate;
}

.paw-1 { width: 80px; top: 15%; left: 5%; }
.paw-2 { width: 120px; top: 45%; right: 3%; animation-delay: -3s; }
.paw-3 { width: 90px; top: 75%; left: 8%; animation-delay: -6s; }

/* BOTÕES */
.btn-primary, .btn-secondary, .btn-yellow, .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-xl);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--teal-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--purple-dark);
  border-color: var(--border);
}

.btn-secondary:hover {
  background-color: var(--background-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-yellow {
  background-color: var(--yellow);
  color: var(--purple-dark);
}

.btn-yellow:hover {
  background-color: var(--yellow-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px var(--yellow-glow);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   1. HEADER
   ========================================================================== */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

#main-header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 75px;
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

#header-logo {
  height: 52px;
  width: auto;
  transition: var(--transition-normal);
}

#main-header.scrolled #header-logo {
  height: 44px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-item {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding: 8px 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--teal);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-item:hover {
  color: var(--teal);
}

.nav-item:hover::after, .nav-item.active::after {
  width: 100%;
}

.nav-item.active {
  color: var(--purple);
  font-weight: 600;
}

.header-cta {
  padding: 10px 22px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.header-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Menu Mobile Hamburguer */
#btn-mobile {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--purple-dark);
  position: relative;
  transition: var(--transition-fast);
}

.hamburger::before, .hamburger::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--purple-dark);
  position: absolute;
  transition: var(--transition-fast);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }


/* ==========================================================================
   2. HERO PRINCIPAL
   ========================================================================== */
.hero-section {
  padding: 150px 0 80px 0;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-tagline {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  color: var(--teal);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-title {
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-microinfo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.microinfo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--purple-dark);
}

.microinfo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-circle);
  background-color: var(--purple-glow);
  color: var(--purple);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

/* FontAwesome Icon Adjustments */
.microinfo-icon i {
  font-size: 1.15rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary i, .btn-secondary i, .btn-yellow i, .btn-whatsapp i {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.header-cta i {
  font-size: 1.1rem;
}

.info-icon {
  color: var(--teal);
  font-size: 1.15rem;
  margin-top: 4px;
  flex-shrink: 0;
  width: auto;
  height: auto;
}

.servico-icon-wrapper i {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.bullet-icon {
  font-size: 1rem;
  color: var(--teal);
  flex-shrink: 0;
}

.microinfo-item:hover .microinfo-icon {
  transform: scale(1.1) rotate(10deg);
  background-color: var(--purple);
  color: var(--white);
}

.microinfo-item.highlight .microinfo-icon {
  background-color: rgba(245, 206, 33, 0.15);
  color: #c9a407;
}

.microinfo-item.highlight:hover .microinfo-icon {
  background-color: var(--yellow);
  color: var(--purple-dark);
}

/* Imagem e Formas do Hero (Direita) */
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1.1;
  z-index: 2;
}

.organic-frame-bg {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  background-color: var(--teal);
  border-radius: 40% 50% 30% 60% / 50% 40% 60% 40%;
  z-index: -1;
  opacity: 0.15;
  transition: var(--transition-slow);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 48% 52% 40% 60% / 55% 45% 55% 45%;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  transition: var(--transition-slow);
}

.hero-image-wrapper:hover .hero-image {
  border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
}

.hero-image-wrapper:hover .organic-frame-bg {
  transform: rotate(-10deg) scale(1.05);
  border-radius: 50% 35% 65% 35% / 40% 60% 40% 60%;
}

/* Selo Flutuante */
.hero-badge {
  position: absolute;
  bottom: 25px;
  left: -20px;
  background-color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
  border: 1px solid var(--border);
  animation: floatBadge 6s infinite ease-in-out;
}

.hero-badge svg {
  color: var(--teal);
  flex-shrink: 0;
}

.hero-badge strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  color: var(--purple-dark);
  font-size: 0.95rem;
}

.hero-badge span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Ícones Flutuantes de Fundo */
.floating-element {
  position: absolute;
  background-color: var(--white);
  color: var(--purple);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  z-index: 5;
  transition: var(--transition-fast);
}

.floating-element:hover {
  transform: scale(1.15) rotate(15deg);
  background-color: var(--purple);
  color: var(--white);
}

.float-icon-1 { top: 10%; left: -10px; animation: floatBadge 5s infinite ease-in-out alternate; }
.float-icon-2 { top: -20px; right: 20%; animation: floatBadge 7s infinite ease-in-out alternate 1s; color: var(--teal); }
.float-icon-3 { bottom: 35%; right: -15px; animation: floatBadge 6s infinite ease-in-out alternate 0.5s; }


/* ==========================================================================
   3. SOBRE A CLINICA
   ========================================================================== */
.sobre-section {
  padding: 80px 0;
  background-color: var(--background-soft);
  position: relative;
  overflow: hidden;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.sobre-media {
  position: relative;
}

.sobre-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
}

.sobre-image {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-slow);
}

.sobre-image-container:hover .sobre-image {
  transform: scale(1.05);
}

.sobre-experience-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background-color: var(--purple);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.sobre-experience-badge strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: var(--yellow);
}

.sobre-experience-badge span {
  font-size: 0.85rem;
  opacity: 0.9;
}

.sobre-info-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-top: 32px;
}

.info-card-title {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--background-soft);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
}

.info-icon {
  color: var(--teal);
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.link-inline {
  color: var(--teal-dark);
  text-decoration: underline;
}

.link-inline:hover {
  color: var(--purple);
}


/* ==========================================================================
   4. SERVIÇOS OFERECIDOS
   ========================================================================== */
.servicos-section {
  padding: 100px 0;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.servico-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.servico-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: transparent;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: var(--transition-fast);
}

.servico-icon-wrapper {
  width: 56px;
  height: 56px;
  background-color: var(--purple-glow);
  color: var(--purple);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.servico-icon {
  width: 28px;
  height: 28px;
}

.servico-card-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--purple-dark);
}

.servico-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Efeito Hover dos Cards */
.servico-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(33, 142, 142, 0.3);
}

.servico-card:hover::after {
  background-color: var(--teal);
}

.servico-card:hover .servico-icon-wrapper {
  background-color: var(--teal);
  color: var(--white);
  transform: scale(1.05) rotate(5deg);
}


/* ==========================================================================
   5. DIFERENCIAIS
   ========================================================================== */
.diferenciais-section {
  background-color: var(--purple-dark);
  padding: 160px 0 160px 0;
  position: relative;
}

.wave-divider-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.wave-divider-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
  transform: rotateY(180deg);
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.diferencial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition-normal);
}

.diferencial-badge-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--yellow);
  opacity: 0.8;
  margin-bottom: 16px;
  line-height: 1;
}

.diferencial-card-title {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.diferencial-card-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.diferencial-card:hover {
  background-color: var(--white);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-color: var(--white);
}

.diferencial-card:hover .diferencial-badge-number {
  color: var(--teal);
}

.diferencial-card:hover .diferencial-card-title {
  color: var(--purple-dark);
}

.diferencial-card:hover .diferencial-card-desc {
  color: var(--text-muted);
}


/* ==========================================================================
   6. BANHO & TOSA / PET SHOP (Blocos Customizados)
   ========================================================================== */
.estetica-section {
  padding: 100px 0;
  background-color: var(--background);
}

.estetica-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.estetica-block {
  display: flex;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border);
  transition: var(--transition-normal);
}

.block-image-wrapper {
  width: 45%;
  position: relative;
  overflow: hidden;
}

.block-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.block-content {
  width: 55%;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.block-title {
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.block-desc {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.block-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.block-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--purple-dark);
}

.bullet-icon {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

/* Modificadores de Cores por Bloco */
.block-pink {
  border-color: rgba(63, 40, 100, 0.16);
}
.block-pink:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow-md);
}
.block-pink:hover .block-image {
  transform: scale(1.08);
}

.block-teal {
  border-color: rgba(33, 142, 142, 0.16);
}
.block-teal:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}
.block-teal:hover .block-image {
  transform: scale(1.08);
}
.block-teal .bullet-icon {
  color: var(--purple);
}

.estetica-cta {
  margin-top: 56px;
}


/* ==========================================================================
   7. GALERIA VISUAL
   ========================================================================== */
.galeria-section {
  padding: 100px 0;
  background-color: var(--background-soft);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.galeria-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 5px solid var(--white);
  cursor: pointer;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

.galeria-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(63, 40, 100, 0.85), rgba(33, 142, 142, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
  padding: 20px;
  text-align: center;
}

.galeria-overlay span {
  font-family: 'Poppins', sans-serif;
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.galeria-item:hover img {
  transform: scale(1.1);
}

.galeria-item:hover .galeria-overlay {
  opacity: 1;
}

.galeria-item:hover .galeria-overlay span {
  transform: translateY(0);
}


/* ==========================================================================
   8. LOCALIZAÇÃO COM MAPA
   ========================================================================== */
.localizacao-section {
  padding: 100px 0;
}

.localizacao-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.localizacao-address {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 24px;
  line-height: 1.4;
}

.localizacao-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
  align-items: flex-start;
}

.localizacao-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
}

.localizacao-map-wrapper iframe {
  display: block;
}


/* ==========================================================================
   9. CTA FINAL (Chamada para o WhatsApp)
   ========================================================================== */
.cta-final-section {
  padding: 80px 0 120px 0;
}

.cta-final-box {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-blob-1, .cta-blob-2 {
  position: absolute;
  background-color: var(--teal);
  border-radius: var(--radius-circle);
  opacity: 0.15;
  filter: blur(50px);
}

.cta-blob-1 { width: 300px; height: 300px; top: -100px; left: -100px; }
.cta-blob-2 { width: 250px; height: 250px; bottom: -80px; right: -80px; background-color: var(--yellow); }

.cta-final-content {
  position: relative;
  z-index: 5;
  max-width: 650px;
  margin: 0 auto;
}

.cta-final-title {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}

.cta-final-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 40px;
}

.cta-note {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}


/* ==========================================================================
   10. FOOTER (Rodapé)
   ========================================================================== */
.main-footer {
  background-color: #1e1330;
  color: var(--white);
  padding: 80px 0 0 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 24px;
  background-color: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.footer-tagline {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--yellow);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: var(--white);
  position: relative;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--yellow);
  padding-left: 6px;
}

.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-address strong {
  color: var(--white);
}

.footer-address a {
  color: var(--yellow);
}

.footer-address a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding: 32px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}


/* ==========================================================================
   BOTÃO FLUTUANTE DO WHATSAPP
   ========================================================================== */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: var(--white);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  animation: bounceFloating 4s infinite;
  transition: var(--transition-fast);
}

.whatsapp-floating-btn:hover {
  background-color: #20BA5A;
  transform: scale(1.15);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}


/* ==========================================================================
   ANIMAÇÕES (KEYFRAMES)
   ========================================================================== */
@keyframes blobMotion {
  0% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
  100% { transform: translate(0px, 0px) scale(1); }
}

@keyframes pawFloat {
  0% { transform: translateY(0) rotate(15deg); }
  100% { transform: translateY(-20px) rotate(20deg); }
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

@keyframes bounceFloating {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-12px); }
  60% { transform: translateY(-6px); }
}


/* ==========================================================================
   EFEITO SCROLL REVEAL (Aparecimento Suave)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}



/* ==========================================================================
   4.5. ESPECIALIDADES VETERINÁRIAS
   ========================================================================== */
.especialidades-section {
  padding: 100px 0;
  background-color: var(--background);
}

.especialidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
  margin-bottom: 56px;
}

.especialidade-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  transition: var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.especialidade-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: transparent;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: var(--transition-fast);
}

.especialidade-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: var(--teal-glow);
  color: var(--teal);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-fast);
  overflow: hidden;
}

.especialidade-icon-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition: var(--transition-fast);
  /* Color filter to match `--teal` (#218E8E) starting from any color */
  filter: brightness(0) saturate(100%) invert(46%) sepia(21%) saturate(1210%) hue-rotate(133deg) brightness(95%) contrast(88%);
}

.especialidade-card:hover .especialidade-icon-img {
  /* On hover, turns to white */
  filter: brightness(0) invert(1);
}

/* Specific rule for the JPEG icon (Cuidados Paliativos) which has a white background */
.especialidade-icon-img.jpeg-icon {
  filter: none; /* Keep the original blue line art */
  mix-blend-mode: multiply;
}

.especialidade-card:hover .especialidade-icon-img.jpeg-icon {
  filter: invert(1) brightness(2); /* Turns white to black, and makes lines light/visible on purple */
  mix-blend-mode: screen; /* hides the black background on purple */
}

.especialidade-card-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--purple-dark);
}

.especialidade-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.especialidade-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(63, 40, 100, 0.2);
}

.especialidade-card:hover::after {
  background-color: var(--purple);
}

.especialidade-card:hover .especialidade-icon-wrapper {
  background-color: var(--purple);
  color: var(--white);
  transform: scale(1.05) rotate(5deg);
}

.especialidades-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.especialidades-note {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   6. DEPOIMENTOS (Testemunhos)
   ========================================================================== */
.depoimentos-section {
  padding: 100px 0;
  background-color: var(--background-soft);
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 48px;
}

.depoimento-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.depoimento-stars {
  color: var(--yellow);
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.depoimento-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.depoimento-user {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.depoimento-avatar-initials {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  flex-shrink: 0;
}

.initial-purple {
  background-color: var(--purple);
}

.initial-teal {
  background-color: var(--teal);
}

.initial-yellow {
  background-color: var(--yellow-dark);
}

.depoimento-user-info {
  display: flex;
  flex-direction: column;
}

.depoimento-user-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--purple-dark);
}

.depoimento-user-pet {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.depoimento-quote-icon {
  position: absolute;
  bottom: 32px;
  right: 32px;
  font-size: 3.5rem;
  color: var(--purple-glow);
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

.depoimento-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(33, 142, 142, 0.3);
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

/* Ajustes para telas de desktop pequenas (entre 1025px e 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-list {
    gap: 16px;
  }
  
  .header-cta {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
}

/* Telas de Desktop Médias / Tablets em Paisagem (1024px) */
@media (max-width: 1024px) {
  /* Header Mobile (Menu Hambúrguer ativa em 1024px) */
  #btn-mobile {
    display: flex;
  }

  #nav-menu {
    display: block;
    position: fixed;
    width: 100%;
    height: 0;
    top: 90px;
    left: 0;
    background-color: var(--white);
    transition: height 0.3s ease;
    overflow-y: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }
  
  #main-header.scrolled #nav-menu {
    top: 75px;
  }

  #nav-menu.active {
    height: calc(100vh - 90px);
    overflow-y: auto; /* Correção para permitir scroll se os links não couberem na tela */
  }

  #main-header.scrolled #nav-menu.active {
    height: calc(100vh - 75px);
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    padding: 48px 0;
    gap: 36px;
  }

  .nav-item {
    font-size: 1.25rem;
  }

  .header-cta {
    display: none; /* Esconde CTA do topo no mobile/tablet */
  }

  /* Animação do Hamburger */
  #nav-menu.active ~ #btn-mobile .hamburger {
    background-color: transparent;
  }
  #nav-menu.active ~ #btn-mobile .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }
  #nav-menu.active ~ #btn-mobile .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
  }

  /* Ajustes dos Grids (2 Colunas em Tablets) */
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .especialidades-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .diferenciais-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .estetica-grid {
    grid-template-columns: 1fr;
  }
  .depoimentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    gap: 40px;
  }
}

/* Tablets em Retrato / Telas Médias (768px) */
@media (max-width: 768px) {
  /* Grid Layouts para 1 coluna */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  
  .hero-content {
    order: 2;
  }

  .hero-media {
    order: 1;
    margin-top: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 340px;
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .localizacao-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .localizacao-buttons {
    align-items: center;
    width: 100%;
  }

  .localizacao-buttons a {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 24px auto;
  }

  /* Ajustes de Espaçamento e Mapa */
  .hero-section {
    padding: 120px 0 60px 0;
  }

  .diferenciais-section {
    padding: 100px 0 100px 0; /* Reduz padding de 160px para 100px */
  }

  .cta-final-box {
    padding: 60px 24px; /* Reduz padding interno para caber melhor no mobile */
  }

  .localizacao-map-wrapper iframe {
    height: 300px; /* Altura mais proporcional do mapa */
  }

  .estetica-block {
    flex-direction: column;
  }

  .block-image-wrapper {
    width: 100%;
    height: 220px;
  }

  .block-content {
    width: 100%;
    padding: 32px 24px;
  }

  .servicos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .especialidades-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .diferenciais-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .depoimentos-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .galeria-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* SmartPhones Pequenos (480px) */
@media (max-width: 480px) {
  .hero-buttons a {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-microinfo {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
  }

  .servico-card {
    padding: 24px 20px;
  }

  .especialidade-card {
    padding: 30px 20px;
  }

  .depoimento-card {
    padding: 30px 20px;
  }

  .diferencial-card {
    padding: 24px 20px;
  }

  .organic-frame-bg {
    left: 8px;
    top: 8px;
  }

  .hero-badge {
    left: 0;
    right: 0;
    bottom: -15px;
    margin: 0 auto;
    width: 90%;
    padding: 12px 16px;
    gap: 12px;
  }

  .sobre-experience-badge {
    padding: 10px 16px;
    bottom: 12px;
    right: 12px;
  }

  .sobre-experience-badge strong {
    font-size: 1rem;
  }

  .sobre-experience-badge span {
    font-size: 0.75rem;
  }

  .cta-final-box {
    padding: 48px 16px; /* Mais compacto para telas minúsculas */
  }

  .floating-element {
    display: none; /* Esconde elementos extras no mobile muito pequeno */
  }

  .whatsapp-floating-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}
