/* Studio Saldanha — marketing da saúde */

/* Fontes hospedadas no próprio site (licença SIL OFL): sem pedido a terceiros */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/fraunces-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/fraunces-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 600; font-display: swap; src: url('assets/fonts/fraunces-latin-600-italic.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/space-grotesk-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/space-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/space-grotesk-latin-600-normal.woff2') format('woff2'); }

:root {
  /* Paleta do site de referência */
  --bg: #1C1C1C;
  --bg-2: #262420;
  --line: #312E29;
  --line-2: #46423A;
  --text: #EBE3D5;
  --dim: #A39B8E;
  --faint: #857E71;
  --amber: #E7B64A;
  --amber-ink: #1C1C1C;
  --sage: #819A80;
  --sage-ink: #16231A;
  --terra: #D69475;
  --cream-ink: #4A453C;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max: 1160px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 72px;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--amber-ink); }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.section-light :focus-visible { outline-color: var(--bg); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.012em; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.06; max-width: 15ch; }
h1 em, .contact h2 em { font-style: italic; color: var(--amber); }
h2 { font-size: clamp(1.85rem, 3.7vw, 2.75rem); line-height: 1.14; max-width: 24ch; }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { max-width: 62ch; text-wrap: pretty; }

.eyebrow {
  display: block; margin-bottom: 18px;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber);
}
.section-light .eyebrow { color: #8A5E0B; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--amber); color: var(--amber-ink); }
.btn-solid:hover { box-shadow: 0 10px 28px rgba(231, 182, 74, .22); }
.btn-sage { background: var(--sage); color: var(--sage-ink); }
.btn-sage:hover { box-shadow: 0 10px 28px rgba(129, 154, 128, .24); }
.btn-ink { background: var(--bg); color: var(--text); }
.btn-ink:hover { box-shadow: 0 10px 28px rgba(28, 28, 28, .28); }
.btn-outline { border-color: var(--line-2); color: var(--text); }
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }
.btn-outline-amber { border-color: var(--amber); color: var(--amber); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.btn-outline-amber:hover { background: var(--amber); color: var(--amber-ink); }
.btn-sm { min-height: 42px; padding: 0 22px; white-space: nowrap; }
.lbl-short { display: none; }
@media (max-width: 560px) { .lbl-long { display: none; } .lbl-short { display: inline; } }
.btn-block { width: 100%; }
.ico-sm { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(28, 28, 28, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar {
  max-width: var(--max); margin: 0 auto;
  height: var(--header-h); padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; }
.brand-i { font-style: italic; color: var(--amber); }
.brand-tag { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-top: 3px; }
.nav { display: flex; gap: clamp(20px, 3vw, 40px); margin-inline: auto; }
.nav a { font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); transition: color .2s ease; }
.nav a:hover { color: var(--amber); }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 560px) { .brand-tag { display: none; } }

/* ---------- Seções ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-lead { margin-top: 18px; color: var(--dim); }
.cta-row { margin-top: clamp(36px, 5vw, 56px); }
section[id] { scroll-margin-top: var(--header-h); }
#orcamento { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- Capa ---------- */
.hero-stage { position: relative; padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); }
.hero-grid { position: relative; z-index: 1; }
.hero-copy { max-width: 720px; padding-bottom: clamp(44px, 6vw, 80px); }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); line-height: 1.08; max-width: 17ch; }
.lead { margin-top: 24px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--dim); max-width: 50ch; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.stats { margin-top: clamp(36px, 5vw, 60px); display: flex; flex-wrap: wrap; gap: 20px clamp(24px, 3vw, 40px); }
.stats dt { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; }
.stats dd { margin-top: 6px; font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.stats > div { max-width: 200px; }

.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: min(46%, 660px); margin: 0; z-index: 0; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 8%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 42%);
  mask-image: linear-gradient(to right, transparent 0, #000 42%);
}
/* Faixa de assuntos */
.marquee { border-block: 1px solid var(--line); background: var(--bg); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-group span { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; color: #6F695E; white-space: nowrap; }
.marquee-group i { font-style: normal; color: var(--amber); font-size: .9rem; padding: 0 clamp(20px, 3vw, 40px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Entrada orquestrada da capa */
.rise { opacity: 0; transform: translateY(14px); animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero h1.rise { animation-delay: .05s; }
.hero .lead.rise { animation-delay: .2s; }
.hero-actions.rise { animation-delay: .35s; }
.stats.rise { animation-delay: .5s; }
.hero-photo.rise { animation-delay: .15s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Dor ---------- */
.prose { margin-top: 32px; display: grid; gap: 20px; }
.prose p { font-size: 1.12rem; color: var(--dim); max-width: 64ch; }
.prose strong { color: var(--text); font-weight: 600; }
.dor-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.dor-top .prose { margin-top: 28px; }

/* Espelho: o profissional se reconhece */
.mirror {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 20px;
  padding: clamp(24px, 3vw, 36px); rotate: 1.4deg;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.mirror h3 { font-size: 1.5rem; margin-bottom: 22px; }
.mirror-list { display: grid; gap: 16px; }
.mirror-list li { display: flex; align-items: flex-start; gap: 14px; line-height: 1.45; }
.tick {
  flex: none; width: 26px; height: 26px; margin-top: -1px; padding: 3px;
  border: 1.5px solid var(--amber); border-radius: 8px;
  fill: none; stroke: var(--amber); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round;
}
.tick path { stroke-dasharray: 1; }
.mirror-foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-2); color: var(--amber); font-weight: 500; }

/* ---------- Três lugares ---------- */
.trio { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); }
.trio > div { border-top: 1px solid var(--line-2); padding-top: 22px; }
.trio h3 { margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.ico { flex: none; width: 30px; height: 30px; fill: none; stroke: var(--amber); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trio p { color: var(--dim); }

/* ---------- Oferta: fundo claro, entregáveis escuros ---------- */
.section-light { background: var(--text); color: var(--bg); }
.section-light h2, .section-light h3 { color: var(--bg); }
.offer-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
.offer {
  --c: var(--amber);
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  border-radius: 22px; border-top: 6px solid var(--c);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 24px 56px rgba(28, 28, 28, .22);
}
.offer-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; }
.section-light .offer h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; color: var(--c); }
.tag {
  flex: none; font-size: .78rem; font-weight: 600; color: var(--bg);
  background: var(--c); border-radius: 999px; padding: 5px 13px;
}
.offer-lead { margin-top: 12px; color: var(--dim); }

.deliver { margin-top: 24px; background: var(--line); border-radius: 14px; overflow: hidden; display: grid; gap: 2px; }
.deliver > li {
  background: var(--bg-2); color: var(--text);
  padding: 15px 22px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px;
  font-weight: 500;
}
.deliver small { flex-basis: 100%; font-size: .84rem; font-weight: 400; color: var(--dim); line-height: 1.4; }
.deliver .group { display: block; padding: 0; }
.group-title { display: block; padding: 15px 22px 11px; }
.group ul { display: grid; gap: 2px; background: var(--line); border-top: 2px solid var(--line); }
.group ul li { background: #2E2B26; padding: 11px 22px 11px 40px; font-weight: 400; position: relative; }
.group ul li::before { content: ''; position: absolute; left: 22px; top: 50%; width: 9px; height: 2px; background: var(--c); }
.deliver .optional { background: #3A362F; justify-content: space-between; align-items: center; }
.deliver .optional em {
  font-style: normal; font-size: .78rem; font-weight: 500; color: var(--c);
  border: 1px solid var(--c); border-radius: 999px; padding: 2px 11px;
}
.offer-note { margin-top: 18px; font-size: .92rem; color: var(--dim); }

/* ---------- Método de identidade visual (Design Thinking) ---------- */
.dt { --g: 24px; margin-top: 56px; }
.dt-bands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 var(--g); margin-bottom: 26px; }
.band {
  grid-column: span var(--span); border-top: 3px solid var(--c); padding-top: 10px;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c);
}
.dt-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 var(--g); }
.dt-steps > li { position: relative; display: flex; flex-direction: column; }
.node {
  position: relative; z-index: 1; flex: none;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--c); background: var(--bg);
  font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--c);
}
.dt-steps > li:not(:last-child)::before {
  content: ''; position: absolute; top: 27px; left: 56px; right: calc(var(--g) * -1); height: 2px; background: var(--line-2);
}
.dt-body { margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.dt-body h3 { margin-bottom: 8px; }
.dt-body p { color: var(--dim); font-size: .96rem; margin-bottom: 16px; }
.deliv {
  margin-top: auto; display: inline-block;
  font-size: .8rem; font-weight: 500; line-height: 1.35; color: var(--c);
  border: 1px solid var(--c); border-radius: 12px; padding: 6px 12px;
}
.dt-loop { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 var(--g); margin-top: 30px; }
.loop-bar {
  position: relative; grid-column: 3 / 6; margin-inline: calc(100% / 6 - var(--g) / 3);
  height: 34px; border: 2px dashed var(--terra); border-top: 0; border-radius: 0 0 16px 16px;
}
.loop-bar::before {
  content: ''; position: absolute; left: -8px; top: -4px;
  border: 7px solid transparent; border-bottom: 10px solid var(--terra); border-top: 0;
}
.loop-bar span {
  position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%);
  background: var(--bg); padding: 0 14px; white-space: nowrap;
  font-size: .78rem; font-weight: 500; letter-spacing: .06em; color: var(--terra);
}
.dt-loop-note { display: none; margin-top: 28px; color: var(--terra); font-size: .92rem; }

/* ---------- Flywheel ---------- */
.fly { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.fly-svg { width: 100%; height: auto; }
.fly-name { font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .06em; fill: var(--text); }
.fly-num { font-family: var(--sans); font-weight: 500; font-size: 13px; }
.fly-cycle { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 21px; fill: var(--text); }
.fly-sub { font-family: var(--sans); font-size: 10.5px; fill: var(--dim); }
.fly-cards { display: grid; gap: 20px; }
.flycard { background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 16px; padding: 22px 28px 26px; }
.flycard header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.badge { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: .72rem; color: var(--dim); }
.flycard p { color: var(--dim); font-size: .98rem; }

/* ---------- Como funciona (sequência real) ---------- */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--line-2); padding-top: 20px; }
.steps li::before {
  content: counter(step);
  display: block; margin-bottom: 14px;
  font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--amber);
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--dim); }

