/* ==========================================================
   Home · Variação A "Keynote" (dinâmica de página de produto)
   ========================================================== */

/* ---------- 1. Hero que encolhe ---------- */
.a-hero { height: 210vh; position: relative; background: var(--navy-950); --p: 0; }
.a-hero-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.a-hero-frame {
  position: absolute; inset: 0; overflow: hidden; background: var(--navy-900);
  transform: scale(calc(1 - var(--p) * .16)) translateY(calc(var(--p) * -6vh));
  border-radius: calc(var(--p) * 32px);
  will-change: transform;
}
.hero-poster {
  position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; object-position: 60% 50%;
  animation: kenburns 28s ease-in-out infinite alternate;
  filter: saturate(1.1);
}
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease-out; }
.hero-video.is-playing { opacity: 1; }
.pulse-layer { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
.a-hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, rgba(5,10,24,.35), rgba(5,10,24,.85) 85%),
    linear-gradient(180deg, rgba(5,10,24,.5) 0%, transparent 30%, rgba(5,10,24,.9) 100%);
}

.a-hero-copy {
  position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter); max-width: 1000px;
  opacity: calc(1 - var(--p) * 2.4);
  transform: translateY(calc(var(--p) * -80px)) scale(calc(1 - var(--p) * .08));
}
.a-hero-eyebrow { justify-content: center; margin-bottom: 22px; animation: fadeUp 1s .1s var(--ease) both; }
.a-hero-eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.a-hero-copy h1 {
  font-size: clamp(48px, 9.2vw, 132px); line-height: .95; margin: 0;
  animation: fadeUp 1.2s .25s var(--ease) both;
}
.a-hero-sub {
  margin: 26px auto 34px; font-size: clamp(14px, 1.4vw, 17px); letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.78);
  animation: fadeUp 1.2s .45s var(--ease) both;
}
.a-hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: fadeUp 1.2s .6s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.a-pillars {
  position: absolute; z-index: 2; left: 50%; bottom: 13vh; transform: translate(-50%, calc((1 - var(--pp, 0)) * 40px));
  width: min(1040px, 100% - var(--gutter) * 2);
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  opacity: var(--pp, 0); pointer-events: none;
}
.a-pillars li { padding: 0 24px; border-left: 1px solid rgba(255,255,255,.18); display: grid; gap: 6px; }
.a-pillars li:first-child { border-left: 0; }
.a-pillars svg { width: 30px; height: 30px; color: var(--orange); margin-bottom: 8px; }
.a-pillars strong { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.a-pillars span { font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.4; }

.a-scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 14px; opacity: calc(1 - var(--p) * 4); }
.a-scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: hint 1.8s infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

@media (max-width: 760px) {
  .a-hero { height: 180vh; }
  .a-pillars { grid-template-columns: 1fr 1fr; row-gap: 22px; bottom: 9vh; }
  .a-pillars li:nth-child(3) { border-left: 0; }
  .a-pillars span { font-size: 13px; }
}

/* ---------- 2. Manifesto ---------- */
.a-manifesto { padding: clamp(110px, 16vw, 200px) 0 clamp(80px, 10vw, 140px); background: var(--navy-950); }
.a-scrub-text { font-size: clamp(38px, 6.4vw, 92px); line-height: 1.04; margin: 28px 0 40px; max-width: 15ch; }
.a-scrub-text em { font-style: italic; font-weight: 400; }
.a-scrub-text .w { opacity: .14; transition: opacity .25s, color .25s; }
.a-scrub-text .w.on { opacity: 1; }
.a-scrub-text em .w.on { color: var(--orange); }
.a-manifesto-sub { max-width: 640px; font-size: clamp(17px, 1.6vw, 21px); color: rgba(255,255,255,.72); margin: 0 0 72px; }
.a-triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 22px; overflow: hidden; }
.a-triad article { background: var(--navy-950); padding: 40px 34px 44px; transition: background .4s; }
.a-triad article:hover { background: var(--navy-900); }
.a-triad-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(242,107,29,.12); color: var(--orange); }
.a-triad-ic svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.a-triad h3 { font-size: 40px; font-style: italic; font-weight: 400; margin: 18px 0 12px; }
.a-triad p { color: rgba(255,255,255,.68); margin: 0; }
@media (max-width: 760px) { .a-triad { grid-template-columns: 1fr; } }

