/* ==========================================================================
   CEVEPE — Centro Veterinário de Petrolina
   Design inspirado na linguagem visual da Apple:
   preto absoluto, cinza #F5F5F7, tipografia grande e apertada,
   muito respiro e o verde da marca usado só como acento.
   ========================================================================== */

:root {
  /* Marca — cores amostradas diretamente do arquivo do logo */
  --brand: #85C028;          /* verde CEVEPE — fundos, números sobre preto */
  --brand-deep: #6BA01C;     /* hover de fundos verdes */
  --brand-text: #527914;     /* verde para TEXTO sobre claro (5,1:1 — AA) */
  --brand-soft: #F0F8E4;
  --brand-ink: #16250A;      /* texto sobre o verde (9,5:1) */
  --brand-gray: #404547;     /* cinza escuro do logo */

  /* Neutros */
  --black: #000000;
  --ink: #1D1D1F;            /* preto de texto */
  --ink-2: #6E6E73;          /* texto secundário */
  --ink-3: #86868B;          /* texto terciário */
  --surface: #FFFFFF;
  --surface-2: #F5F5F7;      /* cinza de seção */
  --hairline: rgba(0, 0, 0, .08);

  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --header-h: 64px;
  --radius: 20px;
  --radius-lg: 28px;
  --container: 1220px;

  --ease: cubic-bezier(.28, .11, .32, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
ul { list-style: none; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.06;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 2000;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}
.center { text-align: center; }
.muted { color: var(--ink-2); }

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  position: relative;
  isolation: isolate;               /* contém o anel de pulso do ::after atrás do conteúdo */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: 980px;             /* pílula Apple */
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .4s var(--ease-out), background-color .3s var(--ease),
              box-shadow .4s var(--ease-out), color .3s var(--ease),
              border-color .3s var(--ease), opacity .3s var(--ease);
}
/* Física única para todo botão clicável: sobe e cresce no hover (igual ao
   botão flutuante do WhatsApp), afunda no clique. As variantes abaixo só
   mudam cor/sombra, não o movimento. */
.btn:hover { transform: translateY(-2px) scale(1.035); }
.btn:active { transform: translateY(0) scale(.96); }

/* O verde da marca é claro demais para texto branco (2,2:1).
   Com texto quase preto o contraste sobe para 9,5:1 e fica mais moderno. */
.btn-primary {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 6px 20px rgba(133, 192, 40, .3);
}
.btn-primary:hover {
  background: #92D02D;
  box-shadow: 0 12px 30px rgba(133, 192, 40, .42);
}

/* Anel que pulsa atrás dos CTAs primários — mesma mecânica do botão
   flutuante do WhatsApp, para reforçar visualmente as ações de conversão.
   Fica só nos botões preenchidos (primary): atrás de um botão outline ou
   translúcido o círculo verde apareceria "flutuando" sem se conectar ao
   botão, então quiet/ghost recebem apenas o hover acima, sem pulso. */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--brand);
  animation: btnPulse 2.6s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes btnPulse {
  0%   { transform: scale(1);    opacity: .45; }
  70%  { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

/* Botão translúcido sobre foto/fundo escuro */
.btn-quiet {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.btn-quiet:hover {
  background: rgba(255, 255, 255, .24);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(0, 0, 0, .16);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(0, 0, 0, .04);
}

.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-large { padding: 16px 34px; font-size: 1.075rem; }
.btn-block { width: 100%; }

.chev {
  width: 15px; height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .35s var(--ease-out);
}
.btn:hover .chev { transform: translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.header.scrolled {
  background: rgba(255, 255, 255, .88);
  border-bottom-color: var(--hairline);
}

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

.logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: height .4s var(--ease);
}

.nav-links { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .btn-primary { display: none; }

/* Hambúrguer que vira X */
.nav-toggle {
  width: 40px; height: 40px;
  display: grid;
  place-content: center;
  gap: 6px;
  margin-right: -8px;
}
.nav-toggle span {
  display: block;
  width: 19px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .4s var(--ease-out), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

/* Menu mobile em tela cheia */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 999;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  opacity: 0;
  transition: opacity .35s var(--ease);
  overflow-y: auto;
}
.mobile-nav.open { opacity: 1; }

.mobile-nav-inner {
  padding: 14px 22px calc(40px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}
.mobile-nav-inner > a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 2px;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -.02em;
  border-bottom: 1px solid var(--hairline);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .2s var(--ease);
}
.mobile-nav.open .mobile-nav-inner > a:not(.btn) { opacity: 1; transform: none; }
.mobile-nav-inner > a:nth-child(1) { transition-delay: .06s; }
.mobile-nav-inner > a:nth-child(2) { transition-delay: .12s; }
.mobile-nav-inner > a:nth-child(3) { transition-delay: .18s; }
.mobile-nav-inner > a:nth-child(4) { transition-delay: .24s; }
.mobile-nav-inner > a:not(.btn):hover { color: var(--brand-text); }

.mobile-nav-inner svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-nav .btn { margin-top: 32px; }

/* ==========================================================================
   Seções
   ========================================================================== */
.section {
  padding: clamp(80px, 12vw, 140px) 0;
  scroll-margin-top: var(--header-h);
}
.section-gray { background: var(--surface-2); }

.section-header { margin-bottom: clamp(48px, 7vw, 76px); }
.section-header.center { max-width: 760px; margin-inline: auto; }

.section-tag {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--brand-text);
  margin-bottom: 14px;
}

.section-header h2,
.location-info h2,
.cta-section h2 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 700;
}

.section-lead {
  margin-top: 20px;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: -.01em;
  max-width: 62ch;
}
.section-header.center .section-lead { margin-inline: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;   /* desconta a barra do navegador no mobile */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: calc(var(--header-h) + 60px) 22px 96px;
  background: var(--black);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: -2; }

.hero-image {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;   /* mantém o letreiro visível no corte widescreen */
  /* Fade acinzentado: a foto perde saturação e brilho para recuar visualmente.
     O texto por cima volta a ser branco sólido — é a imagem que se esconde,
     não a legibilidade do texto que paga o preço. */
  filter: grayscale(.7) brightness(.72) contrast(1.02);
  animation: kenburns 28s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.13); }
}

