/* ============================================================
   ELETRO SOLAR — Seções da home
   ============================================================ */

/* cortina de chegada */
.page-intro { position: fixed; inset: 0; z-index: 999; background: var(--bg); pointer-events: none;
  animation: introOut 1s var(--ease-out) .1s forwards; }
@keyframes introOut { to { opacity: 0; transform: scale(1.04); visibility: hidden; } }

/* ===================== FUNDO DE SEÇÃO (foto recolorida) ===================== */
.has-bg { position: relative; overflow: hidden; }
.has-bg > :not(.sec-bg) { position: relative; z-index: 2; }
.sec-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
/* imagem/vídeo REAIS de fundo (mais robusto que var(--img)) */
.sec-bg__img, .sec-bg__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.08) brightness(.92) contrast(1.03); }
.sec-bg__video { filter: saturate(1.06) brightness(.82) contrast(1.03); }
.sec-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(42,22,8,.16), rgba(20,12,6,.22)),
    linear-gradient(180deg, var(--bg) 0%, rgba(6,9,16,.58) 9%, rgba(6,9,16,.34) 26%, rgba(6,9,16,.3) 80%, var(--bg) 100%); }
/* variação ainda mais aberta (ex.: pôr do sol do simulador) */
.sec-bg--show .sec-bg__img { filter: saturate(1.1) brightness(1.04) contrast(1.02); object-position: center 42%; }
.sec-bg--show::after { background:
    linear-gradient(rgba(42,22,8,.1), rgba(20,12,6,.16)),
    linear-gradient(180deg, var(--bg) 0%, rgba(6,9,16,.46) 9%, rgba(6,9,16,.22) 26%, rgba(6,9,16,.34) 88%, var(--bg) 100%); }
/* texto sobre o fundo: mais claro + sombra forte para legibilidade */
.has-bg .body { color: rgba(253,243,230,.92); }
.has-bg .section__head, .has-bg .section__head--left, .has-bg .vtimeline__txt, .has-bg .usina__body {
  text-shadow: 0 1px 3px rgba(0,0,0,.8), 0 2px 20px rgba(0,0,0,.9); }
/* contorno extra no texto com gradiente dourado (legibilidade sobre fotos) */
.has-bg .title b, .has-bg .display b { filter: drop-shadow(0 2px 6px rgba(0,0,0,.85)); }
/* destaque: o texto fica sobre o céu claro → escurece o lado do texto */
.destaque .sec-bg::after {
  background:
    linear-gradient(90deg, transparent 38%, rgba(6,9,16,.5) 68%, rgba(6,9,16,.7) 100%),
    linear-gradient(rgba(42,22,8,.14), rgba(20,12,6,.2)),
    linear-gradient(180deg, var(--bg) 0%, rgba(6,9,16,.26) 12%, rgba(6,9,16,.3) 88%, var(--bg) 100%); }

/* ===================== HERO ===================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  opacity: .6; filter: saturate(1.05) contrast(1.04); }
.hero__overlay { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,10,20,.95) 0%, rgba(6,10,20,.6) 46%, rgba(6,10,20,.2) 100%),
    linear-gradient(0deg, var(--bg) 2%, rgba(6,10,20,.1) 42%, rgba(6,10,20,.5) 100%),
    radial-gradient(80% 60% at 80% 30%, rgba(255,138,30,.18), transparent 70%); }
.hero__inner { position: relative; z-index: 2; padding-block: 120px; }
.hero__copy { max-width: 780px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__title { font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -.03em;
  font-size: clamp(44px, 7vw, 100px); margin: 0; }
.hero__title b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(17px, 1.8vw, 22px); line-height: 1.5; color: rgba(238,243,255,.85); max-width: 52ch; }
.hero__sub strong { color: var(--blue-bright); font-weight: 700; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 1.5px solid var(--border-strong); border-radius: 14px; display: grid; justify-items: center; padding-top: 8px; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: var(--blue-bright); animation: scrollCue 1.8s var(--ease) infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(12px); } }

/* ===================== STATS ===================== */
.stats { position: relative; z-index: 2; padding-block: clamp(2.5rem, 5vw, 4rem); border-block: 1px solid var(--hair-soft); }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(20px, 3vw, 40px); }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 50px); line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; letter-spacing: -.03em; }
.stat__label { font-family: var(--font-ui); font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-mid); margin-top: 10px; display: block; }

