/* =====================================================================
   DR. FAROL CASCAVEL — LANDING PAGE
   Sistema visual: "A luz transforma a forma como você enxerga o caminho"
   Temperatura de cor como narrativa: âmbar (o problema) → azul frio (a solução)
   ===================================================================== */

/* ---------------------------------------------------------------- FONTES */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Plex Sans";
  src: url("../fonts/plex-sans-400.woff2") format("woff2");
  font-weight: 400; font-display: swap; font-style: normal;
}
@font-face {
  font-family: "Plex Sans";
  src: url("../fonts/plex-sans-600.woff2") format("woff2");
  font-weight: 600; font-display: swap; font-style: normal;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500; font-display: swap; font-style: normal;
}

/* ---------------------------------------------------------------- TOKENS */
:root {
  --ink:        #05070b;
  --ink-2:      #090d14;
  --graphite:   #111823;
  --surface:    #141c28;
  --line:       rgba(255, 255, 255, .09);
  --line-2:     rgba(255, 255, 255, .16);

  --red:        #e91410;   /* vermelho oficial Dr. Farol */
  --red-soft:   #ff2f28;
  --red-deep:   #6d0906;
  --beam:       #f1f5fa;   /* a luz do farol */
  --halogen:    #d9a441;   /* o farol velho, antes do serviço */

  --text:       #e9eef6;
  --muted:      #8a97a9;
  --muted-2:    #5f6b7c;

  --wa:         #25d366;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body:    "Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --gutter: 20px;
  --maxw: 1180px;
  --r: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------------------- BASE */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--beam); color: var(--ink); padding: 10px 16px;
  border-radius: 8px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- TIPOGRAFIA */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 8.4vw, 5.1rem); }
h2 { font-size: clamp(1.95rem, 6.4vw, 3.5rem); }
h3 { font-size: clamp(1.1rem, 3.4vw, 1.4rem); letter-spacing: -.02em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(1rem, 3.7vw, 1.2rem); color: var(--muted); max-width: 56ch; }

/* Rótulo utilitário: mono, caixa alta, com um traço de facho antes */
.eyebrow {
  font-family: var(--mono);
  font-size: .69rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px; flex: none;
  background: linear-gradient(90deg, transparent, var(--red-soft));
}
.eyebrow--warm { color: var(--halogen); }
.eyebrow--warm::before { background: linear-gradient(90deg, transparent, var(--halogen)); }

/* Palavra em destaque frio — o "depois" */
.cold { color: var(--beam); }
.warm { color: var(--halogen); }

/* ---------------------------------------------------------------- LAYOUT */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 12vw, 118px); position: relative; }
.section--tight { padding-block: clamp(48px, 9vw, 84px); }
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 6vw, 56px); }
.section-head p { margin-top: 18px; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------------------------------------------------------------- BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background-color .25s;
  will-change: transform;
}
.btn svg { flex: none; }
.btn:active { transform: scale(.985); }

/* Primário: o botão é uma fonte de luz */
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 110, 100, .38), 0 14px 40px -14px rgba(233, 20, 16, .85);
}
.btn--primary:hover { background: #ff2019; box-shadow: 0 0 0 1px rgba(255,150,140,.5), 0 18px 48px -12px rgba(233,20,16,.95); }

/* varredura de luz na microinteração */
.btn--primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.38) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .65s var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }

.btn--ghost {
  background: rgba(255,255,255,.03);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn--ghost:hover { background: rgba(255,255,255,.07); }

.btn--block { display: flex; width: 100%; }

.microcopy { font-size: .82rem; color: var(--muted-2); margin-top: 12px; }

/* ---------------------------------------------------------------- HEADER */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: flex; align-items: center;
  height: 66px;
  transition: background-color .3s, backdrop-filter .3s, box-shadow .3s;
}
.header.is-stuck {
  background: rgba(5, 7, 11, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand__logo { height: 26px; width: auto; flex: none; }
.brand__name {
  font-family: var(--mono); font-weight: 500; font-size: .62rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  padding-left: 11px; margin-left: 1px;
  border-left: 1px solid var(--line-2);
}

.header__phone {
  font-family: var(--mono); font-size: .82rem; color: var(--text);
  padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2);
}
.header__phone:hover { background: rgba(255,255,255,.06); }

/* ---------------------------------------------------------------- HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: 96px;
  padding-bottom: clamp(34px, 7vw, 68px);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Overlay de legibilidade */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(5,7,11,.86) 0%, rgba(5,7,11,.42) 34%, rgba(5,7,11,.93) 82%, var(--ink) 100%),
    radial-gradient(120% 80% at 78% 46%, rgba(233,20,16,.20), transparent 62%);
}

