:root {
  --ink: #081b51;
  --ink-soft: #06143e;
  --cream: #f4f1ea;
  --paper: #fbf8f2;
  --warm: #f2ce6d;
  --warm-deep: #2347d8;
  --gold: #f2ce6d;
  --cobalt: #2347d8;
  --line: rgba(11, 9, 7, .18);
  --white-line: rgba(255, 255, 255, .2);
  --serif: "Instrument Serif", Georgia, serif;
  --display: "Inter Tight", Inter, Arial, sans-serif;
  --sans: Inter, Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --shell: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; background: var(--ink); }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, select, textarea { color: inherit; font: inherit; }
.shell { width: min(var(--shell), calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 1000; top: 14px; left: -999px; padding: 12px 18px; background: var(--paper); color: var(--ink); }
.skip:focus { left: 14px; }
.scroll-progress { position: fixed; z-index: 90; inset: 0 0 auto; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--warm); }

.topbar { position: fixed; z-index: 80; inset: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; padding: 0 42px; color: white; border-bottom: 1px solid rgba(255,255,255,.14); background: linear-gradient(180deg, rgba(4,3,2,.72), transparent); transition: background .3s, backdrop-filter .3s; }
.topbar.is-scrolled { background: rgba(11,9,7,.91); backdrop-filter: blur(18px); }
.signature { font: 600 18px/.9 var(--display); letter-spacing: -.045em; }
#main-nav { display: flex; align-items: center; gap: 30px; }
#main-nav a, .top-cta, .menu-toggle { font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
#main-nav a { position: relative; padding: 30px 0; }
#main-nav a:after { position: absolute; right: 0; bottom: 22px; left: 0; height: 1px; content: ""; transform: scaleX(0); background: var(--warm); transition: transform .25s; }
#main-nav a:hover:after { transform: scaleX(1); }
.top-cta { justify-self: end; padding: 12px 17px; border: 1px solid rgba(255,255,255,.48); transition: background .2s, color .2s; }
.top-cta:hover { background: white; color: var(--ink); }
.menu-toggle { display: none; padding: 12px; border: 0; background: none; color: white; }