/* ===================== PROTEÇÃO / BANNER ===================== */
.protect__box { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(24px, 4vw, 56px);
  align-items: center; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hair-soft);
  background: linear-gradient(135deg, var(--panel-2), var(--panel)); padding: clamp(28px, 4vw, 56px); box-shadow: var(--shadow-card); }
.protect__deco { position: absolute; top: 0; right: 0; width: 55%; height: 100%; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 90% 30%, rgba(255,138,30,.16), transparent 70%); }
.protect__text { position: relative; z-index: 2; }
.protect__title { font-family: var(--font-display); font-weight: 800; line-height: 1.04; letter-spacing: -.03em;
  font-size: clamp(28px, 4vw, 52px); }
.protect__title b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.protect__sub { color: var(--text-mid); margin: 16px 0 24px; max-width: 44ch; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.6; }
.protect__sub strong { color: var(--yellow); font-weight: 600; }
.protect__cta { margin-top: 4px; white-space: normal; text-align: left; line-height: 1.3; }
.protect__benes { display: flex; gap: clamp(16px, 2.4vw, 30px); margin-top: 30px; flex-wrap: wrap; }
.bene { display: flex; align-items: center; gap: 11px; }
.bene__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; flex: 0 0 auto;
  background: radial-gradient(circle at 35% 30%, rgba(255,178,77,.25), rgba(255,138,30,.06)); border: 1px solid var(--hair); }
.bene strong { display: block; font-family: var(--font-ui); font-weight: 600; font-size: 14px; color: var(--text-high); }
.bene small { display: block; color: var(--text-mid); font-size: 12px; }
.protect__media { position: relative; z-index: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hair); aspect-ratio: 4/3; }
.protect__media img { width: 100%; height: 100%; object-fit: cover; }
.protect__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(15,10,6,.35), transparent 40%), linear-gradient(0deg, rgba(255,138,30,.12), transparent 45%); }
.protect__stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 3vw, 36px);
  margin-top: clamp(2.2rem, 4.5vw, 3.6rem); }

/* ===================== SOLUÇÕES (cards gráficos) ===================== */
.solucoes { position: relative; overflow: hidden; }
.solucoes > .container { position: relative; z-index: 2; }
.solu-bg { position: absolute; inset: 0; z-index: 0; }
.solu-bg::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(46,26,8,.5), rgba(32,18,6,.62)), url("../assets/img/solu-bg.jpg") center/cover no-repeat;
  background-blend-mode: multiply;
  filter: saturate(.9) brightness(.6) contrast(1.06); }
.solu-bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 24%, transparent 70%, var(--bg) 100%),
    radial-gradient(82% 56% at 72% 26%, rgba(255,138,30,.42), transparent 70%); }
.solu__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 20px); }
.solu-card { position: relative; border-radius: var(--radius); overflow: hidden; padding: clamp(22px, 2.2vw, 30px);
  border: 1px solid var(--hair-soft); background: linear-gradient(160deg, var(--panel-2), var(--panel));
  transition: transform .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.solu-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-ring);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.solu-card:hover { transform: translateY(-6px); border-color: var(--hair); box-shadow: var(--shadow-card); }
.solu-card:hover::before { transform: scaleX(1); }
.solu-card__ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; font-size: 26px;
  background: radial-gradient(circle at 35% 30%, rgba(255,178,77,.25), rgba(255,138,30,.08)); border: 1px solid var(--hair);
  margin-bottom: 18px; transition: transform .4s var(--ease-spring); }
.solu-card:hover .solu-card__ic { transform: scale(1.08) rotate(-4deg); }
.solu-card__tag { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-bright); }
.solu-card h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); color: var(--text-high); margin: 6px 0 8px; }
.solu-card p { font-size: 13.5px; color: var(--text-mid); margin: 0; }
.solu-card p strong { color: var(--blue-bright); font-weight: 700; }
.solu-card__link { margin-top: 16px; display: inline-flex; }

