/* ==========================================================================
   Duo Corde.co — site
   Tokens idênticos aos do Duo Corde OS (web/painel/styles.css)
   ========================================================================== */
:root {
  --azul: #3c7a99;
  --azul-escuro: #2f657f;
  --profundo: #163140;
  --profundo-2: #0f2430;
  --profundo-3: #1d3d4f;
  --areia: #d9d5c8;
  --creme: #f3f1ea;
  --texto-suave: rgba(243, 241, 234, 0.74);
  --texto-fraco: rgba(243, 241, 234, 0.55);
  --linha: rgba(217, 213, 200, 0.22);
  --linha-forte: rgba(217, 213, 200, 0.45);

  --sans: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --grao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --edge: clamp(20px, 2.8vw, 40px);
  --header: 72px;
  --vh: 100vh;
}
@supports (height: 100svh) { :root { --vh: 100svh; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); background: var(--profundo); }
body {
  margin: 0;
  background: var(--profundo);
  color: var(--creme);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  background-image: var(--grao);
  mix-blend-mode: overlay;
  opacity: 0.16;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.025em; line-height: 1.02; text-wrap: balance; }
h1 em, h2 em, h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1em;
  letter-spacing: 0;
  color: var(--areia);
}
p { text-wrap: pretty; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--creme);
  outline-offset: 3px;
}
.section--light a:focus-visible, .section--light button:focus-visible, .section--light summary:focus-visible { outline-color: var(--profundo); }

.shell { width: min(1240px, 100% - 2 * var(--edge)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: 0.02em; text-transform: uppercase; }
.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font: 400 12px/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--areia);
  opacity: 0.85;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 400;
  padding: 12px 16px; background: var(--areia); color: var(--profundo);
  font: 500 12px/1 var(--mono); text-transform: uppercase; text-decoration: none;
}
.skip:focus { top: 12px; }
.fine { display: block; margin-top: 28px; font: 400 11px/1.5 var(--mono); letter-spacing: 0.02em; color: var(--texto-fraco); max-width: 760px; }

/* ---------- Botões (iguais ao painel) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 260px;
  min-height: 52px;
  padding: 1px 20px 0;
  border: 1px solid transparent;
  font: 500 13px/1 var(--mono);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn span:last-child { transition: transform 0.3s var(--ease); }
.btn:hover span:last-child { transform: translateX(4px); }
.btn--primary { background: var(--areia); color: var(--profundo); }
.btn--primary:hover { background: var(--creme); }
.btn--dark { background: var(--profundo); color: var(--areia); }
.btn--dark:hover { background: var(--creme); color: var(--profundo); }
.btn--outline { border-color: var(--profundo); color: var(--profundo); }
.btn--line { border-color: var(--linha-forte); color: var(--areia); }
.btn--line:hover { background: var(--areia); color: var(--profundo); }
.btn--outline:hover { background: var(--profundo); color: var(--areia); }
.btn-stack { display: flex; flex-direction: column; gap: 8px; }
.link-arrow {
  display: inline-block;
  font: 500 12px/1.4 var(--mono);
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow:hover { color: var(--creme); }
.section--light .link-arrow:hover { color: var(--azul); }

/* ---------- Cantoneiras de visor ---------- */
.vf { position: absolute; z-index: 2; width: 14px; height: 14px; border: 0 solid rgba(243, 241, 234, 0.8); pointer-events: none; }
.vf--tl { left: 12px; top: 12px; border-left-width: 1px; border-top-width: 1px; }
.vf--tr { right: 12px; top: 12px; border-right-width: 1px; border-top-width: 1px; }
.vf--bl { left: 12px; bottom: 12px; border-left-width: 1px; border-bottom-width: 1px; }
.vf--br { right: 12px; bottom: 12px; border-right-width: 1px; border-bottom-width: 1px; }