.hero { position: relative; min-height: 100svh; overflow: hidden; background: var(--ink); color: white; }
.hero-photo, .hero-shade { position: absolute; inset: 0; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; filter: saturate(.7) contrast(1.1) hue-rotate(5deg); transform: scale(1.12) translateX(16%); }
.hero-shade { background: linear-gradient(90deg, #081b51 0%, rgba(8,27,81,.97) 42%, rgba(8,27,81,.68) 61%, rgba(8,27,81,.1) 84%), linear-gradient(0deg, rgba(8,27,81,.68) 0%, transparent 54%), linear-gradient(180deg, rgba(8,27,81,.34), transparent 28%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-items: end; width: min(var(--shell), calc(100% - 96px)); min-height: 100svh; margin: auto; padding: 160px 0 74px; }
.hero-copy { max-width: 1020px; }
.kicker, .section-label { margin: 0 0 24px; color: var(--warm); font: 500 10px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 920px; margin: 0; font: 500 clamp(63px, 6.65vw, 101px)/.88 var(--display); letter-spacing: -.06em; }
.hero h1 span { display: block; }
.hero h1 em { color:var(--warm); font:400 1.02em/.82 var(--serif); letter-spacing:-.045em; }
.hero-thesis { margin: 56px 0 0 16%; font: clamp(26px, 3vw, 45px)/1.02 var(--serif); letter-spacing: -.02em; }
.hero-thesis em { color: #ffb25c; }
.hero-lead { max-width: 630px; margin: 30px 0 0; color: rgba(255,255,255,.74); font-size: 15px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.hero .actions { margin-left: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid transparent; background: none; font: 600 10px var(--mono); letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: wait; opacity: .68; transform: none; }
.button-warm { background: var(--warm); color: var(--ink); }
.button-warm:hover { background: #ff9b42; }
.button-line { border-color: rgba(255,255,255,.52); color: white; }
.button-line:hover { background: white; color: var(--ink); }
.button-black { background: var(--ink); color: white; }
.button-black:hover { background: #282018; }
.hero-numbers { display: grid; gap: 22px; margin: 0; padding: 0 0 4px; list-style: none; }
.hero-numbers li { padding-top: 13px; border-top: 1px solid rgba(255,255,255,.32); }
.hero-numbers strong { display: block; font: 37px/.9 var(--serif); }
.hero-numbers span { display: block; margin-top: 7px; color: rgba(255,255,255,.65); font: 9px/1.35 var(--mono); text-transform: uppercase; }
.scroll-note { position: absolute; z-index: 3; right: 34px; bottom: 82px; display: flex; align-items: center; gap: 13px; transform: rotate(90deg) translateX(100%); transform-origin: right bottom; color: rgba(255,255,255,.62); font: 9px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.scroll-note span { color: var(--warm); font-size: 16px; }

.section-light { background: var(--paper); }
.section-dark { background: var(--ink); color: white; }
.section-warm { background: var(--warm); color: var(--ink); }
.section-calm { background: var(--cream); }
.manifesto { overflow: hidden; padding: 145px 0 0; }
.manifesto-grid { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 40px; }
.manifesto h2, .section-heading h2, .trama h2, .immersion h2, .contact h2 { margin: 0; font: 500 clamp(54px, 6.5vw, 98px)/.91 var(--display); letter-spacing: -.055em; }
.manifesto h2 em, .section-heading h2 em, .trama h2 em, .immersion h2 em { font-family:var(--serif); }
.manifesto h2 em, .section-heading h2 em, .trama h2 em, .immersion h2 em { color: var(--warm-deep); font-weight: 400; }
.large-copy { max-width: 840px; margin: 46px 0 0; font-size: clamp(18px, 1.7vw, 24px); font-weight: 300; line-height: 1.6; }
.recognition-line { display: flex; gap: 18px; width: max-content; margin-top: 120px; padding: 25px 30px; border-block: 1px solid var(--line); animation: recognition 34s linear infinite alternate; }
.recognition-logo { display: flex; width: 142px; height: 58px; flex: 0 0 142px; align-items: center; justify-content: center; padding: 11px 16px; border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.recognition-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 34px; object-fit: contain; }
@keyframes recognition { to { transform: translateX(calc(100vw - 100%)); } }

.journeys { padding: 145px 0 160px; }
.section-heading { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 40px; margin-bottom: 72px; }
.section-dark .section-heading h2 em { color: #f3a24c; }
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; perspective: 1200px; }
.journey-card { position: relative; min-height: 650px; overflow: hidden; isolation: isolate; padding: 34px; color: white; transition: transform .45s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.journey-card:after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(180deg, rgba(4,3,2,.25), rgba(4,3,2,.12) 35%, rgba(4,3,2,.91)); }
.journey-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.journey-card:hover { transform: translateY(-7px) rotateX(1.1deg); }
.journey-card:hover img { transform: scale(1.03); }
.journey-trama img { object-position: 61% center; }
.journey-card > span { position: absolute; right: 34px; left: 34px; display: block; }
.card-index { top: 34px; font: 10px var(--mono); letter-spacing: .12em; }
.card-title { bottom: 130px; font: clamp(50px, 5.2vw, 78px)/.9 var(--serif); letter-spacing: -.04em; }
.card-copy { bottom: 76px; max-width: 430px; color: rgba(255,255,255,.75); font-size: 14px; }
.card-link { bottom: 31px; color: #ffb466; font: 500 10px var(--mono); text-transform: uppercase; }

.stage-story { position: relative; min-height: 105svh; overflow: hidden; isolation: isolate; background: var(--ink); color: white; }
.stage-photo, .stage-overlay { position: absolute; z-index: -2; inset: 0; margin: 0; }
.stage-photo img { width: 100%; height: 115%; object-fit: cover; object-position: center 42%; transform: translateY(-7%); }
.stage-overlay { z-index: -1; background: linear-gradient(90deg, rgba(7,5,3,.94) 0%, rgba(7,5,3,.74) 48%, rgba(7,5,3,.23) 76%), linear-gradient(0deg, rgba(7,5,3,.8), transparent 54%); }
.stage-content { display: grid; align-items: center; min-height: 105svh; padding-block: 120px; }
.stage-copy { max-width: 690px; }
.stage-copy h2 { margin: 0; font: 500 clamp(54px, 6.2vw, 92px)/.91 var(--display); letter-spacing: -.055em; }
.stage-copy > p:not(.section-label) { max-width: 600px; margin: 30px 0 45px; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.65; }
.topic-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--white-line); }
.topic-list li { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--white-line); font-size: 14px; }
.topic-list span { color: var(--warm); font: 10px var(--mono); }
.text-link { display: inline-flex; padding: 9px 0; color: #ffad5b; border-bottom: 1px solid currentColor; font: 500 10px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.dark-link { color: var(--warm-deep); }

.trama { padding: 150px 0; }
.trama .section-label { color: var(--ink); }
.trama h2 em { color: var(--cobalt); }
.trama-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(60px, 9vw, 150px); align-items: start; }
.trama-copy > p:not(.section-label) { max-width: 630px; margin: 36px 0 0; font-size: 18px; line-height: 1.6; }
.trama-stack { border-top: 1px solid rgba(11,9,7,.5); }
.trama-stack article { display: grid; grid-template-columns: 42px 1fr; gap: 15px 22px; padding: 28px 0; border-bottom: 1px solid rgba(11,9,7,.5); }
.trama-stack span { grid-row: 1/3; font: 10px var(--mono); }
.trama-stack h3 { margin: 0; font: 500 31px/1 var(--display); letter-spacing:-.04em; }
.trama-stack p { margin: 0; font-size: 13px; line-height: 1.55; opacity: .75; }

.immersion { padding: 150px 0; }
.immersion-grid { display: grid; grid-template-columns: minmax(340px,.78fr) minmax(0,1.22fr); gap: clamp(60px, 9vw, 145px); align-items: center; }
.immersion-photo { position: relative; aspect-ratio: 3/4; margin: 0; overflow: hidden; box-shadow: 28px 30px 0 var(--cobalt); }
.immersion-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.immersion h2 em { color: var(--cobalt); }
.immersion-notes { display: flex; gap: 20px; margin-top: 40px; }
.immersion-notes span { min-width: 145px; padding: 18px 20px; border: 1px solid var(--line); font: 9px var(--mono); text-transform: uppercase; }
.immersion-notes strong { display: block; margin-bottom: 5px; font: 37px var(--serif); }

.ideas { padding: 145px 0; }
.ideas-heading { grid-template-columns: 170px 1fr auto; align-items: end; }
.ideas-heading h2 { max-width: 850px; }
.idea-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.idea-grid a { min-height: 270px; padding: 31px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s, color .25s; }
.idea-grid a:hover { background: var(--ink); color: white; }
.idea-grid span { color: var(--warm-deep); font: 10px var(--mono); }
.idea-grid h3 { max-width: 310px; margin: 66px 0 14px; font: 34px/1 var(--serif); }
.idea-grid p { max-width: 310px; margin: 0; color: #70665d; font-size: 13px; }
.idea-grid a:hover p { color: rgba(255,255,255,.67); }
.newsletter-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; margin-top: 70px; padding: 48px; background: var(--gold); }
.newsletter-band .section-label { margin-bottom: 12px; color: var(--ink); }
.newsletter-band h3 { max-width: 750px; margin: 0; font: 500 clamp(32px,3.4vw,50px)/.96 var(--display); letter-spacing:-.045em; }

.contact { padding: 145px 0; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px,10vw,160px); }
.contact h2 { max-width: 620px; }
.contact-grid > div > p:not(.section-label) { max-width: 560px; color: rgba(255,255,255,.68); line-height: 1.65; }
.direct-contact { display: grid; gap: 10px; margin-top: 40px; font: 10px var(--mono); color: #ffad5b; }
.contact form { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; align-self: start; }
.contact label { display: grid; gap: 8px; color: rgba(255,255,255,.62); font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.contact input, .contact select, .contact textarea { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.38); border-radius: 0; outline: 0; background: transparent; color: white; font: 14px var(--sans); text-transform: none; }
.contact select option { color: var(--ink); }
.contact input:focus, .contact select:focus, .contact textarea:focus { border-color: var(--warm); }
.form-wide { grid-column: 1/-1; }
.contact button { justify-self: start; }

.footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; padding: 58px 42px; background: #050403; color: white; }
.footer nav { display: flex; gap: 24px; font: 9px var(--mono); text-transform: uppercase; }
.footer p { justify-self: end; margin: 0; color: rgba(255,255,255,.45); font: 9px var(--mono); }

[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; transition: opacity .75s ease, transform .75s cubic-bezier(.22,.61,.36,1); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

@media (max-width: 1040px) {
  .topbar { grid-template-columns: 1fr auto; padding-inline: 28px; }
  .menu-toggle { display: block; grid-column: 2; grid-row: 1; }
  .top-cta { display: none; }
  #main-nav { position: fixed; inset: 76px 0 auto; display: none; padding: 24px 28px 30px; background: rgba(11,9,7,.98); border-top: 1px solid var(--white-line); }
  #main-nav.is-open { display: grid; }
  #main-nav a { padding: 14px 0; border-bottom: 1px solid var(--white-line); }
  #main-nav a:after { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-numbers { grid-template-columns: repeat(3,1fr); max-width: 600px; margin: 55px 0 0 16%; }
  .ideas-heading { grid-template-columns: 140px 1fr; }
  .ideas-heading .text-link { grid-column: 2; justify-self: start; margin-top: 20px; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer nav { justify-content: flex-end; }
  .footer p { grid-column: 1/-1; justify-self: start; }
}

@media (max-width: 760px) {
  .shell, .hero-grid { width: min(100% - 38px, var(--shell)); }
  .topbar { min-height: 66px; padding-inline: 19px; }
  #main-nav { inset-block-start: 66px; }
  .signature { font-size: 25px; }
  .hero-photo img { object-position: 67% center; transform:scale(1.18) translateX(8%); }
  .hero-shade { background: linear-gradient(90deg,rgba(7,5,3,.88),rgba(7,5,3,.36)),linear-gradient(0deg,rgba(7,5,3,.92),transparent 72%); }
  .hero-grid { padding: 125px 0 48px; }
  .hero h1 { font-size: clamp(49px, 14.5vw, 69px); line-height: .9; }
  .hero-lead, .hero .actions, .hero-numbers { margin-left: 0; }
  .hero-lead { font-size: 13px; }
  .hero-numbers { grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 42px; }
  .hero-numbers strong { font-size: 29px; }
  .hero-numbers span { font-size: 7px; }
  .scroll-note { display: none; }
  .manifesto, .journeys, .trama, .immersion, .ideas, .contact { padding-block: 85px; }
  .manifesto-grid, .section-heading, .trama-grid, .immersion-grid, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .manifesto h2, .section-heading h2, .trama h2, .immersion h2, .contact h2 { font-size: clamp(51px, 15vw, 73px); }
  .large-copy { margin-top: 30px; font-size: 17px; }
  .recognition-line { margin-top: 70px; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-card { min-height: 520px; padding: 24px; }
  .journey-card > span { right: 24px; left: 24px; }
  .card-title { bottom: 135px; font-size: 56px; }
  .card-copy { bottom: 76px; }
  .journey-trama img { object-position: 58% center; }
  .stage-story, .stage-content { min-height: 940px; }
  .stage-photo img { object-position: 64% center; }
  .stage-overlay { background: linear-gradient(90deg,rgba(7,5,3,.91),rgba(7,5,3,.33)),linear-gradient(0deg,rgba(7,5,3,.93),rgba(7,5,3,.17) 80%); }
  .stage-copy h2 { font-size: 59px; }
  .trama-grid { gap: 65px; }
  .immersion-grid { gap: 65px; }
  .immersion-photo { width: calc(100% - 20px); box-shadow: 20px 20px 0 var(--cobalt); }
  .idea-grid { grid-template-columns: 1fr; }
  .idea-grid a { min-height: 215px; }
  .idea-grid h3 { margin-top: 45px; }
  .newsletter-band { grid-template-columns: 1fr; padding: 30px; }
  .contact form { grid-template-columns: 1fr; }
  .contact form > * { grid-column: 1; }
  .footer { grid-template-columns: 1fr; padding: 50px 19px; }
  .footer nav { flex-wrap: wrap; justify-content: flex-start; }
  .footer p { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-photo img, .stage-photo img, [data-depth] { transform: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Direção 01 completa para comparação. */
html[data-brand="01"] {
  --ink:#0b0d12;
  --ink-soft:#07080b;
  --cream:#f4f1ea;
  --paper:#fbf8f2;
  --warm:#2347d8;
  --warm-deep:#2347d8;
  --gold:#c9d4ff;
  --cobalt:#2347d8;
}
html[data-brand="01"] .scroll-progress span{background:var(--cobalt)}
html[data-brand="01"] .topbar{color:var(--ink);background:color-mix(in srgb,var(--cream) 86%,transparent);border-bottom-color:rgba(11,13,18,.18);backdrop-filter:blur(16px) saturate(1.1)}
html[data-brand="01"] .topbar.is-scrolled{background:rgba(244,241,234,.94)}
html[data-brand="01"] #main-nav a:after{background:var(--cobalt)}
html[data-brand="01"] .top-cta{border-color:rgba(11,13,18,.4)}
html[data-brand="01"] .top-cta:hover{background:var(--ink);color:white}
html[data-brand="01"] .hero{background:var(--cream);color:var(--ink)}
html[data-brand="01"] .hero-photo img{filter:saturate(.78) contrast(1.06);transform:scale(1.12) translateX(16%)}
html[data-brand="01"] .hero-shade{background:linear-gradient(90deg,#f4f1ea 0%,rgba(244,241,234,.98) 42%,rgba(244,241,234,.62) 54%,rgba(244,241,234,.08) 69%,transparent 78%),linear-gradient(0deg,rgba(244,241,234,.42),transparent 52%)}
html[data-brand="01"] .hero h1 em{color:var(--cobalt)}
html[data-brand="01"] .hero-lead{color:rgba(11,13,18,.72)}
html[data-brand="01"] .button-warm{background:var(--cobalt);color:white}
html[data-brand="01"] .button-warm:hover{background:#4161df}
html[data-brand="01"] .button-line{border-color:rgba(11,13,18,.42);color:var(--ink)}
html[data-brand="01"] .button-line:hover{background:var(--ink);color:white}
html[data-brand="01"] .hero-numbers li{border-top-color:rgba(11,13,18,.28)}
html[data-brand="01"] .hero-numbers span{color:rgba(11,13,18,.62)}
html[data-brand="01"] .scroll-note{color:rgba(11,13,18,.58)}
html[data-brand="01"] .scroll-note span{color:var(--cobalt)}
html[data-brand="01"] .section-dark{background:var(--ink-soft)}
html[data-brand="01"] .trama{background:var(--cobalt);color:white}
html[data-brand="01"] .trama .section-label{color:white}
html[data-brand="01"] .trama h2 em{color:var(--soft,#c9d4ff)}
html[data-brand="01"] .trama-stack{border-top-color:rgba(255,255,255,.5)}
html[data-brand="01"] .trama-stack article{border-bottom-color:rgba(255,255,255,.5)}
html[data-brand="01"] .trama .button-black{background:var(--ink);color:white}
html[data-brand="01"] .newsletter-band{background:#c9d4ff}
html[data-brand="01"] .footer{background:#05060a}
@media(max-width:1040px){
  html[data-brand="01"] #main-nav{background:rgba(244,241,234,.98);border-top-color:rgba(11,13,18,.18)}
  html[data-brand="01"] #main-nav a{border-bottom-color:rgba(11,13,18,.18)}
  html[data-brand="01"] .menu-toggle{color:var(--ink)}
}
@media(max-width:760px){
  html[data-brand="01"] .hero-shade{background:linear-gradient(180deg,rgba(244,241,234,.9) 0%,rgba(244,241,234,.84) 62%,rgba(244,241,234,.7) 100%)}
}