/* ---------- 3. Números ---------- */
.a-numbers { padding: clamp(80px, 12vw, 160px) 0; background: radial-gradient(ellipse 60% 70% at 70% 30%, rgba(59,108,183,.22), transparent 70%), var(--navy-900); overflow: hidden; }
.a-num-hero { display: grid; gap: 8px; margin-bottom: 80px; }
.a-num-big { font-size: clamp(88px, 17vw, 260px); line-height: .85; font-weight: 400; letter-spacing: -.045em; background: linear-gradient(180deg, #fff 40%, rgba(255,255,255,.55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-num-cap { font-family: var(--f-serif); font-size: clamp(24px, 3vw, 40px); }
.a-num-cap em { color: var(--orange); }
.a-num-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--line-dark); padding-top: 40px; }
.a-num-row strong { display: block; font-size: clamp(56px, 7vw, 96px); line-height: 1; color: var(--orange); font-weight: 400; margin-bottom: 14px; }
.a-num-row span { color: rgba(255,255,255,.7); max-width: 260px; display: block; }
@media (max-width: 760px) { .a-num-row { grid-template-columns: 1fr; } }

/* ---------- 4. Anatomia do relatório ---------- */
.a-report { background: var(--beige); color: var(--ink); padding-top: clamp(100px, 13vw, 170px); }
.a-report .eyebrow { color: #c4541a; }
.a-report-intro { max-width: 860px; text-align: center; }
.a-report-intro .eyebrow { justify-content: center; }
.a-report-intro h2 { font-size: clamp(40px, 6vw, 80px); line-height: 1.02; margin: 22px 0 20px; }
.a-break { display: block; }
.a-report-intro p { color: var(--ink-2); font-size: 19px; margin: 0 auto; max-width: 600px; }

.a-report-track { height: 420vh; position: relative; margin-top: 40px; }
.a-report-sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.a-report-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }

.a-report-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.a-report-steps li { padding: 18px 0 18px 22px; border-left: 2px solid var(--beige-2); transition: border-color .4s, opacity .4s; opacity: .38; }
.a-report-steps li.is-active { border-color: var(--orange); opacity: 1; }
.a-report-steps .mono { font-family: var(--f-mono); font-size: 11.5px; color: #c4541a; letter-spacing: .04em; }
.a-report-steps h3 { font-size: 24px; margin: 6px 0 0; line-height: 1.15; }
.a-report-steps p { margin: 0; color: var(--ink-2); font-size: 15px; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease), margin .6s; }
.a-report-steps li.is-active p { max-height: 120px; margin-top: 8px; }