/* ---------- Palco azul (abertura, chamadas) ---------- */
.stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 80% at 60% 45%, rgba(217, 213, 200, 0.1), transparent 60%),
    radial-gradient(ellipse 120% 100% at 50% 50%, transparent 40%, rgba(22, 49, 64, 0.55) 100%),
    var(--azul);
}
.rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rings path { fill: none; stroke: rgba(217, 213, 200, 0.42); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rings .echo { stroke: rgba(217, 213, 200, 0.22); }

/* Painel escuro com título (mesmo bloco do login) */
.panel { background: var(--profundo); padding: 26px 24px 24px; }
.panel h1 { font-size: clamp(2.3rem, 3.6vw, 3.3rem); margin-bottom: 18px; color: var(--creme); }
.panel p { color: var(--texto-suave); font-size: 15.5px; line-height: 1.55; }

/* ---------- Cabeçalho ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; }
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header);
  padding: 0 var(--edge);
  transition: background 0.35s, box-shadow 0.35s;
}
.site-header.is-scrolled .site-header__bar,
.site-header.is-open .site-header__bar { background: var(--profundo); box-shadow: 0 1px 0 var(--linha); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__wordmark { display: block; width: 118px; height: auto; }
.brand__wordmark--lg { width: 190px; margin-bottom: 22px; }
.brand__elos { width: 34px; height: auto; }
.site-nav { display: flex; gap: 26px; }
.site-nav a {
  position: relative;
  font: 400 12px/1 var(--mono);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--areia);
  padding: 8px 0;
}
.site-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header__cta {
  display: inline-flex; align-items: center; gap: 22px;
  height: 42px; padding: 1px 16px 0;
  background: var(--areia); color: var(--profundo);
  font: 500 12px/1 var(--mono); text-transform: uppercase; text-decoration: none;
  transition: background 0.2s;
}
.site-header__cta:hover { background: var(--creme); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--profundo); position: relative; }
.menu-toggle__lines, .menu-toggle__lines::before {
  position: absolute; left: 13px; right: 13px; height: 1px; background: var(--areia);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-toggle__lines { top: 18px; }
.menu-toggle__lines::before { content: ""; left: 0; right: 0; top: 7px; }
.site-header.is-open .menu-toggle__lines { top: 22px; transform: rotate(45deg); }
.site-header.is-open .menu-toggle__lines::before { top: 0; transform: rotate(-90deg); }
.menu-mobile {
  height: calc(var(--vh) - var(--header));
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 32px;
  padding: 28px var(--edge) 32px;
  background: var(--profundo);
}
.menu-mobile[hidden] { display: none; }
.menu-mobile nav { display: grid; }
.menu-mobile nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--linha);
  font-size: 30px; letter-spacing: -0.02em; text-decoration: none;
}
.menu-mobile nav a span { font: 400 11px/1 var(--mono); color: var(--texto-fraco); }
.menu-mobile__actions { display: grid; gap: 8px; }
.menu-mobile__actions .btn { min-width: 0; }
.menu-mobile__foot { color: var(--texto-fraco); margin-top: auto; }

@media (max-width: 1080px) {
  .site-nav, .site-header__cta { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Abertura ---------- */
.hero {
  --fh: clamp(360px, calc(var(--vh) * 0.7), 640px);
  --fw: calc(var(--fh) * 0.8);
  min-height: max(var(--vh), 680px);
}
.hero__scene { position: absolute; inset: 0; pointer-events: none; }
.scene {
  position: absolute; top: 52%;
  left: max(50%, calc(var(--edge) + 440px + var(--fw) / 2));
  width: calc(var(--fh) * 1280 / 560);
  height: calc(var(--fh) * 800 / 560);
  transform: translate(-50%, -50%);
}
.frame { position: absolute; left: 50%; top: 50%; width: var(--fw); height: var(--fh); transform: translate(-50%, -50%); }
.frame .vf--bl { display: none; }
.frame__caption { position: absolute; left: 14px; bottom: 12px; font-size: 10px; color: rgba(243, 241, 234, 0.6); }
.elos-slot { position: absolute; left: 50%; top: 50%; width: 118.6%; transform: translate(-50%, -50%); }
.elos-slot svg { display: block; width: 100%; height: auto; }
.corner { position: absolute; z-index: 2; margin: 0; font-size: 13px; line-height: 16.5px; letter-spacing: -0.02em; color: var(--areia); text-decoration: none; }
.corner span { display: block; }
.corner--tl { left: var(--edge); top: calc(var(--header) + 28px); }
.corner--tr { right: var(--edge); top: calc(var(--header) + 22px); text-align: right; }
.corner--bl { left: var(--edge); bottom: var(--edge); }
.corner--br { right: var(--edge); bottom: var(--edge); text-align: right; }
a.corner:hover { color: var(--creme); }
.hero__copy {
  position: absolute; z-index: 3;
  left: var(--edge); bottom: calc(var(--edge) + 58px);
  width: 420px;
  display: flex; flex-direction: column; gap: 8px;
}
.hero__copy .btn { width: 100%; }

@media (max-width: 860px) {
  .hero {
    --fh: min(calc(var(--vh) * 0.46), calc(100vw * 0.86));
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "tl tr" "scene scene" "copy copy" "bl br";
    row-gap: 22px;
    align-content: start;
    min-height: 0;
    padding: calc(var(--header) + 16px) var(--edge) 28px;
  }
  .hero__scene, .corner, .hero__copy { position: relative; inset: auto; transform: none; }
  .hero__scene { grid-area: scene; height: calc(var(--fh) + 30px); margin: 0 calc(-1 * var(--edge)); overflow: hidden; }
  .scene { left: 50%; top: 50%; }
  .corner { font-size: 11px; line-height: 14px; }
  .corner--tl { grid-area: tl; } .corner--tr { grid-area: tr; }
  .corner--bl { grid-area: bl; } .corner--br { grid-area: br; }
  .hero__copy { grid-area: copy; width: auto; }
}

/* ---------- Faixa de fotos ---------- */
.strip { background: var(--azul); padding: 0 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.strip__track { display: flex; gap: 16px; width: max-content; animation: dc-strip 70s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__item { position: relative; width: clamp(180px, 18vw, 250px); flex: none; }
.strip__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.strip__item figcaption { margin-top: 10px; font-size: 11px; color: var(--areia); }
@keyframes dc-strip { to { transform: translateX(calc(-50% - 8px)); } }

/* ---------- Seções ---------- */
.section { position: relative; padding: clamp(84px, 10vw, 140px) 0; }
.section--deep { background: var(--profundo); }
.section--blue { background: var(--azul); }
.section--light { background: var(--creme); color: var(--profundo); }
.section--light h1, .section--light h2, .section--light h3 { color: var(--profundo); }
.section--light h2 em, .section--light h3 em { color: var(--azul); }
.section--light .eyebrow { color: var(--azul-escuro); opacity: 1; }
.section-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head h2 { font-size: clamp(2.3rem, 4.8vw, 4.2rem); margin-bottom: 22px; }
.section-head p { color: var(--texto-suave); font-size: 17px; max-width: 620px; }
.section--light .section-head p { color: rgba(22, 49, 64, 0.78); }
.section--blue .section-head p { color: rgba(243, 241, 234, 0.86); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.section-head--split h2 { margin-bottom: 0; }
.section-head--split > .btn { justify-self: end; }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; background: var(--profundo-3); border: 1px solid var(--linha); }
.service__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1.2s var(--ease); }
.service:hover .service__media img { transform: scale(1.04); }
.service__body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 30px; }
.service__body h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 24px; }
.service__body .btn { margin-top: auto; align-self: flex-start; }
.ticks { display: grid; margin-bottom: 30px; border-top: 1px solid var(--linha); }
.ticks li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--linha); color: var(--texto-suave); }
.ticks li::before { content: "+"; font-family: var(--mono); color: var(--areia); }