/* SIGNATURE — o facho: um cone de luz que respira sobre a cena */
.beam {
  position: absolute; z-index: -1; pointer-events: none;
  top: 14%; left: 46%;
  width: 150vw; height: 62vh;
  background: linear-gradient(96deg, rgba(241,245,250,.22) 0%, rgba(255,200,195,.08) 26%, transparent 62%);
  filter: blur(28px);
  transform-origin: 0 50%;
  transform: rotate(6deg) scaleX(.94);
  opacity: .85;
  animation: beam-breathe 9s var(--ease) infinite alternate;
}
.beam--2 {
  top: 30%;
  height: 40vh;
  background: linear-gradient(96deg, rgba(241,245,250,.14) 0%, transparent 55%);
  transform: rotate(-3deg);
  animation-duration: 11s;
  animation-delay: -3s;
}
@keyframes beam-breathe {
  from { opacity: .45; transform: rotate(6deg) scaleX(.9); }
  to   { opacity: .95; transform: rotate(4deg) scaleX(1.04); }
}

.hero__inner { position: relative; width: 100%; }
.hero h1 { max-width: 15ch; }
.hero h1 .cold { display: block; }
.hero__sub { margin-top: 22px; max-width: 46ch; color: #b9c4d4; font-size: clamp(.98rem, 3.6vw, 1.1rem); }

.hero__actions { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

.hero__scroll {
  font-family: var(--mono); font-size: .76rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero__scroll:hover { color: var(--text); }
.hero__scroll span { animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* Prova social do primeiro viewport */
.rating {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 26px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 0 0 1px var(--line-2);
  backdrop-filter: blur(6px);
}
.rating__stars { color: var(--halogen); letter-spacing: .12em; font-size: .95rem; line-height: 1; }
.rating__text { font-size: .84rem; color: var(--text); }
.rating__text b { font-weight: 600; }
.rating__text span { color: var(--muted); }

/* ---------------------------------------------------------------- DIAGNÓSTICO (âmbar) */
.diag { background: var(--ink); position: relative; }
.diag::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 55% at 50% 0%, rgba(217,164,65,.08), transparent 70%);
}
.diag > .wrap { position: relative; }

.diag__grid {
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
}
.diag-card {
  display: block; width: 100%; text-align: left;
  padding: 22px 20px;
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  box-shadow: inset 0 0 0 1px var(--line);
  position: relative; overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease);
}
.diag-card__icon { width: 30px; height: 30px; color: var(--halogen); transition: color .3s; }
.diag-card h3 { margin: 16px 0 6px; font-size: 1.08rem; }
.diag-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.diag-card__go {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 16px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted-2);
  transition: color .25s, gap .25s var(--ease);
}
/* estado "aceso": passar do âmbar (problema) para o azul (solução) */
.diag-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--halogen); opacity: .55; transition: opacity .3s, background-color .3s;
}
.diag-card:hover, .diag-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(255,110,100,.45), 0 20px 44px -26px rgba(233,20,16,.9);
}
.diag-card:hover::after, .diag-card:focus-visible::after { background: var(--red-soft); opacity: 1; }
.diag-card:hover .diag-card__icon, .diag-card:focus-visible .diag-card__icon { color: var(--beam); }
.diag-card:hover .diag-card__go, .diag-card:focus-visible .diag-card__go { color: var(--beam); gap: 12px; }