/* ---------- Resultados ---------- */
.case-block { margin-top: clamp(48px, 7vw, 88px); }
.case-block:first-of-type { margin-top: clamp(32px, 5vw, 56px); }
.block-title { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.block-lead { margin-top: 10px; max-width: 62ch; color: var(--dim); }
.brand-case { margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line-2); }
.block-lead + .brand-case { margin-top: 32px; }
.brand-case h4 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--amber); }
.brand-case .section-lead { margin-top: 8px; }
.res-group { display: flex; align-items: center; gap: 12px; margin-top: 32px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.res-cards { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.res-card {
  display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--line); border-top: 3px solid var(--c);
  border-radius: 16px; padding: 24px 26px 18px;
}
.res-stage { align-self: flex-start; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.res-thumb { display: block; width: 100%; margin-top: 14px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #111; cursor: pointer; }
.res-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 35%; transition: transform .35s ease, filter .25s ease; }
.res-thumb:hover img { transform: scale(1.03); filter: brightness(1.08); }
.res-thumb:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
.res-big { margin-top: 18px; font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 4.4vw, 3.4rem); line-height: 1; color: var(--text); }
.res-big small { display: block; margin-top: 8px; font-family: var(--sans); font-weight: 500; font-size: .9rem; line-height: 1.3; color: var(--dim); }
.metrics { margin-top: 20px; border-top: 1px dashed var(--line-2); }
.metrics > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.metrics > div:last-child { border-bottom: 0; }
.metrics dt { color: var(--dim); }
.metrics dd { font-weight: 600; }
.res-note { margin-top: 22px; font-size: .86rem; color: var(--faint); }

.case-video { margin-top: 28px; }
.case-video video { width: 100%; height: auto; aspect-ratio: 2400 / 875; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; background: #111; }
.case-video figcaption { margin-top: 8px; font-size: .86rem; color: var(--faint); }

.gallery { margin-top: 28px; display: grid; gap: 16px; }
.case-video + .gallery { margin-top: 20px; }
.gallery-row { display: flex; gap: 16px; }
.tile { flex: var(--ar) 1 0; min-width: 0; }
.tile-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; overflow: hidden; }
.tile img {
  width: 100%; height: auto; aspect-ratio: var(--ar);
  border: 1px solid var(--line); border-radius: 6px;
  transition: filter .25s ease;
}
.tile-btn:hover img { filter: brightness(1.08); }
.tile figcaption { margin-top: 8px; font-size: .86rem; color: var(--faint); }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--line-2); border-radius: 20px; }
.about-copy h2 { max-width: 18ch; }
.about-copy .prose { margin-top: 28px; }
.about-copy .prose p { font-size: 1.06rem; }
.about-facts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.about-facts li { font-size: .88rem; font-weight: 500; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; }

