/* ============================================================
   Maria Santana · Regeneração de sobrancelhas
   Editorial quente · creme + marrom espresso + azul-petróleo
   EB Garamond (títulos) + DM Sans (texto). Mobile-first.
   ============================================================ */

:root {
  --creme:        #FAF7F2;   /* era #F5EFE4 (amarelado demais) */
  --creme-2:      #F3EEE6;   /* era #EFE7D7 */
  --creme-3:      #EAE3D8;   /* era #E9DFCB */
  --tinta:        #3B2E24;
  --tinta-suave:  #54402F;
  --azul:         #1F4A50;
  --azul-fundo:   #163A3F;
  --linha:        rgba(59, 46, 36, 0.14);

  --display: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --texto:   "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-h1:   clamp(2.5rem, 8vw, 4.25rem);
  --t-h2:   clamp(1.9rem, 5.5vw, 3rem);
  --t-h3:   clamp(1.35rem, 2.6vw, 1.6rem);   /* EB Garamond tem miolo pequeno: h3 maior que o texto corrido */
  --t-sub:  clamp(1.05rem, 2.6vw, 1.3rem);
  --t-body: 1.0625rem;

  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --secao:  clamp(5rem, 12vw, 9.5rem);
  --max:    1200px;
  --nav-h:  66px;

  --raio: 4px;
  --z-nav: 50;
  --z-ctafixa: 60;
  --z-modal: 100;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--creme);
  color: var(--tinta);
  font-family: var(--texto);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); line-height: 1.06; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: 0; line-height: 1.15; }
p  { text-wrap: pretty; }

a { color: var(--azul); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--azul); color: var(--creme);
  padding: .6rem 1rem; z-index: var(--z-modal); border-radius: var(--raio);
}
.skip-link:focus { left: .5rem; top: .5rem; }

:where(a, button, input, summary):focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Botões / CTA ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--texto);
  font-weight: 700; font-size: 1.0625rem;
  color: var(--creme); background: var(--azul);
  border: none; border-radius: 999px;
  padding: 1rem 1.9rem; cursor: pointer;
  line-height: 1.05;
  transition: background .18s ease-out, transform .14s ease-out;
}
.btn:hover { background: var(--azul-fundo); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn__seta { display: inline-block; transition: transform .18s ease-out; font-weight: 600; }
.btn:hover .btn__seta { transform: translateX(5px); }
.btn--grande { font-size: 1.15rem; padding: 1.15rem 2.2rem; }
.btn--sm { padding: .7rem 1.2rem; font-size: .9375rem; gap: .4rem; }
.btn--full { width: 100%; }
.btn--inv { background: var(--creme); color: var(--azul); }
.btn--inv:hover { background: #fff; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover { background: var(--azul); transform: none; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn__seta { transition: none; }
  .btn:hover { transform: none; }
  .btn:hover .btn__seta { transform: none; }
}

/* ---------- Nav (sticky) ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  display: flex; align-items: center; gap: 1rem;
  padding: .8rem var(--gutter);
  background: color-mix(in srgb, var(--creme-3) 90%, var(--creme));
}
.nav__brand { display: flex; flex-direction: column; text-decoration: none; color: var(--tinta); margin-right: auto; }
.nav__name { font-family: var(--display); font-weight: 600; font-size: 1.35rem; line-height: 1; }
.nav__role { font-size: .8125rem; color: var(--tinta-suave); margin-top: 2px; }
.nav__links { display: none; gap: 1.6rem; }
.nav__links a { color: var(--tinta); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.nav__links a:hover { color: var(--azul); }
.nav .btn { display: inline-flex; }

/* ---------- Layout base de seção ---------- */
main > section { padding: var(--secao) var(--gutter); max-width: var(--max); margin-inline: auto; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 18px); }

.cta-linha { margin-top: 3rem; display: flex; justify-content: center; }
.cta-linha--esq { justify-content: flex-start; }

/* ============================================================
   HERO · mobile: capa com imagem + overlay + texto por cima
   ============================================================ */