/* ---------------------------------------------------------------- ANTES / DEPOIS */
.ba__tabs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px;
  margin-bottom: 20px; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ba__tabs::-webkit-scrollbar { display: none; }
.ba__tab {
  flex: none;
  padding: 10px 17px; border-radius: 999px;
  font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color .2s, box-shadow .2s, background-color .2s;
  white-space: nowrap;
}
.ba__tab:hover { color: var(--text); }
.ba__tab[aria-pressed="true"] {
  color: var(--ink); background: var(--beam); box-shadow: none; font-weight: 500;
}

.ba {
  position: relative; width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r); overflow: hidden;
  background: var(--graphite);
  box-shadow: inset 0 0 0 1px var(--line);
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }

/* SIGNATURE — o divisor é um facho de luz vertical */
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
  width: 2px; margin-left: -1px;
  background: var(--beam);
  box-shadow: 0 0 22px 3px rgba(241,245,250,.75);
  pointer-events: none;
}
.ba__knob {
  position: absolute; top: 50%; left: 50%;
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: rgba(5,7,11,.6);
  backdrop-filter: blur(4px);
  box-shadow: inset 0 0 0 1.5px var(--beam), 0 0 26px rgba(241,245,250,.4);
  display: grid; place-items: center;
  color: var(--beam);
}
.ba__tag {
  position: absolute; bottom: 12px;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(5,7,11,.62); backdrop-filter: blur(4px);
}
.ba__tag--before { left: 12px; color: var(--halogen); box-shadow: inset 0 0 0 1px rgba(232,161,60,.4); }
.ba__tag--after  { right: 12px; color: var(--beam);   box-shadow: inset 0 0 0 1px rgba(241,245,250,.42); }

.ba__range { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; cursor: ew-resize; }
.ba__range:focus-visible + .ba__handle { box-shadow: 0 0 30px 6px rgba(241,245,250,.95); }
.ba__caption { margin-top: 14px; font-size: .87rem; color: var(--muted); }

/* ---------------------------------------------------------------- SERVIÇOS */
.svc__list { border-top: 1px solid var(--line); }
.svc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color .3s;
}
.svc:hover { background: rgba(255,255,255,.022); }
.svc__body { padding: 26px 0; display: flex; flex-direction: column; }
.svc__idx {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  color: var(--muted-2); margin-bottom: 12px;
}
.svc h3 { font-size: clamp(1.35rem, 5vw, 1.9rem); }
.svc p { margin: 10px 0 0; color: var(--muted); font-size: .93rem; max-width: 52ch; }
.svc__cta {
  margin-top: 18px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--red-soft);
  padding: 8px 0;
  transition: gap .25s var(--ease), color .25s;
}
.svc__cta:hover { gap: 14px; color: var(--beam); }
.svc__media {
  position: relative; border-radius: 12px; overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--graphite);
  box-shadow: inset 0 0 0 1px var(--line);
  margin-bottom: 4px;
}
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; }
.svc:hover .svc__media img { transform: scale(1.04); filter: brightness(1.1); }

/* ---------------------------------------------------------------- QUEBRA CINEMATOGRÁFICA */
.cinema {
  position: relative;
  min-height: 300svh;           /* pista de rolagem para as 3 frases */
  background: var(--ink-2);
}
.cinema__stage {
  position: sticky; top: 0;
  height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
  text-align: center;
}
.cinema__bg { position: absolute; inset: -8% 0; z-index: 0; }
.cinema__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.cinema__stage::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(75% 55% at 50% 50%, transparent, rgba(5,7,11,.9) 78%);
}
.cinema__lines { position: relative; z-index: 2; padding-inline: var(--gutter); }
.cinema__line {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) translateY(18px);
  width: min(90vw, 900px);
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.9rem, 7vw, 4rem); line-height: 1.05; letter-spacing: -.03em;
  opacity: 0;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.cinema__line.is-on { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
.cinema__line--1 { position: relative; left: auto; top: auto; transform: none; opacity: 1; }
.cinema__line--1.is-off { opacity: 0; }

/* ---------------------------------------------------------------- PROVA SOCIAL */
.proof__top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 34px;
  padding: 24px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(233,20,16,.12), rgba(233,20,16,.02));
  box-shadow: inset 0 0 0 1px rgba(255,110,100,.24);
  margin-bottom: 26px;
}
.proof__score {
  font-family: var(--display); font-weight: 800; letter-spacing: -.04em;
  font-size: clamp(2.8rem, 11vw, 3.8rem); line-height: 1;
}
.proof__meta { display: flex; flex-direction: column; gap: 4px; }
.proof__meta .rating__stars { font-size: 1.05rem; }
.proof__meta small { color: var(--muted); font-size: .85rem; }
.proof__cta { margin-left: auto; }