/* ===================== SIMULADOR ===================== */
.simulador { position: relative; }
.sim { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(20px, 3vw, 44px);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 44px); box-shadow: var(--shadow-card);
  background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 1px solid var(--hair-soft); }
.sim__form, .sim__result { min-width: 0; }
.sim select, .sim__cards, .ba__bar { min-width: 0; max-width: 100%; }
.sim__panel-eyebrow, .sim__result-eyebrow { font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-bright); margin: 0 0 18px; }
.field { margin-bottom: 22px; }
.field > label { display: block; font-family: var(--font-ui); font-size: 13px; color: var(--text-mid); margin-bottom: 10px; }
.field__money { display: flex; align-items: center; gap: 8px; background: rgba(6,10,20,.5); border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm); padding: 0 16px; transition: border-color .25s var(--ease); }
.field__money:focus-within { border-color: var(--blue); }
.field__money span { font-family: var(--font-ui); color: var(--text-mid); font-size: 16px; }
.field__money input { flex: 1; background: none; border: none; outline: none; color: var(--text-high);
  font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; padding: 14px 0; -moz-appearance: textfield; }
.field__money input::-webkit-outer-spin-button, .field__money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; margin-top: 16px;
  background: linear-gradient(90deg, var(--blue) var(--p,4%), rgba(214,224,247,.16) var(--p,4%)); outline: none; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad-blue); cursor: pointer; box-shadow: 0 0 0 5px rgba(255,138,30,.2); transition: transform .15s; }
.slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider::-moz-range-thumb { width: 20px; height: 20px; border: none; border-radius: 50%; background: var(--blue); cursor: pointer; }
.sim__presets { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.sim__presets button { font-family: var(--font-ui); font-size: 12.5px; padding: 7px 13px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass); color: var(--text-mid); transition: .25s var(--ease); }
.sim__presets button:hover { border-color: var(--blue); color: var(--text-high); }
.sim__presets button.is-active { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 600; }
.sim__consumo { font-size: 12.5px; color: var(--text-mid); margin: 12px 0 0; }
.sim__consumo strong { color: var(--blue-bright); }
.sim select { width: 100%; background: rgba(6,10,20,.5); border: 1px solid var(--border-glass); border-radius: var(--radius-sm);
  color: var(--text-high); font-family: var(--font-ui); font-size: 15px; padding: 14px 16px; outline: none; cursor: pointer; }
.sim select:focus { border-color: var(--blue); }
.seg-toggle { display: flex; gap: 6px; background: rgba(6,10,20,.5); border: 1px solid var(--border-glass); border-radius: var(--radius-pill); padding: 5px; }
.seg-toggle__opt { flex: 1; font-family: var(--font-ui); font-size: 13px; padding: 10px; border-radius: var(--radius-pill);
  color: var(--text-mid); transition: .25s var(--ease); }