.hero {
  position: relative; display: block; max-width: none; margin: 0;
  padding: 0; min-height: calc(100svh - var(--nav-h)); overflow: hidden;
}
.hero__midia { position: absolute; inset: 0; margin: 0; z-index: 0; }
.hero__midia img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(30, 23, 17, .58); /* scrim sobre a foto (permitido) */
}
.hero__texto {
  position: relative; z-index: 2;
  min-height: calc(100svh - var(--nav-h));
  display: flex; flex-direction: column; justify-content: center;
  padding: 2.5rem var(--gutter) 3rem;
  color: var(--creme);
}
.hero__local { color: var(--creme); font-weight: 600; font-size: .9375rem; margin: 0 0 .9rem; opacity: .92; }
.hero__titulo { color: var(--creme); margin-bottom: 1rem; }
.hero__sub {
  font-size: var(--t-sub); color: color-mix(in srgb, var(--creme) 90%, transparent);
  max-width: 34ch; margin: 0 0 1.75rem; line-height: 1.45;
}
.hero__acao { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.hero__nota { font-size: .9375rem; color: color-mix(in srgb, var(--creme) 78%, transparent); }

/* Entrada do hero: via CSS no load (NÃO depende de scroll/JS) */
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__local  { animation: heroIn .6s .05s ease-out both; }
.hero__titulo { animation: heroIn .6s .16s ease-out both; }
.hero__sub    { animation: heroIn .6s .27s ease-out both; }
.hero__acao   { animation: heroIn .6s .38s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  .hero__local, .hero__titulo, .hero__sub, .hero__acao { animation: none; }
}

/* ---------- Técnica ---------- */
.tecnica { display: flex; flex-direction: column; gap: 2rem; background: var(--creme-2); max-width: none; }
.tecnica > * { max-width: var(--max); margin-inline: auto; width: 100%; }
.tecnica__midia { border-radius: var(--raio); overflow: hidden; background: var(--creme-3); }
.tecnica__midia img { width: 100%; aspect-ratio: 11 / 9; object-fit: cover; }
.tecnica__texto h2 { margin-bottom: 1.25rem; max-width: 18ch; }
.tecnica__texto p { color: var(--tinta-suave); max-width: 60ch; margin: 0 0 1rem; }
.tecnica__lista { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .9rem; }
.tecnica__lista li { position: relative; padding-left: 1.6rem; font-weight: 600; }
.tecnica__lista li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .6rem; height: .6rem; background: var(--azul); border-radius: 50%;
}

/* ---------- Slider comparar ---------- */
.comparar__intro { max-width: 42ch; margin-bottom: 2.5rem; }
.comparar__intro h2 { margin-bottom: .9rem; }
.comparar__intro p { color: var(--tinta-suave); margin: 0; }
.slider {
  position: relative; width: 100%; max-width: 560px; margin-inline: auto;
  aspect-ratio: 5 / 6; border-radius: var(--raio); overflow: hidden;
  background: var(--creme-3); user-select: none; touch-action: pan-y;
}
.slider__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slider__antes { position: absolute; inset: 0; z-index: 2; clip-path: inset(0 50% 0 0); }
.slider__antes .slider__img { width: 100%; }
.slider__tag {
  position: absolute; top: 1rem; z-index: 3;
  background: var(--tinta); color: var(--creme);
  font-size: .8125rem; font-weight: 700; padding: .35rem .8rem; border-radius: 999px;
}
.slider__tag--a { left: 1rem; }
.slider__tag--d { right: 1rem; background: var(--azul); }
.slider__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 5; }
.slider__alca { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 4; width: 3px; background: var(--creme); transform: translateX(-50%); pointer-events: none; }
.slider__alca::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--creme); transform: translate(-50%, -50%);
  box-shadow: 0 2px 10px rgba(0,0,0,.25); /* taste-skill-ignore: alça flutuante sobre a foto */
}
.slider__seta { position: absolute; top: 50%; transform: translateY(-50%); color: var(--azul); font-size: .8125rem; z-index: 1; }
.slider__seta:first-child { left: 50%; margin-left: -18px; }
.slider__seta:last-child { left: 50%; margin-left: 8px; }