.a-device { background: #fff; border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(19,32,63,.35), 0 0 0 1px rgba(19,32,63,.06); overflow: hidden; }
.a-device-bar { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid #efe9e0; }
.a-device-bar .mono { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); }
.a-device-bar .tag-ilustrativo { margin-left: auto; font-size: 9.5px; padding: 4px 8px; }
.a-device-dots { display: flex; gap: 6px; }
.a-device-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e6dfd4; }
.a-device-body { position: relative; min-height: 480px; }
.a-panel { position: absolute; inset: 0; padding: 26px 30px; opacity: 0; transform: translateY(20px) scale(.985); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.a-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.a-panel h4 { font-family: var(--f-serif); font-size: 22px; font-weight: 500; margin: 0 0 18px; }
.a-device-progress { height: 3px; background: #efe9e0; }
.a-device-progress span { display: block; height: 100%; width: calc(var(--rp, 0) * 100%); background: var(--orange); }

.a-recos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.a-recos li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--beige); }
.a-recos strong { display: block; font-size: 15.5px; line-height: 1.35; }
.a-recos small { color: var(--ink-2); font-size: 13px; }
.prio { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; padding: 5px 10px; border-radius: 4px; margin-top: 2px; }
.prio.alta { background: var(--orange); }
.prio.media { background: #d98a55; }

.a-report-ten { padding: 60px 0 clamp(100px, 12vw, 150px); text-align: center; }
.a-report-ten h3 { font-size: clamp(30px, 3.6vw, 46px); margin: 0 0 40px; }
.a-ten { list-style: none; margin: 0 auto 48px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; max-width: 1040px; text-align: left; }
.a-ten li { background: #fff; border-radius: 14px; padding: 18px 18px 20px; font-weight: 500; font-size: 15px; display: grid; gap: 8px; }
.a-ten b { font-family: var(--f-serif); color: var(--orange); font-size: 22px; font-weight: 500; }

@media (max-width: 1000px) {
  .a-report-track { height: auto; }
  .a-report-sticky { position: static; height: auto; padding: 40px 0; }
  .a-report-grid { grid-template-columns: 1fr; gap: 28px; }
  .a-report-steps { display: none; }
  .a-device-body { min-height: 0; }
  .a-panel { position: relative; opacity: 1; transform: none; pointer-events: auto; border-bottom: 1px solid #efe9e0; padding: 22px 18px; }
  .a-ten { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 5. Entregas (mosaico) ---------- */
.a-bento { background: var(--beige); color: var(--ink); padding: 0 0 clamp(100px, 13vw, 170px); }
.a-bento .eyebrow { color: #c4541a; }
.a-bento h2 { font-size: clamp(36px, 5vw, 66px); line-height: 1.04; margin: 22px 0 48px; max-width: 18ch; }
.a-bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.tile { background: #fff; border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(19,32,63,.35); }
.tile-k { font-family: var(--f-mono); font-size: 11.5px; color: #c4541a; text-transform: uppercase; letter-spacing: .08em; }
.tile h3 { font-size: 27px; line-height: 1.1; margin: 4px 0 0; }
.tile p { margin: 0; color: var(--ink-2); font-size: 15px; }
.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile--xl h3 { font-size: clamp(32px, 3.4vw, 46px); max-width: 12ch; }
.tile--xl p { font-size: 17px; max-width: 34ch; }
.tile-art { margin-top: auto; width: 100%; height: auto; }
.tile--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; min-height: 0; padding: 34px 36px; }
.tile--wide h3 { font-size: clamp(28px, 2.6vw, 36px); }
.tile--wide p { max-width: 52ch; margin-top: 6px; }
.tile-score { display: flex; align-items: center; gap: 18px; flex: none; }
.tile-score b { font-size: clamp(56px, 6vw, 84px); font-weight: 500; color: var(--orange); line-height: 1; }
.tile-score small { max-width: 150px; color: var(--ink-2); font-size: 13px; line-height: 1.35; }
.tile--orange { background: var(--orange); color: #fff; }
.tile--orange p, .tile--orange .tile-k { color: rgba(255,255,255,.85); }
.tile--navy { background: var(--navy-900); color: #fff; }
.tile--navy p { color: rgba(255,255,255,.7); }
.tile--navy .tile-k { color: var(--orange); }
@media (max-width: 900px) { .a-bento-grid { grid-template-columns: 1fr 1fr; } .tile--xl { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 560px) { .a-bento-grid { grid-template-columns: 1fr; } .tile--xl { grid-column: span 1; } .tile--wide { flex-direction: column; align-items: flex-start; gap: 20px; } }

/* ---------- 6. Método ---------- */
.a-method { padding: clamp(100px, 13vw, 170px) 0; background: var(--navy-950); }
.a-method h2 { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.04; margin: 22px 0 64px; max-width: 16ch; }
.a-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.a-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line-dark); }
.a-steps li { padding-right: 22px; position: relative; }
.a-step-n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); border: 1px solid var(--line-dark); font-family: var(--f-serif); font-size: 20px; position: relative; margin-bottom: 26px; }
.a-steps li.is-fwd .a-step-n { background: var(--orange); border-color: var(--orange); }
.a-steps h3 { font-family: var(--f-serif); font-weight: 500; font-size: 26px; margin: 0 0 10px; }
.a-steps p { margin: 0; color: rgba(255,255,255,.66); font-size: 15px; }
.a-method-foot { margin-top: 56px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line-dark); padding-top: 26px; }
.a-legend { font-size: 13px; color: rgba(255,255,255,.6); display: inline-flex; align-items: center; gap: 10px; }
.a-legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--orange); }
@media (max-width: 900px) {
  .a-steps { grid-template-columns: 1fr; gap: 28px; }
  .a-steps::before { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .a-steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
  .a-step-n { grid-row: span 2; margin: 0; }
}

/* ---------- 7. Setores ---------- */
.a-sectors { padding: 0 0 clamp(100px, 13vw, 170px); background: var(--navy-950); }
.a-sectors h2 { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.04; margin: 22px 0 48px; }
.a-sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 22px; overflow: hidden; }
.a-sector-grid > * { background: var(--navy-950); padding: 36px 30px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; transition: background .4s; }
.a-sector-grid > * span { font-family: var(--f-serif); font-size: 26px; line-height: 1.15; }
.a-sector-grid a small { color: rgba(255,255,255,.5); font-size: 13px; transition: color .3s; }
.a-sector-grid a:hover { background: var(--navy-800); }
.a-sector-grid a:hover small { color: var(--orange); }
.a-sector-cta { display: flex; justify-content: center; margin-top: 40px; }
.a-sector-grid a.is-featured { background: linear-gradient(140deg, var(--orange), #c4541a); }
.a-sector-grid a.is-featured small { color: rgba(255,255,255,.9); }
@media (max-width: 760px) { .a-sector-grid { grid-template-columns: 1fr 1fr; } .a-sector-grid > * { min-height: 130px; padding: 24px 20px; } .a-sector-grid > * span { font-size: 20px; } }

/* ---------- 8. Fundador ---------- */
.a-founder { background: var(--beige); color: var(--ink); padding: clamp(90px, 11vw, 140px) 0; }
.a-founder-grid { display: grid; grid-template-columns: 200px 1fr; gap: 56px; align-items: center; max-width: 1000px; }
.a-founder img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px var(--beige), 0 0 0 7px var(--orange); }
.a-founder blockquote { margin: 0; }
.a-founder blockquote p { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.2; margin: 0 0 26px; }
.a-founder footer { display: grid; gap: 4px; }
.a-founder footer span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #c4541a; }
@media (max-width: 700px) { .a-founder-grid { grid-template-columns: 1fr; gap: 30px; } .a-founder img { width: 140px; height: 140px; } }

/* ---------- 9. Chamada final ---------- */
.a-cta { position: relative; overflow: hidden; padding: clamp(120px, 16vw, 210px) 0; text-align: center; background: var(--navy-950); }
.a-cta-bg { position: absolute; inset: 0; }
.a-cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: blur(2px); }
.a-cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(5,10,24,.55), var(--navy-950) 80%); }
.a-cta-inner { position: relative; max-width: 900px; }
.a-cta .eyebrow { justify-content: center; }
.a-cta h2 { font-size: clamp(40px, 6.4vw, 88px); line-height: 1.02; margin: 24px 0 24px; }
.a-cta-inner > p { font-size: 19px; color: rgba(255,255,255,.75); max-width: 620px; margin: 0 auto 44px; }
.a-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.a-cta-inner > .a-cta-phone { margin: 72px auto 0; font-size: 14px; color: rgba(255,255,255,.55); letter-spacing: .04em; }

/* Vídeo do hero: mantém o mapa no quadro em telas estreitas */
.a-hero-frame .hero-video { object-position: 62% 50%; }

/* Título curto acima dos botões de contato */
.a-cta-inner > p.cta-label, .cta-band p.cta-label { max-width: none; margin: -6px auto 22px; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 18px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #f26b1d; text-align: center; }
.a-cta-inner > p.cta-label::before, .a-cta-inner > p.cta-label::after, .cta-band p.cta-label::before, .cta-band p.cta-label::after { content: ""; width: 44px; height: 2px; background: currentColor; opacity: .7; }
@media (max-width: 600px) { .a-cta-inner > p.cta-label, .cta-band p.cta-label { font-size: 15px; gap: 12px; } .a-cta-inner > p.cta-label::before, .a-cta-inner > p.cta-label::after, .cta-band p.cta-label::before, .cta-band p.cta-label::after { width: 26px; } }