.seg-toggle__opt.is-active { background: var(--grad-blue); color: #fff; font-weight: 600; }

.sim__result { border-left: 1px solid var(--hair-soft); padding-left: clamp(20px, 3vw, 40px); }
.sim__dash { display: flex; gap: clamp(18px, 2.5vw, 32px); align-items: center; flex-wrap: wrap; }
.gauge { position: relative; width: 150px; height: 150px; flex: 0 0 auto; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge__bg { fill: none; stroke: rgba(214,224,247,.1); 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.3s var(--ease-out); }
.gauge__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge__pct { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--text-high); line-height: 1; }
.gauge__center small { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mid); margin-top: 4px; }
.sim__headline { flex: 1 1 200px; min-width: 0; }
.sim__save { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; line-height: 1; margin-bottom: 16px; }
.ba { display: flex; flex-direction: column; gap: 10px; }
.ba__row { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 10px; }
.ba__label { font-size: 11.5px; color: var(--text-mid); }
.ba__bar { height: 9px; border-radius: 5px; background: rgba(214,224,247,.08); overflow: hidden; }
.ba__fill { display: block; height: 100%; width: 0; border-radius: 5px; transition: width 1.2s var(--ease-out); }
.ba__fill--now { background: linear-gradient(90deg, #5a6a8c, #8a98b8); }
.ba__fill--new { background: var(--grad-blue); }
.ba__val { font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; color: var(--text-high); }
.sim__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0; }
.sim__mini { background: rgba(6,10,20,.42); border: 1px solid var(--hair-soft); border-radius: var(--radius-sm);
  padding: 14px 12px; text-align: center; transition: .3s var(--ease-out); }
.sim__mini:hover { border-color: var(--hair); transform: translateY(-3px); }
.sim__mini i { font-style: normal; font-size: 19px; display: block; margin-bottom: 6px; }
.sim__mini span { font-family: var(--font-display); font-weight: 700; font-size: clamp(14px, 1.4vw, 18px); color: var(--blue-bright); display: block; }
.sim__mini small { font-size: 10.5px; color: var(--text-mid); display: block; margin-top: 4px; line-height: 1.3; }
.sim__disclaimer { font-size: 11px; color: var(--text-low); text-align: center; margin: 12px 0 0; }

/* ===================== COMO FUNCIONA (timeline) ===================== */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2vw, 26px); position: relative; }
.timeline::before { content: ""; position: absolute; top: 19px; left: 6%; right: 6%; height: 2px; background: var(--grad-line); opacity: .5; }
.timeline__step { position: relative; text-align: center; }
.timeline__n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--blue-bright);
  background: var(--bg-2); border: 1px solid var(--hair); position: relative; z-index: 2; transition: .35s var(--ease-out); }
.timeline__step:hover .timeline__n { background: var(--grad-blue); color: #fff; border-color: transparent; transform: scale(1.1); box-shadow: var(--glow-blue); }
.timeline__step h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 1.6vw, 20px); color: var(--text-high); margin-bottom: 8px; }
.timeline__step p { font-size: 13px; color: var(--text-mid); line-height: 1.55; max-width: 22ch; margin: 0 auto; }

/* ===================== PROCESSO (montagem foto + timeline vertical) ===================== */
.section__head--left { text-align: left; max-width: none; margin: 0 0 10px; }
.section__head--left .body { margin: 16px 0 0; }
.processo__split { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 4.5vw, 70px); align-items: center; }
.processo__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hair);
  aspect-ratio: 4/5; box-shadow: 0 30px 70px -30px rgba(0,0,0,.85), 0 0 90px -24px rgba(255,138,30,.34); }
.processo__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.processo__photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,10,6,.85), transparent 42%), linear-gradient(120deg, rgba(255,138,30,.14), transparent 45%); }
.processo__badge { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-ui); font-weight: 600; font-size: 13px; color: var(--text-high); padding: 9px 15px; border-radius: var(--radius-pill);
  background: rgba(15,10,6,.55); border: 1px solid var(--hair); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.processo__badge-ic { color: var(--yellow); }
.vtimeline { position: relative; display: flex; flex-direction: column; gap: clamp(16px, 2vw, 24px); margin-top: 28px; }
.vtimeline::before { content: ""; position: absolute; left: 19px; top: 14px; bottom: 14px; width: 2px;
  background: var(--grad-line); opacity: .45; }
.vtimeline__step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: flex-start; }
.vtimeline__n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--blue-bright);
  background: var(--bg-2); border: 1px solid var(--hair); position: relative; z-index: 2; transition: .35s var(--ease-out); }
.vtimeline__step:hover .vtimeline__n { background: var(--grad-blue); color: #fff; border-color: transparent; box-shadow: var(--glow-blue); transform: scale(1.08); }
.vtimeline__txt h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 1.6vw, 20px); color: var(--text-high); margin-bottom: 5px; }
.vtimeline__txt p { font-size: 13.5px; color: var(--text-mid); line-height: 1.55; max-width: 46ch; margin: 0; }

/* ===================== PROJETO DESTAQUE (gráfico) + PROJETOS ===================== */
.usina__split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
/* vídeo do projeto destaque */
.usina__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hair);
  aspect-ratio: 4 / 5; box-shadow: 0 36px 84px -30px rgba(0,0,0,.85), 0 0 70px -18px rgba(255,138,30,.3); background: #060a14; }