/* ---------- Galeria (marquee) ---------- */
.galeria { background: var(--creme-2); max-width: none; padding-inline: 0; }
.galeria__intro { max-width: 40ch; margin: 0 auto 2.5rem; padding-inline: var(--gutter); }
.galeria__intro h2 { margin-bottom: .9rem; }
.galeria__intro p { color: var(--tinta-suave); margin: 0; }
.galeria__trilho { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); } /* taste-skill-ignore: máscara de fade nas bordas do marquee, não é fundo */
.galeria__pista {
  display: flex; gap: 1.5rem; width: max-content; list-style: none; margin: 0; padding: 0 .75rem;
  animation: marquee 40s linear infinite;
}
.galeria__pista.pausado { animation-play-state: paused; }
.galeria__trilho:hover .galeria__pista, .galeria__pista:focus-within { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.caso { flex: 0 0 auto; width: 290px; margin: 0; }
.caso__par { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; border-radius: var(--raio); overflow: hidden; }
.caso__par img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.caso__legenda { display: block; margin-top: .75rem; font-size: .9375rem; color: var(--tinta-suave); }
.galeria .cta-linha { padding-inline: var(--gutter); }
@media (prefers-reduced-motion: reduce) {
  .galeria__pista { animation: none; width: auto; }
  .galeria__trilho { overflow-x: auto; }
  .galeria__pista .caso[aria-hidden="true"] { display: none; }
}

/* ---------- Protocolo ---------- */
.protocolo__intro { max-width: 42ch; margin-bottom: 2.75rem; }
.protocolo__intro h2 { margin-bottom: .9rem; }
.protocolo__intro p { color: var(--tinta-suave); margin: 0; }
.passos { list-style: none; counter-reset: p; padding: 0; margin: 0; display: grid; gap: 2.5rem 3.5rem; }
.passo { counter-increment: p; position: relative; padding: 0 0 0 3.75rem; }
.passo::before {
  content: counter(p); position: absolute; left: 0; top: .1rem;
  font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--azul); line-height: 1;
}
.passo h3 { margin-bottom: .4rem; }
.passo p { color: var(--tinta-suave); margin: 0; max-width: 55ch; }

/* ---------- Linha do tempo ---------- */
.depois { background: var(--azul); color: var(--creme); max-width: none; }
.depois > * { max-width: var(--max); margin-inline: auto; }
.depois__intro { max-width: 42ch; margin-bottom: 2.75rem; }
.depois__intro h2 { margin-bottom: .9rem; }
.depois__intro p { color: color-mix(in srgb, var(--creme) 78%, transparent); margin: 0; }
.linha { display: grid; gap: 2.25rem 3.5rem; }
.fase { padding: 0; }
.fase__quando { display: block; font-family: var(--display); font-size: 1.375rem; font-weight: 600; margin-bottom: .4rem; color: var(--creme); }
.fase__texto { margin: 0; color: color-mix(in srgb, var(--creme) 82%, transparent); max-width: 55ch; }

/* ---------- Sobre mim ---------- */
.maria { display: flex; flex-direction: column; gap: 2rem; }
.maria__midia { margin: 0; border-radius: var(--raio); overflow: hidden; background: var(--creme-3); }
.maria__midia img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.maria__texto h2 { margin-bottom: 1.25rem; max-width: 16ch; }
.maria__texto p { color: var(--tinta-suave); max-width: 52ch; margin: 0 0 1rem; }
.link-insta { display: inline-block; margin-top: .6rem; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--azul); padding-bottom: 2px; }

