/* =========================================================
   LIFE KIDS — Espaço Multidisciplinar
   Direção: alegre, cores da marca, movimento no scroll
   ========================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Bases quentes */
  --cream:      #FFF8EC;
  --paper:      #FFFFFF;
  --sand:       #FDF3E3;
  --ink:        #1C2331;
  --ink-soft:   #4A5468;
  --muted:      #7C879B;
  --line:       #EBE2D3;

  /* Quadrante da marca */
  --cyan:       #03A2DC;
  --lime:       #A5C711;
  --amber:      #F6AA00;
  --magenta:    #E7327F;

  /* Versões escurecidas — texto sobre fundo claro (contraste AA) */
  --cyan-ink:    #0A6E93;
  --lime-ink:    #5E7C05;
  --amber-ink:   #A66E00;
  --magenta-ink: #C01A62;

  /* Tintas suaves de fundo */
  --cyan-tint:    #E4F5FC;
  --lime-tint:    #F1F7DC;
  --amber-tint:   #FFF1D6;
  --magenta-tint: #FDE8F0;

  --wa: #14A05C;

  /* Tipografia */
  --font-display: 'Fraunces', 'Lora', Georgia, serif;
  --font-sans:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Espaço e forma */
  --wrap:   1220px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --sec-y:  clamp(4.5rem, 9vw, 8rem);
  --r-sm:   10px;
  --r-md:   18px;
  --r-lg:   28px;
  --r-xl:   40px;

  --shadow-sm:  0 2px 6px rgba(28, 35, 49, .06);
  --shadow-md:  0 14px 32px -16px rgba(28, 35, 49, .22);
  --shadow-lg:  0 34px 70px -30px rgba(28, 35, 49, .32);
  --shadow-pop: 0 20px 45px -18px rgba(3, 162, 220, .38);

  --ease:   cubic-bezier(.22, .61, .36, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ---------- 3. TIPOGRAFIA ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
}

