/* ============================================================
   ENGSOLAR — Seções
   ============================================================ */

/* ---------------- HERO (vídeo cinematográfico) ---------------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 74px; overflow: hidden; text-align: center; }
.hero__bg { position: absolute; inset: 0; z-index: 0; background: var(--bg-deep); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 75% at 50% 32%, transparent 32%, rgba(10,17,36,.55) 100%),
    linear-gradient(180deg, rgba(10,17,36,.55) 0%, rgba(10,17,36,.28) 32%, rgba(10,17,36,.55) 68%, var(--bg-deep) 100%);
}

.hero__inner { display: flex; justify-content: center; padding-block: clamp(3rem, 8vh, 6rem); }
.hero__copy { max-width: 820px; margin: 0 auto; }
.hero__title { font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 700; margin: 1.4rem auto 1.3rem; text-shadow: 0 2px 30px rgba(0,0,0,.55); }
.hero__sub { font-size: clamp(1.1rem, 1.8vw, 1.4rem); color: var(--text-mid); max-width: 540px; margin: 0 auto; text-shadow: 0 1px 14px rgba(0,0,0,.6); }
.hero__sub strong { color: var(--primary); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.4rem; }

.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border-glass-strong); border-radius: 14px; display: grid; justify-items: center; padding-top: 8px; z-index: 2; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: var(--primary); animation: scrollCue 1.6s infinite; }
@keyframes scrollCue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------------- STATS ---------------- */
.stats { padding-block: clamp(2.5rem, 5vw, 4rem); border-block: 1px solid var(--border-glass); background: linear-gradient(180deg, rgba(18,24,33,.4), transparent); }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; text-align: center; }
.stat { display: flex; flex-direction: column; gap: .35rem; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: -.75rem; top: 15%; height: 70%; width: 1px; background: var(--border-glass); }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.8rem); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat__label { font-size: .9rem; color: var(--text-mid); }

/* ---------------- SOLUÇÕES (galeria estilo Skyline: quadros altos escalonados) ---------------- */
.solucoes { position: relative; overflow: hidden; }
.solucoes::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url('../assets/solucoes-bg.jpg') center / cover no-repeat;
  background-attachment: fixed;
  filter: brightness(.45) saturate(1.05);
}
.solucoes::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, var(--bg-deep) 0%, rgba(10,17,36,.6) 18%, rgba(10,17,36,.66) 80%, var(--bg-deep) 100%),
    radial-gradient(85% 60% at 50% 26%, rgba(245,166,35,.06), transparent 62%);
}
.solucoes > .container { position: relative; z-index: 1; }
.solucoes .section__head h2 { text-shadow: 0 2px 18px rgba(0,0,0,.55); }

.sky-gallery { display: flex; gap: clamp(.7rem, 1.6vw, 1.6rem); align-items: flex-start; justify-content: center; }
.sky-item { flex: 1 1 0; min-width: 0; max-width: 272px; display: flex; flex-direction: column; align-items: center; }

/* quadro vazio — placeholder para imagem futura */
.sky-frame {
  position: relative; width: 100%; height: var(--h, 440px);
  border: 1px solid rgba(245,166,35,.28); border-radius: 20px;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(10,17,36,.5));
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  transition: transform .45s var(--ease-out), border-color .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
/* monograma NS como marca d'água sutil da própria casa */
.sky-frame::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url('../assets/neosol-mark-light.png') no-repeat center 36% / 44%; opacity: .06; pointer-events: none; }
/* brilho que percorre o quadro (dá vida ao placeholder ilustrativo) */
.sky-frame::after { content: ""; position: absolute; top: 0; left: -60%; width: 55%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255,255,255,.07), transparent); transform: skewX(-18deg); animation: skySheen 5s ease-in-out infinite; pointer-events: none; z-index: 0; }
@keyframes skySheen { 0%, 58% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .sky-frame::after { display: none; } }
.sky-item:hover .sky-frame { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 28px 56px -26px rgba(0,0,0,.75), 0 0 0 1px rgba(245,166,35,.25); }
.sky-frame__ph { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1rem; color: var(--text-mid); text-align: center; padding: 0 1rem; }
.sky-frame__ph .ic { font-size: 2rem; width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-solar-soft); border: 1px solid var(--border-glass); box-shadow: 0 0 30px rgba(245,166,35,.18); }
.sky-frame__ph small { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
/* vídeo real preenchendo o quadro (fica acima do placeholder/marca) */
.sky-frame__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; transition: transform .6s var(--ease-out); }
.sky-item:hover .sky-frame__video { transform: scale(1.06); }