.usina__media video, .usina__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.usina__media .tag { position: absolute; top: 16px; left: 16px; z-index: 2; }
.usina__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,138,30,.08), transparent 45%); }
/* painel "blueprint" no lugar de foto */
.bp-panel { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--hair);
  background:
    linear-gradient(160deg, rgba(255,138,30,.18), rgba(255,94,46,.10)),
    var(--panel); }
.bp-panel::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,178,77,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,178,77,.14) 1px, transparent 1px);
  background-size: 38px 38px; }
.bp-array { position: absolute; inset: 18% 12% 16%; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); gap: 8px;
  transform: perspective(680px) rotateX(46deg) rotateZ(-2deg); }
.bp-cell { border-radius: 4px; background: linear-gradient(150deg, rgba(255,178,77,.55), rgba(255,138,30,.2));
  border: 1px solid rgba(255,200,120,.5); box-shadow: 0 6px 18px -8px rgba(255,138,30,.6);
  animation: cellPulse 4s var(--ease) infinite; }
.bp-cell:nth-child(odd) { animation-delay: .6s; }
.bp-cell:nth-child(3n) { animation-delay: 1.2s; }
@keyframes cellPulse { 0%,100% { opacity: .55; } 50% { opacity: .95; } }
.bp-panel .tag { position: absolute; top: 16px; left: 16px; z-index: 2; }
.usina__body .title { margin: 16px 0; }
.usina__body .body { margin-bottom: 24px; }
.stat-row { display: flex; gap: clamp(22px, 3vw, 46px); flex-wrap: wrap; }
.stat-row .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 44px); line-height: 1; letter-spacing: -.03em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-row .l { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-mid); margin-top: 8px; }

.proj__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 20px); margin-top: clamp(2.5rem, 5vw, 4rem); }
.proj-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hair-soft); background: var(--panel);
  transition: transform .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.proj-card:hover { transform: translateY(-6px); border-color: var(--hair); box-shadow: var(--shadow-card); }
.proj-card__head { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--panel-2); }
.proj-card__head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.proj-card:hover .proj-card__head img { transform: scale(1.06); }
.proj-card__head::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,10,6,.7) 4%, transparent 38%), linear-gradient(120deg, rgba(255,138,30,.10), transparent 50%); }
.proj-card__head .badge { position: absolute; top: 12px; left: 12px; z-index: 2; }
.proj-card__body { padding: 18px; }
.proj-card__body h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.7vw, 20px); color: var(--text-high); }
.proj-card__desc { font-size: 12.5px; color: var(--text-mid); line-height: 1.5; margin: 8px 0 0; }
.proj-card__stats { display: flex; gap: 20px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hair-soft); }
.proj-card__stats span { display: flex; flex-direction: column; font-size: 11.5px; color: var(--text-mid); }
.proj-card__stats strong { font-family: var(--font-display); font-size: 18px; color: var(--blue-bright); font-weight: 700; }

/* ===================== TRACK HORIZONTAL (projetos) ===================== */
.conteudo { position: relative; overflow: hidden; }
.conteudo__track { display: flex; gap: 20px; padding: 6px 2px; will-change: transform; }
.conteudo .proj-card { flex: 0 0 clamp(280px, 32vw, 360px); }

/* ===================== TEXTO GIGANTE (pinado) ===================== */
.bigtext { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; z-index: 2; }
.bigtext__stage { position: relative; width: 100%; height: 42vh; }
.bigtext__word { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.04em; line-height: 1;
  font-size: clamp(46px, 13vw, 200px); color: var(--text-high); }
.bigtext__word--grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===================== DIFERENCIAIS ===================== */
.dif__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 20px); }
.dif-card { padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius); border: 1px solid var(--hair-soft);
  background: linear-gradient(160deg, var(--panel-2), var(--panel)); transition: .4s var(--ease-out); }
.dif-card:hover { transform: translateY(-5px); border-color: var(--hair); }
.dif-card__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 24px;
  background: radial-gradient(circle at 35% 30%, rgba(255,178,77,.25), rgba(255,138,30,.06)); border: 1px solid var(--hair); margin-bottom: 18px; }