/* Scrim em duas camadas: um degradê vertical que adensa embaixo (onde fica o
   texto) e um lateral que apaga as bordas.

   Calibrado medindo a foto real: mesmo no pior caso (as luminárias brancas
   da entrada, bem atrás do texto) o resultado final fica em ~11,6:1 de
   contraste contra o texto branco sólido — bem acima do mínimo de 4,5:1. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top,
      rgba(0,0,0,.90) 0%,
      rgba(0,0,0,.76) 30%,
      rgba(0,0,0,.52) 60%,
      rgba(0,0,0,.68) 100%),
    linear-gradient(to right,
      rgba(0,0,0,.40) 0%,
      rgba(0,0,0,.12) 50%,
      rgba(0,0,0,.40) 100%);
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  text-align: center;
  color: #fff;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  margin-bottom: 22px;
  border-radius: 980px;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.hero-badge {
  padding: 4px 12px;
  border-radius: 980px;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: -.01em;
}

.hero h1 {
  font-size: clamp(2.6rem, 8.4vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.hero-sub {
  margin: 24px auto 0;
  max-width: 40ch;
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: -.01em;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 42px; height: 42px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, .65);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.scroll-cue:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.scroll-cue svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50%      { transform: translateY(5px); opacity: 1; }
}

/* ==========================================================================
   30 anos — selo + contadores
   ========================================================================== */
.legacy {
  position: relative;
  background: var(--black);
  color: #fff;
  padding: clamp(72px, 11vw, 124px) 0;
  overflow: hidden;
}
.legacy::after {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 720px; height: 720px;
  transform: translate(-38%, -50%);
  background: radial-gradient(circle, rgba(133, 192, 40, .18) 0%, transparent 62%);
  pointer-events: none;
}

.legacy-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 46px;
  justify-items: center;
  text-align: center;
}

.legacy-content h2 {
  font-size: clamp(1.9rem, 5.4vw, 3.1rem);
  font-weight: 700;
}
.legacy-text {
  margin-top: 20px;
  max-width: 46ch;
  font-size: clamp(1rem, 2.3vw, 1.2rem);
  color: rgba(255, 255, 255, .74);
}

/* --- Selo circular --- */
.legacy-seal { flex: none; }

.seal {
  width: clamp(196px, 44vw, 268px);
  height: auto;
  color: var(--brand);
}
.seal-ring-outer { fill: none; stroke: currentColor; stroke-width: 1; opacity: .32; }
.seal-ring-inner { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .85; }

