/* ═══════════════════════════════════════════════════════════════
   YAMAGUTI ODONTOLOGIA — folha de estilo única
   ───────────────────────────────────────────────────────────────
   01. TOKENS
   02. RESET E BASE
   03. UTILITÁRIOS
   04. BOTÕES
   05. CABEÇALHO
   06. MENU MOBILE
   07. HERO
   08. FAIXA DE ESPECIALIDADES
   09. TÍTULOS DE SEÇÃO
   10. SOBRE
   11. PROCEDIMENTOS
   12. DIFERENCIAL
   13. AVALIAÇÕES
   14. PERGUNTAS + CTA
   15. RODAPÉ
   16. WHATSAPP FLUTUANTE
   17. ANIMAÇÕES
   18. RESPONSIVO
   19. CONSENTIMENTO DE COOKIES
   20. PÁGINAS DE TEXTO
   ═══════════════════════════════════════════════════════════════ */


/* ═══ 01. TOKENS ═══════════════════════════════════════════════ */
:root {
  --sage: #7C8A6E;        /* verde-sálvia do logo */
  --rosa-marca: #C9A9A0;  /* rosa do logo */
  /* superfícies */
  --creme:        #FBF4EF;
  --creme-2:      #F6EBE2;
  --creme-3:      #F1E2D7;
  --branco:       #FFFFFF;

  /* marca */
  --terra:        #BE7B5F;
  --terra-esc:    #A5654B;
  --terra-clara:  #CE9376;
  --rosa:         #E4C3B2;

  /* texto */
  --texto:        #3A2A23;
  --texto-med:    #6B5348;
  --texto-fraco:  #9A8478;

  /* linhas */
  --linha:        #EADBD0;
  --estrela:      #C99A45;

  /* tipografia */
  --serif:        'Playfair Display', Georgia, serif;
  --sans:         'Outfit', system-ui, -apple-system, sans-serif;

  /* medidas */
  --wrap:         1200px;
  --raio:         14px;
  --raio-g:       20px;

  /* sombras */
  --sombra-p:     0 2px 14px rgba(90,50,35,.06);
  --sombra-m:     0 12px 40px rgba(90,50,35,.10);
  --sombra-g:     0 24px 64px rgba(90,50,35,.15);

  --cab-altura:   78px;
}


/* ═══ 02. RESET E BASE ═════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--cab-altura); overflow-x: hidden; }

body {
  font-family: var(--sans);
  background: var(--creme);
  color: var(--texto);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul  { list-style: none; }
button { font: inherit; }

::selection { background: var(--rosa); color: var(--texto); }

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

.pular {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--terra); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.pular:focus { left: 0; }


/* ═══ 03. UTILITÁRIOS ══════════════════════════════════════════ */
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 40px;
  width: 100%;
}

.faixa      { padding-block: 80px; }

/* Colunas divididas em que a imagem sangra até a borda da tela,
   enquanto o texto continua alinhado ao container central.
   É o que a referência faz em "quem somos", "diferencial" e FAQ. */
.split { display: grid; align-items: stretch; }
.split__texto--esq, .split__texto--dir {
  display: flex; flex-direction: column; justify-content: center;
}
.split__texto--esq {
  padding: 62px clamp(36px, 4.5vw, 64px) 62px max(24px, calc((100vw - var(--wrap)) / 2 + 40px));
}
.split__texto--dir {
  padding: 62px max(24px, calc((100vw - var(--wrap)) / 2 + 40px)) 62px clamp(52px, 6.5vw, 104px);
}
.split__figura { position: relative; min-height: 380px; }
.split__figura img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faixa--alt   { background: var(--creme-2); }
.faixa--curta { padding-block: 76px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}


/* ═══ 04. BOTÕES ═══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1;
  padding: 14px 24px; border-radius: 9px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .22s, color .22s, border-color .22s, transform .18s, box-shadow .22s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primario {
  background: var(--terra); color: var(--branco);
  box-shadow: 0 6px 18px rgba(190,123,95,.20);
}
.btn--primario:hover {
  background: var(--terra-esc); transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(190,123,95,.28);
}

.btn--linha {
  background: rgba(255,255,255,.72); color: var(--texto); border-color: var(--linha);
  backdrop-filter: blur(6px);
}
.btn--linha:hover {
  border-color: var(--terra); color: var(--terra); transform: translateY(-2px);
  background: var(--branco);
}

.btn--claro { background: var(--branco); color: var(--terra-esc); }
.btn--claro:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.20); }


/* ═══ 05. CABEÇALHO ════════════════════════════════════════════ */
.cab {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,244,239,.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  /* Fio permanente separando cabeçalho e hero; ao rolar ele
     escurece um pouco e ganha sombra. */
  border-bottom: 1px solid rgba(234,219,208,.7);
  transition: border-color .3s, box-shadow .3s;
}
.cab.is-fixo {
  border-bottom-color: var(--linha);
  box-shadow: 0 4px 22px rgba(90,50,35,.05);
}

.cab__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; height: var(--cab-altura);
}