.h-display { font-size: clamp(2.4rem, 6.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.h-1       { font-size: clamp(1.95rem, 4.4vw, 3.15rem); text-wrap: balance; }
.h-2       { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.h-3       { font-size: 1.16rem; }

.lead { font-size: clamp(1.03rem, 1.6vw, 1.2rem); line-height: 1.7; color: var(--ink-soft); }

/* Eyebrow em pílula colorida */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .45rem 1rem; border-radius: 100px;
  background: var(--cyan-tint); color: var(--cyan-ink);
}
.eyebrow--lime    { background: var(--lime-tint);    color: var(--lime-ink); }
.eyebrow--amber   { background: var(--amber-tint);   color: var(--amber-ink); }
.eyebrow--magenta { background: var(--magenta-tint); color: var(--magenta-ink); }
.eyebrow--light   { background: rgba(255,255,255,.16); color: #fff; }
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Grifo de marca-texto atrás da palavra */
.mark-hl { position: relative; display: inline-block; white-space: nowrap; z-index: 0; }
.mark-hl::after {
  content: ''; position: absolute; left: -.08em; right: -.08em; bottom: -.06em;
  height: .2em; background: var(--amber); border-radius: 100px; z-index: -1;
  transform: scaleX(0); transform-origin: left;
  transition: transform .85s var(--ease) .3s;
}
.is-in .mark-hl::after { transform: scaleX(1); }
.mark-hl--cyan::after    { background: var(--cyan); }
.mark-hl--lime::after    { background: var(--lime); }
.mark-hl--magenta::after { background: var(--magenta); }

.em-serif { font-style: italic; }

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

.section { padding-block: var(--sec-y); position: relative; }
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--sand  { background: var(--sand); }
.section--cyan  { background: var(--cyan-tint); }
.section--lime  { background: var(--lime-tint); }
.section--amber { background: var(--amber-tint); }
.section--ink   { background: var(--ink); color: rgba(255,255,255,.78); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.sec-head { max-width: 700px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .h-1 { margin-top: 1.1rem; }
.sec-head .lead { margin-top: 1.1rem; }

/* Divisor em onda — referência às paredes da própria clínica */
.wave { display: block; width: 100%; height: clamp(38px, 5vw, 68px); }
.wave path { fill: currentColor; }
.wave--paper { color: var(--paper); }
.wave--cream { color: var(--cream); }
.wave--sand  { color: var(--sand); }
.wave--ink   { color: var(--ink); }
.wave--amber { color: var(--amber-tint); }

/* Padrão de bolinhas — referência à parede da sala lúdica */
.dots-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(231,50,127,.15) 4px, transparent 4.5px),
    radial-gradient(circle, rgba(3,162,220,.15) 4px, transparent 4.5px),
    radial-gradient(circle, rgba(246,170,0,.17) 4px, transparent 4.5px),
    radial-gradient(circle, rgba(165,199,17,.17) 4px, transparent 4.5px);
  background-size: 130px 130px;
  background-position: 0 0, 65px 42px, 30px 88px, 96px 15px;
  pointer-events: none;
}
.dots-bg > * { position: relative; }

.quad { display: flex; gap: 5px; }
.quad span { width: 24px; height: 5px; border-radius: 3px; }
.quad span:nth-child(1) { background: var(--cyan); }
.quad span:nth-child(2) { background: var(--lime); }
.quad span:nth-child(3) { background: var(--amber); }
.quad span:nth-child(4) { background: var(--magenta); }

/* ---------- 5. BOTÕES ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 1rem 1.8rem; border-radius: 100px;
  font-size: .96rem; font-weight: 700; line-height: 1;
  border: 2px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .3s var(--bounce), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(-1px) scale(1); }

.btn--primary { background: var(--cyan); color: #fff; box-shadow: var(--shadow-pop); }
.btn--primary:hover { background: #0292c7; }
.btn--magenta { background: var(--magenta); color: #fff; box-shadow: 0 20px 45px -18px rgba(231,50,127,.45); }
.btn--magenta:hover { background: #d42872; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: var(--shadow-md); }
.btn--ink:hover { background: #0F1420; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--amber-tint); }

.btn--sm { padding: .7rem 1.3rem; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }

/* ---------- 6. BARRA DE PROGRESSO ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--cyan), var(--lime), var(--amber), var(--magenta));
  z-index: 400; will-change: transform;
}

/* ---------- 7. CABEÇALHO ---------- */
.header {
  position: fixed; inset: 4px 0 auto 0; z-index: 200;
  background: rgba(255, 248, 236, .82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 2px solid transparent;
  transition: border-color .35s var(--ease), background-color .35s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); background: rgba(255, 248, 236, .97); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark { width: 42px; height: 42px; flex-shrink: 0; transition: transform .6s var(--bounce); }
.brand:hover .brand__mark { transform: rotate(90deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 700; font-size: 1.02rem; letter-spacing: .16em; color: var(--ink); }
.brand__tag  { font-size: .55rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 600; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 1.6vw, 1.8rem); }
.nav__link { font-size: .9rem; font-weight: 600; color: var(--ink-soft); position: relative; padding-block: 5px; white-space: nowrap; transition: color .2s var(--ease); }
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px;
  border-radius: 2px; background: var(--cyan);
  transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease);
}
.nav__link:nth-child(2n)::after { background: var(--magenta); }
.nav__link:nth-child(3n)::after { background: var(--amber); }
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: .75rem; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink); align-items: center; justify-content: center; flex-shrink: 0; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.burger span::before { top: -6px; }
.burger span::after  { top:  6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { display: none; border-top: 2px solid var(--line); background: var(--cream); padding: 1.25rem var(--gutter) 1.75rem; }
.mobile-nav.is-open { display: block; }
.mobile-nav a.nav__link { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.mobile-nav .btn { margin-top: 1.25rem; }

/* ---------- 8. HERO ---------- */
.hero {
  position: relative;
  padding-top: calc(76px + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
  background: var(--cream);
}
.hero__blob { position: absolute; border-radius: 50%; pointer-events: none; opacity: .55; }
.hero__blob--1 { width: 330px; height: 330px; background: radial-gradient(circle, rgba(3,162,220,.32), transparent 70%); top: -90px;  left: -120px; }
.hero__blob--2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(246,170,0,.34), transparent 70%); top: 30px;   right: -150px; }
.hero__blob--3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(231,50,127,.26), transparent 70%); bottom: 40px; left: 36%; }