/* O espaçamento real vem do textLength no HTML; este letter-spacing é só
   o fallback para renderizadores que ignorem o atributo. */
.seal-arc {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  fill: rgba(255, 255, 255, .78);
}
.seal-gem { fill: currentColor; opacity: .9; }

/* O anel de texto gira devagar; o miolo fica parado e legível */
.seal-rotate {
  transform-box: view-box;
  transform-origin: 100px 100px;
  animation: sealSpin 48s linear infinite;
}
@keyframes sealSpin {
  to { transform: rotate(360deg); }
}

.seal-rule { stroke: currentColor; stroke-width: 1.5; opacity: .45; }
.seal-num {
  font-family: var(--font);
  font-size: 62px;
  font-weight: 700;
  letter-spacing: -3px;
  fill: currentColor;
}
.seal-word {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 8px;
  fill: rgba(255, 255, 255, .82);
}

/* --- Contadores --- */
.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
  width: 100%;
}
.counters li { display: flex; flex-direction: column; }

.counter-value {
  font-size: clamp(1.4rem, 6.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--brand);
  /* dígitos de largura fixa: o número não "treme" enquanto sobe */
  font-variant-numeric: tabular-nums;
}
.counter-label {
  margin-top: 10px;
  font-size: .88rem;
  color: var(--ink-3);
  line-height: 1.35;
}

/* ==========================================================================
   Bento grid — Nossa Estrutura
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.bento-item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .09);
}

.bento-item h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.bento-item p {
  font-size: 1rem;
  color: var(--ink-2);
}

.bento-icon {
  display: grid;
  place-content: center;
  width: 50px; height: 50px;
  margin-bottom: 22px;
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--brand-text);
}
.bento-icon svg {
  width: 25px; height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Tile com foto */
.bento-photo {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 340px;
  background: var(--ink);
}
.bento-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.bento-photo:hover img { transform: scale(1.05); }

.bento-photo-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 60px 30px 30px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.55) 45%, transparent);
}
.bento-photo-caption h3 { margin-bottom: 8px; }
.bento-photo-caption p { color: rgba(255, 255, 255, .8); }

/* Tile de número — fundo escuro para o verde da marca aparecer vibrante.
   Sobre branco esse verde teria só 2,2:1; sobre preto sobe para 9,5:1. */
.bento-stat {
  display: flex;
  flex-direction: column;
  background: var(--ink);
}
.bento-stat h3 { color: #fff; }
.bento-stat p { color: rgba(255, 255, 255, .72); }

.stat-number {
  font-size: clamp(3.4rem, 9vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .9;
  color: var(--brand);
  margin-bottom: 18px;
}

/* ==========================================================================
   Serviços
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.service-card {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: 38px 32px 40px;
  transition: transform .5s var(--ease-out), background-color .4s var(--ease),
              box-shadow .5s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 24px 56px rgba(0, 0, 0, .1);
}

.service-icon {
  display: grid;
  place-content: center;
  width: 56px; height: 56px;
  margin-bottom: 26px;
  border-radius: 17px;
  background: var(--surface);
  color: var(--brand-deep);
  transition: background-color .4s var(--ease), color .4s var(--ease),
              transform .5s var(--ease-out);
}
.service-icon svg {
  width: 27px; height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card:hover .service-icon {
  background: var(--brand);
  color: var(--brand-ink);
  transform: scale(1.06);
}

.service-card h3 {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 1.02rem;
  color: var(--ink-2);
}

/* O card inteiro é clicável (link para o WhatsApp); esta linha existe para
   deixar essa affordance óbvia — sem ela pareceria só um cartão informativo. */
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--brand-text);
}
.service-card:hover .service-cta { color: var(--brand-deep); }
.service-card:hover .chev { transform: translateX(3px); }

/* ==========================================================================
   CTA de urgência
   ========================================================================== */