.marca { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.marca__simbolo { height: 44px; width: auto; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
.marca__txt { display: flex; flex-direction: column; line-height: 1.05; }
.marca__nome {
  font-family: var(--serif); font-size: 20px; font-weight: 600;
  color: var(--sage, #7C8A6E); letter-spacing: .01em;
}
.marca__tag {
  font-family: var(--serif); font-style: italic; font-size: 12px;
  color: var(--rosa-marca, #C9A9A0); margin-top: 1px;
}

.menu { display: flex; align-items: center; gap: 30px; }
.menu a {
  font-size: 15.5px; color: var(--texto-med); position: relative; padding: 4px 0;
  transition: color .2s;
}
.menu a:hover { color: var(--texto); }
.menu a.is-ativo { color: var(--terra); }
.menu a.is-ativo::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: var(--terra); border-radius: 2px;
}

.cab__cta {
  display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0;
  background: var(--terra); color: var(--branco);
  padding: 12px 20px; border-radius: 9px; font-size: 14.5px; font-weight: 500;
  box-shadow: 0 6px 18px rgba(190,123,95,.20); transition: background .2s, transform .2s;
}
.cab__cta:hover { background: var(--terra-esc); transform: translateY(-1px); }
.cab__cta svg { width: 18px; height: 18px; }
.cab__cta-curto { display: none; }

.cab__burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.cab__burger span { display: block; width: 24px; height: 2px; background: var(--texto); border-radius: 2px; }



/* ═══ 06. MENU MOBILE ══════════════════════════════════════════ */
.mmenu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--creme);
  display: flex; flex-direction: column; padding: 26px 28px 34px;
  transform: translateX(100%); transition: transform .34s cubic-bezier(.4,0,.2,1);
  visibility: hidden;
}
.mmenu.is-aberto { transform: translateX(0); visibility: visible; }
.mmenu__fechar { align-self: flex-end; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--texto); }
.mmenu__fechar svg { width: 28px; height: 28px; }
.mmenu__links { display: flex; flex-direction: column; margin-top: 20px; }
.mmenu__links a {
  font-family: var(--serif); font-size: 27px; color: var(--texto);
  padding: 15px 0; border-bottom: 1px solid var(--linha);
}
.mmenu__cta { margin-top: auto; width: 100%; }


/* ═══ 07. HERO ═════════════════════════════════════════════════ */
.hero {
  position: relative;
  /* Em monitor muito largo a faixa da foto achatava (2,73 em 2560px).
     A altura acompanha um pouco a largura para a proporção segurar. */
  min-height: clamp(505px, max(62vh, 34vw), 1180px);
  /* Mesmo creme embutido na foto (#F7EEE9): dois cremes diferentes
     se encontrando é o que criava o degrau na borda da imagem. */
  display: flex; align-items: center;
  background: #F7EEE9;   /* mesmo creme embutido na foto */
  overflow: hidden;
}

/* A foto fica ancorada no canto inferior direito, ocupando só parte
   da largura. É isso que dá o respiro em volta da Dra. e evita que
   ela apareça gigante e colada no topo. */
.hero__foto {
  position: absolute; right: 0; bottom: 0;
  /* Sangra até a borda direita da tela e ocupa a metade direita
     do hero, senão em monitor largo sobra um vazio enorme ao lado. */
  width: 66%; min-width: 700px; height: 100%;
  /* O enquadramento vem da própria imagem: ela é composta com a
     Dra. na posição certa e margem de sobra nas laterais. */
  object-fit: cover; object-position: center 38%;
  z-index: 0;
  /* Sem máscara: a própria imagem já traz o degradê que dissolve no
     creme. O enquadramento é escolhido para que essa área entre no
     quadro; máscara aqui só criaria uma segunda transição por cima. */
}

/* Véu que garante leitura do texto sobre a foto, sem lavar o rosto */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(247,238,233,.55) 0%, rgba(247,238,233,.18) 30%, rgba(247,238,233,0) 52%);
}

.hero__in { position: relative; z-index: 2; }

.hero__conteudo { max-width: 560px; margin-left: clamp(0px, 4vw, 90px); }

.hero__olho {
  font-size: 14px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 8px;
}
.hero__titulo {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -.015em;
  color: var(--texto); margin-bottom: 18px;
}
.hero__titulo span { display: block; color: var(--terra-clara); }

.hero__sub {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(17px, 1.5vw, 19px); line-height: 1.45; color: var(--texto);
  max-width: 320px; margin-bottom: 14px;
}
.hero__risco { width: 52px; height: 2px; background: var(--terra); border-radius: 2px; margin-bottom: 14px; }
.hero__texto {
  font-size: 15px; font-weight: 300; line-height: 1.8; color: var(--texto-med);
  max-width: 390px; margin-bottom: 30px;
}
.hero__acoes { display: flex; gap: 16px; flex-wrap: wrap; }


/* ═══ 08. FAIXA DE ESPECIALIDADES ══════════════════════════════ */
.especialidades { background: var(--branco); border-block: 1px solid var(--linha); }
.especialidades__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; padding-block: 28px; flex-wrap: wrap;
}
.especialidades__item {
  display: flex; align-items: center; gap: 11px;
  font-size: 15px; font-weight: 400; color: var(--texto-med);
}
.especialidades__item svg { width: 26px; height: 26px; color: var(--terra); flex-shrink: 0; }
/* Ponto em vez de barra vertical: a referência separa assim,
   e o resultado é bem mais leve. */