/* ---------- Para quem ---------- */
.audience { border-top: 1px solid rgba(22, 49, 64, 0.2); }
.audience__row {
  display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid rgba(22, 49, 64, 0.2);
}
.audience__row .mono { color: var(--azul-escuro); }
.audience__row h3 { font-size: clamp(1.8rem, 3.4vw, 3rem); transition: transform 0.5s var(--ease), color 0.3s; }
.audience__row:hover h3 { transform: translateX(10px); color: var(--azul); }
.audience__row p { color: rgba(22, 49, 64, 0.78); }
.audience__note { margin-top: 28px; color: rgba(22, 49, 64, 0.75); }
.audience__note a { color: var(--azul-escuro); }

/* ---------- Resultados ---------- */
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.result-card { background: var(--profundo); padding: 30px 28px; }
.result-card--stats { display: flex; flex-direction: column; }
.stats { display: flex; align-items: flex-end; gap: 22px; margin: 6px 0 26px; }
.stats > div:not(.stats__arrow) { display: grid; }
.stats .mono { color: var(--texto-fraco); }
.stats strong { font-size: clamp(4rem, 8vw, 6.4rem); font-weight: 300; line-height: 0.95; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stats small { font: 400 11px/1.4 var(--mono); text-transform: uppercase; color: var(--texto-suave); }
.stats__arrow { font: 300 2.4rem/1 var(--sans); color: var(--areia); padding-bottom: 28px; }
.result-card__big { font-size: 1.15rem; color: var(--texto-suave); margin-bottom: 22px; }
.result-card__big strong { color: var(--areia); font-weight: 500; }
.result-card--stats .link-arrow { align-self: flex-start; }
.result-card--stats .fine { margin-top: auto; padding-top: 28px; }
.result-card--case { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 26px; align-items: start; }
.result-card--case h3 { font-size: 1.6rem; margin-bottom: 16px; }
.result-card--case p { color: var(--texto-suave); margin-bottom: 20px; }
.result-card__media img { width: 100%; }
.quote { grid-column: 1 / -1; padding: clamp(28px, 4vw, 52px) 0 0; border-top: 1px solid var(--linha-forte); }
.quote p { font: italic 400 clamp(1.5rem, 2.6vw, 2.25rem)/1.25 var(--serif); color: var(--creme); max-width: 1000px; margin-bottom: 14px; }
.quote footer { margin-top: 18px; color: var(--areia); }
.quote--light { background: var(--creme); color: var(--profundo); padding: 28px; border: 0; }
.quote--light p { color: var(--profundo); font-size: clamp(1.35rem, 2vw, 1.75rem); }
.quote--light footer { color: var(--azul-escuro); }

/* ---------- Quem somos ---------- */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.frame-photo { position: relative; }
.frame-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.frame-photo figcaption { position: absolute; left: 34px; bottom: 13px; font-size: 10px; color: rgba(243, 241, 234, 0.85); z-index: 2; }
.about__copy h2 { font-size: clamp(2.3rem, 4.6vw, 4rem); margin-bottom: 26px; }
.about__copy > p { font-size: 18px; color: var(--texto-suave); max-width: 600px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--linha-forte); }
.facts div { padding: 16px 16px 0 0; }
.facts dt { color: var(--texto-fraco); margin-bottom: 6px; }
.facts dd { font-size: 15px; }