/* ---------- Depoimentos ---------- */
.depoimentos { background: var(--creme-2); max-width: none; }
.depoimentos > * { max-width: var(--max); margin-inline: auto; }
.depoimentos__intro { margin-bottom: 2.25rem; }
.depoimentos__intro h2 { margin-bottom: .9rem; }
.depoimentos__intro p { color: var(--tinta-suave); margin: 0; max-width: 42ch; }
.depoimentos__grid { display: grid; gap: 1.25rem; }
.depo {
  margin: 0; display: flex; flex-direction: column; gap: 1rem;
  background: var(--creme); border: 1px solid var(--linha); border-radius: 8px;
  padding: 1.6rem 1.5rem 1.4rem;
}
.depo__estrelas { display: flex; gap: 3px; }
.estrela { width: 18px; height: 18px; fill: #B98B5E; }
.depo__texto { margin: 0; line-height: 1.55; color: var(--tinta); }
.depo__pessoa {
  display: flex; align-items: center; gap: .75rem;
  margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--linha);
}
.depo__avatar {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--creme-3); font-family: var(--display); font-weight: 600;
}
.depo__nome { font-weight: 600; font-size: .9375rem; }

/* ---------- Outros cuidados ---------- */
.outros { background: var(--creme-2); max-width: none; }
.outros > * { max-width: var(--max); margin-inline: auto; }
.outros__intro { max-width: 42ch; margin-bottom: 2.25rem; }
.outros__intro h2 { margin-bottom: .9rem; }
.outros__intro p { color: var(--tinta-suave); margin: 0; }
.outros__lista { display: grid; gap: 2rem 2.5rem; }
.servico h3 { margin-bottom: .25rem; }
.servico p { color: var(--tinta-suave); margin: 0; }
.outros__nota { margin-top: 1.75rem; color: var(--tinta-suave); font-style: italic; }

/* ---------- Fotos de procedimento ----------
   Cada foto é um antes/depois empilhado (em cima antes, embaixo depois).
   --r = largura/altura da foto · --corte = altura da emenda entre antes e depois.
   Celular: carrossel de deslizar, todas com a mesma altura.
   Desktop: lado a lado, mesma altura, preenchendo a largura. Nunca corta a foto. */
.procedimento { margin-top: 3.5rem; }
.procedimento__texto { max-width: 52ch; margin-bottom: 1.25rem; }
.procedimento__texto h3 { font-size: var(--t-h3); margin-bottom: .45rem; }
.procedimento__texto p { color: var(--tinta-suave); margin: 0; }
.procedimento .cta-linha { margin-top: 1.5rem; }

.procedimento__fotos {
  display: flex; gap: .75rem; align-items: flex-start;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .25rem;
  scrollbar-width: none;
}
.procedimento__fotos::-webkit-scrollbar { display: none; }
.foto-ad {
  position: relative; flex: none; margin: 0;
  height: min(380px, 58svh); aspect-ratio: var(--r, .6);
  border-radius: var(--raio); overflow: hidden; background: var(--creme-3);
  scroll-snap-align: start;
}
.foto-ad img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  cursor: zoom-in; transition: transform .35s ease-out;
}
.foto-ad img:focus-visible { outline: 3px solid var(--azul); outline-offset: -3px; }
/* prints com borda escura na direita/embaixo: um zoom mínimo esconde a borda */
.foto-ad--borda img { transform: scale(1.02); transform-origin: 0 0; }
.foto-ad__tag {
  position: absolute; left: .6rem; top: .6rem; pointer-events: none;
  background: var(--tinta); color: var(--creme);
  font-size: .75rem; font-weight: 700; padding: .25rem .65rem; border-radius: 999px;
}
.foto-ad__tag--depois { top: calc(var(--corte, 50%) + .5rem); background: var(--azul); }
.procedimento__dica { margin: .6rem 0 0; font-size: .875rem; color: var(--tinta-suave); }
.procedimento__dica .so-desktop { display: none; }

/* foto ampliada */
.lupa {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center;
  gap: .75rem; padding: 4rem 1rem 1.25rem;
  background: rgba(30, 23, 17, .94);
}
.lupa[hidden] { display: none; }
.lupa__img { max-width: 100%; max-height: calc(100svh - 8.5rem); width: auto; height: auto; border-radius: var(--raio); }
.lupa__legenda { margin: 0; color: var(--creme); font-size: .9375rem; text-align: center; }
.lupa__btn {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--creme); color: var(--tinta); font-size: 1.35rem; line-height: 1;
  display: grid; place-items: center;
}
.lupa__btn:focus-visible { outline: 3px solid var(--creme); outline-offset: 3px; }
.lupa__fechar { top: .75rem; right: .75rem; }
.lupa__ant { left: .75rem; top: 50%; transform: translateY(-50%); }
.lupa__prox { right: .75rem; top: 50%; transform: translateY(-50%); }
.lupa__ant[hidden], .lupa__prox[hidden] { display: none; }