.especialidades__sep {
  width: 3px; height: 3px; border-radius: 50%; background: var(--terra-clara); opacity: .6;
}


/* ═══ 09. TÍTULOS DE SEÇÃO ═════════════════════════════════════ */
.olho {
  display: block; font-size: 12px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--terra);
  margin-bottom: 12px;
}
.titulo {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.01em;
  font-size: clamp(32px, 3.7vw, 47px); line-height: 1.12; color: var(--texto);
}
.titulo em { font-style: normal; color: var(--terra-clara); }
.risco { width: 56px; height: 3px; background: var(--terra); border-radius: 2px; margin-top: 18px; }


/* ═══ 10. SOBRE ════════════════════════════════════════════════ */
.sobre { grid-template-columns: 0.82fr 1.18fr; }
/* Canto em arco, ecoando o símbolo da marca. O lado que sangra
   até a borda da tela fica reto; só o lado interno é arredondado. */
.sobre__figura {
  min-height: 360px; max-height: 460px;
  overflow: hidden;
  border-top-left-radius: clamp(70px, 11vw, 190px);
  border-bottom-left-radius: 20px;
}

.sobre .titulo { font-size: clamp(28px, 2.9vw, 36px); }
/* Na referência a primeira linha é terracota e a segunda é escura */
.sobre .titulo em { display: block; color: var(--texto); }
.sobre .titulo > span { color: var(--terra); }

.sobre__risco { width: 48px; height: 2px; background: var(--terra); border-radius: 2px; margin: 16px 0 22px; }

.sobre__texto p {
  font-size: 14.5px; font-weight: 300; line-height: 1.85; color: var(--texto-med);
  margin-bottom: 15px; max-width: 360px;
}
.sobre__texto p:last-child { margin-bottom: 0; }
.sobre__intro { color: var(--texto-med); }


/* ═══ 11. PROCEDIMENTOS ════════════════════════════════════════ */
.proc__topo { margin-bottom: 34px; }

/* Flex em vez de grid: com 7 itens, a última fileira de 3 fica
   centralizada sozinha, em vez de encostada à esquerda. */
.proc__grade { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 20px; }
.proc__grade .card { flex: 0 1 calc((100% - 60px) / 4); min-width: 228px; }

/* Sem sombra: só um fio de contorno. É o que mantém a página leve. */
.card {
  display: flex; flex-direction: column;
  background: #FDFAF7; border: 1px solid var(--linha); border-radius: 10px;
  overflow: hidden; color: var(--texto);
  transition: transform .26s ease, border-color .26s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--rosa); }

.card__media { position: relative; aspect-ratio: 4 / 2.45; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.card:hover .card__media img { transform: scale(1.06); }
/* Enquanto a fotografia não existe, um bloco claro em tom de areia
   com o ícone em terracota. Fica discreto e coerente com o resto,
   em vez de um retângulo saturado dominando o card. */
.card__media--vazia {
  display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 68% 22%, rgba(255,255,255,.7), transparent 62%),
    linear-gradient(150deg, var(--cream, #EFE2D8) 0%, var(--creme-3) 100%);
  border-bottom: 1px solid var(--linha);
}
.card__marca { width: 42px; height: 42px; color: var(--terra); opacity: .55; }
.card:hover .card__marca { opacity: .8; transition: opacity .3s; }
.card--sem-foto .card__corpo { padding-top: 30px; }

/* Sem anel branco em volta: na referência é um selo chapado. */
.card__icone {
  position: absolute; left: 18px; top: -20px; z-index: 2;
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--terra); display: grid; place-items: center;
}
.card__icone svg { width: 21px; height: 21px; color: var(--branco); }

.card__corpo { position: relative; padding: 30px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card__nome {
  font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.3;
  margin-bottom: 9px;
}
.card__desc { font-size: 13px; font-weight: 300; line-height: 1.75; color: var(--texto-fraco); }


/* ═══ 12. DIFERENCIAL ══════════════════════════════════════════ */
.dif { grid-template-columns: 0.86fr 1.14fr; background: var(--creme); }
.dif__figura {
  min-height: 360px; max-height: 470px;
  overflow: hidden;
  border-top-right-radius: clamp(70px, 11vw, 190px);
  border-bottom-right-radius: 20px;
}

.dif__titulo {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.01em;
  font-size: clamp(25px, 2.6vw, 33px); line-height: 1.22; color: var(--texto);
}
.dif__risco { width: 52px; height: 2px; background: var(--terra); border-radius: 2px; margin: 18px 0 0; }

.dif__lista { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; margin-top: 28px; }
.dif__item { display: flex; gap: 12px; align-items: flex-start; }
.dif__item svg { width: 24px; height: 24px; color: var(--terra); opacity: .85; flex-shrink: 0; margin-top: 1px; }
.dif__item h3 { font-size: 14.5px; font-weight: 400; line-height: 1.6; color: var(--texto-med); }

/* Nota do anestesista: sem card, sem borda, sem ícone.
   Só um fio de separação e a tipografia carregando o peso. */
.dif__nota {
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--linha); max-width: 470px;
}
.dif__nota-titulo {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 17px; color: var(--texto); margin-bottom: 8px;
}
.dif__nota-texto {
  font-size: 13.5px; font-weight: 300; line-height: 1.8; color: var(--texto-fraco);
}


/* ═══ 13. AVALIAÇÕES ═══════════════════════════════════════════ */
.aval { text-align: center; padding-block: 26px 66px; }
.aval__apoio { font-size: 14px; font-weight: 300; color: var(--texto-fraco); margin-top: 10px; }

/* O depoimento vira um card com borda, como na referência:
   título → estrelas → depoimento, tudo próximo e com presença. */
.carrossel {
  position: relative; max-width: 720px; margin: 24px auto 0;
  background: transparent; border: 1px solid var(--linha);
  border-radius: 12px; padding: 26px 26px 22px;
}
.aval__resumo { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 18px; }
.aval__estrelas { color: var(--estrela); font-size: 18px; letter-spacing: 4px; }
.aval__nota { font-size: 13px; color: var(--texto-fraco); }

.carrossel__janela { overflow: hidden; transition: height .45s cubic-bezier(.22,.61,.36,1); }
.carrossel__trilho { display: flex; transition: transform .55s cubic-bezier(.22,.61,.36,1); }

.depo {
  min-width: 100%; padding: 0 18px;
  opacity: .25; transition: opacity .45s ease;
}
.depo.is-ativo { opacity: 1; }
.depo__aspas {
  font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--rosa);
  display: block; margin-bottom: 0;
}
.depo__texto {
  font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.65;
  color: var(--texto); margin-bottom: 16px;
}
.depo__autor { font-size: 13px; color: var(--texto-fraco); }