/* linha conectora até o rótulo */
.sky-line { width: 1px; height: var(--line, 48px); background: linear-gradient(var(--primary), transparent); margin: 16px 0 14px; opacity: .75; flex-shrink: 0; }

/* rótulo */
.sky-label { text-align: center; }
.sky-label h3 { font-family: var(--font-display); font-size: clamp(.95rem, 1.4vw, 1.15rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-high); }
.sky-label p { font-size: .82rem; color: var(--text-low); margin-top: .45rem; }
.sky-label p strong { color: var(--secondary); font-family: var(--font-display); }
.sky-label .link-arrow { font-size: .82rem; margin-top: .55rem; display: inline-block; }

/* Cascata estilo Skyline: cada quadro entra em fade-up (translateY 2rem + opacity),
   1s, ease-out, com delay incremental (--reveal-delay setado no animations.js). */
.js .sky-item.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.js .sky-item.reveal.is-visible { opacity: 1; transform: none; }

/* galeria vira carrossel horizontal em telas estreitas (mantém quadros altos) */
@media (max-width: 760px) {
  .sky-gallery { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.2rem; scrollbar-width: none; gap: 1rem; }
  .sky-gallery::-webkit-scrollbar { display: none; }
  .sky-item { flex: 0 0 70%; max-width: none; scroll-snap-align: center; margin-top: 0; }
  .sky-frame { height: calc(var(--h) * .62); }
}

/* ---------------- SIMULADOR (dashboard premium) ---------------- */
.simulador { position: relative; overflow: hidden; background: var(--bg-deep); }
.simulador::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url('../assets/simulador-bg.jpg') center / cover no-repeat;
  background-attachment: fixed;
  filter: brightness(.5) saturate(1.05);
}
.simulador::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, var(--bg-deep) 0%, rgba(10,17,36,.5) 22%, rgba(10,17,36,.6) 78%, var(--bg-deep) 100%),
    radial-gradient(85% 60% at 50% 30%, rgba(245,166,35,.06), transparent 62%);
}
.simulador > .container { position: relative; z-index: 1; }
.simulador .section__head h2 { text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.simulador .sim { background: rgba(11,17,33,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.sim { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 0; overflow: hidden; }
.sim__form { min-width: 0; padding: clamp(1.8rem, 4vw, 2.8rem); border-right: 1px solid var(--border-glass); }
.sim__result { min-width: 0; padding: clamp(1.8rem, 4vw, 2.8rem); background: var(--grad-solar-soft); display: flex; flex-direction: column; }
.sim__panel-eyebrow, .sim__result-eyebrow { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--primary); }
.sim__panel-eyebrow { margin-bottom: 1.1rem; }

/* presets de valor */
.sim__presets { display: flex; gap: .45rem; margin-top: .8rem; }
.sim__presets button { flex: 1; padding: .5rem .2rem; background: rgba(10,17,36,.5); border: 1px solid var(--border-glass); border-radius: 9px; color: var(--text-mid); font-family: var(--font-display); font-weight: 600; font-size: .78rem; cursor: pointer; transition: border-color .25s, color .25s, background .25s; }
.sim__presets button:hover, .sim__presets button.is-active { border-color: var(--primary); color: var(--text-high); background: rgba(245,166,35,.1); }
.sim__consumo { margin-top: .85rem; font-size: .82rem; color: var(--text-low); }
.sim__consumo strong { color: var(--secondary); font-family: var(--font-display); font-variant-numeric: tabular-nums; }

/* dashboard: medidor radial + headline */
.sim__dash { display: flex; gap: 1.5rem; align-items: center; margin-bottom: 1.5rem; }
.sim__headline { flex: 1; min-width: 0; }
.sim__result-eyebrow { margin-bottom: .35rem; }
.sim__save { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4.6vw, 3rem); color: var(--text-high); line-height: 1; font-variant-numeric: tabular-nums; }

/* medidor radial */
.gauge { position: relative; width: 134px; height: 134px; flex-shrink: 0; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge__bg { fill: none; stroke: rgba(255,255,255,.09); stroke-width: 9; }
.gauge__fg { fill: none; stroke: url(#gaugeGrad); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.1s var(--ease-out); filter: drop-shadow(0 0 6px rgba(245,166,35,.55)); }
.gauge__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center; }
.gauge__pct { display: block; font-family: 'Orbitron', var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--text-high); font-variant-numeric: tabular-nums; }
.gauge__center small { font-size: .54rem; letter-spacing: .12em; line-height: 1.25; text-transform: uppercase; color: var(--text-mid); }

/* comparação antes/depois */
.ba { margin-top: 1rem; display: flex; flex-direction: column; gap: .55rem; }
.ba__row { display: grid; grid-template-columns: 62px 1fr 64px; align-items: center; gap: .55rem; }
.ba__label { font-size: .72rem; color: var(--text-mid); }
.ba__bar { height: 9px; background: rgba(255,255,255,.07); border-radius: 6px; overflow: hidden; }
.ba__fill { display: block; height: 100%; border-radius: 6px; width: 0; transition: width 1.1s var(--ease-out); }
.ba__fill--now { background: linear-gradient(90deg, #34415c, #5B8DEF); }
.ba__fill--new { background: var(--grad-solar); box-shadow: 0 0 10px rgba(245,166,35,.5); }
.ba__val { font-family: var(--font-display); font-weight: 600; font-size: .82rem; color: var(--text-high); text-align: right; font-variant-numeric: tabular-nums; }

/* cartões de métrica */
.sim__cards { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1.3rem; }
.sim__mini { position: relative; background: rgba(10,17,36,.5); border: 1px solid var(--border-glass); border-radius: var(--radius-sm); padding: .9rem 1rem; transition: border-color .3s, transform .3s var(--ease); }
.sim__mini:hover { border-color: rgba(245,166,35,.3); transform: translateY(-3px); }
.sim__mini i { font-style: normal; font-size: 1rem; position: absolute; top: .7rem; right: .85rem; opacity: .7; }
.sim__mini span { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--primary); font-variant-numeric: tabular-nums; }
.sim__mini small { color: var(--text-mid); font-size: .78rem; }
.sim__disclaimer { font-size: .78rem; color: var(--text-low); margin-top: .9rem; text-align: center; }

/* ---------------- COMO FUNCIONA ---------------- */
.como { position: relative; overflow: hidden; }
.como::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url('../assets/processo-bg.jpg') center / cover no-repeat;
  background-attachment: fixed;
  filter: brightness(.5) saturate(1.05) contrast(1.02);
}
.como::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, var(--bg-deep) 0%, rgba(10,17,36,.5) 26%, rgba(10,17,36,.58) 72%, var(--bg-deep) 100%),
    radial-gradient(90% 70% at 50% 38%, rgba(245,166,35,.07), transparent 62%);
}
.como > .container { position: relative; z-index: 1; }
.como .section__head h2, .como .timeline__step h3 { text-shadow: 0 2px 18px rgba(0,0,0,.55); }
@media (max-width: 880px) { .como::before, .dif::before, .simulador::before, .projetos::before, .depo::before, .solucoes::before, .faq::before, .cta-final::before { background-attachment: scroll; } }