.hero__content { position: relative; text-align: center; max-width: 880px; margin-inline: auto; }
.hero__title { margin-top: 1.5rem; }
.hero__lead { margin-top: 1.6rem; max-width: 56ch; margin-inline: auto; }
.hero .btn-row { justify-content: center; }

/* Figura única com parallax */
.hero-figure {
  position: relative; margin-top: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 16/9;
  background: var(--sand); isolation: isolate;
}
.hero-figure img {
  width: 100%; height: 120%; object-fit: cover;
  position: absolute; top: -10%; left: 0; will-change: transform;
}
.hero-figure::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,35,49,.38), transparent 48%);
  pointer-events: none; z-index: 2;
}

/* Cartões de número sobre a foto */
.hero-stats {
  position: relative; z-index: 4; margin-top: -3.25rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  max-width: 880px; margin-inline: auto; padding-inline: 1rem;
}
.stat {
  background: var(--paper); border-radius: var(--r-md); padding: 1.4rem 1.15rem;
  text-align: center; box-shadow: var(--shadow-md);
  border-bottom: 5px solid var(--cyan);
  transition: transform .35s var(--bounce);
}
.stat:nth-child(2) { border-bottom-color: var(--amber); }
.stat:nth-child(3) { border-bottom-color: var(--magenta); }
.stat:hover { transform: translateY(-6px); }
.stat__num { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 600; color: var(--ink); line-height: 1; display: block; }
.stat__lbl { font-size: .78rem; color: var(--muted); line-height: 1.4; margin-top: .5rem; display: block; }

/* ---------- 9. MARQUEE ---------- */
.marquee { overflow: hidden; background: var(--ink); padding-block: 1.05rem; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 1.35rem; padding-inline: 1.35rem;
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: #fff; white-space: nowrap;
}
.marquee__item i { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.marquee__item:nth-child(4n+1) i { background: var(--cyan); }
.marquee__item:nth-child(4n+2) i { background: var(--lime); }
.marquee__item:nth-child(4n+3) i { background: var(--amber); }
.marquee__item:nth-child(4n+4) i { background: var(--magenta); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- 10. CARDS ---------- */
.grid { display: grid; gap: 1.35rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border-radius: var(--r-lg); padding: 2rem 1.85rem;
  position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--c, var(--cyan)); }
.card::after {
  content: ''; position: absolute; top: -55px; right: -55px; width: 130px; height: 130px;
  border-radius: 50%; background: var(--c, var(--cyan)); opacity: .08;
  transition: transform .55s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card:hover::after { transform: scale(1.55); }
.card__icon {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--c, var(--cyan)); color: #fff; margin-bottom: 1.35rem;
  transition: transform .5s var(--bounce); position: relative;
}
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); }
.card__icon svg { width: 26px; height: 26px; }
.card .h-3 { margin-bottom: .65rem; position: relative; }
.card p { font-size: .93rem; color: var(--muted); line-height: 1.66; position: relative; }

/* Sinais de alerta */
.signal {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--paper); border-radius: var(--r-md); padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.signal + .signal { margin-top: .85rem; }
.signal:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.signal__ico {
  width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  background: var(--c, var(--cyan)); color: #fff; flex-shrink: 0;
}
.signal__ico svg { width: 18px; height: 18px; }
.signal p { font-size: .94rem; color: var(--ink-soft); }

/* ---------- 11. PASSO A PASSO ---------- */
.steps { position: relative; display: grid; gap: 1.35rem; grid-template-columns: repeat(4, 1fr); }
.steps__rail {
  position: absolute; top: 34px; left: 12%; right: 12%; height: 4px;
  background: rgba(28,35,49,.1); border-radius: 2px; overflow: hidden;
}
.steps__rail i {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--lime), var(--amber), var(--magenta));
  transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease);
}
.steps.is-in .steps__rail i { transform: scaleX(1); }