.carrossel__seta {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--branco); border: 1px solid var(--linha); color: var(--terra);
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.carrossel__seta svg { width: 20px; height: 20px; display: block; }
.carrossel__seta:hover { background: var(--terra); color: var(--branco); border-color: var(--terra); }
.carrossel__seta--ant { left: -22px; }
.carrossel__seta--prox { right: -22px; }

.carrossel__pontos { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.ponto {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: var(--creme-3); cursor: pointer; transition: width .25s, background .25s, border-radius .25s;
}
.ponto[aria-current="true"] { background: var(--terra); width: 24px; border-radius: 4px; }

.aval__acoes { margin-top: 22px; }


/* ═══ 14. PERGUNTAS + CTA ══════════════════════════════════════ */
/* Sem título grande: na referência há só o olho em caixa alta.
   O peso visual da dobra fica na foto que sangra à direita. */
.faq { grid-template-columns: 1.1fr .9fr; align-items: stretch; background: var(--creme-2); }

.faq__lista { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }

.faq__item {
  background: var(--branco); border: 1px solid var(--linha); border-radius: 8px;
  transition: border-color .2s;
}
.faq__item[open] { border-color: var(--rosa); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 19px; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 400; color: var(--texto);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; font-size: 19px; font-weight: 300; color: var(--terra);
  line-height: 1; flex-shrink: 0; transition: rotate .28s ease;
}
.faq__item[open] summary::after { rotate: 45deg; }
.faq__resposta {
  padding: 0 20px 18px; font-size: 14px; font-weight: 300; line-height: 1.8;
  color: var(--texto-med);
}

/* Painel com a foto sangrando até a borda direita da tela */
.painel-cta { position: relative; display: grid; place-items: center; }
/* Mesma altura da coluna de perguntas: o painel respeita o mesmo
   respiro vertical da seção, em vez de sangrar de topo a base. */
.faq .painel-cta { margin-block: 62px; }
.painel-cta__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 32% center; }
.painel-cta::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(112,62,43,.52) 0%, rgba(128,72,50,.68) 100%);
}
.painel-cta__conteudo {
  position: relative; z-index: 1; text-align: center;
  padding: 44px clamp(26px, 3.5vw, 48px); max-width: 360px;
}
.painel-cta h2 {
  font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.25;
  color: var(--branco); margin-bottom: 10px;
}
.painel-cta p {
  font-size: 14.5px; font-weight: 300; line-height: 1.65;
  color: var(--branco); opacity: .95; margin-bottom: 24px;
}
.painel-cta .btn { background: var(--branco); color: var(--terra-esc); }


/* ═══ 15. RODAPÉ ═══════════════════════════════════════════════ */
.rodape {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--terra) 0%, var(--terra-esc) 100%);
  color: var(--branco);
}

/* Ramos decorativos: discretos, só uma textura de fundo */
.rodape__ramo {
  position: absolute; width: clamp(170px, 18vw, 290px); height: auto;
  opacity: .07; pointer-events: none; z-index: 0; user-select: none;
}
.rodape__ramo--esq { left: 0; bottom: 5%; width: clamp(190px, 20vw, 320px); }
.rodape__ramo--dir { right: 0; top: 0; }
.rodape__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1.05fr; gap: 48px;
  padding-block: 36px 28px;
}
.rodape__logo {
  height: 62px; width: auto; margin-bottom: 18px; display: block;
  /* O logo é claro; no rodapé terracota ele vira branco. */
  filter: brightness(0) invert(1); opacity: .96;
}

.rodape__sobre { font-size: 13.5px; font-weight: 300; line-height: 1.75; opacity: .88; max-width: 280px; }