/* Performance: a foto de fundo de cada seção só é baixada quando a seção
   se aproxima da viewport (.bg-live é adicionado via JS). Sem JS, carrega normal. */
.js .solucoes:not(.bg-live)::before,
.js .simulador:not(.bg-live)::before,
.js .como:not(.bg-live)::before,
.js .dif:not(.bg-live)::before,
.js .projetos:not(.bg-live)::before,
.js .depo:not(.bg-live)::before,
.js .faq:not(.bg-live)::before,
.js .cta-final:not(.bg-live)::before { background-image: none !important; }

.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: step; position: relative; }
.timeline::before { content: ""; position: absolute; top: 30px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--primary), rgba(245,166,35,.15)); }
.timeline__step { position: relative; padding-top: 0; text-align: center; }
.timeline__n { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--bg-surface); border: 2px solid var(--primary); color: var(--primary); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 1.2rem; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--bg-deep); }
.timeline__step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.timeline__step p { font-size: .9rem; }

/* ---------------- DIFERENCIAIS ---------------- */
.dif { position: relative; overflow: hidden; }
.dif::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url('../assets/diferenciais-bg.jpg') center / cover no-repeat;
  background-attachment: fixed;
  filter: brightness(.55) saturate(1.1);
}
.dif::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, var(--bg-deep) 0%, rgba(10,17,36,.55) 20%, rgba(10,17,36,.6) 78%, var(--bg-deep) 100%),
    radial-gradient(85% 60% at 50% 32%, rgba(245,166,35,.06), transparent 60%);
}
.dif > .container { position: relative; z-index: 1; }
.dif .section__head h2 { text-shadow: 0 2px 18px rgba(0,0,0,.55); }