/* ---------- Perguntas frequentes ---------- */
.faq-wrap { max-width: 860px; }
.faq { margin-top: 36px; border-bottom: 1px solid var(--line-2); }
.faq details { border-top: 1px solid var(--line-2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none; font-family: var(--sans); font-size: 1.6rem; line-height: 1; color: var(--amber);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; color: var(--dim); }

/* ---------- Contato + formulário ---------- */
.contact { text-align: center; }
.contact .eyebrow { margin-bottom: 22px; }
.contact h2 { max-width: 16ch; margin-inline: auto; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.1; }
.contact h2 em { display: block; }
.contact-lead { margin: 22px auto 0; color: var(--dim); font-size: 1.1rem; }
.contact-actions { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.form-box {
  max-width: 600px; margin: clamp(48px, 7vw, 80px) auto 0; text-align: left;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(24px, 4vw, 44px);
}
.form-box h3 { font-size: 1.5rem; }
.form-sub { margin: 8px 0 28px; color: var(--dim); font-size: .98rem; }

.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: .95rem; font-weight: 500; }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 0 16px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px;
  transition: border-color .2s ease;
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23E7B64A' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input::placeholder { color: var(--faint); }
.field input:hover, .field select:hover { border-color: #5A554A; }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-color: var(--amber); }
.field [aria-invalid="true"] { border-color: var(--terra); }
.field-error { min-height: 0; margin-top: 6px; font-size: .88rem; color: var(--terra); }
.field-error:empty { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 14px; font-size: .85rem; color: var(--faint); text-align: center; max-width: none; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.form-note a:hover { color: var(--amber); }

.success h3 { margin-bottom: 10px; }
.success p { color: var(--dim); margin-bottom: 24px; }
.success[hidden] { display: none; }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--faint); font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer .brand-name { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: var(--amber); }
.footer-copy { width: 100%; max-width: none; }

/* ---------- Página de privacidade ---------- */
.legal { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 72px)); padding-bottom: clamp(64px, 10vw, 120px); }
.legal h1 { max-width: none; font-size: clamp(2rem, 4vw, 3rem); }
.legal .updated { margin-top: 12px; font-size: .9rem; color: var(--faint); }
.legal h2 { max-width: none; margin-top: 40px; font-size: 1.4rem; }
.legal p, .legal li { margin-top: 12px; color: var(--dim); max-width: 70ch; }
.legal ul { margin-top: 4px; padding-left: 22px; list-style: disc; }
.legal a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.bar-back { font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); transition: color .2s ease; }
.bar-back:hover { color: var(--amber); }