.step { position: relative; text-align: center; }
.step__num {
  width: 68px; height: 68px; border-radius: 50%; background: var(--c, var(--cyan));
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  margin: 0 auto 1.35rem; border: 5px solid var(--cream);
  box-shadow: var(--shadow-md); transition: transform .5s var(--bounce);
}
.step:hover .step__num { transform: scale(1.12) rotate(-6deg); }
.step p { font-size: .92rem; color: var(--muted); margin-top: .55rem; line-height: 1.64; }

/* ---------- 12. GALERIA DO ESPAÇO ---------- */
/* Sem fixação e sem altura artificial: o trilho desliza conforme a seção
   atravessa a tela. Não cria espaço morto e degrada para rolagem horizontal
   nativa se o JS não rodar. */
.gallery-pin { position: relative; overflow: hidden; padding-block: var(--sec-y); }
.gallery-head {
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.gallery-track {
  display: flex; gap: 1.5rem;
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  will-change: transform;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
/* Com o JS ativo o deslocamento é por transform; a rolagem nativa sai de cena */
.js-desliza .gallery-track { overflow-x: hidden; }

.shot {
  flex: 0 0 auto; width: clamp(230px, 25vw, 320px);
  border-radius: var(--r-lg); overflow: hidden;
  background: rgba(255,255,255,.08); box-shadow: var(--shadow-lg); position: relative;
}
.shot img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.shot__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.75rem 1.25rem 1.15rem;
  background: linear-gradient(to top, rgba(28,35,49,.9), transparent);
  color: #fff; font-weight: 600; font-size: .93rem;
}
.shot__cap small { display: block; font-weight: 400; font-size: .78rem; opacity: .8; margin-top: .2rem; }
.shot__tag { position: absolute; top: 1rem; left: 1rem; width: 30px; height: 6px; border-radius: 3px; background: var(--c, var(--cyan)); }

.gallery-hint {
  display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: rgba(255,255,255,.55);
  margin-top: 1.75rem;
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.gallery-hint svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- 13. EQUIPE ---------- */
.pro { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.pro + .pro { border-top: 2px dashed var(--line); }
.pro:first-of-type { padding-top: 0; }
.pro__photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--sand); box-shadow: var(--shadow-md); position: relative; }
.pro__photo img { width: 100%; height: 100%; object-fit: cover; }
.pro__photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--c, var(--cyan)); }
.pro__role {
  display: inline-flex; align-items: center; font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--c, var(--cyan));
  padding: .4rem .9rem; border-radius: 100px; margin-bottom: .9rem;
}
.pro__crp { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--ink); background: var(--sand); border-radius: 100px; padding: .35rem .9rem; margin-top: .9rem; }
.pro__bio { margin-top: 1.1rem; font-size: .98rem; }
.pro__creds { margin-top: 1.75rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 1.5rem; }
.pro__creds li { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.pro__creds svg { width: 15px; height: 15px; color: var(--c, var(--cyan)); flex-shrink: 0; margin-top: .3rem; }

/* ---------- 14. FAQ ---------- */
.faq-item { background: var(--paper); border-radius: var(--r-md); margin-bottom: .8rem; box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .3s var(--ease); }
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem 1.5rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; color: var(--ink);
  transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cyan-ink); }
.faq-item__sign { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--cyan-tint); flex-shrink: 0; transition: transform .4s var(--bounce); }
.faq-item__sign::before, .faq-item__sign::after { content: ''; position: absolute; background: var(--cyan-ink); border-radius: 2px; transition: transform .35s var(--ease); }
.faq-item__sign::before { top: 13px; left: 8px; width: 12px; height: 2px; }
.faq-item__sign::after  { left: 13px; top: 8px; width: 2px; height: 12px; }
.faq-item[open] .faq-item__sign { transform: rotate(180deg); }
.faq-item[open] .faq-item__sign::after { transform: scaleY(0); }
.faq-item__body { padding: 0 1.5rem 1.4rem; font-size: .95rem; color: var(--muted); }