.dif__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.dif-card { padding: 1.8rem; border-radius: var(--radius); background: rgba(13,20,38,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--border-glass); transition: transform .3s var(--ease), border-color .3s, background .3s; }
.dif-card:hover { transform: translateY(-6px); border-color: rgba(245,166,35,.4); background: rgba(13,20,38,.74); }
.dif-card__ic { font-size: 1.6rem; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--grad-solar-soft); margin-bottom: 1rem; }
.dif-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.dif-card p { font-size: .92rem; }

/* ---------------- PROJETOS ---------------- */
.projetos { position: relative; overflow: hidden; }
.projetos::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url('../assets/projetos-bg.jpg') center / cover no-repeat;
  background-attachment: fixed;
  filter: brightness(.5) saturate(1.05);
}
.projetos::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, var(--bg-deep) 0%, rgba(10,17,36,.55) 20%, rgba(10,17,36,.62) 78%, var(--bg-deep) 100%),
    radial-gradient(85% 60% at 50% 30%, rgba(245,166,35,.06), transparent 62%);
}
.projetos > .container { position: relative; z-index: 1; }
.projetos .section__head h2 { text-shadow: 0 2px 18px rgba(0,0,0,.55); }

.proj__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.proj-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-glass); background: var(--bg-surface); transition: transform .35s var(--ease), box-shadow .35s; }
.proj-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.proj-card__media { height: 240px; background: var(--bg-surface-2); position: relative; overflow: hidden; display: flex; align-items: flex-start; padding: 1rem; }
.proj-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.proj-card__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,17,36,.5) 0%, rgba(10,17,36,0) 38%, rgba(13,20,38,.32) 100%); }
.proj-card__media .badge { position: relative; z-index: 2; }
.proj-card__body { padding: 1.3rem; }
.proj-card__body h3 { font-size: 1.05rem; margin-bottom: .9rem; }
.proj-card__stats { display: flex; gap: 1.4rem; }
.proj-card__stats span { display: flex; flex-direction: column; font-size: .8rem; color: var(--text-low); }
.proj-card__stats strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--primary); }

/* ---------------- DEPOIMENTOS ---------------- */
.depo { position: relative; overflow: hidden; }
.depo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url('../assets/depoimentos-bg.jpg') center / cover no-repeat;
  background-attachment: fixed;
  filter: brightness(.45) saturate(1.05);
}
.depo::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, var(--bg-deep) 0%, rgba(10,17,36,.58) 20%, rgba(10,17,36,.65) 78%, var(--bg-deep) 100%),
    radial-gradient(85% 60% at 50% 28%, rgba(245,166,35,.06), transparent 62%);
}
.depo > .container { position: relative; z-index: 1; }
.depo .section__head h2 { text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.depo .depo-card { background: rgba(13,20,38,.74); }

.depo__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(340px, 1fr); gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
.depo__track::-webkit-scrollbar { display: none; }
.depo-card { scroll-snap-align: start; padding: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.depo-card__stars { color: var(--primary); letter-spacing: .15em; }
.depo-card blockquote { color: var(--text-high); font-size: 1.05rem; line-height: 1.6; flex-grow: 1; }
.depo-card figcaption { display: flex; align-items: center; gap: .9rem; }
.depo-card__av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-solar); color: #11182E; font-family: var(--font-display); font-weight: 700; }
.depo-card figcaption strong { display: block; color: var(--text-high); }
.depo-card figcaption small { color: var(--text-low); }
.depo__dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.5rem; }
.depo__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--border-glass-strong); transition: background .25s, width .25s; }
.depo__dots button.is-active { background: var(--primary); width: 24px; border-radius: 5px; }

/* ---------------- CONFIANÇA ---------------- */
.confianca { padding-block: clamp(3rem, 6vw, 4.5rem); text-align: center; border-top: 1px solid var(--border-glass); }
.confianca__label { font-size: .9rem; color: var(--text-low); margin-bottom: 1.6rem; }
.confianca .marquee__track .logo-chip { flex-shrink: 0; }