.reviews { display: grid; gap: 12px; grid-template-columns: 1fr; }
.review {
  padding: 22px; border-radius: var(--r);
  background: rgba(255,255,255,.028);
  box-shadow: inset 0 0 0 1px var(--line);
}
.review__stars { color: var(--halogen); letter-spacing: .1em; font-size: .9rem; }
.review p { margin: 12px 0 16px; font-size: .95rem; }
.review__who { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review__name { font-weight: 600; font-size: .9rem; }
.review__src { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.reviews-empty {
  padding: 22px; border-radius: var(--r); border: 1px dashed var(--line-2);
  color: var(--muted); font-size: .92rem;
}

/* ---------------------------------------------------------------- AUTORIDADE */
.authority { background: var(--ink-2); }
.authority h2 { max-width: 18ch; }
.authority h2 .cold { display: block; font-size: .55em; letter-spacing: -.02em; margin-top: 14px; color: var(--muted); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 1px; margin-top: 40px; background: var(--line); border-radius: var(--r); overflow: hidden; }
.stat { background: var(--ink-2); padding: 24px 20px; }
.stat__num { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 7vw, 2.6rem); letter-spacing: -.04em; line-height: 1; }
.stat__label { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.stats__src { font-size: .74rem; color: var(--muted-2); margin-top: 14px; }

/* ---------------------------------------------------------------- PROCESSO */
.steps { display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 54px 1fr; gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  font-family: var(--mono); font-size: .78rem; color: var(--red-soft);
  padding-top: 5px;
}
.step h3 { font-size: 1.15rem; }
.step p { margin: 7px 0 0; color: var(--muted); font-size: .92rem; }
/* trilha de luz percorrendo os passos */
.step::before {
  content: ""; position: absolute; left: 17px; top: 0; bottom: 0; width: 1px;
  background: var(--line-2);
}
.step:first-child::before { top: 22px; }
.step:last-child::before { bottom: calc(100% - 30px); }
.step__dot {
  position: absolute; left: 13px; top: 27px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--red-soft);
  transition: background-color .4s, box-shadow .4s;
}
.step.is-visible .step__dot { background: var(--beam); box-shadow: 0 0 14px 2px rgba(241,245,250,.75); }

/* ---------------------------------------------------------------- GALERIA */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery__item {
  scroll-snap-align: start;
  position: relative; overflow: hidden; border-radius: 12px;
  background: var(--graphite); box-shadow: inset 0 0 0 1px var(--line);
  aspect-ratio: 4 / 5;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.035); }
.gallery__hint { font-family: var(--mono); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); margin-top: 14px; }

.lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(3,5,8,.94);
  display: none; place-items: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}
.lightbox[open], .lightbox.is-open { display: grid; }
.lightbox img { max-width: min(96vw, 1100px); max-height: 86svh; object-fit: contain; border-radius: 10px; }
.lightbox__close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-2);
}