.dif-card h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.7vw, 21px); color: var(--text-high); margin-bottom: 8px; }
.dif-card p { font-size: 13.5px; color: var(--text-mid); line-height: 1.6; }

/* ===================== DEPOIMENTOS ===================== */
.depo__wrap { position: relative; }
.tviewport { overflow: hidden; }
.ttrack { display: flex; gap: 20px; transition: transform .6s var(--ease-out); }
.tcard { flex: 0 0 calc((100% - 40px) / 3); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--hair-soft); background: linear-gradient(160deg, var(--panel-2), var(--panel)); display: flex; flex-direction: column; gap: 16px; }
.tcard__stars { color: var(--yellow); letter-spacing: 3px; font-size: 15px; }
.tcard__text { font-size: 14.5px; line-height: 1.7; color: var(--text-high); flex: 1; }
.tcard__author { display: flex; align-items: center; gap: 12px; }
.tcard__av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
  background: var(--grad-blue); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.tcard__name { font-family: var(--font-ui); font-weight: 600; font-size: 14px; color: var(--text-high); display: block; }
.tcard__meta { font-size: 12px; color: var(--text-mid); }
.tcar__nav { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.tcar__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--hair); display: grid; place-items: center; color: var(--text-high); transition: .25s var(--ease); }
.tcar__btn:hover:not(:disabled) { background: var(--blue); color: #fff; border-color: var(--blue); }
.tcar__btn:disabled { opacity: .3; cursor: not-allowed; }
.tcar__btn svg { width: 20px; height: 20px; }

/* ===================== CLIENTES + PROPÓSITO ===================== */
.clientes__band { text-align: center; }
.prop { max-width: 1000px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3vh, 32px); }
.quote--lg { border: none; padding: 0; margin: 0; }
.quote--lg p { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 33px); line-height: 1.32; letter-spacing: -.02em; color: var(--text-high); margin: 0 0 18px; }
.quote--lg cite { font-style: normal; font-size: 13px; letter-spacing: .04em; color: var(--blue-bright); font-weight: 600; }
.prop__qa { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 42px); width: 100%; margin-top: 6px; padding-top: 30px; border-top: 1px solid var(--hair-soft); text-align: left; }
.qa__q { font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 1.6vw, 20px); color: var(--blue-bright); display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.qa__q::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-ring); flex: 0 0 auto; }
.qa__a { font-size: 13.5px; line-height: 1.62; color: var(--text-mid); margin: 0; }
.prop__stats { justify-content: center; margin-top: 8px; }

/* ===================== FAQ ===================== */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item { border: 1px solid var(--hair-soft); border-radius: var(--radius-sm); overflow: hidden; background: var(--glass-bg); transition: border-color .3s var(--ease); }
.acc-item[open] { border-color: var(--hair); }
.acc-item summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(15px, 1.5vw, 18px); color: var(--text-high); }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item__ic { position: relative; width: 20px; height: 20px; flex: 0 0 auto; }
.acc-item__ic::before, .acc-item__ic::after { content: ""; position: absolute; background: var(--blue-bright); border-radius: 2px; top: 50%; left: 50%; transition: transform .3s var(--ease-out); }
.acc-item__ic::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.acc-item__ic::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.acc-item[open] .acc-item__ic::after { transform: translate(-50%, -50%) scaleY(0); }
.acc-item__body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-item[open] .acc-item__body { max-height: 320px; }
.acc-item__body p { padding: 0 24px 22px; font-size: 14px; line-height: 1.7; color: var(--text-mid); margin: 0; }

/* ===================== CTA FINAL + CONTATO ===================== */
.cta-final { position: relative; }
.cta-final__box { position: relative; border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; border: 1px solid var(--hair); }
.cta-final__media { position: relative; padding: clamp(34px, 4vw, 60px); display: flex; flex-direction: column; justify-content: center; min-height: 420px;
  background: linear-gradient(120deg, rgba(6,10,20,.92), rgba(6,10,20,.5)), url("../assets/img/hero-poster.jpg") center/cover; }