/* ---------- FAQ ---------- */
.faq__intro { margin-bottom: 2.25rem; }
.faq__lista { display: grid; gap: .3rem; }
.qa { padding: .1rem 1rem; border-radius: 8px; transition: background .18s ease-out; }
.qa[open] { background: var(--creme-2); }
.qa summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0;
  font-family: var(--display); font-size: 1.3rem; font-weight: 600; line-height: 1.3; position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--azul); transition: transform .18s ease-out;
}
.qa[open] summary::after { content: "–"; }
.qa p { margin: 0 0 1.2rem; color: var(--tinta-suave); max-width: 58ch; }

/* ---------- CTA final ---------- */
.final { background: var(--tinta); color: var(--creme); max-width: none; text-align: center; }
.final__titulo { max-width: 16ch; margin: 0 auto 1.1rem; }
.final__sub { color: color-mix(in srgb, var(--creme) 80%, transparent); max-width: 44ch; margin: 0 auto 2rem; font-size: var(--t-sub); }
.final .btn { margin-inline: auto; }
.final__local { margin-top: 1.25rem; font-size: .9375rem; color: color-mix(in srgb, var(--creme) 65%, transparent); }
.final__mote { margin: .75rem 0 0; font-family: var(--display); font-style: italic; font-size: var(--t-sub); color: color-mix(in srgb, var(--creme) 85%, transparent); }

/* ---------- Rodapé ---------- */
.rodape { padding: 3rem var(--gutter); max-width: var(--max); margin-inline: auto; }
.rodape__topo { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.rodape__nome { font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
.rodape__topo a { text-decoration: none; font-weight: 700; }
.rodape__mote { display: block; margin-top: .2rem; font-size: .9375rem; font-style: italic; color: var(--tinta-suave); }
.rodape__endereco { margin: 0 0 1.75rem; padding: 1.5rem 0; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.rodape__titulo { font-size: var(--t-h3); margin-bottom: .5rem; }
.rodape__addr { font-style: normal; line-height: 1.6; }
.rodape__mapa { display: inline-block; margin-top: .6rem; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--azul); padding-bottom: 2px; }
.rodape__atende { margin: .75rem 0 0; font-size: .9375rem; color: var(--tinta-suave); }
.rodape__disclaimer, .rodape__lgpd { font-size: .9375rem; color: var(--tinta-suave); max-width: 70ch; margin: 0 0 .7rem; }
.rodape__copy { font-size: .8125rem; color: var(--tinta-suave); margin: 1.5rem 0 0; }

/* ---------- Barra CTA fixa (mobile) ---------- */
.cta-fixa {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-ctafixa);
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--creme) 95%, var(--tinta));
  box-shadow: 0 -8px 24px rgba(30, 23, 17, .14); /* taste-skill-ignore: barra fixa flutuante */
  transform: translateY(130%); opacity: 0; pointer-events: none;
  transition: transform .35s ease, opacity .35s ease;
}
.cta-fixa--visivel { transform: none; opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) {
  .cta-fixa { transition: none; }
}
@media (max-width: 899px) {
  body { padding-bottom: 82px; } /* espaço pra barra de CTA fixa */
}