/* ---------------- FAQ ---------------- */
.faq { position: relative; overflow: hidden; }
.faq::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url('../assets/faq-bg.jpg') center / cover no-repeat;
  background-attachment: fixed;
  filter: brightness(.42) saturate(1.05);
}
.faq::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, var(--bg-deep) 0%, rgba(10,17,36,.62) 18%, rgba(10,17,36,.68) 80%, var(--bg-deep) 100%),
    radial-gradient(85% 55% at 50% 24%, rgba(245,166,35,.06), transparent 62%);
}
.faq > .container { position: relative; z-index: 1; }
.faq .section__head h2 { text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.faq .acc-item { background: rgba(13,20,38,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.accordion { display: flex; flex-direction: column; gap: .8rem; }
.acc-item { background: var(--glass-bg); border: 1px solid var(--border-glass); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .25s; }
.acc-item[open] { border-color: rgba(245,166,35,.35); }
.acc-item summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; font-family: var(--font-display); font-weight: 600; color: var(--text-high); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item__ic { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.acc-item__ic::before, .acc-item__ic::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; transition: transform .3s var(--ease); }
.acc-item__ic::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc-item__ic::after { top: 0; left: 8px; width: 2px; height: 18px; }
.acc-item[open] .acc-item__ic::after { transform: rotate(90deg); opacity: 0; }
.acc-item__body { padding: 0 1.4rem 1.3rem; }
.acc-item__body p { font-size: .96rem; }

/* ---------------- CTA FINAL ---------------- */
.cta-final { position: relative; overflow: hidden; padding-block: var(--section-pad); }
.cta-final::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url('../assets/cta-bg.jpg') center / cover no-repeat;
  background-attachment: fixed;
  filter: brightness(.42) saturate(1.05);
}
.cta-final::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, var(--bg-deep) 0%, rgba(10,17,36,.6) 18%, rgba(10,17,36,.66) 80%, var(--bg-deep) 100%),
    radial-gradient(85% 55% at 50% 24%, rgba(245,166,35,.06), transparent 62%);
}
.cta-final > .container { position: relative; z-index: 1; }
.cta-final__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.1rem, 2.4vw, 1.8rem); align-items: stretch; background: linear-gradient(135deg, rgba(232,137,14,.12), rgba(91,141,239,.06)), rgba(11,17,33,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--border-glass); border-radius: 28px; padding: clamp(1.1rem, 2.4vw, 1.8rem); position: relative; overflow: hidden; }
.cta-final__box::before { content: ""; position: absolute; top: -40%; right: -10%; width: 50%; height: 180%; background: radial-gradient(circle, rgba(245,166,35,.16), transparent 65%); pointer-events: none; z-index: 0; }

/* card de vídeo (esquerda) com a copy sobreposta */
.cta-final__media { position: relative; z-index: 1; min-height: 360px; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid var(--border-glass); }
.cta-final__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-final__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,17,36,.2) 0%, rgba(10,17,36,.5) 45%, rgba(10,17,36,.92) 100%); }
.cta-final__copy { position: relative; z-index: 2; min-width: 0; }
.cta-final__copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.cta-final__copy p { margin: 1rem 0 1.3rem; font-size: 1.02rem; color: var(--text-high); }
.cta-final__list { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.cta-final__list li { color: var(--text-high); font-size: .95rem; }
.cta-form { position: relative; z-index: 1; min-width: 0; padding: clamp(1.6rem, 2.4vw, 2.2rem); align-self: center; }
.cta-form h3 { margin-bottom: 1.4rem; }
.cta-form__ok { margin-top: 1rem; color: var(--secondary); font-weight: 600; text-align: center; }

/* ---------------- RESPONSIVO ---------------- */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 1rem; }
  .stat:nth-child(3)::after { display: none; }
  .proj__grid { grid-template-columns: repeat(2, 1fr); }
  .dif__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .timeline { grid-template-columns: 1fr; gap: 1.6rem; }
  .timeline::before { display: none; }
  .timeline__step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1rem; row-gap: .25rem; align-items: start; text-align: left; }
  .timeline__n { grid-row: 1 / span 2; align-self: start; margin-bottom: 0; box-shadow: none; }
  .timeline__step h3 { grid-column: 2; align-self: center; }
  .timeline__step p { grid-column: 2; }
  .sim { grid-template-columns: minmax(0, 1fr); }
  .sim__form { border-right: 0; border-bottom: 1px solid var(--border-glass); }
  .cta-final__box { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}
@media (max-width: 560px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat::after { display: none !important; }
  .proj__grid, .dif__grid { grid-template-columns: 1fr; }
  .sim__dash { flex-direction: column; text-align: center; gap: 1.1rem; }
  .sim__headline { width: 100%; }
  .sim__presets { flex-wrap: wrap; }
  .sim__presets button { flex: 1 1 calc(50% - .25rem); }
  .ba { max-width: 320px; margin-inline: auto; }
  .ba__row { grid-template-columns: 66px 1fr 64px; }
  .hero__trust { gap: 1rem; }
}