.rodape__redes { display: flex; gap: 11px; margin-top: 20px; }
.rodape__redes a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.32);
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.rodape__redes a:hover { background: rgba(255,255,255,.16); border-color: transparent; }
.rodape__redes svg { width: 16px; height: 16px; }

.rodape__titulo {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; opacity: .68; margin-bottom: 18px;
}
.rodape__contato li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 13px; }
.rodape__contato svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; opacity: .8; }
.rodape__contato a, .rodape__contato span {
  font-size: 13.5px; font-weight: 300; line-height: 1.6; opacity: .9;
}
.rodape__contato a:hover { text-decoration: underline; }

.rodape__col--cta {
  display: flex; flex-direction: column; align-items: flex-start;
  border-left: 1px solid rgba(255,255,255,.22);
  padding-left: clamp(24px, 3vw, 44px);
}
.rodape__col--cta .btn { align-self: flex-start; }
.rodape__chamada {
  font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.4;
  margin-bottom: 22px;
}


/* Área de toque generosa: o texto tem 15px de altura, o que é
   pequeno demais para o dedo acertar num celular. O padding cria
   um alvo confortável sem mudar a aparência. */


/* Respiro em volta do ponto que separa os trechos */



/* ═══ 16. WHATSAPP FLUTUANTE ═══════════════════════════════════ */
.zap-flutuante {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 26px rgba(37,211,102,.42);
  transition: transform .2s, box-shadow .2s;
}
.zap-flutuante svg { width: 28px; height: 28px; }
.zap-flutuante:hover { transform: scale(1.07); box-shadow: 0 12px 34px rgba(37,211,102,.5); }


/* ═══ 17. ANIMAÇÕES ════════════════════════════════════════════ */
@keyframes sobe {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.surge { opacity: 0; }
.surge.is-visivel { animation: sobe .72s cubic-bezier(.22,.61,.36,1) forwards; }
.surge.d1 { animation-delay: .08s; }
.surge.d2 { animation-delay: .16s; }
.surge.d3 { animation-delay: .24s; }
.surge.d4 { animation-delay: .32s; }


/* ═══ 18. RESPONSIVO ═══════════════════════════════════════════ */
/* Entre 940 e 1100 o cabeçalho fica apertado: aperta o menu
   antes de trocar pelo ícone de gaveta. */
/* ═══ TELA MÉDIA E TABLET (701 a 1100px) ═══════════════════════
   O tablet é o desktop em escala menor: hero lado a lado, faixa
   em linha, mesma composição. Só as medidas encolhem.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .wrap { padding-inline: 30px; }
  .faixa { padding-block: 84px; }

  /* Cabeçalho comprimido */
  .cab__in { gap: 16px; }
  .menu { gap: 20px; }
  .menu a { font-size: 14.5px; }
  .cab__cta { padding: 12px 16px; font-size: 13.5px; }
  .marca__nome { font-size: 17.5px; }
  .marca__simbolo { height: 36px; width: auto; }

  /* Hero: a foto ocupa a metade direita, como no desktop. */
  /* Hero mais baixo no tablet: com o quadro muito alto, o corte da
     foto descartava o degradê e criava borda dura na esquerda. */
  .hero { min-height: clamp(430px, 58vw, 500px); }
  .hero__foto {
    width: 50%; min-width: 0;
    object-fit: cover; object-position: 58% 22%;
    /* Transição longa como a do desktop: lá o degradê da imagem
       ocupa ~370px na tela; 10% aqui davam só 40px, por isso ficava
       abrupto. 55% do quadro dá ~220px, proporcionalmente igual. */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 26%, #000 55%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 26%, #000 55%);
    transform: none; margin-right: 0;
  }
  .hero__conteudo { max-width: 46%; margin-left: 0; }
  .hero__titulo { font-size: clamp(34px, 4.6vw, 50px); }
  .hero__sub { font-size: clamp(15px, 1.9vw, 18px); }
  .hero__texto { font-size: 14.5px; }

  /* Tratamentos: 3 por linha, mantendo o padrão de última linha
     centralizada que o desktop faz com 4+3. */
  .proc__grade .card { flex: 0 1 calc((100% - 40px) / 3); }

  /* Faixa: em linha ela quebrava 3+1 e deixava um item órfão.
     Em duas colunas fecha 2+2, com os quatro alinhados. */
  .especialidades__in {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px 32px; width: 100%; align-items: center;
  }
  .especialidades__sep { display: none; }

  /* Seções divididas com menos respiro lateral */
  .split__texto--esq { padding: 48px clamp(24px, 3vw, 40px) 48px max(20px, calc((100vw - var(--wrap)) / 2 + 30px)); }
  .split__texto--dir { padding: 48px max(20px, calc((100vw - var(--wrap)) / 2 + 30px)) 48px clamp(32px, 4vw, 60px); }
}

/* Página única: o menu de âncoras rende pouco e escondia o CTA.
   No lugar da gaveta, o botão de agendar fica sempre visível. */
@media (max-width: 940px) {
  .menu, .cab__burger { display: none; }
  .cab__cta { display: inline-flex; padding: 10px 15px; font-size: 13.5px; }
  .cab__cta svg { width: 16px; height: 16px; }
}