/* ---------- 15. CONTATO ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start; width: 100%; text-align: left;
  padding: 1.35rem; border-radius: var(--r-md); background: var(--paper); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-item + .contact-item { margin-top: .85rem; }
a.contact-item:hover, button.contact-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-item__ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--c, var(--cyan)); color: #fff; flex-shrink: 0; }
.contact-item__ico svg { width: 20px; height: 20px; }
.contact-item > span:last-child { display: block; }
.contact-item__lbl { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-item__val { display: block; font-size: .98rem; font-weight: 600; color: var(--ink); margin-top: .2rem; line-height: 1.4; }
.contact-item__sub { display: block; font-size: .85rem; color: var(--muted); margin-top: .1rem; line-height: 1.45; }

.map { border-radius: var(--r-lg); overflow: hidden; background: var(--sand); min-height: 440px; box-shadow: var(--shadow-sm); }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; }

/* ---------- 16. CTA FINAL ---------- */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band .h-1 { max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 56ch; margin: 1.35rem auto 0; }
.cta-band .btn-row { justify-content: center; }

/* ---------- 17. RODAPÉ ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.64); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; font-size: .9rem; }
.footer a { transition: color .2s var(--ease); }
.footer a:hover { color: var(--amber); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__title { font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: #fff; margin-bottom: 1.15rem; }
.footer__list li + li { margin-top: .6rem; }
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: rgba(255,255,255,.5); }
.footer__about { margin-top: 1.35rem; max-width: 34ch; line-height: 1.64; }
.footer__socials { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer__socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.16); transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .35s var(--bounce); }
.footer__socials a:hover { background: var(--magenta); border-color: var(--magenta); color: #fff; transform: translateY(-3px); }
.footer__socials svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .81rem; color: rgba(255,255,255,.46); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- 18. MODAL ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(28,35,49,.6); backdrop-filter: blur(5px); animation: fade .3s var(--ease); }
.modal__panel {
  position: relative; width: 100%; max-width: 540px; max-height: 92vh; overflow-y: auto;
  background: var(--paper); border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 2.35rem);
  box-shadow: var(--shadow-lg); animation: pop .4s var(--bounce);
}
.modal__panel::before { content: ''; position: sticky; top: 0; display: block; height: 7px; margin: -1.6rem -1.6rem 1.2rem; background: linear-gradient(90deg, var(--cyan), var(--lime), var(--amber), var(--magenta)); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop  { from { opacity: 0; transform: translateY(20px) scale(.96); } }

.modal__close { position: absolute; top: 1.35rem; right: 1.1rem; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background-color .2s var(--ease), color .2s var(--ease), transform .35s var(--bounce); z-index: 5; }
.modal__close:hover { background: var(--magenta-tint); color: var(--magenta-ink); transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; }
.modal .h-2 { margin-top: .85rem; }
.modal__sub { font-size: .93rem; color: var(--muted); margin-top: .55rem; }

/* ---------- 19. FORMULÁRIO ---------- */
.form { margin-top: 1.6rem; display: grid; gap: .95rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.field label .req { color: var(--magenta); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem .95rem; border: 2px solid var(--line);
  border-radius: var(--r-sm); background: var(--paper); font-size: .95rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-tint); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--magenta); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; }

.hp { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; width: 0 !important; }

.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .82rem; color: var(--muted); line-height: 1.5; margin-top: .3rem; }
.consent input { width: 18px; height: 18px; margin-top: .1rem; flex-shrink: 0; accent-color: var(--cyan); }
.consent a { color: var(--cyan-ink); text-decoration: underline; text-underline-offset: 2px; }