/* ---------------------------------------------------------------- LOCALIZAÇÃO */
.local { background: var(--ink-2); }
.local__grid { display: grid; gap: 26px; }
.local__map {
  border-radius: var(--r); overflow: hidden; min-height: 300px;
  background: var(--graphite); box-shadow: inset 0 0 0 1px var(--line);
}
.local__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; filter: grayscale(.75) invert(.92) contrast(.9) brightness(.95); }
.local__addr { font-size: 1.05rem; }
.hours { list-style: none; margin: 24px 0 0; padding: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.hours li span:last-child { font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.local__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.local__note { margin-top: 18px; font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.015em;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--beam); }
.faq summary::after {
  content: "+"; flex: none;
  font-family: var(--mono); font-weight: 500; font-size: 1.25rem; line-height: 1;
  color: var(--red-soft); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 22px; color: var(--muted); font-size: .94rem; max-width: 66ch; }
.faq__a a { color: var(--red-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- CTA FINAL */
.final {
  position: relative; overflow: hidden; isolation: isolate;
  text-align: left;
  padding-block: clamp(80px, 16vw, 150px);
}
.final__media { position: absolute; inset: 0; z-index: -2; }
.final__media img { width: 100%; height: 100%; object-fit: cover; }
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(5,7,11,.78) 40%, rgba(5,7,11,.9) 100%),
    radial-gradient(90% 70% at 30% 60%, rgba(233,20,16,.26), transparent 65%);
}
.final h2 { max-width: 17ch; }
.final .lead { margin-top: 20px; }
.final .btn { margin-top: 30px; }

/* ---------------------------------------------------------------- RODAPÉ */
.footer { padding-block: 44px 34px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.footer__grid { display: grid; gap: 22px; }
.footer a:hover { color: var(--text); }
.footer__legal { margin-top: 26px; font-size: .76rem; color: var(--muted-2); }
.footer__social { display: flex; gap: 12px; align-items: center; }

/* ---------------------------------------------------------------- CONVERSÃO FLUTUANTE */
.float-wa {
  position: fixed; right: 16px; z-index: 101;
  /* no mobile fica acima da barra fixa; no desktop desce para o canto */
  bottom: calc(78px + env(safe-area-inset-bottom));
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #04210f;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,.6);
  opacity: 0; transform: translateY(14px) scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.float-wa.is-on { opacity: 1; transform: none; }
.float-wa:hover { transform: translateY(-2px); }

.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(5,7,11,.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 -1px 0 var(--line);
  transform: translateY(110%);
  transition: transform .32s var(--ease);
}
.sticky-bar.is-on { transform: none; }
.sticky-bar .btn { min-height: 50px; font-size: .9rem; }

/* ---------------------------------------------------------------- REVEAL */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal[data-delay="1"].is-visible { transition-delay: .08s; }
.js .reveal[data-delay="2"].is-visible { transition-delay: .16s; }
.js .reveal[data-delay="3"].is-visible { transition-delay: .24s; }

/* ================================================================ ≥600px */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .diag__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .hero__actions { flex-direction: row; align-items: center; gap: 22px; }
  .gallery { grid-auto-columns: 42%; }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

/* ================================================================ ≥900px */
@media (min-width: 860px) {
  :root { --gutter: 40px; }
  body { font-size: 17px; }

  .header { height: 78px; }
  .hero { align-items: center; padding-top: 78px; }
  .hero__inner { max-width: 780px; }

  .diag__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .diag-card { padding: 28px 26px; }

  .ba { aspect-ratio: 16 / 9; }

  .svc { grid-template-columns: 300px 1fr; gap: 34px; align-items: center; }
  .svc__media { margin-bottom: 0; }
  .svc__body { padding: 32px 0; }

  .reviews { grid-template-columns: repeat(3, 1fr); }
  .local__grid { grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
  .local__map, .local__map iframe { min-height: 420px; }

  .gallery { grid-auto-columns: 27%; }

  .float-wa { right: 22px; bottom: 22px; width: 58px; height: 58px; }
  .sticky-bar { display: none; }

  .final { padding-block: 170px; }
  .final h2 { font-size: clamp(2.6rem, 4.6vw, 4rem); }
}

/* ================================================================ MOVIMENTO REDUZIDO */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .cinema { min-height: auto; }
  .cinema__stage { position: static; height: auto; padding-block: 90px; }
  .cinema__line { position: relative; left: auto; top: auto; transform: none; opacity: 1; margin-bottom: 26px; width: auto; }
  .cinema__line--1.is-off { opacity: 1; }
  .beam { animation: none; opacity: .7; }
}
