/* BlueFlow — folha de estilo do site (v2)
   Tokens da identidade: ver brand/identidade-visual.html */

:root {
  --blue: #0F4DFF;
  --blue-deep: #0A36C2;
  --ink: #06132B;
  --ink-soft: #44516B;
  --mist: #EEF3FA;
  --foam: #B9D2FF;
  --line: #D5DFEE;
  --amber: #FFB23E;
  --paper: #FFFFFF;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1220px;
  --gutter: clamp(20px, 4vw, 44px);
  --sec-y: clamp(84px, 11vw, 156px);
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 14px;
  --lift: 0 30px 60px -34px rgba(6, 19, 43, .34), 0 2px 6px rgba(6, 19, 43, .05);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.024em; line-height: 1.04; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.014em; line-height: 1.18; }
p { text-wrap: pretty; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sec { padding-block: var(--sec-y); position: relative; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 46ch; }
.sec-head { display: grid; gap: 22px; max-width: 800px; margin-bottom: clamp(44px, 6vw, 80px); }
.ph { width: 1em; height: 1em; flex: none; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; background: var(--amber); transform: scaleX(0); transform-origin: 0 50%; z-index: 90; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn .ph { font-size: 1.2em; transition: transform .25s var(--ease); }
.btn:hover .ph { transform: translate(3px, -3px); }
.btn:active { transform: scale(.97); }
.btn-light { background: var(--paper); color: var(--blue); }
.btn-light:hover { background: var(--amber); color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: var(--paper); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--paper); }
.btn-blue { background: var(--blue); color: var(--paper); box-shadow: 0 14px 30px -14px rgba(15, 77, 255, .8); }
.btn-blue:hover { background: var(--ink); box-shadow: 0 14px 30px -14px rgba(6, 19, 43, .7); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: .94rem; }

/* Cabeçalho fixo */
.head { position: fixed; inset: 0 0 auto 0; z-index: 80; color: var(--paper); transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); }
.bar { display: flex; align-items: center; gap: 28px; padding-block: 18px; transition: padding .35s var(--ease); }
.logo { position: relative; display: block; }
.logo img { height: 40px; width: auto; transition: opacity .3s var(--ease); }
.logo .l-ink { position: absolute; inset: 0; opacity: 0; }
.head.scrolled { background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); color: var(--ink); box-shadow: 0 1px 0 rgba(6, 19, 43, .08); }
.head.scrolled .bar { padding-block: 11px; }
.head.scrolled .l-white { opacity: 0; }
.head.scrolled .l-ink { opacity: 1; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav > a:not(.btn) { position: relative; text-decoration: none; font-weight: 500; font-size: .98rem; opacity: .86; transition: opacity .2s; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.nav > a:not(.btn):hover { opacity: 1; }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }
.lang { display: inline-flex; border: 1.5px solid currentColor; border-radius: 999px; padding: 3px; font-size: .84rem; font-weight: 600; }
.lang a, .lang span { padding: 5px 11px; border-radius: 999px; text-decoration: none; }
.lang span { background: var(--paper); color: var(--blue); }
.head.scrolled .lang span { background: var(--blue); color: var(--paper); }
.head.scrolled .btn-light { background: var(--blue); color: var(--paper); }
.head.scrolled .btn-light:hover { background: var(--ink); }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.menu-btn svg { margin: auto; }

/* Hero */
.hero { position: relative; min-height: clamp(660px, 100svh, 1060px); display: flex; background: radial-gradient(120% 90% at 78% 46%, #123A9E 0%, #0A2364 34%, var(--ink) 72%); color: var(--paper); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 82% 50%; opacity: .92; transition: opacity .5s var(--ease); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
#hero-canvas.is-live { opacity: 1; }
.hero3d-live .hero-poster { opacity: 0; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 19, 43, .92) 0%, rgba(6, 19, 43, .62) 34%, rgba(6, 19, 43, 0) 62%), linear-gradient(0deg, rgba(6, 19, 43, .85) 0%, rgba(6, 19, 43, 0) 30%); }
.hero-inner { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(40px, 7vh, 80px); padding-top: clamp(128px, 19vh, 200px); padding-bottom: clamp(28px, 4vh, 44px); width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.hero-copy { max-width: 760px; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); max-width: 13.5ch; }
.hero-sub { margin-top: 28px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 47ch; color: #D9E5FF; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; border-radius: var(--r-lg); overflow: hidden; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.stages li { padding: 20px 22px 22px; background: rgba(6, 19, 43, .46); display: grid; gap: 6px; align-content: start; transition: background-color .3s var(--ease); }
.stages li:hover { background: rgba(15, 77, 255, .38); }
.stages .ph { font-size: 1.7rem; color: var(--foam); margin-bottom: 6px; }
.stages li:last-child .ph { color: var(--amber); }
.stages strong { font: 600 1.06rem/1.25 var(--display); letter-spacing: -0.01em; }
.stages span { font-size: .9rem; line-height: 1.42; color: #C9D8F8; }

/* Faixa em movimento */
.marquee { background: var(--blue); color: var(--paper); overflow: hidden; padding-block: 20px; }
.marquee-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; font: 600 clamp(1.15rem, 1.9vw, 1.6rem)/1 var(--display); letter-spacing: -0.015em; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Tráfego */
.traffic-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.traffic-intro { display: grid; gap: 24px; position: sticky; top: 110px; }
.audience { display: flex; gap: 14px; padding: 18px 20px; background: var(--mist); border-radius: var(--r-md); font-size: 1rem; max-width: 44ch; }
.audience .ph { font-size: 1.5rem; color: var(--blue); margin-top: 2px; }
.channels { display: grid; gap: 20px; }
.channel { position: relative; display: grid; grid-template-columns: 168px 1fr; gap: 12px 28px; align-items: center; padding: 22px 30px 22px 18px; background: var(--paper); border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--lift); will-change: transform; }
.channel img { width: 168px; height: 168px; object-fit: contain; mix-blend-mode: multiply; }
.channel h3 { font-size: 1.85rem; }
.channel p { margin-top: 8px; color: var(--ink-soft); max-width: 46ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tags li { font-size: .86rem; font-weight: 500; padding: 6px 13px; border-radius: 999px; background: var(--mist); color: var(--blue-deep); }

.out { margin-top: clamp(52px, 7vw, 92px); position: relative; overflow: hidden; background: var(--ink); color: var(--paper); border-radius: var(--r-xl); padding: clamp(30px, 4.4vw, 60px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 80px); isolation: isolate; }
.out::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; left: -200px; bottom: -340px; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 77, 255, .55), rgba(15, 77, 255, 0)); }
.out h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.out > div p { margin-top: 12px; color: #A9B6CF; font-size: 1rem; }
.out li { display: flex; gap: 16px; align-items: center; padding-block: 17px; border-top: 1px solid rgba(255, 255, 255, .15); font-weight: 500; font-size: 1.08rem; }
.out li:first-child { border-top: 0; padding-top: 0; }
.out li .ph { font-size: 1.6rem; color: #8FA9E6; }

/* Operação */
.op { background: var(--mist); }
.steps { --p: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 12px; right: calc(25% - 12px); top: 11px; height: 3px; border-radius: 3px; background: var(--line); }
.steps::after { background: var(--blue); transform-origin: 0 50%; transform: scaleX(var(--p)); }
.steps li { position: relative; padding-top: 48px; }
.steps li::before { content: ""; position: absolute; z-index: 1; left: 0; top: 0; width: 25px; height: 25px; border-radius: 50%; background: var(--mist); border: 3px solid var(--line); transition: border-color .4s var(--ease), background-color .4s var(--ease), transform .4s var(--ease); }
.steps li.on::before { border-color: var(--blue); transform: scale(1.12); }
.steps li.on:last-child::before { background: var(--amber); border-color: var(--amber); }
.step-card { height: 100%; background: var(--paper); border-radius: var(--r-lg); padding: 22px 24px 28px; box-shadow: var(--lift); opacity: .55; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.steps li.on .step-card { opacity: 1; transform: none; }
.ill { width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-md); background: var(--mist); margin-bottom: 20px; }
.ill svg { width: 100%; height: 100%; }
.steps .n { font: 600 1rem/1 var(--display); color: var(--blue); }
.steps h3 { margin-top: 8px; font-size: 1.45rem; }
.steps p { margin-top: 10px; color: var(--ink-soft); font-size: .99rem; }
/* ilustrações das etapas */
.ill .f-white { fill: var(--paper); } .ill .f-blue { fill: var(--blue); } .ill .f-foam { fill: var(--foam); } .ill .f-ink { fill: var(--ink); } .ill .f-amber { fill: var(--amber); } .ill .f-line { fill: var(--line); }
.ill .st { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ill .st-w { fill: none; stroke: var(--paper); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ill .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--ease); }
.ill .pop { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.5, .5, 1); }
.ill .grow { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform .7s var(--ease); }
.ill .shift { transition: transform .8s var(--ease); }
.on .ill .draw { stroke-dashoffset: 0; } .on .ill .pop { transform: scale(1); } .on .ill .grow { transform: scaleX(1); }
.on .ill .shift.a { transform: translateX(-9px); } .on .ill .shift.c { transform: translateX(9px); }
.ill .d1 { transition-delay: .15s; } .ill .d2 { transition-delay: .35s; } .ill .d3 { transition-delay: .55s; } .ill .d4 { transition-delay: .75s; }

/* O que entra em cada campanha */
.caps { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.cap { position: relative; overflow: hidden; grid-column: span 5; min-height: 330px; border-radius: var(--r-xl); background: var(--mist); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; transition: background-color .35s var(--ease); }
.cap:nth-child(1), .cap:nth-child(4) { grid-column: span 7; }
.cap:hover { background: #E3ECFA; }
.cap img { position: absolute; right: -8px; top: -6px; width: min(56%, 270px); mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.cap:nth-child(1) img, .cap:nth-child(4) img { width: min(46%, 300px); right: 12px; top: 8px; }
.cap:hover img { transform: scale(1.06) rotate(-3deg); }
.cap h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.cap p { margin-top: 10px; color: var(--ink-soft); max-width: 34ch; font-size: 1.06rem; }

/* Rastreabilidade */
.trace { background: var(--ink); color: var(--paper); overflow: hidden; isolation: isolate; }
.trace::before { content: ""; position: absolute; z-index: -1; right: -12%; top: 8%; width: 780px; height: 780px; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 77, 255, .5), rgba(15, 77, 255, 0)); }
.trace .lead { color: #B4C0D8; }
.trace-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.trace-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 36px; margin-top: clamp(36px, 5vw, 60px); }
.trace-list li { display: grid; gap: 8px; align-content: start; }
.trace-list .ph { font-size: 2rem; color: var(--foam); }
.trace-list li:last-child .ph { color: var(--amber); }
.trace-list h3 { font-size: 1.2rem; }
.trace-list p { color: #B4C0D8; font-size: .98rem; }

.trail { background: var(--paper); color: var(--ink); border-radius: var(--r-xl); padding: clamp(24px, 2.6vw, 34px); box-shadow: 0 50px 100px -40px rgba(15, 77, 255, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.trail-title { font: 600 1.35rem/1.2 var(--display); letter-spacing: -0.014em; }
.trail-hint { margin-top: 6px; color: var(--ink-soft); font-size: .95rem; }
.trail fieldset { margin-top: 18px; }
.trail legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; cursor: pointer; position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; font-size: .94rem; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.chips label:hover span { border-color: var(--blue); }
.chips label:active span { transform: scale(.96); }
.chips input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.chips input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.trail dl { margin-top: 20px; display: grid; gap: 10px; }
.trail dl div { background: var(--mist); border-radius: var(--r-md); padding: 12px 14px; }
.trail dt { color: var(--ink-soft); font-size: .82rem; font-weight: 500; }
.trail dd { font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }
.trail dd[data-code] { font: 600 1.45rem/1.2 var(--display); color: var(--blue); letter-spacing: -0.01em; }
.trail dd[data-link] { font-size: .86rem; font-weight: 500; line-height: 1.45; }
.trail-events { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.trail-events li { position: relative; padding-top: 30px; font-weight: 600; font-size: .9rem; color: var(--ink-soft); transition: color .35s var(--ease); }
.trail-events li::before { content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--line); transition: background-color .35s var(--ease), transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.trail-events li::after { content: ""; position: absolute; left: 18px; right: 0; top: 8px; height: 2px; background: var(--line); transform-origin: 0 50%; }
.trail-events li:last-child::after { display: none; }
.trail-events li.done { color: var(--ink); }
.trail-events li.done::before { background: var(--blue); transform: scale(1.15); }
.trail-events li.done::after { background: var(--blue); }
.trail-events li.done:last-child::before { background: var(--amber); }
.trail small { display: block; margin-top: 18px; color: var(--ink-soft); font-size: .84rem; line-height: 1.45; }

/* Para quem */
.who { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.who li { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 52px); display: grid; grid-template-rows: auto 1fr auto; gap: 14px; min-height: 480px; }
.who .bg { position: absolute; z-index: -2; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
.who li::after { content: ""; position: absolute; z-index: -1; inset: 0; }
.who li:first-child { color: var(--paper); }
.who li:first-child::after { background: linear-gradient(180deg, rgba(10, 54, 194, .78) 0%, rgba(10, 54, 194, .28) 55%, rgba(6, 19, 43, .55) 100%); }
.who li:last-child { background: var(--mist); }
.who li:last-child::after { background: linear-gradient(90deg, rgba(238, 243, 250, .96) 0%, rgba(238, 243, 250, .7) 45%, rgba(238, 243, 250, 0) 75%); }
.who h3 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.who p { max-width: 34ch; font-size: 1.1rem; }
.who li:last-child p { color: var(--ink-soft); }
.who .btn { justify-self: start; }

/* Perguntas */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 24px; font: 600 1.24rem/1.3 var(--display); letter-spacing: -0.01em; transition: color .2s var(--ease); }
.faq summary:hover { color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { font-size: 1.3rem; color: var(--blue); transition: transform .35s var(--ease); }
.faq details[open] summary .ph { transform: rotate(180deg); }
.faq details p { padding-bottom: 26px; color: var(--ink-soft); max-width: 62ch; animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-6px); } }

/* Contato */
.contact { background: var(--blue); color: var(--paper); overflow: hidden; isolation: isolate; }
.contact-art { position: absolute; z-index: -1; left: -9%; bottom: -34%; width: min(56vw, 760px); opacity: .12; }
.contact-art path { fill: none; stroke: var(--paper); stroke-width: 4.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.contact .lead { color: #E3ECFF; margin-top: 22px; }
.contact-cards { display: grid; gap: 16px; }
.c-card { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; width: 100%; padding: 24px 26px; background: var(--paper); color: var(--ink); border: 0; border-radius: var(--r-xl); font: inherit; text-align: left; text-decoration: none; cursor: pointer; box-shadow: 0 40px 70px -46px rgba(6, 19, 43, .8); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.c-card:hover { transform: translateY(-4px); box-shadow: 0 50px 80px -44px rgba(6, 19, 43, .9); }
.c-card:active { transform: scale(.985); }
.c-ico { width: 64px; height: 64px; border-radius: 20px; background: var(--blue); color: var(--paper); display: grid; place-items: center; font-size: 2rem; transition: background-color .3s var(--ease), color .3s var(--ease); }
.c-ico.c-dark { background: var(--ink); }
.c-body { display: grid; gap: 2px; min-width: 0; }
.c-label { font-size: .86rem; font-weight: 500; color: var(--ink-soft); }
.c-body strong { font: 600 clamp(1.12rem, 2vw, 1.55rem)/1.2 var(--display); letter-spacing: -0.012em; overflow-wrap: anywhere; }
.c-hint { font-size: .88rem; color: var(--ink-soft); }
.c-go { font-size: 1.7rem; color: var(--blue); transition: transform .3s var(--ease); }
.c-card:hover .c-go { transform: translate(3px, -3px); }
.c-card.copied .c-ico { background: var(--amber); color: var(--ink); }

/* Rodapé */
.foot { background: var(--ink); color: #B4C0D8; padding-block: 64px 0; font-size: .95rem; overflow: hidden; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; align-items: flex-start; }
.foot .logo img { height: 38px; }
.foot .tag { margin-top: 16px; max-width: 30ch; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot nav a { text-decoration: none; color: var(--paper); }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; font-size: .88rem; }
.foot-mark { display: block; width: 100%; margin-top: 40px; opacity: .13; transform: translateY(16%); }

/* Responsivo */
@media (max-width: 1040px) {
  .traffic-grid, .out, .trace-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .traffic-intro { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before, .steps::after { display: none; }
  .stages { grid-template-columns: repeat(3, 1fr); }
  .cap, .cap:nth-child(1), .cap:nth-child(4) { grid-column: span 6; }
}
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: 76px; background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: 22px; flex-direction: column; align-items: stretch; gap: 6px; margin: 0; box-shadow: var(--lift); }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 12px 6px; font-size: 1.1rem; }
  .nav .lang { align-self: flex-start; margin: 10px 0; }
  .head.scrolled .nav .lang span { background: var(--paper); color: var(--blue); }
  /* No celular a cena 3D ganha uma faixa própria, entre os botões e as etapas */
  .hero { background: var(--ink); }
  .hero-bg { inset: auto 0 150px 0; height: 300px; }
  .hero-bg::after { background: linear-gradient(180deg, var(--ink) 0%, rgba(6, 19, 43, 0) 28%, rgba(6, 19, 43, 0) 72%, var(--ink) 100%); }
  .hero-poster { object-position: 88% 50%; }
  .hero-copy { padding-bottom: 250px; }
  .hero-inner { gap: 20px; }
}
@media (max-width: 680px) {
  .who, .trace-list, .form { grid-template-columns: 1fr; }
  .cap, .cap:nth-child(1), .cap:nth-child(4) { grid-column: 1 / -1; min-height: 300px; }
  .cap img, .cap:nth-child(1) img, .cap:nth-child(4) img { width: 190px; right: -4px; top: -4px; }
  .channel { grid-template-columns: 96px 1fr; gap: 6px 16px; padding: 18px 18px 20px 10px; border-radius: var(--r-lg); }
  .channel img { width: 96px; height: 96px; }
  .channel h3 { font-size: 1.5rem; }
  .steps { grid-template-columns: 1fr; }
  .stages { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; border-inline: 0; scroll-padding-inline: var(--gutter); }
  .stages::-webkit-scrollbar { display: none; }
  .stages li { flex: 0 0 64%; scroll-snap-align: start; }
  .stages li:first-child { padding-left: var(--gutter); }
  .who li:last-child::after { background: linear-gradient(180deg, rgba(238, 243, 250, .97) 0%, rgba(238, 243, 250, .82) 48%, rgba(238, 243, 250, 0) 80%); }
  .who li:last-child .bg { object-position: 100% 100%; }
  .who li { min-height: 400px; }
  .c-card { grid-template-columns: auto 1fr; gap: 14px; padding: 18px; border-radius: var(--r-lg); }
  .c-ico { width: 50px; height: 50px; border-radius: 16px; font-size: 1.6rem; }
  .c-body strong { font-size: clamp(.92rem, 4vw, 1.2rem); }
  .c-go { display: none; }
  .out li { font-size: 1rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-inner { padding-top: 120px; }
  .trail-events li { font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