.cta-section {
  position: relative;
  background: var(--black);
  color: #fff;
  padding: clamp(88px, 13vw, 150px) 0;
  overflow: hidden;
}
.cta-section::after {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  width: 900px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(133, 192, 40, .22) 0%, transparent 62%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section p {
  margin: 22px auto 40px;
  max-width: 48ch;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: rgba(255, 255, 255, .72);
}

/* ==========================================================================
   Avaliações — esteira arrastável

   .reviews-carousel fica FORA do .container (full-bleed) pra os cards
   fluírem até a borda da tela; o padding do track reproduz a mesma
   margem esquerda do container, então o primeiro card ainda alinha com
   o resto do conteúdo. O JS clona o conjunto de cards uma vez lá dentro
   pra dar loop infinito — aqui só existe UM conjunto de estilos porque a
   cópia herda as mesmas classes.
   ========================================================================== */
.reviews-carousel {
  margin-top: clamp(40px, 6vw, 56px);
}

.reviews-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  cursor: grab;
  padding-inline: max(22px, calc((100vw - var(--container)) / 2 + 22px));
  padding-block: 4px;               /* espaço pra sombra do hover não cortar */
  /* esconde a barra de rolagem nativa — a "barrinha" customizada abaixo
     é o controle visual, a nativa só serviria de duplicata */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.review-card {
  flex: 0 0 clamp(300px, 84vw, 400px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .09);
}

.stars { display: flex; gap: 2px; margin-bottom: 22px; }
.stars .star-icon { width: 19px; height: 19px; fill: #F5A623; }

.review-text {
  flex: 1;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-bottom: 30px;
}
.review-text::before { content: '“'; }
.review-text::after  { content: '”'; }

.reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.reviewer-avatar {
  flex: none;
  width: 46px; height: 46px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 1.05rem;
  font-weight: 700;
}
/* Paleta rotativa pelos 9 depoimentos (a cópia clonada repete o ciclo em
   :nth-child(9n+N), então a cor de cada pessoa fica igual nas duas voltas
   da esteira). Cores mais discretas que o arco-íris padrão do Google, pra
   não brigar com o preto/branco/verde do resto do site. */
.reviews-track > :nth-child(9n+1) .reviewer-avatar { background: #6B7FD7; }
.reviews-track > :nth-child(9n+2) .reviewer-avatar { background: #C77B4E; }
.reviews-track > :nth-child(9n+3) .reviewer-avatar { background: #8E6BD7; }
.reviews-track > :nth-child(9n+4) .reviewer-avatar { background: #4FA39E; }
.reviews-track > :nth-child(9n+5) .reviewer-avatar { background: #C4739E; }
.reviews-track > :nth-child(9n+6) .reviewer-avatar { background: #B08A3E; }
.reviews-track > :nth-child(9n+7) .reviewer-avatar { background: #5B8FBF; }
.reviews-track > :nth-child(9n+8) .reviewer-avatar { background: var(--brand-deep); }
.reviews-track > :nth-child(9n+9) .reviewer-avatar { background: #A0685C; }

.reviewer-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.reviewer-info span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .87rem;
  color: var(--ink-2);
}
.g-mark { width: 14px; height: 14px; flex: none; }

/* --- Controles: setas + barrinha arrastável --- */
.reviews-controls {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviews-nav {
  flex: none;
  width: 44px; height: 44px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  transition: transform .35s var(--ease-out), background-color .3s var(--ease),
              border-color .3s var(--ease);
}
.reviews-nav:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.reviews-nav:active { transform: scale(.94); }
.reviews-nav--prev .chev { transform: rotate(180deg); }

.reviews-scrubber {
  flex: 1;
  min-width: 0;
}

/* A "barrinha": uma trilha fina com um pino verde que dá pra arrastar
   direto, ou clicar em qualquer ponto pra pular pra lá. */
.reviews-track-bar {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: var(--hairline);
  cursor: pointer;
}
.reviews-thumb {
  position: absolute;
  top: 50%; left: 0;
  width: 64px; height: 14px;
  margin-top: -7px;
  border-radius: 999px;
  background: var(--brand);
  cursor: grab;
  transition: background-color .25s var(--ease);
}
.reviews-thumb:hover { background: var(--brand-deep); }
.reviews-thumb:active,
.reviews-thumb.is-grabbing { cursor: grabbing; }

.reviews-hint {
  margin-top: 12px;
  font-size: .82rem;
  color: var(--ink-3);
}

/* ==========================================================================
   Localização
   ========================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

.info-list { margin-top: 44px; display: grid; gap: 30px; }

.info-item { display: flex; gap: 18px; }
.info-icon {
  flex: none;
  display: grid;
  place-content: center;
  width: 48px; height: 48px;
  border-radius: 15px;
  background: var(--surface-2);
  color: var(--brand-text);
}
.info-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.info-item p, .info-item address {
  font-size: 1.02rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.info-item a { color: var(--brand-text); }
.info-item a:hover { text-decoration: underline; }

.location-actions {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  min-height: 380px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--black);
  color: var(--ink-3);
  padding: clamp(64px, 9vw, 96px) 0 32px;
  font-size: .95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
  margin-bottom: 22px;
}
.footer-brand p { max-width: 34ch; line-height: 1.6; }

.footer h3 {
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -.01em;
}
.footer-col ul { display: grid; gap: 13px; }
.footer-col a { transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--brand); }
.footer-cta { margin-top: 26px; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .86rem;
  color: var(--ink-3);
}

/* ==========================================================================
   Botão flutuante do WhatsApp
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 900;
  width: 58px; height: 58px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .4);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 34px rgba(37, 211, 102, .5);
}
.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; }

/* Anel que pulsa atrás do botão */
.whatsapp-ring {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: #25D366;
  animation: ring 2.6s var(--ease-out) infinite;
}
@keyframes ring {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ==========================================================================
   Animações de entrada
   ========================================================================== */
[data-anim] {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out),
              filter .9s var(--ease-out);
}
[data-anim].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}
[data-anim-delay="1"] { transition-delay: .09s; }
[data-anim-delay="2"] { transition-delay: .18s; }
[data-anim-delay="3"] { transition-delay: .27s; }
[data-anim-delay="4"] { transition-delay: .36s; }
[data-anim-delay="5"] { transition-delay: .45s; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
/* Acima de 480px já cabe o CTA no header junto do hambúrguer.
   Abaixo disso o agendamento fica no menu e no botão flutuante. */
@media (min-width: 480px) {
  .header-actions .btn-primary { display: inline-flex; }
}

@media (min-width: 600px) {
  .counters { gap: 32px; margin-top: 48px; }
  .bento, .services-grid { gap: 16px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-photo { grid-column: span 2; }
  .bento-stat  { grid-column: span 2; }
  .bento-wide  { grid-column: span 2; }
}

@media (min-width: 900px) {
  :root { --header-h: 72px; }

  .container, .header-inner { padding: 0 40px; }
  .hero { padding-left: 40px; padding-right: 40px; }
  .reviews-track { padding-inline: max(40px, calc((100vw - var(--container)) / 2 + 40px)); }

  /* Selo à esquerda, texto e contadores à direita */
  .legacy-inner {
    grid-template-columns: auto 1fr;
    gap: 72px;
    align-items: center;
    justify-items: start;
    text-align: left;
  }
  .counters { max-width: 620px; }

  .nav-toggle { display: none; }
  .mobile-nav { display: none; }

  .nav-links {
    display: flex;
    gap: 4px;
  }
  .nav-links a {
    position: relative;
    padding: 8px 15px;
    font-size: .98rem;
    font-weight: 500;
    color: var(--ink-2);
    border-radius: 980px;
    transition: color .25s var(--ease), background-color .25s var(--ease);
  }
  .nav-links a:hover { color: var(--ink); background: rgba(0, 0, 0, .05); }
  .nav-links a.active { color: var(--ink); font-weight: 600; }
  .nav-links a.active::after {
    content: '';
    position: absolute;
    left: 15px; right: 15px; bottom: 1px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
  }

  .header-actions .btn-primary { display: inline-flex; }
  .logo img { height: 46px; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }

  /* Bento em 4 colunas:
     [foto 2x2][stat 2] / [foto][equipe][lab] / [imagem 2][cirúrgico 2] */
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento-photo { grid-column: span 2; grid-row: span 2; min-height: 460px; }
  .bento-stat  { grid-column: span 2; }
  .bento-wide  { grid-column: span 2; }

  .location-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: center;
  }
  .location-map { min-height: 520px; }
  .location-map iframe { min-height: 520px; }

  .footer-grid { grid-template-columns: 2fr 1fr 1.4fr; gap: 56px; }

  .whatsapp-float { right: 32px; bottom: 32px; width: 62px; height: 62px; }
}

@media (min-width: 1100px) {
  .hero { align-items: center; padding-bottom: 120px; }
  .hero-content { max-width: 980px; }
}

/* ==========================================================================
   Movimento reduzido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-anim] { opacity: 1; transform: none; filter: none; }
  .hero-image { animation: none; }
}