/* O tablet segue o layout do desktop em escala menor. O
   empilhamento vale só do celular para baixo (≤700px). */
@media (max-width: 700px) {
  :root { --cab-altura: 74px; }

  /* Faixa em 2 colunas também no tablet: em linha ela quebrava
     3+1 e deixava "Santo André" órfão na segunda linha. */
  .especialidades__in {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 18px 24px; width: 100%; align-items: start;
    padding-block: 26px 24px;
  }
  .especialidades__item { align-items: flex-start; gap: 10px; }
  .especialidades__sep { display: none; }
  .wrap { padding-inline: 28px; }

  .hero {
    display: flex; flex-direction: column;
    min-height: auto; background: #F7EEE9;
  }
  .hero::after { display: none; }
  /* Foto em cima, texto embaixo: o visitante vê a Dra. de imediato. */
  .hero picture { order: 1; display: block; width: 100%; }
  .hero__in { order: 2; position: relative; z-index: 2; margin-top: -58px; padding-top: 0; padding-bottom: 44px; }
  /* Faixa mais alta, com o degradê descendo bem mais: o nome
     começa sobre a parte dissolvida da foto, criando sobreposição. */
  .hero__foto {
    position: static; right: auto; bottom: auto;
    display: block; width: 100% !important; max-width: none !important;
    min-width: 0 !important;
    /* A altura acompanha a largura para a proporção não achatar:
       no tablet a faixa ficava 810x320 (2,53) e o rosto sumia. */
    height: clamp(280px, 62vw, 470px);
    object-fit: cover; object-position: 34% 22%;
    border-radius: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 90%, transparent 100%);
  }



  .hero__conteudo { max-width: 100%; margin-left: 0; }
  .hero__texto { max-width: 100%; }

  .split { grid-template-columns: 1fr !important; }
  .split__texto--esq, .split__texto--dir { padding: 60px 28px; }
  .sobre__figura, .dif__figura {
    min-height: 300px; order: -1;
    border-radius: 0 0 20px 20px;
  }
  .painel-cta { min-height: 320px; }
  .faq .painel-cta { margin-block: 0; }
  .sobre__texto p { max-width: none; }

  .rodape__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .rodape__col--cta { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  /* Empilhado, o ramo passaria por trás do texto: encolhe e recua. */
  .rodape__ramo { width: clamp(110px, 26vw, 160px); opacity: .08; }
}



@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .surge { opacity: 1; }
}


/* ═══ 20. PÁGINAS DE TEXTO (política, termos) ══════════════════ */
.legal { background: var(--creme); padding-block: 72px 88px; }
.legal__in { max-width: 760px; }

.legal__trilha { font-size: 13px; color: var(--texto-fraco); margin-bottom: 26px; }
.legal__trilha a { color: var(--terra); }
.legal__trilha a:hover { text-decoration: underline; }
.legal__trilha span { margin-inline: 7px; }
.legal__trilha span:last-child { margin-inline: 0; color: var(--texto-med); }

.legal__titulo {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.01em;
  font-size: clamp(30px, 3.4vw, 42px); line-height: 1.15; color: var(--texto);
  margin-bottom: 22px;
}
.legal__abertura {
  font-family: var(--serif); font-style: italic; font-size: 19px;
  line-height: 1.6; color: var(--texto); margin-bottom: 20px;
}
.legal h2 {
  font-family: var(--serif); font-weight: 600; font-size: 20px;
  color: var(--texto); margin: 40px 0 12px;
}
.legal p {
  font-size: 15px; font-weight: 300; line-height: 1.9; color: var(--texto-med);
  margin-bottom: 14px;
}
.legal__data {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--linha);
  font-size: 13.5px; color: var(--texto-fraco);
}
.legal__voltar { margin-top: 34px; }




/* ═══ 19. CONSENTIMENTO DE COOKIES (LGPD) ══════════════════════ */
.lgpd {
  position: fixed; left: 50%; bottom: 20px; translate: -50% 0; z-index: 300;
  width: min(760px, calc(100% - 32px));
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: var(--branco); border: 1px solid var(--linha);
  border-radius: var(--raio); padding: 18px 22px;
  box-shadow: var(--sombra-g);
  opacity: 0; transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease;
}
.lgpd.is-visivel { opacity: 1; transform: translateY(0); }
.lgpd__txt {
  flex: 1 1 320px; font-size: 13.5px; font-weight: 300; line-height: 1.6;
  color: var(--texto-med); margin: 0;
}
.lgpd__txt a { color: var(--terra); border-bottom: 1px solid var(--linha); }
.lgpd__txt a:hover { border-bottom-color: var(--terra); }
.lgpd__acoes { display: flex; gap: 10px; flex-shrink: 0; }
.lgpd__btn { padding: 11px 20px; font-size: 14px; }



/* ═══ 21. AJUSTES FINOS MOBILE ═════════════════════════════════ */


/* ═══ BARRA FINAL DO RODAPÉ (refeita) ══════════════════════════ */
.rodape__barra {
  position: relative; z-index: 5;
  background: rgba(255,255,255,.10);
  padding: 4px 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 2px 24px;
  font-size: 12px; font-weight: 300; color: rgba(255,255,255,.9);
  text-align: center;
}
.rodape__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }

/* Estilo seguro para QUALQUER link da barra, incluindo HTML de
   versões anteriores. Sem inline-flex nem altura mínima: esses
   dois deslocavam a caixa do link e faziam ela cobrir o texto ao
   lado. Só padding, que aumenta o alvo sem mover nada. */
.rodape__barra a,
.rodape__link {
  display: inline-block; padding: 11px 6px;
  color: #fff; font-size: 12px; font-weight: 400;
  text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.45);
  cursor: pointer; -webkit-tap-highlight-color: rgba(255,255,255,.25);
  transition: text-decoration-color .2s, opacity .2s;
}
.rodape__barra a:hover, .rodape__link:hover,
.rodape__barra a:focus-visible, .rodape__link:focus-visible {
  text-decoration-color: #fff; opacity: .9;
}

/* No HTML antigo o link ficava dentro de "Desenvolvido por <a>RCA</a>",
   então só as duas palavras finais eram clicáveis. Aqui o span inteiro
   vira alvo, para o clique funcionar em qualquer ponto da frase. */
.rodape__barra span > a { padding-inline: 8px; }

/* ═══ RESPONSIVO ≤620px (bloco único) ══════════════════════════ */
@media (max-width: 620px) {

  .wrap  { padding-inline: 20px; }
  .faixa { padding-block: 66px; }

  /* O texto sobe o suficiente para "Saúde, estética e naturalidade"
     ser a última linha ainda sobre a foto; o parágrafo já começa no
     creme. Medido: o subtítulo terminava ~80px abaixo da foto. */
  .hero__in { position: relative; z-index: 2; margin-top: -140px; padding-top: 0; padding-bottom: 26px; }

  /* Sombra suave: o nome cai sobre a foto e precisa de contraste
     sem virar contorno duro. */
  .hero__olho,
  .hero__titulo,
  .hero__sub { text-shadow: 0 1px 14px rgba(247,238,233,.95), 0 1px 3px rgba(247,238,233,.9); }

  /* Cabeçalho compacto: só logo e botão, sem ícone e sem gaveta. */
  .cab .wrap { padding-inline: 16px; }
  .cab__in { gap: 8px; }
  .marca { gap: 8px; }
  .marca__tag { display: none; }
  .marca__nome { font-size: 13.5px; letter-spacing: 0; }
  .marca__simbolo { height: 26px; width: auto; }
  .cab__cta { padding: 10px 16px; font-size: 13px; }
  .cab__cta svg { display: none; }
  .cab__cta-txt { display: none; }
  .cab__cta-curto { display: inline; }

  .hero__titulo { font-size: clamp(34px, 9.4vw, 44px); margin-bottom: 14px; }
  .hero__sub { font-size: 16px; margin-bottom: 12px; }
  .hero__texto { font-size: 14.5px; margin-bottom: 24px; }


  /* Empilhada, a faixa fecha o bloco do hero em vez de virar um
     card branco solto: mesmo fundo, separada por um divisor curto. */
  .especialidades {
    background: var(--creme-2); border-top: 0; border-bottom: 0;
    position: relative;
  }
  /* Sem divisor: o próprio espaço faz a separação. */
  .especialidades::before { content: none; }

  /* Grade 2x2: empilhado em lista o hero ficava longo demais. */
  .especialidades__in {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 18px 8px; width: 100%; margin-inline: 0;
    align-items: start; padding-block: 26px 24px;
  }
  .especialidades__item {
    width: 100%; align-items: flex-start; gap: 8px;
    font-size: 12.5px; line-height: 1.35;
  }
  .especialidades__item svg { width: 22px; height: 22px; margin-top: 1px; }
  .especialidades__sep { display: none; }


  /* Diferenciais em 2 colunas com fundo: aproveita a largura,
     em vez de uma lista fininha encostada à esquerda. */
  .dif__lista { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
  .dif__item {
    flex-direction: column; align-items: flex-start; gap: 10px;
    background: rgba(255,255,255,.5); border: 1px solid var(--linha);
    border-radius: 12px; padding: 16px 14px;
  }
  .dif__item svg { width: 26px; height: 26px; opacity: 1; }
  .dif__item h3 { font-size: 13.5px; line-height: 1.4; }
  .split__texto--esq, .split__texto--dir { padding: 52px 20px; }

  .carrossel { padding: 26px 18px 24px; }
  .depo { padding: 0; }
  .depo__texto { font-size: 18px; }
  .carrossel__seta { display: none; }


  .rodape__ramo--dir { display: none; }
  .rodape__ramo--esq { width: 140px; bottom: auto; top: 12%; opacity: .08; }
  .zap-flutuante { right: 12px; bottom: 12px; width: 46px; height: 46px; }
  .zap-flutuante svg { width: 22px; height: 22px; }

  .legal { padding-block: 48px 64px; }
  .legal h2 { margin-top: 32px; }

  .lgpd { bottom: 12px; padding: 16px 18px; gap: 14px; }
  .lgpd__acoes { width: 100%; }
  .lgpd__btn { flex: 1; }
  /* não deixa o banner cobrir o botão do WhatsApp */



  /* 1) Botões do hero: largura natural, não a linha toda */
  .hero__acoes { flex-direction: column; align-items: flex-start; }
  .hero__acoes .btn { width: auto; }

  /* 2) Cards de tratamento: não esticam na largura toda;
        ficam centralizados com uma medida confortável de leitura */
  .proc__grade { gap: 20px; }
  .proc__grade .card { flex: 0 1 auto; width: 100%; max-width: 340px; }

  /* 3) Avaliações: menos vazio acima do título */
  .aval { padding-block: 20px 48px; }

  /* 4) Perguntas: todos os itens com a mesma altura (a de 2 linhas),
        para os de 1 linha não ficarem mais baixos */
  .faq__item summary { min-height: 70px; align-items: center; box-sizing: border-box; }

  /* 5) Rodapé centralizado e mais compacto no empilhamento */
  .rodape__grid { grid-template-columns: 1fr; text-align: center; gap: 18px; padding-block: 26px 20px; }
  .rodape__logo { height: 46px; margin-inline: auto; margin-bottom: 8px; }
  .rodape__sobre { margin-inline: auto; margin-block: 0; font-size: 13px; }
  .rodape__redes { justify-content: center; margin-top: 10px; }
  .rodape__redes a { width: 34px; height: 34px; }
  .rodape__contato li { justify-content: flex-start; text-align: left; width: fit-content; margin-inline: auto; margin-bottom: 7px; font-size: 13px; }
  .rodape .olho { text-align: center; margin-bottom: 10px; }
  .rodape__chamada { text-align: center; margin-bottom: 12px; font-size: 19px; }
  .rodape__marca-wrap, .rodape__col { align-items: center; }



  .rodape__col--cta { align-items: center; }
  .rodape__contato { align-items: center; }


  /* botão de agendar com largura natural, não a linha toda */
  .rodape__col--cta .btn { width: auto; align-self: center; }


  /* Compacta: tudo na horizontal, quebrando só quando precisa.
     Empilhado em coluna a barra virava um bloco alto e vazio. */
  .rodape__barra {
    flex-direction: row; flex-wrap: wrap; justify-content: center;
    gap: 0 14px; padding: 8px 18px; line-height: 1.5;
  }
  .rodape__legal { width: 100%; text-align: center; }
  .rodape__links { flex-direction: row; flex-wrap: wrap; gap: 0 16px; }
  .rodape__link { padding: 7px 2px; font-size: 11.5px; }
}

/* ═══ TELAS BAIXAS (iPhone SE e similares) ═════════════════════
   O critério aqui é a ALTURA da tela, não a largura: num aparelho
   de 568px de altura o hero ocupava 94% e o botão de agendar caía
   fora da dobra. Encolhe foto e espaços só nesses casos.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 620px) and (max-height: 700px) {
  .hero__foto { height: clamp(180px, 30vh, 220px); }
  .hero__in { margin-top: -122px; padding-bottom: 18px; }
  .hero__titulo { font-size: clamp(30px, 8.6vw, 36px); margin-bottom: 10px; }
  .hero__sub { font-size: 15px; margin-bottom: 10px; }
  .hero__texto { font-size: 14px; margin-bottom: 18px; }
  .hero__risco { margin-bottom: 12px; }
  .hero__olho { margin-bottom: 6px; }
}


/* ═══ CELULAR E TABLET DEITADOS ════════════════════════════════
   Empilhado, a foto ocupava a tela inteira e o botão ficava a
   746px numa tela de 390. Deitado o layout volta a ser lado a
   lado, que é o que a proporção da tela pede.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 940px) and (orientation: landscape) and (max-height: 500px) {
  .hero {
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; min-height: 100vh;
  }
  .hero picture { order: 2; height: 100%; }
  .hero__foto {
    height: 100% !important; width: 100% !important;
    object-position: 82% 30%;

  }
  .hero__in {
    order: 1; margin-top: 0;
    padding: 14px 18px 14px max(18px, calc((100vw - var(--wrap)) / 2 + 18px));
  }
  .hero__titulo { font-size: clamp(24px, 4vw, 32px); line-height: 1.06; margin-bottom: 6px; }
  .hero__sub    { font-size: 13.5px; line-height: 1.3; margin-bottom: 6px; }
  .hero__texto  { font-size: 12.5px; line-height: 1.45; margin-bottom: 12px; }
  .hero__risco  { margin-bottom: 8px; }
  .hero__olho   { font-size: 11px; letter-spacing: .22em; margin-bottom: 4px; }
  .hero__acoes .btn { padding: 10px 18px; font-size: 13.5px; }

  /* deitado cabem os quatro em linha */
  .especialidades__in { grid-template-columns: repeat(4, 1fr); gap: 12px; padding-block: 16px; }
  .especialidades__item { font-size: 11.5px; }
}

/* Deitado em tela muito baixa: o parágrafo é o item menos
   essencial da dobra, então ele sai para o botão caber. */
@media (max-width: 940px) and (orientation: landscape) and (max-height: 400px) {
  .hero__texto { display: none; }
  .hero__in { padding-block: 10px; }
  .hero__titulo { font-size: clamp(22px, 3.6vw, 28px); }
  .hero__sub { font-size: 13px; margin-bottom: 5px; }
  .hero__risco { margin-bottom: 7px; }
}



