/* Eco Energy: conteúdo do venexiaenergia no conceito do /site/ (preto e branco, caixa alta fina, fotos grandes),
   com animações mais alegres (palavras que saltam, sol girando, fita corrida, confete). */
.en { --sol: #ffd76a; --mola: cubic-bezier(.34, 1.56, .64, 1); }
.en .e-selo { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 16px; }
.en .e-intro { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.en .e-intro h2 { font-size: clamp(20px, 2.3vw, 30px); line-height: 1.25; margin-bottom: 14px; }
.en .e-intro > p:last-child:not(.e-selo) { font-size: 14px; line-height: 1.7; color: #555; }

/* ---------- Herói ---------- */
.en .heroi .legenda { max-width: 520px; }
.en .heroi .e-selo { color: var(--sol); margin-bottom: 14px; }
.en .raio { display: inline-block; color: #fff; animation: pisca 2.4s 2s ease-in-out infinite; }
.e-h1 { font-weight: 300; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.08; letter-spacing: .01em; text-transform: none; margin-bottom: 18px; }
.e-h1 .grande { color: var(--sol); font-weight: 400; font-size: 1.25em; text-align: left; letter-spacing: 0; }
.en .heroi .legenda h2 { font-size: clamp(16px, 1.6vw, 22px); margin-bottom: 12px; }
.en .heroi .legenda p { font-size: 14px; }
.en .heroi .legenda b { color: var(--sol); font-weight: 500; }
.pula { display: inline-block; opacity: 0; transform: translateY(40px) scale(.7) rotate(-4deg); animation: pula .9s var(--mola) forwards; animation-delay: calc(.25s + var(--i, 0) * .14s); }
.legenda p.pula, .legenda .link.pula { display: block; width: fit-content; }
@keyframes pula { to { opacity: 1; transform: none; } }
@keyframes pisca { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }

/* sol que gira e respira sobre a foto do pôr do sol */
.sol { position: absolute; top: 18%; right: 12%; width: clamp(70px, 9vw, 120px); z-index: 2; stroke: var(--sol); stroke-width: 3; stroke-linecap: round; fill: none; filter: drop-shadow(0 0 14px rgba(255, 215, 106, .6)); opacity: 0; animation: entra-sol 1.2s .9s var(--mola) forwards; }
.sol circle { fill: rgba(255, 215, 106, .25); animation: respira 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.sol-raios { transform-origin: 60px 60px; animation: gira 14s linear infinite; }
@keyframes entra-sol { from { opacity: 0; transform: scale(.2) rotate(-120deg); } to { opacity: 1; transform: none; } }
@keyframes gira { to { transform: rotate(360deg); } }
@keyframes respira { 50% { transform: scale(1.15); } }

/* ---------- Fita corrida ---------- */
.fita { background: #000; color: #fff; overflow: hidden; padding: 16px 0; border-bottom: 1px solid #222; }
.fita-trilho { display: flex; gap: 28px; width: max-content; animation: corre 32s linear infinite; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; align-items: center; }
.fita i { font-style: normal; color: var(--sol); display: inline-block; animation: gira 6s linear infinite; }
.fita:hover .fita-trilho { animation-play-state: paused; }
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- Surgir ao rolar (com mola) ---------- */
.surge { opacity: 0; transform: translateY(46px) scale(.96); transition: opacity .7s ease, transform .9s var(--mola); transition-delay: calc(var(--d, 0) * .12s); }
.surge.vista { opacity: 1; transform: none; }

/* ---------- Como funciona ---------- */
.e-como { padding: 100px 28px 90px; }
.passos-e { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: p; }
.passos-e li { border-top: 1px solid #000; padding-top: 20px; position: relative; }
.passos-e .num { position: absolute; top: 18px; right: 0; font-size: 11px; letter-spacing: .16em; color: var(--cinza); }
.passos-e svg { width: 58px; height: 58px; stroke: #000; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; transition: transform .5s var(--mola), stroke .3s; }
.passos-e li:hover svg { transform: translateY(-8px) rotate(-6deg) scale(1.08); stroke: #b8913f; }
.passos-e li.vista svg { animation: quica 1s var(--mola) both; animation-delay: calc(.3s + var(--d, 0) * .15s); }
@keyframes quica { 0% { transform: translateY(-30px) scale(.6); } 60% { transform: translateY(4px) scale(1.05); } 100% { transform: none; } }
.passos-e h3 { font-size: 12px; letter-spacing: .12em; margin-bottom: 8px; }
.passos-e p { font-size: 13px; line-height: 1.65; color: #555; }

/* ---------- Faixa preta com o mapa (variáveis do simulador e do mapa) ---------- */
.escuro { --bg: #000; --ink: #f4f1ea; --body: #c9c5bd; --muted: #a29f99; --faint: #6f6c67; --line: #26262a; --line-2: #3a3a40; --gold: #d6b871; --gold-2: #ac9660; --rust: #e0866a; --fonte: var(--f); background: #000; color: var(--ink); }
.e-cob { padding: 100px 28px 90px; }
.e-cob .e-intro > p:last-child { color: #a29f99; }
.escuro h3 { font-weight: 300; text-transform: none; letter-spacing: 0; }
.mc-ficha h3 { font-size: 28px; }

/* ---------- Simulador: foto + painel ---------- */
.e-sim { display: grid; grid-template-columns: 1fr 1fr; }
.e-sim-img { position: relative; min-height: 680px; overflow: hidden; color: #fff; }
.e-sim-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.e-sim-img::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.e-sim-txt { position: absolute; left: 36px; right: 36px; bottom: 40px; z-index: 1; max-width: 480px; }
.e-sim-txt .e-selo { color: var(--sol); }
.e-sim-txt h2 { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; margin-bottom: 18px; }
.e-sim-txt ul { list-style: none; display: grid; gap: 8px; font-size: 13px; }
.e-sim-txt li::before { content: '✓'; color: var(--sol); margin-right: 10px; display: inline-block; }
.e-sim-painel { display: flex; align-items: center; padding: 40px 6%; }
.e-sim-painel .sim { margin: 0; width: 100%; background: transparent; border: 0; padding: 0; }
.e-sim-painel .sim-head h2 { text-transform: uppercase; letter-spacing: .12em; font-size: 15px; font-weight: 400; }
.sim-opt .pct { display: inline-block; }
.sim-opt.best .pct.pop { animation: pop .6s var(--mola); }
@keyframes pop { 0% { transform: scale(.75); } 60% { transform: scale(1.12); } 100% { transform: none; } }
.faisca { position: fixed; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; z-index: 60; animation: faisca .9s ease-out forwards; }
@keyframes faisca { to { transform: translate(var(--x), var(--y)) scale(.2); opacity: 0; } }

/* ---------- Para quem ---------- */
.e-quem { padding: 100px 28px 90px; }
.quem-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.q-foto { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 22px; }
.q-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--mola); }
.quem-grade article:hover .q-foto img { transform: scale(1.06) rotate(.6deg); }
.quem-grade h3 { font-size: 14px; letter-spacing: .14em; margin-bottom: 10px; }
.quem-grade p { font-size: 13px; line-height: 1.7; color: #555; margin-bottom: 18px; max-width: 560px; }
.quem-grade h4 { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
.quem-grade ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; font-size: 13px; color: #333; }
.quem-grade li { border-bottom: 1px solid var(--linha); padding: 6px 0; }

/* ---------- Dúvidas ---------- */
.e-faq { padding: 30px 28px 100px; }
.faq-lista { max-width: 860px; margin: 0 auto; border-top: 1px solid #000; }
.faq-lista details { border-bottom: 1px solid var(--linha); }
.faq-lista summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.faq-lista summary::-webkit-details-marker { display: none; }
.faq-lista summary::after { content: '+'; font-size: 22px; font-weight: 300; line-height: 1; transition: transform .45s var(--mola); }
.faq-lista details[open] summary::after { transform: rotate(135deg); }
.faq-lista summary:hover { color: #b8913f; }
.faq-lista p { font-size: 14px; line-height: 1.7; color: #555; padding: 0 0 22px; animation: abre .5s var(--mola); }
@keyframes abre { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Fecho com confete ---------- */
.e-fim { position: relative; height: min(720px, 88vh); min-height: 500px; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.e-fim > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.e-fim::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.e-fim-txt { position: relative; z-index: 2; padding: 0 20px; }
.e-fim h2 { font-size: clamp(26px, 3.6vw, 48px); font-weight: 300; text-transform: none; letter-spacing: .01em; margin-bottom: 30px; }
.e-fim .btn-borda { transition: transform .4s var(--mola), background .2s, color .2s; }
.e-fim .btn-borda:hover { transform: scale(1.08) rotate(-2deg); }
.confete { position: absolute; top: -20px; z-index: 1; width: 9px; height: 14px; animation: cai linear forwards; }
@keyframes cai { to { transform: translate(var(--x), 110vh) rotate(var(--r)); } }

/* ---------- Celular ---------- */
@media (max-width: 900px) {
  .passos-e { grid-template-columns: 1fr 1fr; gap: 34px 18px; }
}
@media (max-width: 760px) {
  .e-como, .e-cob, .e-quem { padding: 70px 16px; }
  .e-faq { padding: 10px 16px 70px; }
  .en .e-intro { margin-bottom: 36px; }
  .sol { top: 16%; right: 8%; }
  .e-sim { grid-template-columns: 1fr; }
  .e-sim-img { min-height: 560px; }
  .e-sim-txt { left: 16px; right: 16px; bottom: 28px; }
  .e-sim-painel { padding: 44px 16px 50px; }
  .quem-grade { grid-template-columns: 1fr; gap: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .pula, .surge, .sol { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  .fita-trilho, .sol-raios, .sol circle, .fita i, .raio { animation: none !important; }
}

/* contraste do texto sobre as fotos claras do herói */
.en .metade::after { inset: 25% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.45) 35%, rgba(0,0,0,.82)); }
.en .heroi .legenda { text-shadow: 0 1px 14px rgba(0,0,0,.35); }