.form-feedback { padding: .85rem 1rem; border-radius: var(--r-sm); font-size: .88rem; line-height: 1.5; }
.form-feedback[hidden] { display: none; }
.form-feedback--success { background: #E6F7EE; color: #0B6B41; }
.form-feedback--error   { background: var(--magenta-tint); color: var(--magenta-ink); }
.form__note { font-size: .75rem; color: var(--muted); text-align: center; line-height: 1.5; }

/* ---------- 20. FAB ---------- */
.fab {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 300;
  display: flex; align-items: center; gap: .6rem; background: var(--wa); color: #fff;
  border-radius: 100px; padding: .95rem 1.4rem .95rem 1.05rem; font-size: .9rem; font-weight: 700;
  box-shadow: 0 16px 38px -12px rgba(20, 160, 92, .55);
  transition: transform .35s var(--bounce), box-shadow .3s var(--ease);
}
.fab:hover { transform: translateY(-4px) scale(1.04); }
.fab svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

/* ---------- 21. COOKIES ---------- */
.cookie {
  position: fixed; left: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 320;
  max-width: 420px; background: var(--paper); border-radius: var(--r-md); padding: 1.35rem;
  box-shadow: var(--shadow-lg); display: none; border-top: 5px solid var(--amber);
}
.cookie.is-visible { display: block; }
.cookie p { font-size: .84rem; color: var(--muted); line-height: 1.55; }
.cookie a { color: var(--cyan-ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; gap: .6rem; margin-top: 1rem; }

/* ---------- 22. PÁGINAS INTERNAS ---------- */
.page-head { padding-top: calc(76px + clamp(3rem, 6vw, 4.5rem)); padding-bottom: clamp(2rem, 4vw, 3rem); background: var(--sand); }
.prose { max-width: 72ch; padding-block: clamp(2.5rem, 5vw, 4rem); }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: .85rem; }
.prose h3 { font-size: 1.12rem; margin-top: 1.75rem; margin-bottom: .6rem; }
.prose p  { margin-bottom: 1rem; font-size: .97rem; }
.prose ul { margin: 0 0 1rem 1.15rem; list-style: disc; }
.prose li { margin-bottom: .45rem; font-size: .97rem; }
.prose a  { color: var(--cyan-ink); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }

.centered-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 6rem var(--gutter) 4rem; }
.centered-page .quad { justify-content: center; margin-bottom: 1.75rem; }
.centered-page .lead { max-width: 50ch; margin: 1.35rem auto 0; }
.success-mark { width: 88px; height: 88px; border-radius: 50%; background: var(--lime-tint); color: var(--lime-ink); display: grid; place-items: center; margin: 0 auto 1.75rem; animation: pop .6s var(--bounce); }
.success-mark svg { width: 40px; height: 40px; }

/* ---------- 23. REVELAÇÃO AO ROLAR ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal--left  { transform: translateX(-34px); }
.reveal--right { transform: translateX(34px); }
.reveal--zoom  { transform: scale(.93); }

/* ---------- 24. RESPONSIVO ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.35rem; }
  .steps__rail { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .pro { grid-template-columns: 250px 1fr; }
}

@media (max-width: 900px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: flex; }
  html { scroll-padding-top: 84px; }
  .gallery-track { scroll-snap-type: x mandatory; transform: none !important; -webkit-overflow-scrolling: touch; }
  .shot { scroll-snap-align: center; width: 68vw; }
}

@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pro { grid-template-columns: 1fr; }
  .pro__photo { max-width: 270px; }
  .pro__creds { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-figure { aspect-ratio: 4/3; border-radius: var(--r-lg); }
  .hero-stats { grid-template-columns: 1fr; margin-top: -1.75rem; gap: .7rem; }
  .stat { display: flex; align-items: center; gap: 1rem; text-align: left; padding: 1rem 1.25rem; }
  .stat__num { font-size: 1.45rem; white-space: nowrap; flex-shrink: 0; }
  .stat__lbl { margin-top: 0; }
  .fab span { display: none; }
  .fab { padding: 1.1rem; border-radius: 50%; }
  .cookie { left: 1rem; right: 1rem; max-width: none; }
  .btn { width: 100%; }
  .header__cta .btn { width: auto; }
  .shot { width: 78vw; }
}

/* ---------- 25. MOVIMENTO REDUZIDO ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .mark-hl::after { transform: scaleX(1); }
  .steps__rail i { transform: scaleX(1); }
  .hero-figure img { transform: none !important; }
  .gallery-track { overflow-x: auto !important; transform: none !important; }
}

/* ---------- 26. IMPRESSÃO ---------- */
@media print {
  .header, .fab, .cookie, .modal, .map, .marquee, .progress { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
  .gallery-pin { overflow: visible; }
  .gallery-track { transform: none !important; flex-wrap: wrap; justify-content: center; }
}