/* ---------- Etapas ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { padding-top: 22px; border-top: 1px solid rgba(22, 49, 64, 0.3); }
.step__n { display: block; margin-bottom: 40px; color: var(--azul-escuro); }
.step h3 { font-size: 1.75rem; margin-bottom: 12px; }
.step p { color: rgba(22, 49, 64, 0.78); font-size: 15.5px; }
.steps--dark .step { border-top-color: var(--linha-forte); }
.steps--dark .step__n { color: var(--areia); }
.steps--dark .step p { color: var(--texto-suave); }

/* ---------- Instagram ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ig-grid a { position: relative; display: block; overflow: hidden; text-decoration: none; }
.ig-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s var(--ease); }
.ig-grid a:hover img { transform: scale(1.04); }
.ig-grid__tag { position: absolute; top: 10px; left: 10px; padding: 5px 7px 4px; background: var(--profundo); color: var(--areia); font-size: 10px; }
.ig-grid__caption {
  position: absolute; inset: auto 0 0; padding: 40px 14px 14px;
  background: linear-gradient(transparent, rgba(15, 36, 48, 0.92));
  font-size: 13px; line-height: 1.4;
  opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.4s var(--ease);
}
.ig-grid a:hover .ig-grid__caption, .ig-grid a:focus-visible .ig-grid__caption { opacity: 1; transform: none; }

/* ---------- Perguntas ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header) + 32px); margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--linha-forte); }
.faq details { border-bottom: 1px solid var(--linha-forte); }
.faq summary {
  display: flex; align-items: baseline; gap: 18px;
  padding: 22px 40px 22px 0; position: relative;
  font-size: 1.25rem; letter-spacing: -0.01em; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mono { color: var(--texto-fraco); flex: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 18px;
  font: 300 1.6rem/1 var(--sans); color: var(--areia); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px 46px; color: var(--texto-suave); max-width: 640px; }

/* ---------- Chamada final ---------- */
.cta { padding: clamp(110px, 14vw, 190px) 0; text-align: center; }
.cta__scene { position: absolute; left: 50%; top: 50%; width: max(1280px, 110vw); aspect-ratio: 1280 / 800; transform: translate(-50%, -50%); z-index: -1; opacity: 0.8; }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(2.6rem, 6.4vw, 5.8rem); margin-bottom: 24px; max-width: 980px; }
.cta p { max-width: 560px; color: rgba(243, 241, 234, 0.88); font-size: 17px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 36px; }
.cta__meta { margin-top: 28px; color: var(--areia); }

/* ---------- Páginas internas ---------- */
.page-hero { min-height: min(86vh, 820px); display: flex; align-items: flex-end; padding: calc(var(--header) + 60px) 0 var(--edge); }
.page-hero--small { min-height: 60vh; }
.page-hero__scene { position: absolute; top: 50%; right: -18%; width: max(1100px, 95vw); aspect-ratio: 1280 / 800; transform: translateY(-50%); z-index: -1; }
.page-hero__inner { display: flex; flex-direction: column; gap: 8px; }
.page-hero .panel { max-width: 600px; }
.page-hero__photo {
  position: absolute; z-index: 1;
  right: max(var(--edge), calc((100vw - 1240px) / 2));
  top: calc(var(--header) + 40px); bottom: var(--edge);
  aspect-ratio: 4 / 5; max-height: 640px; margin: 0;
}
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__photo figcaption { position: absolute; left: 34px; bottom: 13px; z-index: 2; color: rgba(243, 241, 234, 0.85); font-size: 10px; }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero .btn-stack { max-width: 600px; }
.page-hero .btn { width: 100%; }