/* ---------- Barra fixa no celular ---------- */
.sticky-cta {
  display: none;
  position: fixed; inset: auto 0 0 0; z-index: 90;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(28, 28, 28, .94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: none; }

/* ---------- Imagem ampliada ---------- */
.lightbox { border: 0; background: transparent; padding: 0; max-width: 94vw; max-height: 94vh; overflow: visible; color: var(--text); }
.lightbox::backdrop { background: rgba(10, 10, 10, .92); }
.lightbox img { max-width: 94vw; max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; margin: 0 auto; }
.lightbox p { margin: 12px auto 0; text-align: center; font-size: .9rem; color: var(--dim); max-width: 70ch; }
.lb-close {
  position: absolute; top: -48px; right: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2); cursor: pointer; font-size: 1rem;
}

/* ---------- Entrada ao rolar ----------
   A classe .rv só existe quando o navegador suporta IntersectionObserver e a pessoa
   não pediu menos movimento. Sem ela, tudo aparece normalmente. */
.rv .reveal { opacity: 0; transform: translateY(22px); }
.rv .reveal.in { animation: reveal .75s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Marcas do espelho: cada uma é riscada em sequência */
.rv .tick path { stroke-dashoffset: 1; }
.rv .is-seen .tick path { animation: draw .45s ease-out calc(.6s + var(--i, 0) * .32s) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Flywheel: cada seta se desenha e leva ao próximo círculo */
.rv .fly-arc { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.rv .fly-head, .rv .fly-node { opacity: 0; }
.fly-node { transform-box: fill-box; transform-origin: center; }
.rv .is-seen .fly-node { animation: pop .5s cubic-bezier(.2, .8, .3, 1.2) both; }
.rv .is-seen .fly-arc { animation: stroke .75s ease-in-out both; }
.rv .is-seen .fly-head { animation: fadein .25s ease-out both; }
.rv .is-seen .fly-n1 { animation-delay: .1s; }
.rv .is-seen .fly-a1 { animation-delay: .35s; }
.rv .is-seen .fly-h1 { animation-delay: 1.05s; }
.rv .is-seen .fly-n2 { animation-delay: 1s; }
.rv .is-seen .fly-a2 { animation-delay: 1.25s; }
.rv .is-seen .fly-h2 { animation-delay: 1.95s; }
.rv .is-seen .fly-n3 { animation-delay: 1.9s; }
.rv .is-seen .fly-a3 { animation-delay: 2.15s; }
.rv .is-seen .fly-h3 { animation-delay: 2.85s; }
@keyframes pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes stroke { from { opacity: 1; stroke-dashoffset: 1; } to { opacity: 1; stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

@media print { .rv .reveal { opacity: 1; transform: none; } }

/* ---------- Responsivo ---------- */
@media (max-width: 1060px) {
  .dt { --g: 16px; }
}
@media (max-width: 900px) {
  .trio, .steps, .dor-top, .res-cards, .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 400px; }
  .mirror { rotate: 0deg; }
  .trio, .steps { gap: 28px; }
  .offer-grid { grid-template-columns: 1fr; }
  .fly { grid-template-columns: 1fr; }
  .fly-art { max-width: 460px; margin-inline: auto; }

  /* Design Thinking vira linha do tempo vertical */
  .dt-bands, .dt-loop { display: none; }
  .dt-loop-note { display: block; }
  .dt-steps { grid-template-columns: 1fr; gap: 28px 0; }
  .dt-steps > li { display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; }
  .dt-body { margin-top: 0; }
  .dt-steps > li:not(:last-child)::before { top: 58px; left: 27px; right: auto; width: 2px; height: calc(100% - 30px); }
}
@media (max-width: 820px) {
  .sticky-cta { display: block; }
  .site-footer { padding-bottom: calc(40px + 80px); }

  /* Capa: a foto vem logo depois do texto */
  .hero-stage { display: flex; flex-direction: column; padding-top: calc(var(--header-h) + 32px); }
  .hero-grid { order: 1; }
  .hero-copy { padding-bottom: 8px; }
  .hero-photo { position: relative; order: 2; width: 100%; height: clamp(320px, 92vw, 460px); }
  .hero-photo img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28%); mask-image: linear-gradient(to bottom, transparent 0, #000 28%); object-position: 50% 10%; }
}
@media (max-width: 700px) {
  .gallery-row { flex-wrap: wrap; }
  .tile { flex: 1 1 100%; }
  .tile[style*="--ar:0.7"] { flex: 1 1 calc(50% - 8px); }
  .tile:last-child:nth-child(odd)[style*="--ar:0.7"] { flex-grow: 0; }
}

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

/* ---------- Vídeos dos resultados ---------- */
.res-avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover; }
.res-play {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px;
  background: none; border: 1px solid var(--line-2); color: var(--text);
  font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.res-card .metrics { margin-bottom: 20px; }
.res-play svg { width: 16px; height: 16px; fill: currentColor; }
.res-play:hover { border-color: var(--c); color: var(--c); }
.res-play:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
.reel-box iframe { display: block; width: min(94vw, 420px); height: min(78vh, 740px); margin: 0 auto; border: 0; border-radius: 10px; background: #000; }
.reel-box p a { color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.reel-box p a:hover { color: var(--text); }
.reel-box { margin: auto; inset: 0; width: fit-content; height: fit-content; }

/* ---------- Aviso de cookies ---------- */
.consent {
  position: fixed; z-index: 120; left: var(--gutter); bottom: 16px;
  width: min(440px, calc(100vw - 2 * var(--gutter)));
  padding: 18px 20px; border-radius: 14px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .45);
}
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--dim); }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { margin-top: 14px; display: flex; gap: 10px; }
.consent-actions .btn { padding: 10px 18px; font-size: .9rem; min-height: 44px; }
.consent-actions .btn-outline { background: transparent; }