/* ============================================================
   MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal__fundo { position: absolute; inset: 0; background: rgba(27, 21, 16, .55); }
.modal__caixa {
  position: relative; width: 100%; max-width: 420px;
  background: var(--creme); border-radius: 10px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 24px 60px rgba(27, 21, 16, .35); /* taste-skill-ignore: diálogo (overlay) */
}
.modal__x { position: absolute; top: .75rem; right: .9rem; background: none; border: none; font-size: 1.9rem; line-height: 1; color: var(--tinta-suave); cursor: pointer; padding: .2rem .5rem; }
.modal__x:hover { color: var(--tinta); }
.modal__titulo { font-size: 1.9rem; margin-bottom: .5rem; }
.modal__desc { color: var(--tinta-suave); margin: 0 0 1.5rem; font-size: 1rem; }
.modal__form { display: grid; gap: 1.1rem; }
.campo { display: grid; gap: .4rem; }
.campo__rotulo { font-weight: 700; font-size: .9375rem; }
.campo input {
  font-family: var(--texto); font-size: 1rem;
  padding: .85rem .9rem; border: 1.5px solid var(--linha);
  border-radius: var(--raio); background: #fff; color: var(--tinta);
}
.campo input::placeholder { color: color-mix(in srgb, var(--tinta-suave) 65%, transparent); }
.campo input:focus { border-color: var(--azul); }
.campo input[aria-invalid="true"] { border-color: #B23A2E; }
.campo__erro { color: #B23A2E; font-size: .8125rem; font-weight: 600; }
.modal__lgpd { font-size: .8125rem; color: var(--tinta-suave); margin: .25rem 0 0; text-align: center; }
.modal__caixa { animation: subir .22s ease-out; }
@keyframes subir { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal__caixa { animation: none; } }

/* ---------- Reveal ao rolar (NÃO aplica no hero) ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.vis { opacity: 1; transform: none; transition: opacity .6s ease-out, transform .6s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   TABLET / DESKTOP
   ============================================================ */
@media (min-width: 560px) {
  .caso { width: 340px; }
}

@media (min-width: 720px) {
  .outros__lista { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .depoimentos__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: flex; }
}

@media (min-width: 900px) {
  /* some a barra fixa · já tem CTA no topo e intermediários */
  .cta-fixa { display: none; }

  /* HERO volta a ser duas colunas, texto escuro, sem overlay */
  .hero {
    position: static; display: flex; flex-direction: row; align-items: center;
    gap: 4rem; min-height: auto; overflow: visible;
    max-width: var(--max); margin-inline: auto;
    padding: clamp(3.5rem, 7vw, 6rem) var(--gutter);
  }
  .hero::after { display: none; }
  .hero__midia { position: static; flex: 1 1 44%; border-radius: var(--raio); overflow: hidden; background: var(--creme-3); }
  .hero__midia img { width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .hero__texto {
    position: static; z-index: auto; min-height: auto; padding: 0;
    display: block; color: var(--tinta); flex: 1 1 56%;
  }
  .hero__local { color: var(--azul); opacity: 1; }
  .hero__titulo { color: var(--tinta); margin-bottom: 1.25rem; }
  .hero__sub { color: var(--tinta-suave); max-width: 34ch; }
  .hero__nota { color: var(--tinta-suave); }

  .tecnica { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
  .tecnica > * { margin-inline: 0; }
  .tecnica__midia img { aspect-ratio: 4 / 5; }

  .maria { flex-direction: row; align-items: center; gap: 4rem; }
  .maria__midia { flex: 0 0 42%; }
  .maria__texto { flex: 1; }

  .passos { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; row-gap: 3rem; }
  .linha { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; row-gap: 2.75rem; }

  .comparar { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }

  /* cada foto cresce na proporção do próprio formato: mesma altura, largura toda, sem corte */
  .procedimento__fotos { overflow: visible; margin-inline: 0; padding: 0; gap: 1rem; }
  .foto-ad { flex: var(--r, 1) 1 0; min-width: 0; height: auto; }
  .foto-ad:hover img { transform: scale(1.025); }
  .foto-ad--borda:hover img { transform: scale(1.045); }
  .procedimento__dica .so-celular { display: none; }
  .procedimento__dica .so-desktop { display: inline; }
  .comparar__intro { margin-bottom: 0; }
}

@media (min-width: 1040px) {
  :root { --t-body: 1.125rem; }
  .depoimentos__grid { grid-template-columns: repeat(3, 1fr); }
}