/* Filtros e galeria */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 1px 14px 0;
  border: 1px solid var(--linha-forte); background: transparent;
  font: 400 12px/1 var(--mono); text-transform: uppercase; color: var(--areia);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip .mono { font-size: 10px; opacity: 0.6; }
.chip:hover { border-color: var(--creme); color: var(--creme); }
.chip.is-active { background: var(--areia); border-color: var(--areia); color: var(--profundo); }
.filters__desc { margin: 18px 0 36px; color: var(--texto-suave); min-height: 1.4em; }
.gallery { columns: 4 240px; column-gap: 14px; }
.gallery__item { break-inside: avoid; margin-bottom: 14px; }
.gallery__item.is-hidden { display: none; }
.gallery__open { display: block; width: 100%; padding: 0; border: 0; background: var(--profundo-3); overflow: hidden; cursor: zoom-in; }
.gallery__open img { width: 100%; transition: transform 1s var(--ease), opacity 0.4s; }
.gallery__open:hover img { transform: scale(1.03); }
.gallery__item figcaption { margin-top: 8px; font-size: 10px; color: var(--texto-fraco); }
.gallery__more { margin-top: 30px; color: var(--texto-suave); }
.gallery__more a { color: var(--areia); }

.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--creme); }
.lightbox::backdrop { background: rgba(15, 36, 48, 0.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 82vh; width: auto; object-fit: contain; }
.lightbox__caption { position: absolute; left: 24px; bottom: 22px; color: var(--areia); max-width: 70vw; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border: 0; background: var(--profundo); color: var(--areia); font: 400 22px/1 var(--sans); }
.lightbox__btn:hover { background: var(--areia); color: var(--profundo); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Trabalhos e cases */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work { display: flex; flex-direction: column; text-decoration: none; color: var(--profundo); }
.work__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 18px; background: var(--profundo); }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover .work__media img { transform: scale(1.04); }
.work .eyebrow { margin-bottom: 8px; }
.work__title { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; }
.work .link-arrow { align-self: flex-start; color: var(--azul-escuro); }

.case { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: start; }
.case__media { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.case__media img { width: 100%; }
.case__copy .eyebrow { margin: 0 0 8px; }
.case__copy p { margin-bottom: 24px; }
.case__copy blockquote { margin: 6px 0 26px; padding: 18px 0 0; border-top: 1px solid var(--linha-forte); font: italic 400 1.45rem/1.3 var(--serif); }
.case__copy blockquote footer { margin-top: 10px; font-style: normal; color: var(--areia); font-size: 11px; }
.case__copy .link-arrow { color: var(--areia); }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.kpi { padding: 24px; border: 1px solid var(--linha-forte); }
.kpi .mono { color: var(--texto-fraco); }
.kpi strong { display: block; margin: 16px 0 6px; font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 300; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.kpi p { color: var(--texto-suave); font-size: 14px; }
.kpi--accent { background: var(--areia); border-color: var(--areia); color: var(--profundo); }
.kpi--accent .mono, .kpi--accent p { color: rgba(22, 49, 64, 0.75); }
.story { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; padding: 28px; background: var(--profundo-3); border: 1px solid var(--linha); }
.story h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 18px; }
.story p { color: var(--texto-suave); margin-bottom: 14px; }
.story .quote--light { grid-column: auto; }
.story .quote--light p { color: var(--profundo); margin-bottom: 0; }

/* Texto livre (páginas comuns e posts) */
.prose { max-width: 760px; font-size: 17px; color: rgba(22, 49, 64, 0.88); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.4em; }
.prose a { color: var(--azul-escuro); }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.2em; }
.post-row { padding: 24px 0; border-bottom: 1px solid rgba(22, 49, 64, 0.2); }
.post-row h2 { font-size: 1.8rem; margin: 8px 0; }
.post-row a { text-decoration: none; color: var(--profundo); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--profundo-2); padding: 72px 0 28px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--linha); }
.site-footer__brand p { color: var(--texto-suave); }
.site-footer ul { display: grid; gap: 10px; }
.site-footer li { color: var(--texto-suave); }
.site-footer li a { text-decoration: none; color: var(--creme); }
.site-footer li a:hover { color: var(--areia); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__base { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; color: var(--texto-fraco); }

/* Botão flutuante do WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 54px; height: 54px;
  background: var(--areia); color: var(--profundo);
  box-shadow: 0 10px 30px rgba(15, 36, 48, 0.35);
  transition: background 0.2s, transform 0.3s var(--ease), opacity 0.3s;
}
.wa-float:hover { background: var(--creme); transform: translateY(-2px); }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(10px); }

/* ---------- Entrada suave ao rolar ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Segurança: se o script não carregar, mostra tudo depois de 3 s */
.js [data-reveal]:not(.is-in) { animation: dc-show 0.01s 3s forwards; }
@keyframes dc-show { to { opacity: 1; transform: none; } }

/* Estados iniciais da animação de abertura (só enquanto ela roda) */
.dc-intro .hero .rings path { stroke-dasharray: 0 100000; }
.dc-intro .hero .vf, .dc-intro .hero .frame__caption { opacity: 0; }
.dc-intro .hero [data-lines] span { clip-path: inset(0 0 100% 0); }
.dc-intro .hero [data-panel] { clip-path: inset(0 100% 0 0); }
.dc-intro .site-header__bar > * { opacity: 0; }

/* ---------- Telas médias ---------- */
@media (max-width: 1080px) {
  .results, .result-card--case { grid-template-columns: 1fr; }
  .result-card--case { grid-template-columns: 0.8fr 1.2fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .case, .story { grid-template-columns: 1fr; }
}

/* ---------- Celular ---------- */
@media (max-width: 760px) {
  :root { --header: 64px; }
  body { font-size: 15.5px; }
  .brand__wordmark { width: 100px; }
  .btn { min-width: 0; width: 100%; }
  .section-head--split { grid-template-columns: 1fr; gap: 20px; }
  .section-head--split > .btn { justify-self: stretch; }
  .services, .works { grid-template-columns: 1fr; }
  .service__body { padding: 24px 20px 26px; }
  .audience__row { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .result-card { padding: 24px 20px; }
  .result-card--case { grid-template-columns: 1fr; }
  .stats { gap: 14px; }
  .about, .faq { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }
  .facts { grid-template-columns: 1fr; }
  .facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linha); }
  .facts dt { margin: 0; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .step__n { margin-bottom: 14px; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .faq .section-head { position: static; }
  .faq summary { font-size: 1.08rem; }
  .faq details p { padding-left: 0; }
  .kpis { grid-template-columns: 1fr; }
  .story { padding: 22px 18px; }
  .case__media { grid-template-columns: 1fr; }
  .page-hero { min-height: 0; padding-top: calc(var(--header) + 24px); flex-direction: column; align-items: stretch; gap: 24px; }
  .page-hero--small { padding-top: calc(var(--header) + 160px); }
  .page-hero__photo { position: relative; inset: auto; width: min(78%, 340px); max-height: none; margin: 0 auto; }
  .page-hero__scene { right: auto; left: 50%; top: calc(var(--header) + 110px); width: 760px; transform: translate(-30%, -50%); }
  .gallery { columns: 2; column-gap: 8px; }
  .gallery__item { margin-bottom: 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: auto; right: 80px; }
  .lightbox__caption { bottom: 34px; max-width: 50vw; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__base { flex-direction: column; gap: 6px; }
  .cta__actions { width: 100%; }
  .wa-float { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .strip { overflow-x: auto; }
}

/* ==========================================================================
   v2.1 — Identidade em movimento: o site como uma câmera
   ========================================================================== */

/* ---------- Grade de terços ---------- */
.grid { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.grid__v, .grid__h { position: absolute; background: rgba(243, 241, 234, 0.07); }
.grid__v { top: 0; width: 1px; height: 100%; transform-origin: top; }
.grid__h { left: 0; height: 1px; width: 100%; transform-origin: left; }
.grid__plus { position: absolute; width: 0; height: 0; }
.grid__plus::before, .grid__plus::after { content: ""; position: absolute; background: rgba(243, 241, 234, 0.7); transform: translate(-50%, -50%); }
.grid__plus::before { width: 11px; height: 1px; }
.grid__plus::after { width: 1px; height: 11px; }
.js .grid__v { animation: dc-wipe-v 1.2s var(--ease) var(--d) both; }
.js .grid__h { animation: dc-wipe-h 1.2s var(--ease) var(--d) both; }
.js .grid__plus { animation: dc-pop 0.7s var(--ease) var(--d) both; }
@keyframes dc-wipe-v { from { opacity: 0; transform: scaleY(0); } }
@keyframes dc-wipe-h { from { opacity: 0; transform: scaleX(0); } }
@keyframes dc-pop { from { opacity: 0; transform: scale(0.3); } }

/* ---------- Pontos de foco (etiquetas + linhas + quadrados) ---------- */
.nodes { position: absolute; inset: 0; display: none; }
@media (min-width: 1360px) and (min-height: 700px) { .nodes { display: block; } }
.nodes__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nodes__lines polyline { fill: none; stroke: rgba(243, 241, 234, 0.45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.node { position: absolute; }
.node--sq { width: calc(var(--fh) * 60 / 560); height: calc(var(--fh) * 60 / 560); border: 1px solid rgba(243, 241, 234, 0.85); }
.node--sq::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; background: var(--areia); transform: translate(-50%, -50%); }
.node--label { display: grid; gap: 4px; pointer-events: auto; text-decoration: none; white-space: nowrap; }
.node--label span { font: 400 12px/1.3 var(--mono); color: var(--creme); letter-spacing: 0.02em; transition: color 0.2s; }
.node--label small { font: 400 11px/1.35 var(--sans); color: rgba(243, 241, 234, 0.6); }
.node--label:hover span { color: var(--areia); }
.js .nodes .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dc-draw 1s var(--ease) var(--d) forwards; }
.js .node--sq { animation: dc-pop 0.7s var(--ease) var(--d) both; }
.js .node--label { animation: dc-slide-r 0.8s var(--ease) var(--d) both; }
@keyframes dc-draw { to { stroke-dashoffset: 0; } }
@keyframes dc-slide-r { from { opacity: 0; transform: translateX(20px); } }

/* ---------- Visor da câmera ---------- */
.frame__shots { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 0.9s var(--ease); background: var(--profundo-2); }
.shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); filter: blur(10px) saturate(0.6);
  transition: opacity 0.5s ease, transform 4.6s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.9s var(--ease);
}
.shot.is-on { opacity: 1; z-index: 1; }
.shot.is-sharp { transform: scale(1); filter: none; }
.hud { position: absolute; inset: 0; z-index: 3; opacity: 0; transition: opacity 0.8s var(--ease) 0.3s; color: rgba(243, 241, 234, 0.92); text-shadow: 0 1px 6px rgba(15, 36, 48, 0.55); pointer-events: none; }
.hud .mono { font-size: 10px; letter-spacing: 0.05em; }
.hud__rec { position: absolute; left: 36px; top: 14px; display: flex; align-items: center; gap: 7px; }
.hud__rec i { width: 7px; height: 7px; border-radius: 50%; background: #e2614e; box-shadow: 0 0 8px rgba(226, 97, 78, 0.8); animation: dc-blink 1.2s steps(1) infinite; }
.hud__rec b, .hud__bottom b { font-weight: 400; font-variant-numeric: tabular-nums; }
.hud__mode { position: absolute; right: 36px; top: 14px; }
.hud__bottom { position: absolute; left: 36px; right: 36px; bottom: 14px; display: flex; align-items: center; gap: 14px; }
.hud__bat { margin-left: auto; position: relative; width: 20px; height: 9px; border: 1px solid currentColor; }
.hud__bat::after { content: ""; position: absolute; right: -3px; top: 2px; width: 2px; height: 3px; background: currentColor; }
.hud__bat i { position: absolute; inset: 1px; right: 30%; background: currentColor; }
.hud__label { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); padding: 4px 7px 3px; background: rgba(22, 49, 64, 0.72); white-space: nowrap; }
.hud__center { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; transform: translate(-50%, -50%); }
.hud__center::before, .hud__center::after { content: ""; position: absolute; background: rgba(243, 241, 234, 0.55); }
.hud__center::before { left: 0; right: 0; top: 50%; height: 1px; }
.hud__center::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.hud__af {
  position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; translate: -50% -50%;
  transition: left 0.6s var(--ease), top 0.6s var(--ease), width 0.5s var(--ease);
}
.hud__af i { position: absolute; width: 12px; height: 12px; border: 0 solid rgba(243, 241, 234, 0.95); transition: border-color 0.2s; }
.hud__af i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.hud__af i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.hud__af i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.hud__af i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.hud__af.is-hunting { animation: dc-hunt 0.5s ease-in-out 2; }
.hud__af.is-locked i { border-color: #b9e3a8; }
@keyframes dc-hunt { 50% { width: 30%; } }
@keyframes dc-blink { 50% { opacity: 0.15; } }
.frame__flash { position: absolute; inset: 0; z-index: 4; background: #fff; opacity: 0; pointer-events: none; }
.frame__flash.is-on { animation: dc-flash 0.38s ease-out; }
@keyframes dc-flash { 0% { opacity: 0.85; } 100% { opacity: 0; } }
.elos-slot { transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.7s; z-index: 5; }
.frame .vf { z-index: 6; }
.frame__caption { z-index: 6; transition: opacity 0.4s; }
.is-shooting .frame__shots, .is-shooting .hud { opacity: 1; }
.is-shooting .elos-slot { opacity: 0; transform: translate(-50%, -50%) scale(0.55); filter: blur(6px); }
.is-shooting .frame__caption { opacity: 0; }

/* ---------- Painel com canto cortado ---------- */
.panel--cut { clip-path: polygon(0 0, 100% 0, 100% 100%, 26px 100%, 0 calc(100% - 26px)); }

/* ---------- Letreiro gigante ---------- */
.marquee { background: var(--azul); padding: 0 0 clamp(40px, 6vw, 80px); overflow: hidden; border-bottom: 1px solid rgba(243, 241, 234, 0.12); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__track span {
  display: flex; align-items: center; gap: 0.35em; padding-right: 0.35em;
  font: 300 clamp(4.5rem, 13vw, 12rem)/1 var(--sans); letter-spacing: -0.045em; white-space: nowrap; color: var(--creme);
}
.marquee__track em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--areia); }
.marquee__track i { font-style: normal; font-size: 0.4em; color: var(--areia); }

/* ---------- Títulos que sobem palavra por palavra ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0.06em 0.14em; margin: -0.06em -0.06em -0.14em; }
.w__i { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms + 120ms); }
.is-in .w__i, .is-split-in .w__i { transform: none; }

/* ---------- Fotos que se revelam (laboratório) ---------- */
.js [data-develop] { clip-path: inset(100% 0 0 0); filter: grayscale(1) contrast(1.25) brightness(1.15); transform: scale(1.08); }
.js [data-develop].is-developed {
  clip-path: inset(0 0 0 0); filter: none; transform: none;
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.18, 1), transform 1.8s var(--ease), filter 2.4s ease 0.5s;
}
.js [data-develop]:not(.is-developed) { animation: dc-develop-safe 0.01s 4s forwards; }
@keyframes dc-develop-safe { to { clip-path: inset(0 0 0 0); filter: none; transform: none; } }

/* ---------- Visor que segue o mouse sobre as fotos ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 250; width: 86px; height: 86px;
  pointer-events: none; opacity: 0; transform: translate(-50%, -50%); transition: opacity 0.25s, width 0.35s var(--ease), height 0.35s var(--ease);
}
.cursor.is-on { opacity: 1; }
.cursor.is-click { width: 70px; height: 70px; }
.cursor i { position: absolute; width: 14px; height: 14px; border: 0 solid var(--creme); mix-blend-mode: difference; }
.cursor i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.cursor i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.cursor i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.cursor i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.cursor b { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); padding: 3px 6px 2px; background: var(--areia); color: var(--profundo); font: 500 10px/1.2 var(--mono); text-transform: uppercase; white-space: nowrap; }
.cursor::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; background: var(--areia); transform: translate(-50%, -50%); }
@media (hover: hover) and (pointer: fine) { .has-cursor [data-focus], .has-cursor [data-focus] * { cursor: none; } }

/* ---------- Barra de progresso da rolagem ---------- */
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--areia); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Grade contínua nas seções escuras ---------- */
.section--deep, .section--blue { background-image:
  linear-gradient(90deg, transparent calc(12.5% - 0.5px), rgba(243,241,234,.045) 0, rgba(243,241,234,.045) calc(12.5% + 0.5px), transparent 0),
  linear-gradient(90deg, transparent calc(37.5% - 0.5px), rgba(243,241,234,.045) 0, rgba(243,241,234,.045) calc(37.5% + 0.5px), transparent 0),
  linear-gradient(90deg, transparent calc(62.5% - 0.5px), rgba(243,241,234,.045) 0, rgba(243,241,234,.045) calc(62.5% + 0.5px), transparent 0),
  linear-gradient(90deg, transparent calc(87.5% - 0.5px), rgba(243,241,234,.045) 0, rgba(243,241,234,.045) calc(87.5% + 0.5px), transparent 0); }

@media (max-width: 860px) {
  .hud__rec, .hud__mode { left: 30px; }
  .hud__mode { left: auto; right: 30px; }
  .hud__bottom { left: 30px; right: 30px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-develop] { clip-path: none; filter: none; transform: none; }
  .w__i { transform: none; }
  .cursor { display: none; }
}
