/* ==========================================================
   TechAI Institucional — estilos
   Paleta herdada do site atual: navy #06101C, petróleo #013A49,
   verde-água #01FFCD. Fonte: Barlow.
   ========================================================== */

:root {
  --bg: #06101C;
  --bg-2: #0A1826;
  --bg-3: #0E2233;
  --petrol: #013A49;
  --petrol-2: #125C6E;
  --accent: #01FFCD;
  --accent-dim: rgba(1, 255, 205, .12);
  --text: #E8EEF2;
  --muted: #9AABB8;
  --line: rgba(255, 255, 255, .09);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }

.hl { color: var(--accent); }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 560px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 15px 28px; border-radius: 999px;
  font: 600 1rem/1.2 var(--font);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
  text-align: center;
}
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(1, 255, 205, .3); }
.btn--ghost { border-color: rgba(255, 255, 255, .25); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 10px 20px; font-size: .92rem; }
.btn__wa { width: 18px; height: 18px; flex: none; }
.btn--block { width: 100%; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .3s, backdrop-filter .3s, border-color .3s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-hidden { transform: translateY(-100%); }
.header.is-scrolled { background: rgba(6, 16, 28, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.5rem; letter-spacing: -.01em; }
.logo__img { display: block; height: 26px; width: auto; }
.logo__text { font-weight: 400; }
.logo__text strong { font-weight: 800; color: var(--accent); }
.logo__mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: conic-gradient(from 210deg, var(--accent), var(--petrol-2), var(--accent));
  position: relative;
}
.logo__mark::after { content: ""; position: absolute; inset: 6px; border-radius: 3px; background: var(--bg); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-size: .95rem; color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover, .nav a.is-active { color: var(--text); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
:root { --hype: #FF9A3D; --ghost: #7FA6D9; }

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(700px, 46vw, 840px);
  padding: clamp(104px, 8vw, 120px) 0 clamp(24px, 3vw, 40px);
  background: radial-gradient(ellipse 60% 70% at 85% 10%, rgba(1, 255, 205, .10), transparent 60%), var(--bg);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(127, 166, 217, .22) 1px, transparent 1.6px),
    linear-gradient(rgba(127, 166, 217, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 166, 217, .06) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -0.5px -0.5px;
}
.hero__glow {
  position: absolute; width: 520px; height: 520px; right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(1, 255, 205, .22), transparent 65%);
}

/* Gráfico ocupando o fundo da hero */
.hero__chart { position: absolute; top: 0; bottom: 0; left: -12%; right: 0; z-index: 0; pointer-events: none; }
.hero__chart::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 16, 28, .5) 0%, rgba(6, 16, 28, .3) 30%, transparent 50%),
    linear-gradient(0deg, var(--bg) 0%, transparent 16%);
}
.hero__draw { position: absolute; inset: 0; }
.hero__draw svg { width: 100%; height: 100%; display: block; }
.ln { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ln--wave { stroke: url(#g-wave); stroke-width: 2; opacity: .85; }
.ln--hype { stroke: url(#g-hype); stroke-width: 3.5; }
.ln--method { stroke: url(#g-turn); stroke-width: 3.5; }
/* ponto de laser percorrendo a curva (posição calculada no main.js) */
.laser {
  position: absolute; z-index: 3; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  --lc: 255, 154, 61; /* cor do caminho onde o ponto está (main.js) */
  border-radius: 50%; background: #fff; opacity: 0; pointer-events: none;
  box-shadow: 0 0 6px 2px rgb(var(--lc)), 0 0 16px 6px rgba(var(--lc), .6), 0 0 34px 12px rgba(var(--lc), .22);
  will-change: transform, opacity;
}

.hero__layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: start; }
.hero__text { max-width: min(580px, 44vw); }
.hero__text h1 { margin: 0; font-size: clamp(2.2rem, 3.6vw, 3.3rem); line-height: 1.08; } /* menor para "construindo inteligência" caber numa linha */
.h1-light { font-weight: 300; letter-spacing: 0; }
.hero__text .lead { margin: 22px 0 0; max-width: 470px; color: #C9D4DD; font-size: clamp(1rem, 1.2vw, 1.15rem); }
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 32px; }
.hero__actions .btn { min-width: min(330px, 100%); padding: 15px 28px; }
.btn__arrow { font-size: 1.15em; line-height: 1; transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.hero__charttitle { padding-top: clamp(36px, 4.5vw, 72px); }
.hero__kicker { display: block; font-size: .574rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ghost); }
.hero__ctitle { display: block; margin-top: 4px; font-size: clamp(.91rem, 1.4vw, 1.365rem); font-weight: 600; line-height: 1.15; color: #FFFFFF; }
.hero__ctitle .hl { color: inherit; } /* frase inteira em branco */

/* Marcos (posição = coordenada do SVG em %) */
.mk { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; z-index: 2; }
.mk::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 15px; height: 15px; border-radius: 50%; transform: translate(-50%, -50%);
  background: var(--bg); border: 3px solid var(--c);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--c) 18%, transparent), 0 0 26px var(--c);
}
.mk--big::before { width: 18px; height: 18px; }
.mk__lbl {
  position: absolute; left: 0; transform: translateX(-50%);
  width: max-content; max-width: 10em; text-align: center;
  font-size: clamp(.62rem, .72vw, .8rem); font-weight: 700; line-height: 1.2;
  letter-spacing: .08em; text-transform: uppercase; color: var(--c);
}
.mk__lbl b { color: #fff; text-transform: none; letter-spacing: .02em; }
.mk__logo { display: block; height: clamp(13px, 1.05vw, 17px); width: auto; margin: 4px auto 0; }
.mk__lbl::after { content: ""; position: absolute; left: 50%; width: 1px; height: 14px; background: var(--c); opacity: .6; }
.mk--up .mk__lbl { bottom: 22px; }
.mk--up .mk__lbl::after { top: 100%; margin-top: 2px; }
.mk--down .mk__lbl { top: 22px; }
.mk--down .mk__lbl::after { bottom: 100%; margin-bottom: 2px; }
.mk--big .mk__lbl { font-size: clamp(.66rem, .8vw, .88rem); }
.mk--mid .mk__lbl { font-size: clamp(.72rem, .9vw, 1rem); }
.mk--up.mk--mid .mk__lbl { bottom: 34px; }
.mk--up.mk--mid .mk__lbl::after { height: 24px; }
.mk--up.mk--big .mk__lbl { bottom: 28px; }
.mk--hype { --c: var(--hype); }
.mk--shock { --c: #A9CBF2; }
.mk--method { --c: var(--accent); }
.mk--start .mk__lbl { transform: translateX(-12%); }
.mk--start .mk__lbl::after { left: 12%; }

/* Animação de entrada do gráfico */
.js .hero__draw { animation: draw 3s cubic-bezier(.35, .1, .3, 1) .2s both; }
.js .mk::before, .js .mk__lbl { animation: pop .5s var(--ease) var(--d) both; }
.js .mk--method.mk--big::before { animation: pop .5s var(--ease) var(--d) both, pulse 2.4s ease-out 3.4s infinite; }
/* marco acende quando o ponto de laser passa por ele: um anel extra (::after),
   sem mexer no ponto (::before), que fica sempre visível */
.mk::after {
  content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%;
  transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 70%, transparent) 0%, transparent 70%);
  box-shadow: 0 0 30px 8px var(--c);
}
.mk.is-flash::after { animation: mkFlash .9s ease-out; }
@keyframes mkFlash {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); }
  25% { opacity: 1; transform: translate(-50%, -50%) scale(2.2); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(3); }
}
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pop { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(1, 255, 205, .55), 0 0 26px var(--c); }
  100% { box-shadow: 0 0 0 24px rgba(1, 255, 205, 0), 0 0 26px var(--c); }
}

/* ---------- Seções ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--alt { background: var(--bg-2); }
#desafio { padding-top: clamp(16px, 3vw, 40px); padding-bottom: clamp(32px, 4vw, 56px); }

.section__head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section__head p { color: var(--muted); font-size: 1.1rem; }

/* Dores */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain {
  padding: 32px 26px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  transition: border-color .3s, transform .3s var(--ease);
}
.pain:hover { border-color: rgba(1, 255, 205, .4); transform: translateY(-4px); }
.pain__icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px;
  border-radius: 16px; background: var(--accent-dim); border: 1px solid rgba(1, 255, 205, .25);
  transition: background .3s, box-shadow .3s;
}
.pain__icon svg { width: 38px; height: 38px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pain:hover .pain__icon { background: rgba(1, 255, 205, .2); box-shadow: 0 0 24px rgba(1, 255, 205, .25); }
/* Card em destaque (Escala de memória): ligeiramente maior, borda e brilho verdes */
.pains { align-items: center; }
.pain--featured {
  padding: 40px 30px; transform: scale(1.06); z-index: 1;
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(1, 255, 205, .14), transparent 70%), linear-gradient(180deg, #0F2A36, var(--bg-2));
  border-color: rgba(1, 255, 205, .55);
  box-shadow: 0 0 0 1px rgba(1, 255, 205, .18), 0 18px 50px rgba(1, 255, 205, .14), 0 10px 30px rgba(0, 0, 0, .35);
}
.pain--featured:hover { transform: scale(1.06) translateY(-4px); border-color: var(--accent); }
.pain--featured .pain__icon { background: rgba(1, 255, 205, .2); box-shadow: 0 0 24px rgba(1, 255, 205, .3); }
.pain--featured h3 { color: var(--accent); }
.pain--featured p { color: var(--text); font-weight: 600; }
@media (max-width: 760px) { .pain--featured, .pain--featured:hover { transform: none; } }
.pain h3 { text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; }
.pain p { color: var(--muted); margin: 0; font-size: .98rem; }

.statement { margin: clamp(32px, 4vw, 48px) auto 0; max-width: 820px; text-align: center; padding: 0; }
/* destaque invertido: a primeira frase fina e menor, a segunda grossa e maior */
.statement p { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 300; line-height: 1.3; margin-bottom: .5em; color: var(--muted); }
.statement .statement__sub { font-size: clamp(1.5rem, 2.9vw, 2.15rem); font-weight: 700; line-height: 1.22; color: var(--text); margin-bottom: 0; }

/* Perguntas (seção clara, bento) */
.questions-sec {
  --q-ink: #0E3B4A;
  background: linear-gradient(180deg, #FEFEFE 0%, #E4E7EA 25%, #C9CFD5 50%, #B0B8C1 75%, #98A1AA 100%);
  color: #0E3B4A;
}
.questions-sec { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(40px, 5vw, 72px); }
.dot-wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.questions-sec__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.questions-sec__title {
  margin: 0; font-size: clamp(2.4rem, 4.4vw, 4.2rem); font-weight: 300; line-height: 1.04; letter-spacing: -.01em; color: var(--q-ink);
}
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 16px); }
.q-card {
  display: flex; flex-direction: column; gap: clamp(16px, 2.2vw, 36px);
  padding: clamp(20px, 1.8vw, 28px) clamp(22px, 2.4vw, 36px);
  border-radius: 22px; background: linear-gradient(160deg, #10283A, #0A1A28); border: 1px solid rgba(127, 166, 217, .14);
  box-shadow: 0 18px 40px rgba(6, 16, 28, .28), 0 4px 12px rgba(6, 16, 28, .18);
  transition: transform .3s var(--ease), background .3s;
}
.q-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(6, 16, 28, .36), 0 6px 14px rgba(6, 16, 28, .2); border-color: rgba(1, 255, 205, .3); }
.q-card--a { grid-column: span 5; min-height: 190px; }
.q-card--b { grid-column: span 7; min-height: 190px; }
.q-card--c { grid-column: span 6; min-height: 150px; }
.q-card--d { grid-column: span 6; min-height: 150px; }
.q-card--e { grid-column: span 6; min-height: 110px; gap: 12px; }
.q-card--f { grid-column: span 6; min-height: 110px; gap: 12px; }
.q-card.q-card--e p, .q-card.q-card--f p { max-width: none; }
.q-card__tag { font-size: .88rem; font-weight: 600; color: var(--accent); }
/* Card em destaque (Segurança): borda e brilho verdes, leve aumento, texto em negrito */
.q-card--featured {
  z-index: 1; transform: scale(1.03);
  background: radial-gradient(ellipse 80% 70% at 0% 0%, rgba(1, 255, 205, .16), transparent 65%), linear-gradient(160deg, #10303F, #0A1A28);
  border-color: rgba(1, 255, 205, .6);
  box-shadow: 0 0 0 1px rgba(1, 255, 205, .2), 0 22px 50px rgba(1, 255, 205, .16), 0 18px 40px rgba(6, 16, 28, .32);
}
.q-card--featured:hover { transform: scale(1.03) translateY(-4px); border-color: var(--accent); }
.q-card--featured .q-card__tag { font-size: .95rem; }
.q-card.q-card--featured p { color: #FFFFFF; font-weight: 600; font-size: clamp(1.08rem, 1.3vw, 1.25rem); }
@media (max-width: 760px) { .q-card--featured, .q-card--featured:hover { transform: none; } }
.q-card p { margin: 0; font-size: clamp(1rem, 1.15vw, 1.12rem); font-style: italic; line-height: 1.4; color: #E8EEF2; max-width: 26em; }

/* Método */
.method { background: linear-gradient(180deg, #06101C 0%, #052230 55%, #04313F 100%); }
.method__head { max-width: 900px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.method__title { font-size: clamp(2.1rem, 4.6vw, 4rem); font-weight: 300; line-height: 1.1; color: #DCE4EA; margin-bottom: .55em; }
.method__title strong { font-weight: 500; color: var(--accent); }
.method__head p { color: #C9D4DD; font-size: clamp(1rem, 1.25vw, 1.15rem); max-width: 720px; margin: 0 auto; }

.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: clamp(12px, 2vw, 28px); }
.flow__box {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px;
  min-height: clamp(220px, 19vw, 270px); padding: 28px 26px; text-align: center;
  background: #0A1820; border: 1px solid rgba(255, 255, 255, .08); border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.flow__box--start { align-items: flex-start; text-align: left; }
.flow__box--featured { background: #0D1E26; border-color: rgba(255, 255, 255, .22); }
.flow__big { font-size: clamp(1.6rem, 2.3vw, 2.1rem); font-weight: 700; color: #fff; line-height: 1.1; }
.flow__box p { margin: 0; color: #E8EEF2; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.35; max-width: 16em; }
.flow__box--featured p { font-size: clamp(1.05rem, 1.45vw, 1.3rem); max-width: 11em; }
.flow__logo { width: clamp(120px, 11vw, 150px); height: auto; }
/* Setas: linha que se desenha + pulso de luz correndo + ponta */
.flow__arrow { position: relative; align-self: center; width: clamp(28px, 3vw, 52px); height: 12px; }
.flow__line { position: absolute; left: 0; right: 4px; top: 50%; height: 2px; margin-top: -1px; background: var(--accent); transform-origin: left; }
.flow__head {
  position: absolute; right: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
  border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg);
}
.flow__pulse {
  position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px 3px var(--accent); opacity: 0;
}

/* Entrada em sequência: quadro → seta → quadro → seta → quadro (ao aparecer na tela) */
.js .flow__box { opacity: 0; transform: translateY(28px) scale(.96); }
.js .flow__line { transform: scaleX(0); }
.js .flow__head { opacity: 0; }
.flow.is-in .flow__box {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease) calc(var(--i) * .28s), transform .7s var(--ease) calc(var(--i) * .28s), border-color .3s, box-shadow .3s;
}
.flow.is-in .flow__line { transform: scaleX(1); transition: transform .45s var(--ease) calc(var(--i) * .28s + .1s); }
.flow.is-in .flow__head { opacity: 1; transition: opacity .25s calc(var(--i) * .28s + .45s); }
/* Sequência em loop (6 s): quadro 1 brilha → laser na seta 1 → quadro 2 brilha → laser na seta 2 → quadro 3 brilha.
   Cada etapa começa 0,85 s depois da anterior (--i: quadros 0, 2, 4; setas 1, 3). */
.flow.is-in .flow__box { animation: flowGlow 6s ease-in-out calc(2s + var(--i) * .85s) infinite; }
.flow.is-in .flow__pulse { animation: flowPulse 6s linear calc(2s + var(--i) * .85s) infinite; }
@keyframes flowGlow {
  0%, 18%, 100% { box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
  7% { box-shadow: 0 20px 50px rgba(0, 0, 0, .35), 0 0 42px rgba(1, 255, 205, .28), inset 0 0 30px rgba(1, 255, 205, .06); border-color: rgba(1, 255, 205, .7); }
}
@keyframes flowPulse {
  0% { left: 0; opacity: 0; }
  2% { opacity: 1; }
  12% { opacity: 1; }
  14% { left: calc(100% - 10px); opacity: 0; }
  100% { left: calc(100% - 10px); opacity: 0; }
}
.flow__box:hover { transform: translateY(-6px) !important; border-color: rgba(1, 255, 205, .45); transition: transform .3s var(--ease), border-color .3s !important; }
.flow__logo { transition: transform .4s var(--ease); }
.flow__box:hover .flow__logo { transform: scale(1.06) rotate(-2deg); }
.method__cta { display: flex; justify-content: center; margin-top: clamp(36px, 4vw, 52px); }
.btn--outlined-dark { border-color: #06101C; padding: 12px 24px; font-weight: 500; font-size: .95rem; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }

/* Jornada (seção clara com foto + sanfona) */
.journey-sec {
  --acc-w: 600px; position: relative;
  /* foto da reunião: o fundo branco no alto e a cidade à esquerda já fazem parte da imagem; fica fixa, não acompanha a sanfona */
  background: #fff url("../img/jornada-reuniao.jpg") center bottom / max(100%, 1700px) auto no-repeat;
  color: #0E3B4A; padding-top: var(--section-y); }
.journey-sec__head { max-width: 520px; padding-bottom: clamp(28px, 3vw, 40px); }
.journey-sec__head h2 { font-size: clamp(2.2rem, 3.6vw, 3.3rem); font-weight: 300; line-height: 1.18; color: #0E3B4A; margin-bottom: .6em; }
.journey-sec__head p { color: #12303B; font-size: clamp(1rem, 1.15vw, 1.08rem); margin: 0; }

.journey-stage {
  --photo-h: 640px; /* sanfona com o maior item aberto mede ~590px */
  position: relative; padding: 28px 0 0; overflow: hidden;
  min-height: var(--photo-h);
}
.acc {
  position: relative; z-index: 2; max-width: var(--acc-w); border-radius: 26px 26px 0 0;
  background: rgba(236, 242, 244, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.acc__item { border-bottom: 1.5px solid #0E3B4A; transition: background .4s var(--ease); }
.acc__item:last-child { border-bottom: 0; }
.acc__item[open] { background: rgba(255, 255, 255, .5); }
.acc__item:first-child[open] { border-radius: 26px 26px 0 0; }
.acc__item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 60px 20px 40px; font-size: .98rem; color: #12303B;
  transition: background .2s;
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary:hover { background: rgba(255, 255, 255, .4); }
.acc__item summary::after {
  content: ""; position: absolute; right: 32px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid #3B8FA6; border-bottom: 2px solid #3B8FA6;
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease);
}
.acc__item[open]:not(.is-closing) summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc__item.is-closing { background: transparent; }
.acc__body { padding: 8px 48px 40px 80px; overflow: hidden; }
.acc__tag { display: block; font-size: 1.1rem; color: #2B5566; margin-bottom: 14px; }
.acc__body p { margin: 0; color: #3B6A7A; font-size: .98rem; line-height: 1.6; max-width: 34em; }

/* Roadmap */
.roadmap-sec { background: linear-gradient(180deg, #06404F 0%, #2A6E80 55%, #55A2B4 100%); }
.roadmap-sec__head { text-align: center; max-width: 900px; margin: 0 auto clamp(48px, 6vw, 80px); }
.roadmap-sec__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.2; color: #fff; margin-bottom: .55em; }
.roadmap-sec__kicker { display: block; font-weight: 300; }
.roadmap-sec__head p { margin: 0; color: #E3EEF1; font-size: clamp(1rem, 1.3vw, 1.2rem); }

.roadmap { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4.4vw, 64px); }
/* linha da régua ligando os 3 pontos (centro da 1ª à centro da 3ª coluna) */
.roadmap::before {
  content: ""; position: absolute; top: 9px; height: 2px; background: #fff;
  left: calc((100% - 2 * clamp(20px, 4.4vw, 64px)) / 6);
  right: calc((100% - 2 * clamp(20px, 4.4vw, 64px)) / 6);
}
.phase { position: relative; display: flex; flex-direction: column; align-items: center; }
.phase::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: #fff; position: relative; z-index: 1; }
.phase__time { margin: 26px 0 30px; font-size: clamp(1.5rem, 2vw, 1.9rem); font-weight: 300; color: #E8F1F3; }
.phase__card { align-self: stretch; flex: 1; padding: clamp(28px, 3vw, 40px) clamp(22px, 3vw, 44px); background: #053746; }
.phase__card h3 { font-size: clamp(1.3rem, 1.75vw, 1.7rem); font-weight: 400; color: #F2F6F7; margin-bottom: 10px; }
.phase__out { display: block; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 26px; }
.phase__card ul { margin: 0; padding-left: 12px; color: #E3ECEF; font-size: 1rem; line-height: 1.45; }

/* Linha do tempo animada: a linha se desenha; ao alcançar cada bolinha, ela acende,
   o rótulo aparece e a caixa correspondente se abre de cima para baixo */
.js .roadmap::before { transform: scaleX(0); transform-origin: left; }
.js .phase::before { transform: scale(0); }
.js .phase__time { opacity: 0; transform: translateY(-8px); }
.js .phase__card { clip-path: inset(-60px -60px 100% -60px); opacity: 0; }
.roadmap.is-in::before { transform: none; transition: transform 2.4s linear .2s; }
.roadmap.is-in .phase::before {
  transform: none; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6);
  transition: transform .45s cubic-bezier(.3, 1.6, .5, 1) calc(.2s + var(--i) * 1.2s);
  animation: phaseDot 1.2s ease-out calc(.2s + var(--i) * 1.2s);
}
.roadmap.is-in .phase__time { opacity: 1; transform: none; transition: opacity .5s calc(.4s + var(--i) * 1.2s), transform .5s var(--ease) calc(.4s + var(--i) * 1.2s); }
.roadmap.is-in .phase__card {
  clip-path: inset(-60px -60px -60px -60px); opacity: 1; /* margem negativa: o recorte não corta o brilho da caixa */
  transition: clip-path .9s var(--ease) calc(.6s + var(--i) * 1.2s), opacity .4s calc(.6s + var(--i) * 1.2s);
}
/* Ponto de laser correndo pela linha do tempo (depois que ela termina de se desenhar) */
.roadmap__laser {
  --start: calc((100% - 2 * clamp(20px, 4.4vw, 64px)) / 6);
  position: absolute; z-index: 2; top: 10px; left: var(--start); width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: #fff; opacity: 0; pointer-events: none;
  box-shadow: 0 0 6px 2px var(--accent), 0 0 16px 6px rgba(1, 255, 205, .55), 0 0 32px 12px rgba(1, 255, 205, .2);
}
.roadmap.is-in .roadmap__laser { animation: roadLaser 7s linear 4.2s infinite; }
/* percurso linear: passa por 3 meses em 0%, 6 meses em 30% e 12 meses em 60% do ciclo */
@keyframes roadLaser {
  0% { left: var(--start); opacity: 0; }
  3% { opacity: 1; }
  57% { opacity: 1; }
  60% { left: calc(100% - var(--start)); opacity: 0; }
  100% { left: calc(100% - var(--start)); opacity: 0; }
}
/* a caixa acende quando o laser passa pela bolinha dela (mesmo ciclo de 7 s, defasado 2,1 s por caixa) */
.roadmap.is-in .phase__card { animation: phaseCardGlow 7s ease-out calc(4.2s + var(--i) * 2.1s) infinite; }
@keyframes phaseCardGlow {
  0%, 22%, 100% { box-shadow: 0 0 0 1px rgba(1, 255, 205, 0), 0 0 0 rgba(1, 255, 205, 0); }
  4% { box-shadow: 0 0 0 1.5px rgba(1, 255, 205, .85), 0 0 40px 4px rgba(1, 255, 205, .45); }
}
@keyframes phaseDot {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
  100% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
}

/* Comece a reconstruir (pilares) */
.rebuild { background: linear-gradient(180deg, #071621 0%, #0B2B3A 50%, #135A6E 100%); position: relative; overflow: hidden; isolation: isolate; }
.rebuild .container { position: relative; }
.dot-wave--dark { opacity: .55; }
.rebuild__head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 84px); }
.rebuild__head h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); font-weight: 300; line-height: 1.08; color: #E8EEF2; margin-bottom: .45em; }
.rebuild__head p { margin: 0; color: #DCE5EA; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.5; }

.pillar-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 36px); }
.pillar {
  position: relative; display: flex; flex-direction: column;
  min-height: clamp(300px, 24vw, 346px); padding: 28px 28px 26px;
  background: linear-gradient(160deg, #0F2430, #0A1A24); border: 1px solid rgba(255, 255, 255, .08);
  transition: border-color .3s, transform .3s var(--ease);
}
.pillar:hover, .pillar--active { border-color: rgba(1, 255, 205, .45); }
.pillar:hover { transform: translateY(-4px); }
.pillar + .pillar::before {
  content: "→"; position: absolute; left: calc(-1 * clamp(16px, 2.4vw, 36px) / 2); top: 50%;
  transform: translate(-50%, -50%); color: rgba(255, 255, 255, .25); font-size: .8rem;
}
.pillar__icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .02);
}
.pillar__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pillar__num { position: absolute; top: 24px; right: 22px; font: 400 .72rem/1 ui-monospace, Consolas, monospace; color: #8FA2AE; }
.pillar h3 { margin: clamp(48px, 6vw, 84px) 0 14px; font-size: clamp(1.3rem, 1.6vw, 1.55rem); font-weight: 500; color: #fff; }
.pillar p { flex: 1; margin: 0 0 28px; color: #B9C7D0; font-size: .95rem; line-height: 1.6; }
.pillar__tag { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #8FA2AE; }
/* Entrada dos cartões em sequência (sobem e acendem) */
.js .pillar { opacity: 0; transform: translateY(40px); }
.pillar-row.is-in .pillar {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease) calc(var(--i) * .18s), transform .8s var(--ease) calc(var(--i) * .18s), border-color .5s, box-shadow .5s, background .5s;
}
.pillar-row.is-in .pillar:hover { transform: translateY(-6px); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
/* Destaque que percorre os cartões */
.pillar--active { box-shadow: 0 0 0 1px rgba(1, 255, 205, .25), 0 20px 50px rgba(1, 255, 205, .08); }
.pillar__icon { transition: border-color .5s, background .5s, box-shadow .5s; }
.pillar--active .pillar__icon { border-color: rgba(1, 255, 205, .6); background: rgba(1, 255, 205, .1); box-shadow: 0 0 22px rgba(1, 255, 205, .3); }
.pillar__num, .pillar__tag { transition: color .5s; }
.pillar--active .pillar__num, .pillar--active .pillar__tag { color: var(--accent); }
.pillar + .pillar::before { transition: color .5s, text-shadow .5s; }
.pillar--active + .pillar::before { color: var(--accent); text-shadow: 0 0 8px var(--accent); }
.rebuild__cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 56px); }

/* Depoimentos */
.h2-light, .fw-light { font-weight: 300; }
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial {
  margin: 0; padding: clamp(26px, 3vw, 38px); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #10283A, #0A1A28); border: 1px solid rgba(127, 166, 217, .16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  display: flex; flex-direction: column; gap: 26px;
}
.testimonial__head { display: flex; align-items: center; gap: 22px; }
.testimonial__logo {
  flex-shrink: 0; display: grid; place-items: center;
  width: 150px; height: 84px; padding: 0; /* logos do cliente em verde, sem fundo */
}
.testimonial__logo img { max-width: 150px; max-height: 84px; width: auto; height: auto; object-fit: contain; }
.testimonial__who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.testimonial__who strong { font-size: 1.35rem; font-weight: 600; color: #fff; }
.testimonial__org { color: var(--accent); font-size: .95rem; font-weight: 500; }
.testimonial__role { color: var(--muted); font-size: .85rem; }
.testimonial blockquote { flex: 1; margin: 0; font-size: clamp(1.05rem, 1.3vw, 1.2rem); font-style: italic; line-height: 1.55; color: #DCE5EA; }
/* 5 estrelas sólidas, como no modelo (claras, para ler sobre o card escuro) */
.testimonial__stars { display: flex; justify-content: center; gap: 4px; }
.testimonial__stars svg { width: 26px; height: 26px; fill: #E8EEF2; }

/* E-book */
.ebook { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.ebook__cover { display: flex; justify-content: center; perspective: 1200px; }
.ebook__cover img { width: min(620px, 100%); height: auto; }
.ebook__subtitle { font-size: 1.2rem; color: var(--accent); font-weight: 500; }
/* E-book comercial: luz atrás da capa, gancho forte, benefícios e CTA destacado */
.ebook-sec { position: relative; overflow: hidden; background:
  radial-gradient(ellipse 45% 60% at 28% 50%, rgba(1, 255, 205, .10), transparent 70%),
  radial-gradient(ellipse 40% 50% at 80% 30%, rgba(18, 92, 110, .35), transparent 70%), var(--bg-2); }
.ebook__cover { position: relative; }
.ebook__glow { position: absolute; inset: 12% 14%; border-radius: 50%; background: radial-gradient(circle, rgba(1, 255, 205, .35), transparent 65%); filter: blur(40px); z-index: 0; }
.ebook__stack { position: relative; z-index: 1; width: min(620px, 100%); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); }
.ebook__stack img { display: block; height: auto; }
.ebook__stack .ebook__back { width: 100%; }
/* livro da frente: mesma posição/escala do original (x 136 e y 92 de 535 x 639) */
.ebook__stack .ebook__front { position: absolute; left: 25.42%; top: 14.4%; width: 74.58%; animation: ebookFloat 6s ease-in-out infinite; }
@keyframes ebookFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.ebook__badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--accent-dim); border: 1px solid rgba(1, 255, 205, .4); color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ebook__title { margin: 18px 0 14px; font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.ebook__title .hl { color: var(--accent); }
.ebook__text .ebook__lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--text); line-height: 1.5; margin-bottom: 24px; max-width: 34em; }
.ebook__list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.ebook__list li { position: relative; padding-left: 34px; color: var(--muted); font-size: 1.02rem; line-height: 1.5; }
.ebook__list li strong { color: var(--text); }
.ebook__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-dim); border: 1px solid rgba(1, 255, 205, .5); }
.ebook__list li::after { content: ""; position: absolute; left: 8px; top: 7px; width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ebook__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.btn--lg { padding: 18px 30px; font-size: 1.05rem; box-shadow: 0 12px 34px rgba(1, 255, 205, .28); }
.btn--lg:hover { box-shadow: 0 16px 44px rgba(1, 255, 205, .4); }
@media (prefers-reduced-motion: reduce) { .ebook__stack .ebook__front { animation: none; } }

/* Cérebro TechAI (iframe com o grafo) */
.cerebro-sec { background: #04313F; padding-top: 0; padding-bottom: 0; }
.cerebro-frame { width: 100%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cerebro-frame iframe { display: block; width: 100%; height: min(860px, 92vh); min-height: 640px; border: 0; }

/* FAQ: título grande num painel à esquerda, respostas abertas à direita */
.faq-split { display: grid; grid-template-columns: 1fr 1fr; background: #fff; color: var(--petrol); }
.faq-split__aside {
  background: #E9EEEC;
  padding: var(--section-y) clamp(32px, 5vw, 96px);
  display: flex; justify-content: flex-end; align-items: flex-start;
}
.faq-split__title {
  width: 100%; max-width: 380px; margin: 0;
  font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 300; line-height: 1.05; letter-spacing: .01em;
}
.faq-split__list { max-width: 680px; padding: var(--section-y) var(--gutter) var(--section-y) clamp(24px, 2.5vw, 40px); }
.faq__item { padding: 32px 0 44px; border-bottom: 1px solid #D9E0E3; }
.faq__item:first-child { padding-top: 12px; }
.faq__item:last-child { border-bottom: 0; padding-bottom: 0; }
.faq__item h3 { margin: 0 0 16px; font-size: 1.12rem; font-weight: 500; letter-spacing: 0; color: #0B1F2A; }
.faq__item p { margin: 0; color: #4A5B66; font-size: .95rem; line-height: 1.7; }
@media (max-width: 960px) {
  .faq-split { grid-template-columns: 1fr; }
  .faq-split__aside { justify-content: flex-start; padding: 56px var(--gutter); }
  .faq-split__title { max-width: none; font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .faq-split__list { max-width: none; padding: 40px var(--gutter) 64px; }
}

/* Contato */
.contact { background: radial-gradient(ellipse at 100% 0%, rgba(1, 58, 73, .6), transparent 55%), var(--bg-2); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact__text > p { color: var(--muted); font-size: 1.1rem; }
.contact__list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 18px; }
.contact__list li { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.contact__list a { color: var(--text); transition: color .2s; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--accent); }
.contact__icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-dim); }
.contact__icon svg { width: 20px; height: 20px; fill: var(--accent); }

.form { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--line); display: grid; gap: 16px; }
.form h3 { font-size: 1.35rem; margin-bottom: 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: .88rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
  font: 400 1rem var(--font);
  transition: border-color .2s, box-shadow .2s;
}
/* texto digitado em verde; preenchimento automático do navegador sem o fundo claro dele */
.field input, .field select, .field textarea { color: var(--accent); caret-color: var(--accent); }
.field select:has(option[value=""]:checked) { color: var(--text); } /* "Selecione": cor normal até escolher */
.field input:-webkit-autofill, .field input:-webkit-autofill:hover, .field input:-webkit-autofill:focus,
.field textarea:-webkit-autofill, .field select:-webkit-autofill {
  -webkit-text-fill-color: var(--accent); caret-color: var(--accent);
  -webkit-box-shadow: 0 0 0 1000px var(--bg-2) inset; box-shadow: 0 0 0 1000px var(--bg-2) inset;
  transition: background-color 9999s ease-out 0s;
}
.field input:autofill { background: var(--bg-2); }
.field input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px var(--bg-2) inset, 0 0 0 3px var(--accent-dim); box-shadow: 0 0 0 1000px var(--bg-2) inset, 0 0 0 3px var(--accent-dim); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--bg-2); }
/* Lista aberta do select nas cores do site (no lugar do azul do sistema).
   Navegadores com select customizável (Chrome/Edge 135+); nos demais fica a lista nativa. */
@supports (appearance: base-select) {
  .field select, .field select::picker(select) { appearance: base-select; }
  .field select { display: flex; align-items: center; }
  .field select::picker-icon { display: none; }
  .field select::picker(select) {
    margin-top: 6px; padding: 6px; border-radius: 12px;
    background: var(--bg-2); border: 1px solid rgba(1, 255, 205, .35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  }
  .field select option {
    padding: 10px 12px; border-radius: 8px; color: var(--text); cursor: pointer;
    transition: background .15s, color .15s;
  }
  .field select option::checkmark { display: none; }
  .field select option:hover, .field select option:focus-visible { background: var(--accent-dim); color: var(--accent); outline: none; }
  .field select option:checked { background: var(--accent); color: var(--bg); font-weight: 600; }
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); outline: none; }
.field.is-invalid input { border-color: #ff6b6b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin: 0; font-size: .95rem; min-height: 1.4em; }
.form__status.is-ok { color: var(--accent); }
.form__status.is-error { color: #ff8a8a; }

/* Footer */
.footer { padding: 64px 0 28px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 40px; align-items: start; }
.footer__brand p { color: var(--muted); font-size: .92rem; margin-top: 14px; }
.footer__ti-link { display: inline-block; margin-top: 18px; }
.footer__partners { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 18px; }
.footer__brand .footer__partners-text { margin: 0; font-size: .85rem; line-height: 1.4; }
.footer__partner { display: block; height: auto; opacity: .85; }
.footer__partner--openai { width: 96px; }
.footer__partner--domo { width: 78px; }
.footer__brand .footer__ti-logo { display: block; width: 92px; height: auto; opacity: .85; transition: opacity .2s; }
.footer__ti-link:hover .footer__ti-logo { opacity: 1; }
.footer__brand .footer__address { margin-top: 12px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer__nav a { color: var(--muted); font-size: .95rem; }
.footer__nav a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.footer__social a:hover { border-color: var(--accent); background: var(--accent-dim); }
.footer__social svg { width: 18px; height: 18px; fill: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* Linha de "laser" no topo de todos os quadros do site */
.pain, .q-card, .flow__box, .phase__card, .pillar, .testimonial, .form { position: relative; }
.pain::after, .q-card::after, .flow__box::after, .phase__card::after, .pillar::after, .testimonial::after, .form::after {
  content: ""; position: absolute; top: -1px; left: 8%; right: 8%; height: 1px; pointer-events: none;
  /* afina nas pontas: opacidade sobe devagar até o centro e desce igual (sem cortes) */
  background: linear-gradient(90deg,
    rgba(1, 255, 205, 0) 0%, rgba(1, 255, 205, .04) 12%, rgba(1, 255, 205, .15) 24%,
    rgba(1, 255, 205, .45) 36%, rgba(1, 255, 205, .9) 50%,
    rgba(1, 255, 205, .45) 64%, rgba(1, 255, 205, .15) 76%, rgba(1, 255, 205, .04) 88%, rgba(1, 255, 205, 0) 100%);
  /* o brilho segue a forma da linha, então também afina nas pontas */
  filter: drop-shadow(0 0 3px rgba(1, 255, 205, .9)) drop-shadow(0 0 8px rgba(1, 255, 205, .45));
}
/* Pop-up (e-book) */
.modal {
  padding: 0; border: 0; background: transparent; color: var(--text);
  width: min(460px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: visible;
}
.modal::backdrop { background: rgba(3, 9, 16, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .45s var(--ease); }
.modal[open]::backdrop { animation: fadeIn .35s ease; }
.modal.is-closing { animation: modalOut .3s ease forwards; }
.modal.is-closing::backdrop { animation: fadeOut .3s ease forwards; }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes modalOut { to { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
.modal__box {
  position: relative; padding: clamp(28px, 4vw, 40px); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #10283A, #0A1A28); border: 1px solid rgba(127, 166, 217, .18);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .55);
}
.modal__box::after {
  content: ""; position: absolute; top: -1px; left: 8%; right: 8%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(1,255,205,0), rgba(1,255,205,.15) 24%, rgba(1,255,205,.9) 50%, rgba(1,255,205,.15) 76%, rgba(1,255,205,0));
  filter: drop-shadow(0 0 3px rgba(1, 255, 205, .9));
}
.modal h3 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 300; margin: 0 0 6px; }
.modal__lead { color: var(--muted); margin: 0 0 22px; }
.modal__form { display: grid; gap: 14px; }
.modal__form .form__status:empty { display: none; }
.modal__step { animation: fadeIn .35s ease; }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: transparent; border: 1px solid var(--line); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.modal__close:hover { border-color: var(--accent); background: var(--accent-dim); }
.modal__close svg { width: 16px; height: 16px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; }
.modal__check { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 50%; background: var(--accent-dim); border: 1px solid rgba(1, 255, 205, .5); }
.modal__check svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .modal[open], .modal.is-closing, .modal__step { animation: none; } }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
/* Entradas dos cartões das perguntas (esquerda / direita / de baixo), em sequência */
.reveal--left, .reveal--right, .reveal--up { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal--left { transform: translateX(-70px); }
.reveal--right { transform: translateX(70px); }
.reveal--up { transform: translateY(70px); }
.q-card--a { transition-delay: 0s; }
.q-card--b { transition-delay: .12s; }
.q-card--c { transition-delay: .24s; }
.q-card--d { transition-delay: .36s; }
.q-card--e { transition-delay: .48s; }
.q-card--f { transition-delay: .6s; }
.q-card.is-visible:hover { transform: translateY(-4px); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }

@media (prefers-reduced-motion: reduce) {
  .roadmap__laser { display: none; }
  .roadmap.is-in .phase__card { animation: none; }
  .js .pillar { opacity: 1 !important; transform: none !important; }
  .js .roadmap::before, .js .phase::before, .js .phase__time { transform: none !important; opacity: 1 !important; }
  .js .phase__card { clip-path: none !important; opacity: 1 !important; }
  .js .flow__box, .js .flow__line, .js .flow__head { opacity: 1; transform: none; }
  .flow.is-in .flow__pulse, .flow.is-in .flow__box { animation: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero__draw, .js .mk::before, .js .mk__lbl, .js .mk--method.mk--big::before { animation: none; }
  .laser { display: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .br-desk { display: none; }
  .hero { display: flex; flex-direction: column; min-height: 0; padding-bottom: 24px; }
  .hero__layout { order: 1; grid-template-columns: 1fr; gap: 40px; }
  .hero__text { max-width: 640px; }
  .hero__text h1 { font-size: clamp(2rem, 6.4vw, 3.3rem); }
  .hero__charttitle { padding-top: 0; }
  /* gráfico vira bloco abaixo do texto, recortado na parte principal (x 700→2000) */
  .hero__chart { order: 2; position: relative; inset: auto; height: clamp(400px, 88vw, 620px); width: 153.85%; margin-left: -53.85%; margin-top: clamp(-150px, -22vw, -90px); }
  .hero__chart::after { background: linear-gradient(0deg, var(--bg) 0%, transparent 14%); }
  .pains { grid-template-columns: repeat(2, 1fr); }
  .questions-sec__inner { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 24px;
    background: rgba(6, 16, 28, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__cta { margin-top: 18px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header.menu-open { background: rgba(6, 16, 28, .97); }

  .ebook, .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .flow { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .flow__arrow { transform: rotate(90deg); justify-self: center; margin: 6px 0; }
  .flow__box { min-height: 0; padding: 32px 24px; }
  .flow__box--start { align-items: center; text-align: center; }
  .roadmap { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 40px; }
  .roadmap::before { left: 9px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .js .roadmap::before { transform: scaleY(0); transform-origin: top; }
  .roadmap__laser { display: none; }
  .roadmap.is-in .phase__card { animation: none; }
  .phase { align-items: flex-start; padding-left: 40px; }
  .phase::before { position: absolute; left: 0; top: 0; }
  .phase__time { margin: -6px 0 14px; }
  .testimonials { grid-template-columns: 1fr; }
  .testimonial__head { flex-wrap: wrap; }
  .pillar-row { grid-template-columns: repeat(2, 1fr); }
  .pillar + .pillar::before { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-top: 100px; }
  .hero__actions .btn { width: 100%; }
  .pains { grid-template-columns: 1fr; }
  .q-card--a, .q-card--b, .q-card--c, .q-card--d, .q-card--e, .q-card--f { grid-column: span 12; min-height: 0; }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions { align-items: stretch; }
  .journey-sec { background-size: auto 62%; background-position: 72% bottom; }
  .acc { background: rgba(236, 242, 244, .88); }
  .acc__item summary { padding: 18px 48px 18px 18px; }
  .acc__item summary::after { right: 22px; }
  .acc__body { padding: 4px 22px 28px 18px; }
  .mk::before { width: 12px; height: 12px; border-width: 2px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent), 0 0 14px var(--c); }
  .mk--big::before { width: 14px; height: 14px; }
  .mk__lbl { max-width: 7.5em; letter-spacing: .05em; }
  .mk--up .mk__lbl { bottom: 14px; }
  .mk--up.mk--big .mk__lbl { bottom: 16px; }
  .mk--down .mk__lbl { top: 14px; }
  .mk__lbl::after { height: 8px; }
  .mk__logo { height: 10px; margin-top: 3px; }
  .mk--up.mk--mid .mk__lbl { bottom: 22px; }
  .mk--up.mk--mid .mk__lbl::after { height: 14px; }
  .pillar-row { grid-template-columns: 1fr; }
  .pillar { min-height: 0; }
  .footer__bottom { flex-direction: column; }
}

/* Roadmap: "escalabilidade que fica" em verde e fonte grossa */
.roadmap-sec__hl { color: var(--accent); font-weight: 700; }
/* "MENTE" em células: cada letra numa caixinha com contorno fino, sem preenchimento (mesmo desenho do grafo) */
.pillar__tag:has(.mente-cells) { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.mente-cells { display: inline-flex; gap: 3px; vertical-align: middle; }
.mente-cells span { width: 18px; height: 18px; display: inline-grid; place-items: center; border: 1px solid currentColor; border-radius: 5px; font-size: .68rem; font-weight: 700; letter-spacing: 0; line-height: 1; }
/* Rodapé: endereço ao lado do logo da Tech.Intelligence, separado por linha fina */
.footer__ti-row { display: flex; align-items: center; gap: 20px; margin-top: 18px; }
.footer__ti-row .footer__ti-link { margin-top: 0; flex-shrink: 0; }
.footer__brand .footer__ti-row .footer__address { margin: 0; padding-left: 20px; border-left: 1px solid var(--line); line-height: 1.5; }
/* Rodapé: logo da Tech.Intelligence mais afastado do texto; parceiros à direita */
.footer__brand .footer__ti-row { margin-top: 30px; }
.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 28px; }
.footer__right .footer__partners { margin-top: 0; justify-content: flex-end; }
@media (max-width: 960px) { .footer__right { align-items: flex-start; } .footer__right .footer__partners { justify-content: flex-start; } }
.footer__right .footer__partners-text { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.4; }
/* Linha de marcas do rodapé (abaixo do menu): Tech.Intelligence à esquerda, parceiros à direita, mesma altura */
.footer__brands { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; margin-top: 36px; }
.footer__brands .footer__ti-row { margin-top: 0; }
.footer__brands .footer__address { margin: 0; padding-left: 20px; border-left: 1px solid var(--line); line-height: 1.5; color: var(--muted); font-size: .92rem; }
.footer__brands .footer__partners { margin-top: 0; display: flex; align-items: center; gap: 22px; }
.footer__partners-sep { align-self: stretch; width: 1px; background: rgba(255, 255, 255, .55); }
.footer__domo { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer__domo .footer__partners-text { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.3; }
/* Rodapé sem o menu: marca à esquerda, redes sociais à direita */
.footer__inner { grid-template-columns: 1fr auto; }
@media (max-width: 960px) { .footer__inner { grid-template-columns: 1fr; } }
.footer__brands .footer__ti-logo { display: block; width: 92px; height: auto; opacity: .85; transition: opacity .2s; }
.footer__brands .footer__ti-link { flex-shrink: 0; }
.footer__brands .footer__ti-row { display: flex; align-items: center; gap: 20px; }

/* Cards das perguntas viram ao clique e mostram a resposta.
   Os dois lados ficam empilhados na mesma célula: o card tem sempre a altura do lado maior e não pula ao virar. */
.q-card { cursor: pointer; display: grid; }
.q-card__face { grid-area: 1 / 1; display: flex; flex-direction: column; gap: inherit; transition: opacity .2s; }
.q-card__back { visibility: hidden; opacity: 0; justify-content: center; }
.q-card.is-flipped .q-card__front { visibility: hidden; opacity: 0; }
.q-card.is-flipped .q-card__back { visibility: visible; opacity: 1; }
.q-card .q-card__back p { font-style: normal; font-weight: 400; font-size: clamp(.95rem, 1.05vw, 1.04rem); line-height: 1.5; color: #E8EEF2; max-width: none; }
.q-card.is-flipped { border-color: rgba(1, 255, 205, .45); }
.q-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* ícone de virar, no canto */
.q-card__flip { position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .45; transition: opacity .2s, transform .4s var(--ease); pointer-events: none; }
.q-card:hover .q-card__flip { opacity: .9; transform: rotate(180deg); }

/* Jornada: trilha que se desenha. Painel de vidro no lugar da sanfona; a linha em zigue-zague
   avança com a rolagem e acende cada etapa (número em destaque, texto ganha cor). */
.trail {
  position: relative; z-index: 2; max-width: 640px; border-radius: 26px 26px 0 0;
  /* vidro: claro e translúcido, desfoca a foto atrás, borda e brilho finos no topo */
  background: linear-gradient(160deg, rgba(255, 255, 255, .5), rgba(236, 244, 246, .28));
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .65); border-bottom: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 24px 60px rgba(14, 59, 74, .14);
  padding: 44px 40px 52px 24px;
}
.trail__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trail__base { fill: none; stroke: rgba(14, 59, 74, .22); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 7; }
.trail__line { fill: none; stroke: url(#trail-grad); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(1, 200, 170, .55)); }
.trail__tip { fill: #01FFCD; filter: drop-shadow(0 0 6px #01FFCD) drop-shadow(0 0 12px rgba(1, 255, 205, .7)); transition: opacity .3s; }
.trail__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; }
.trail__step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; }
.trail__dot {
  justify-self: center; position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; font-size: .9rem; color: #3B6A7A;
  background: #F4F8F9; border: 1.5px solid rgba(14, 59, 74, .25);
  transition: background .45s, color .45s, border-color .45s, box-shadow .45s, transform .45s var(--ease);
}
.trail__step.is-on .trail__dot {
  background: #06303D; color: #01FFCD; border-color: #01FFCD; transform: scale(1.08);
  box-shadow: 0 0 0 6px rgba(1, 255, 205, .14), 0 0 22px rgba(1, 255, 205, .45);
}
.trail__card { padding-top: 2px; opacity: .38; transform: translateX(10px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.trail__step.is-on .trail__card { opacity: 1; transform: none; }
.trail__tag { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #138A7A; }
.trail__card h3 { margin: 4px 0 8px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); font-weight: 600; line-height: 1.3; color: #0E3B4A; }
.trail__card p { margin: 0; color: #3B6A7A; font-size: .96rem; line-height: 1.6; max-width: 34em; }
.no-js .trail__step .trail__card { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .trail__card, .trail__dot { transition: none; } }
@media (max-width: 760px) {
  .trail { padding: 30px 18px 36px 6px; background: linear-gradient(160deg, rgba(255, 255, 255, .62), rgba(236, 244, 246, .42)); }
  .trail__step { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .trail__dot { width: 38px; height: 38px; font-size: .82rem; }
  .trail__list { gap: 30px; }
}

/* Comece a reconstruir: em telas onde a seção cabe inteira, ela fica presa enquanto a rolagem
   abre os cartões um a um (só ícone e título fechados). Depois do 4º, a página segue normal. */
.rebuild__pin { position: relative; isolation: isolate; }
.pillar__more { flex: 1; display: flex; flex-direction: column; }
.section.rebuild.pin-mode { padding-top: 0; padding-bottom: 0; overflow: clip; height: calc(100vh + 460px); } /* ~1 giro da rodinha por cartão */
.rebuild.pin-mode .rebuild__pin {
  position: sticky; top: 0; height: 100vh; box-sizing: border-box; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-start; padding: calc(var(--hdr-h, 77px) + 2.5vh) 0 20px;
}
.pin-mode .pillar { min-height: 0; }
/* versão compacta enquanto presa: cabe numa tela só */
.pin-mode .rebuild__head { margin-bottom: clamp(22px, 3.2vh, 40px); max-width: 860px; }
.pin-mode .rebuild__head h2 { font-size: clamp(2.1rem, 3.4vw, 3.3rem); }
.pin-mode .pillar p { margin-bottom: 18px; }
.pin-mode .pillar__tag { padding-top: 16px; }
.pin-mode .rebuild__cta { margin-top: clamp(18px, 2.6vh, 32px); }
/* medição: abre tudo sem animação para saber se cabe */
.pin-measure .pillar__more { max-height: none !important; opacity: 1 !important; transition: none !important; }
.pin-mode .pillar h3 { margin-top: clamp(36px, 4.5vw, 60px); }
.pin-mode .pillar__more { max-height: 0; opacity: 0; overflow: hidden; transform: translateY(8px);
  transition: max-height .7s var(--ease), opacity .5s var(--ease) .1s, transform .6s var(--ease) .1s; }
.pin-mode .pillar.is-open .pillar__more { max-height: 340px; opacity: 1; transform: none; }
.pin-mode .pillar.is-open { animation: pillarOpen .6s var(--ease); }
@keyframes pillarOpen { 40% { box-shadow: 0 0 0 1.5px rgba(1, 255, 205, .8), 0 0 40px rgba(1, 255, 205, .35); } }
/* fechado e preso: o cartão é clicável (clicar abre tudo e solta a rolagem) */
.pin-mode .pillar:not(.is-open) { cursor: pointer; }

/* Depoimentos: cada cartão surge em fade-in suave quando entra bem na tela (o 2º um pouco depois) */
.js .fade-in { opacity: 0; transform: scale(.98); filter: blur(4px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); }
.js .fade-in.is-visible { opacity: 1; transform: none; filter: none; }
.js .testimonials .fade-in:nth-child(2) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .js .fade-in { opacity: 1; transform: none; filter: none; transition: none; } }

/* Perguntas diretas como água: um fio liga as perguntas, uma gota desce por ele e, ao passar
   por cada marcador, abre ondas; divisores se desenham ao aparecer; ondas suaves atrás do título. */
.faq-split__aside { position: relative; overflow: hidden; }
.faq-split__title { position: relative; z-index: 1; }
.faq-ripples { position: absolute; left: 62%; top: 70%; width: 0; height: 0; pointer-events: none; }
.faq-ripples i {
  position: absolute; left: -260px; top: -260px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(14, 59, 74, .16); opacity: 0; animation: faqPond 12s ease-out 1 forwards;
}
.faq-ripples i:nth-child(2) { animation-delay: 4s; }
.faq-ripples i:nth-child(3) { animation-delay: 8s; }
@keyframes faqPond { 0% { transform: scale(.08); opacity: 0; } 8% { opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.faq-split__list { position: relative; }
.faq-stream {
  position: absolute; left: calc(clamp(24px, 2.5vw, 40px) + 6px); width: 1px; top: 0; height: 0;
  background: linear-gradient(180deg, rgba(31, 199, 182, .7), rgba(31, 199, 182, .18));
  transform-origin: top; transform: scaleY(0); transition: transform 1.8s var(--ease);
}
.faq-split.is-in .faq-stream { transform: none; }
.faq-drop {
  position: absolute; left: -3px; top: 0; width: 7px; height: 11px; margin-top: -11px; opacity: 0;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 40% 70%, #B5FFF2, #1FC7B6 70%);
  box-shadow: 0 0 10px rgba(31, 199, 182, .7);
}
.faq-split.is-drip .faq-drop { animation: faqDrip var(--drip, 8s) linear 1 forwards; }
@keyframes faqDrip { 0% { top: 0; opacity: 0; } 3% { opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.faq__item { position: relative; padding-left: 44px; border-bottom: 0; transition: transform .35s var(--ease); }
.faq__item::after {
  content: ""; position: absolute; left: 44px; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(31, 199, 182, .55), #D9E0E3 45%);
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .25s;
}
.faq__item.is-visible::after { transform: none; }
.faq__item:last-child::after { display: none; }
.faq__item h3 { position: relative; transition: color .3s; }
.faq__item:hover h3 { color: #0E6F66; }
.faq__dot {
  position: absolute; left: -44px; top: .32em; width: 13px; height: 13px; box-sizing: border-box; border-radius: 50%;
  border: 2px solid #1FC7B6; background: #fff; box-shadow: 0 0 0 4px rgba(31, 199, 182, .1);
}
.faq__dot::before, .faq__dot::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1.5px solid #1FC7B6; opacity: 0; pointer-events: none;
}
/* a gota passa pelo marcador: ele pisca e solta duas ondas (uma descida só) */
.faq-split.is-drip .faq__dot { animation: faqHit var(--drip, 8s) linear 1 forwards; animation-delay: var(--hit, 0s); }
.faq-split.is-drip .faq__dot::before { animation: faqRing var(--drip, 8s) linear 1 forwards; animation-delay: var(--hit, 0s); }
.faq-split.is-drip .faq__dot::after { animation: faqRing var(--drip, 8s) linear 1 forwards; animation-delay: calc(var(--hit, 0s) + .35s); }
@keyframes faqHit {
  0% { background: #1FC7B6; transform: scale(1.35); }
  6% { background: #fff; transform: scale(1); }
  100% { background: #fff; transform: scale(1); }
}
@keyframes faqRing {
  0% { transform: scale(1); opacity: .8; }
  16% { transform: scale(3.6); opacity: 0; }
  100% { transform: scale(3.6); opacity: 0; }
}
.faq__item:hover .faq__dot { box-shadow: 0 0 0 5px rgba(31, 199, 182, .18), 0 0 14px rgba(31, 199, 182, .45); }
@media (prefers-reduced-motion: reduce) {
  .faq-ripples i, .faq-split.is-drip .faq-drop, .faq-split.is-drip .faq__dot,
  .faq-split.is-drip .faq__dot::before, .faq-split.is-drip .faq__dot::after { animation: none; }
  .faq-stream, .faq__item::after { transition: none; }
}

/* Jornada: faixa de cor no alto da seção que nasce no azul do grafo e clareia com a rolagem
   (cores calculadas no script); o título acompanha, claro sobre o azul e escuro sobre o claro. */
.journey-sky {
  position: absolute; left: 0; right: 0; top: 0; height: var(--sky-h, 900px); z-index: 0; pointer-events: none;
  /* o topo é sempre a cor do grafo (sem emenda); a faixa escura encolhe com a rolagem (--d) e o degradê
     segue petróleo e verde-água até ficar transparente antes das pessoas da foto (altura calculada no script) */
  background: linear-gradient(180deg, #0B1020 0%, #0B1020 var(--d, 30%), #0C1830 calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.08), #0D2643 calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.16), #0F3B58 calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.26), #125A6F calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.37), #177F87 calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.49), #25A19F calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.61), rgba(78, 191, 184, .9) calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.74), rgba(141, 219, 211, .7) calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.85), rgba(201, 239, 234, .35) calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.93), rgba(242, 251, 249, 0) 100%);
  background: linear-gradient(in oklab 180deg, #0B1020 0%, #0B1020 var(--d, 30%), #0C1830 calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.08), #0D2643 calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.16), #0F3B58 calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.26), #125A6F calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.37), #177F87 calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.49), #25A19F calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.61), rgba(78, 191, 184, .9) calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.74), rgba(141, 219, 211, .7) calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.85), rgba(201, 239, 234, .35) calc(var(--d, 30%) + (100% - var(--d, 30%)) * 0.93), rgba(242, 251, 249, 0) 100%);
}
.journey-sec > .container, .journey-stage { position: relative; z-index: 1; }
.journey-sec__head h2 { color: var(--sky-ink, #0E3B4A); transition: color .35s; }
.journey-sec__head p { color: var(--sky-ink2, #12303B); transition: color .35s; }

/* Perguntas diretas: fundo vivo com spotlights difusos no próprio tom do painel (luzes brancas e sombras cinza)
   que passeiam devagar sobre o cinza-claro; o título fica por cima, sempre legível */
.faq-split__aside { background: #E9EEEC; }
.faq-lights { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.faq-lights i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: multiply; will-change: transform; }
.faq-lights i:nth-child(1) { width: 62%; aspect-ratio: 1; left: -12%; top: -10%; background: radial-gradient(circle, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%); opacity: .9; mix-blend-mode: normal; animation: faqLight1 26s ease-in-out infinite alternate; }
.faq-lights i:nth-child(2) { width: 70%; aspect-ratio: 1; right: -20%; top: 25%; background: radial-gradient(circle, #C9D3D1 0%, rgba(201, 211, 209, 0) 70%); opacity: .7; animation: faqLight2 32s ease-in-out infinite alternate; }
.faq-lights i:nth-child(3) { width: 58%; aspect-ratio: 1; left: 10%; bottom: -18%; background: radial-gradient(circle, #D3DCDA 0%, rgba(211, 220, 218, 0) 70%); opacity: .75; animation: faqLight3 29s ease-in-out infinite alternate; }
.faq-lights i:nth-child(4) { width: 45%; aspect-ratio: 1; left: 40%; top: 5%; background: radial-gradient(circle, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%); opacity: .8; mix-blend-mode: normal; animation: faqLight4 22s ease-in-out infinite alternate; }
@keyframes faqLight1 { to { transform: translate(55%, 45%) scale(1.15); } }
@keyframes faqLight2 { to { transform: translate(-50%, -30%) scale(.9); } }
@keyframes faqLight3 { to { transform: translate(40%, -55%) scale(1.2); } }
@keyframes faqLight4 { to { transform: translate(-60%, 80%) scale(1.25); } }
.faq-ripples { z-index: 0; }
@media (prefers-reduced-motion: reduce) { .faq-lights i { animation: none; } }

/* Perguntas diretas em sanfona: cada pergunta é uma caixa de vidro; clique abre a resposta.
   A resposta continua no HTML (buscadores leem), só fica recolhida. De vez em quando um brilho
   atravessa uma das caixas. O fundo do lado das perguntas ganha luzes suaves para o vidro aparecer. */
.faq-split__list { overflow: hidden; }
.faq-split { background: linear-gradient(160deg, #F4F8F7, #E6EEEC); }
.faq-split__list { overflow: visible; }
.faq-split { overflow: hidden; }
.faq-lights--list i:nth-child(1) { left: 20%; top: -5%; }
.faq-lights--list i:nth-child(2) { right: -25%; top: 45%; }
.faq-lights--list i:nth-child(3) { left: -15%; bottom: -10%; }
.faq-split__list > .faq__item { position: relative; z-index: 1; }
.faq-split__list > .faq-stream { z-index: 1; }
.faq__item { padding: 0 !important; margin-bottom: 16px; } /* sem o fio d'água e os marcadores à esquerda */
.faq__item:last-child { margin-bottom: 0; }
.faq__item::after { display: none !important; }
.faq__dot { left: 0; top: 24px; }
.faq__box {
  position: relative; overflow: hidden; border-radius: 16px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .3));
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 30px rgba(14, 59, 74, .08);
  transition: box-shadow .35s, border-color .35s, background .35s;
}
.faq__item:hover .faq__box { box-shadow: inset 0 1px 0 #fff, 0 14px 36px rgba(14, 59, 74, .13); }
.faq__item.is-open .faq__box { border-color: rgba(31, 199, 182, .55); background: linear-gradient(150deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .45)); }
.faq__box h3 { margin: 0 !important; }
.faq__q {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; font: 500 1.08rem/1.35 var(--font); color: #0B1F2A; transition: color .3s;
}
.faq__q:hover, .faq__item.is-open .faq__q { color: #0E6F66; }
.faq__q:focus-visible { outline: 2px solid #1FC7B6; outline-offset: -2px; border-radius: 16px; }
.faq__chev { margin-left: auto; flex: none; width: 26px; height: 26px; border-radius: 50%; position: relative;
  background: rgba(31, 199, 182, .12); transition: transform .4s var(--ease), background .3s; }
.faq__chev::before { content: ""; position: absolute; left: 9px; top: 7px; width: 7px; height: 7px; border-right: 2px solid #0E8F84; border-bottom: 2px solid #0E8F84; transform: rotate(45deg); }
.faq__item.is-open .faq__chev { transform: rotate(180deg); background: rgba(31, 199, 182, .22); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-in { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 20px 18px; opacity: 0; transform: translateY(-4px); transition: opacity .35s, transform .35s; }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: .1s; }
/* brilho que atravessa a caixa (classe posta pelo script em momentos aleatórios) */
.faq__box::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), rgba(1, 255, 205, .25), transparent);
  transform: translateX(0) skewX(-18deg); opacity: 0; }
.faq__box.shine::after { animation: faqShine 1.4s var(--ease); }
@keyframes faqShine { 0% { opacity: 0; transform: translateX(0) skewX(-18deg); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateX(560%) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) { .faq__box.shine::after { animation: none; } .faq__a, .faq__a p, .faq__chev { transition: none; } }
@media (max-width: 960px) { .faq__q { padding: 14px 16px; font-size: 1rem; } .faq__a p { padding: 0 16px 16px; } .faq__dot { top: 21px; } }

/* pergunta aberta: brilho em andamento some na hora */
.faq__item.is-open .faq__box::after, .faq-split__list:has(.faq__item.is-open) .faq__box.shine::after { animation: none; opacity: 0; }

/* Cérebro TechAI: aviso de carregamento por cima do grafo enquanto ele abre (some quando o grafo avisa que está pronto) */
.cerebro-frame { position: relative; }
.cerebro-load { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: #0B1020; color: #DCE5EA; font-size: .98rem; transition: opacity .5s, visibility .5s; }
.cerebro-load.done { opacity: 0; visibility: hidden; pointer-events: none; }
.cerebro-load__spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(1, 255, 205, .2); border-top-color: var(--accent); animation: cerebroSpin .8s linear infinite; }
@keyframes cerebroSpin { to { transform: rotate(360deg); } }
.cerebro-load .btn { margin-top: 4px; }

/* ===== Celular ===== */
.hero__actions--m { display: none; }
@media (max-width: 600px) {
  /* hero: o CTA sai do texto e vai para baixo da animação */
  .hero__text .hero__actions { display: none; }
  .hero__actions--m { display: flex; order: 3; position: relative; z-index: 2; margin-top: 8px; }
  /* desafio: título menor */
  #desafio .section__head h2 { font-size: 1.5rem; line-height: 1.22; text-wrap: balance; }
  #desafio .section__head p { text-wrap: pretty; }
  /* frase de impacto: menor e com quebras equilibradas */
  .statement p { font-size: 1rem; line-height: 1.4; text-wrap: balance; }
  .statement .statement__sub { font-size: 1.3rem; line-height: 1.25; text-wrap: balance; }
  /* e-book: CTA centralizado */
  .ebook__cta { justify-content: center; }
}