.cta-final__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 80% at 20% 30%, rgba(255,138,30,.25), transparent 70%); }
.cta-final__media > * { position: relative; z-index: 2; }
.cta-final__media h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 16px; }
.cta-final__media p { color: rgba(238,243,255,.84); max-width: 40ch; margin-bottom: 22px; }
.cta-final__list { display: flex; flex-direction: column; gap: 10px; }
.cta-final__list li { font-size: 14px; color: var(--text-high); }
.cta-form { padding: clamp(28px, 3vw, 44px); background: var(--panel); display: flex; flex-direction: column; gap: 14px; }
.cta-form h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); color: var(--text-high); margin-bottom: 6px; }
.cta-form .field { margin-bottom: 0; }
.cta-form input { width: 100%; background: rgba(6,10,20,.5); border: 1px solid var(--border-glass); border-radius: var(--radius-sm);
  color: var(--text-high); font-family: var(--font-ui); font-size: 15px; padding: 13px 16px; outline: none; transition: border-color .25s var(--ease); }
.cta-form input:focus { border-color: var(--blue); }
.cta-form .field__money { padding: 0 16px; }
.cta-form .field__money input { font-size: 17px; padding: 13px 0; border: none; }
.cta-form__ok { color: var(--blue-bright); font-size: 14px; text-align: center; margin: 4px 0 0; }

/* ===================== FOOTER ===================== */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--hair-soft); padding-block: clamp(3rem, 6vw, 5rem) 2rem; margin-top: 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.footer__brand .brand__logo { height: 56px; }
.footer__brand p { color: var(--text-mid); margin: 16px 0; max-width: 32ch; font-size: 14px; line-height: 1.6; }
.footer__badges { display: flex; gap: 10px; }
.footer__col h4 { font-family: var(--font-ui); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--text-mid); font-size: 14px; padding: 5px 0; transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--text-high); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hair-soft); display: grid; place-items: center; padding: 0; }
.footer__social a:hover { border-color: var(--blue); color: var(--blue-bright); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 24px; border-top: 1px solid var(--hair-soft); font-size: 12.5px; color: var(--text-low); }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 1040px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .protect__box { grid-template-columns: 1fr; }
  .protect__media { order: -1; aspect-ratio: 16/9; }
  .protect__stats { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .processo__split { grid-template-columns: 1fr; gap: 32px; }
  .processo__photo { aspect-ratio: 16/12; max-width: 560px; margin: 0 auto; width: 100%; }
  .processo__photo img { object-position: center 22%; }
  .conteudo { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .conteudo::-webkit-scrollbar { display: none; }
  .conteudo .proj-card { flex-basis: min(78vw, 360px); scroll-snap-align: start; }
  .bigtext { height: 72vh; }
  .solu__grid { grid-template-columns: repeat(2, 1fr); }
  .proj__grid { grid-template-columns: repeat(2, 1fr); }
  .dif__grid { grid-template-columns: repeat(2, 1fr); }
  .sim { grid-template-columns: minmax(0, 1fr); }
  .sim__result { border-left: none; padding-left: 0; border-top: 1px solid var(--hair-soft); padding-top: 28px; }
  .usina__split { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .timeline::before { display: none; }
  .cta-final__box { grid-template-columns: 1fr; }
  .tcard { flex-basis: calc((100% - 20px) / 2); }
  .prop__qa { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .protect__stats { grid-template-columns: repeat(2, 1fr); }
  .protect__benes { gap: 14px; }
  .solu__grid { grid-template-columns: 1fr 1fr; }
  .proj__grid, .dif__grid { grid-template-columns: 1fr; }
  .sim__cards { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .tcard { flex-basis: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions { width: 100%; flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}
/* texto gigante estático no mobile (sem pin) — leve */
@media (max-width: 720px) {
  .bigtext { height: auto; padding-block: clamp(2.5rem, 9vw, 4.5rem); }
  .bigtext__stage { position: static; height: auto; display: flex; flex-direction: column; align-items: center; gap: 2px; }
  .bigtext__word { position: static; inset: auto; opacity: 1; font-size: clamp(38px, 14vw, 70px); }
}
