/* ISG · "site mais vivo": cabeçalho que acompanha a rolagem, menu novo, topo com movimento, números que contam.
   Arquivo isolado: remover este <link> e o <script> de vida.js volta ao comportamento anterior
   (o HTML novo do menu continua funcionando sem ele). */

:root { --head-h: 92px; --glass: rgba(16, 19, 23, 0.72); --blue: #7ba3ff; }

/* ---------- cabeçalho: fixo, transparente no topo, vidro fosco depois ---------- */
.site-head {
  position: fixed;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease), box-shadow .35s var(--ease);
}
.site-head__row { transition: min-height .35s var(--ease); }
.site-head.is-stuck {
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.site-head.is-stuck .site-head__row { min-height: 68px; }
.site-head.is-stuck .brand { font-size: 2.2rem; }
.brand { transition: font-size .35s var(--ease); }
.site-head.is-away { transform: translateY(-100%); }
/* com o menu aberto: nada de transform/backdrop no cabeçalho, senão o menu fixo fica preso dentro da barra */
html.menu-open .site-head { transform: none; -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; box-shadow: none; }

/* linha de progresso da página */
.site-head__progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: linear-gradient(90deg, #3660c9, var(--blue));
  transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
  opacity: 0; transition: opacity .3s;
}
.site-head.is-stuck .site-head__progress { opacity: 1; }

/* ---------- menu do computador: traço que desliza até a seção atual ---------- */
.site-nav { position: relative; }
.site-nav__extra, .site-nav__foot { display: none; }
.site-nav > a:not(.site-nav__cta) { position: relative; padding-block: 8px; transition: color .2s; }
.site-nav > a:not(.site-nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: rgba(255, 255, 255, 0.5); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .3s var(--ease);
}
.site-nav > a:not(.site-nav__cta):hover::after { transform: scaleX(1); }
.site-nav > a[aria-current="true"] { color: #fff; }
.site-nav__marker {
  position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; border-radius: 2px;
  background: var(--blue); box-shadow: 0 0 12px rgba(123, 163, 255, 0.8);
  opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s;
  pointer-events: none;
}
.site-nav.has-current .site-nav__marker { opacity: 1; }

/* ---------- topo: um único momento de abertura ---------- */
.hero__bg img { animation: hero-drift 16s var(--ease) both; transform-origin: 70% 40%; }
@keyframes hero-drift { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__glint {
  position: absolute; inset: -20% -40%; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 236, 200, 0.0) 44%, rgba(255, 240, 210, 0.38) 50%, rgba(255, 236, 200, 0.0) 56%, transparent 58%);
  mix-blend-mode: screen;
  transform: translateX(-60%);
  animation: hero-glint 2.6s 0.9s cubic-bezier(.35, .1, .25, 1) both;
}
@keyframes hero-glint { from { transform: translateX(-60%); opacity: 1; } 85% { opacity: 1; } to { transform: translateX(60%); opacity: 0; } }
.hero__line { display: inline-block; animation: line-in .9s var(--ease) both; }
.hero__line + br + .hero__line { animation-delay: .14s; }
.hero .eyebrow { animation: line-in .8s var(--ease) both; }
.hero__lead { animation: line-in .9s .28s var(--ease) both; }
.hero__actions { animation: line-in .9s .4s var(--ease) both; }
@keyframes line-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* botão principal: brilho que passa ao passar o mouse */
.btn--hero { position: relative; overflow: hidden; isolation: isolate; }
.btn--hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(123, 163, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .7s var(--ease);
}
.btn--hero:hover::before { transform: translateX(110%); }

/* ---------- celular: botão redondo com ícone e menu em tela cheia ---------- */
@media (max-width: 900px) {
  .menu-toggle {
    position: relative; z-index: 3; gap: 10px; padding: 0 16px 0 14px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(16, 19, 23, 0.35);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    color: #f7f8fa; transition: background .3s, border-color .3s;
  }
  .menu-toggle[aria-expanded="true"] { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
  .menu-toggle__icon { position: relative; width: 18px; height: 12px; display: inline-block; }
  .menu-toggle__icon span {
    position: absolute; left: 0; right: 0; height: 1.6px; border-radius: 2px; background: currentColor;
    transition: transform .4s var(--ease), top .4s var(--ease), width .4s var(--ease);
  }
  .menu-toggle__icon span:first-child { top: 2px; }
  .menu-toggle__icon span:last-child { top: 9px; width: 70%; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child { top: 5.5px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child { top: 5.5px; width: 100%; transform: rotate(-45deg); }
  .brand { position: relative; z-index: 3; }

  .site-nav, .site-nav.is-open {
    display: flex; position: fixed; inset: 0; z-index: 2;
    padding: 104px var(--gutter) calc(28px + env(safe-area-inset-bottom));
    flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto;
    background:
      radial-gradient(90% 55% at 85% 0%, rgba(54, 96, 201, 0.35) 0%, rgba(54, 96, 201, 0) 60%),
      radial-gradient(70% 45% at 0% 100%, rgba(123, 163, 255, 0.14) 0%, rgba(123, 163, 255, 0) 60%),
      #0c0f14;
    border: 0;
    visibility: hidden; opacity: 0; clip-path: circle(0% at calc(100% - 52px) 46px);
    transition: clip-path .6s var(--ease), opacity .3s, visibility 0s .6s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; clip-path: circle(150% at calc(100% - 52px) 46px); transition: clip-path .7s var(--ease), opacity .2s, visibility 0s; }
  .site-nav .site-nav__extra { display: block; }
  .site-nav > a:not(.site-nav__cta) {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: clamp(1.45rem, 6.4vw, 1.9rem); font-weight: 450; letter-spacing: -0.03em; color: rgba(247, 248, 250, 0.88);
    opacity: 0; transform: translateY(14px);
    transition: opacity .45s var(--ease), transform .45s var(--ease), color .2s;
  }
  .site-nav > a:not(.site-nav__cta)::after {
    position: static; content: none; width: auto; height: auto; background: none; transform: none;
    font-size: 1rem; color: rgba(247, 248, 250, 0.4);
  }
  .site-nav > a[aria-current="true"] { color: #fff; }
  .site-nav > a[aria-current="true"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
  .site-nav a.site-nav__cta {
    display: inline-flex; margin-top: 22px; padding: 16px; border-radius: 999px;
    background: var(--blue); color: #08101f; font-weight: 600; justify-content: center;
    opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease);
  }
  .site-nav__foot {
    display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 28px;
    opacity: 0; transition: opacity .5s var(--ease);
  }
  .site-nav__foot a { font-size: 0.95rem; color: rgba(247, 248, 250, 0.7); }
  .site-nav.is-open > a, .site-nav.is-open .site-nav__foot { opacity: 1; transform: none; }
  .site-nav.is-open > a:nth-of-type(1) { transition-delay: .12s; }
  .site-nav.is-open > a:nth-of-type(2) { transition-delay: .16s; }
  .site-nav.is-open > a:nth-of-type(3) { transition-delay: .2s; }
  .site-nav.is-open > a:nth-of-type(4) { transition-delay: .24s; }
  .site-nav.is-open > a:nth-of-type(5) { transition-delay: .28s; }
  .site-nav.is-open > a:nth-of-type(6) { transition-delay: .32s; }
  .site-nav.is-open > a:nth-of-type(7) { transition-delay: .36s; }
  .site-nav.is-open .site-nav__foot { transition-delay: .42s; }
  .site-nav__marker { display: none; }
  html.menu-open, html.menu-open body { overflow: hidden; }
  html.menu-open .wa-float { opacity: 0; visibility: hidden; }
  .site-head.is-stuck .site-head__row { min-height: 64px; }
  .site-head.is-stuck .brand { font-size: 1.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg img, .hero__glint, .hero__line, .hero .eyebrow, .hero__lead, .hero__actions { animation: none; }
  .hero__glint { display: none; }
  .site-head, .site-nav, .site-nav > a, .site-nav__foot, .site-nav a.site-nav__cta, .site-nav__marker { transition: none !important; }
  .site-head.is-away { transform: none; }
}

/* ---------- menu do celular: cartão de contato direto pelo WhatsApp (azul + amarelo) ---------- */
@media (max-width: 900px) {
  /* lista mais compacta para o cartão caber na tela */
  .site-nav > a:not(.site-nav__cta) { padding: 11px 0; font-size: clamp(1.25rem, 5.6vw, 1.65rem); }
  .site-nav a.site-nav__cta { margin-top: 16px; padding: 13px; background: transparent; color: #fff; border: 1px solid rgba(123, 163, 255, 0.5); font-weight: 500; }
  .site-nav__foot { gap: 12px; padding-top: 22px; }

  /* borda que gira devagar: azul e amarelo */
  
  @keyframes wa-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.25; } }
  @keyframes wa-ping { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(1.8); opacity: 0; } }

  .site-nav a.site-nav__mail { text-align: center; border: 0; padding: 4px 0; font-size: 0.9rem; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
}

/* "Seu próximo passo" vira um item da lista; o cartão do WhatsApp é a ação de destaque */
@media (max-width: 900px) {
  .site-nav a.site-nav__cta {
    display: flex; align-items: center; justify-content: space-between; margin-top: 0; padding: 11px 0;
    border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0; background: none;
    font-size: clamp(1.25rem, 5.6vw, 1.65rem); font-weight: 450; letter-spacing: -0.03em; color: #fff;
  }
  .site-nav a.site-nav__cta::after { content: none; }
  .site-nav.is-open > a:nth-of-type(7) { transition-delay: .36s; }
}
/* telas baixas: lista mais justa para o cartão aparecer sem rolar */
@media (max-width: 900px) and (max-height: 760px) {
  .site-nav, .site-nav.is-open { padding-top: 84px; }
  .site-nav > a:not(.site-nav__cta), .site-nav a.site-nav__cta { padding: 8px 0; font-size: clamp(1.1rem, 5vw, 1.4rem); }
  .site-nav__foot { padding-top: 16px; gap: 8px; }
}
@media (max-width: 380px) {
}

/* ---------- quadrado "Contato direto" logo abaixo do botão Menu (celular, só no topo da página) ---------- */
.wa-tile { display: none; }
@keyframes wa-spin { to { transform: rotate(1turn); } }
@keyframes wa-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.25; } }
@keyframes wa-ping { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(1.9); opacity: 0; } }
@media (max-width: 900px) {
  .wa-tile {
    --sun: #ffc93c;
    position: absolute; top: calc(100% + 12px); right: var(--gutter); z-index: 1;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
    width: 124px; aspect-ratio: 1; padding: 11px; border-radius: 18px;
    color: #fff; text-decoration: none; isolation: isolate; overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s;
    animation: tile-in .7s .55s var(--ease) both;
  }
  @keyframes tile-in { from { opacity: 0; transform: translateY(-8px) scale(.96); } to { opacity: 1; transform: none; } }
  .wa-tile::before {                 /* borda girando: azul e amarelo */
    content: ""; position: absolute; inset: -60%; z-index: -2;
    background: conic-gradient(from 0deg, #3660c9, var(--blue), var(--sun), #3660c9 55%, #3660c9);
    animation: wa-spin 5s linear infinite;
  }
  .wa-tile::after {
    content: ""; position: absolute; inset: 1.5px; z-index: -1; border-radius: 16.5px;
    background:
      radial-gradient(120% 90% at 100% 0%, rgba(255, 201, 60, 0.16) 0%, rgba(255, 201, 60, 0) 55%),
      radial-gradient(110% 90% at 0% 100%, rgba(54, 96, 201, 0.4) 0%, rgba(54, 96, 201, 0) 60%),
      rgba(10, 14, 22, 0.88);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .wa-tile__top { display: flex; align-items: center; gap: 7px; font-size: 0.72rem; font-weight: 500; color: var(--sun); white-space: nowrap; }
  .wa-tile__live { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px var(--sun); animation: wa-blink 1.2s steps(2, jump-none) infinite; }
  .wa-tile__live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--sun); animation: wa-ping 1.6s var(--ease) infinite; }
  .wa-tile__icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(145deg, #3660c9, #7ba3ff); box-shadow: 0 0 16px rgba(123, 163, 255, 0.5); }
  .wa-tile__icon svg { width: 18px; height: 18px; }
  .wa-tile__num { font-size: 0.74rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
  .wa-tile__go {
    align-self: stretch; text-align: center; padding: 6px 0; border-radius: 999px;
    background: var(--sun); color: #1a1406; font-size: 0.78rem; font-weight: 600;
    box-shadow: 0 0 14px rgba(255, 201, 60, 0.45);
  }
  /* o texto do topo desce para o quadrado ficar sozinho embaixo do Menu */
  .hero { padding-top: 232px; }
  .wa-tile:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
  /* some quando o cabeçalho vira barra (o botão flutuante do WhatsApp assume) e com o menu aberto */
  .site-head.is-stuck .wa-tile, html.menu-open .wa-tile { opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s; }
  /* enquanto o quadrado aparece no topo, o botão flutuante fica guardado */
  .wa-float.is-top { opacity: 0; visibility: hidden; transform: translateY(8px); }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .wa-tile, .wa-tile::before, .wa-tile__live, .wa-tile__live::after { animation: none; }
}

/* ---------- faixa com a logo passando (celular e tablet, no espaço embaixo do cabeçalho) ----------
   Trilho fino com marcações e um pulso de luz; cada logo com halo e um reflexo que passa por cima. */
.hero__ribbon { display: none; }
@media (max-width: 900px) {
  .hero__ribbon {
    display: block; position: absolute; left: 0; right: 0; top: 92px; height: 116px; z-index: 0;
    overflow: hidden; pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    opacity: 0; animation: ribbon-in 1.2s .9s var(--ease) both;
  }
  @keyframes ribbon-in { to { opacity: 1; } }
  /* trilho: linha + marcações + pulso correndo */
  .ribbon__rail {
    position: absolute; left: 0; right: 0; top: 50%; height: 9px; margin-top: -4px;
    background:
      linear-gradient(90deg, transparent 0 46%, rgba(255, 201, 60, 0.95) 49.5%, #fff 50%, rgba(123, 163, 255, 0.9) 50.5%, transparent 54% 100%) 0 50% / 200% 1.5px no-repeat,
      linear-gradient(rgba(123, 163, 255, 0.35), rgba(123, 163, 255, 0.35)) 0 50% / 100% 1px no-repeat,
      repeating-linear-gradient(90deg, rgba(123, 163, 255, 0.45) 0 1px, transparent 1px 18px) 0 50% / 100% 9px no-repeat;
    animation: rail-pulse 3.2s cubic-bezier(.55, .1, .35, 1) infinite;
  }
  @keyframes rail-pulse { from { background-position: 120% 50%, 0 50%, 0 50%; } to { background-position: -20% 50%, 0 50%, 0 50%; } }
  .hero__ribbon-track { position: relative; display: flex; width: max-content; height: 100%; animation: ribbon-move 30s linear infinite; }
  .hero__ribbon-set { display: flex; align-items: center; gap: 34px; padding-right: 34px; height: 100%; }
  .ribbon__logo {
    position: relative; flex: none; width: 104px; height: 100px; display: grid; place-items: center; isolation: isolate;
  }
  .ribbon__logo::before {        /* halo atrás da logo */
    content: ""; position: absolute; inset: 6px; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(54, 96, 201, 0.55), rgba(54, 96, 201, 0.12) 60%, transparent 72%);
    animation: halo 4s ease-in-out infinite;
  }
  .ribbon__logo:nth-of-type(2n)::before { animation-delay: -2s; background: radial-gradient(closest-side, rgba(255, 201, 60, 0.38), rgba(255, 201, 60, 0.08) 60%, transparent 72%); }
  @keyframes halo { 0%, 100% { transform: scale(0.9); opacity: .7; } 50% { transform: scale(1.06); opacity: 1; } }
  .ribbon__logo img { width: 100%; height: auto; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45)); }
  .ribbon__logo::after {         /* reflexo que passa só por cima do desenho da logo */
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.75) 50%, transparent 62%) -140% 0 / 250% 100% no-repeat;
    -webkit-mask: url("assets/img/logo-isg-320.webp") center / 100% auto no-repeat;
            mask: url("assets/img/logo-isg-320.webp") center / 100% auto no-repeat;
    mix-blend-mode: soft-light;
    animation: shine 4.5s ease-in-out infinite;
  }
  .ribbon__logo:nth-of-type(4n+2)::after { animation-delay: -1.1s; }
  .ribbon__logo:nth-of-type(4n+3)::after { animation-delay: -2.2s; }
  .ribbon__logo:nth-of-type(4n)::after { animation-delay: -3.3s; }
  @keyframes shine { 0%, 45% { background-position: -140% 0; } 80%, 100% { background-position: 240% 0; } }
  /* nó do trilho entre as logos */
  .ribbon__node { flex: none; width: 9px; height: 9px; transform: rotate(45deg); border: 1.5px solid #ffc93c; background: rgba(255, 201, 60, 0.25); box-shadow: 0 0 12px rgba(255, 201, 60, 0.6); }
  @keyframes ribbon-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .hero__ribbon, .hero__ribbon-track, .ribbon__rail, .ribbon__logo::before, .ribbon__logo::after { animation: none; }
  .hero__ribbon { opacity: 1; }
}

/* ---------- logo nova no cabeçalho ---------- */
.brand--logo { line-height: 0; }
.brand__logo { width: 64px; height: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35)); transition: width .35s var(--ease); }
.site-head.is-stuck .brand__logo { width: 50px; }
@media (max-width: 900px) {
  .brand__logo { width: 54px; }
  .site-head.is-stuck .brand__logo { width: 44px; }
}
.brand__logo--foot { width: 80px; }

/* ---------- três passos: trilho que acende de 01 a 03 quando a seção aparece ---------- */
.steps { position: relative; --sun: #ffc93c; }
.steps li { position: relative; padding-top: 34px; }
.steps::before, .steps::after {             /* trilho (fundo) e luz (preenchimento) */
  content: ""; position: absolute; left: 7px; right: 0; top: 6px; height: 2px; border-radius: 2px;
}
.steps::before { background: linear-gradient(90deg, rgba(123, 163, 255, 0.28), rgba(123, 163, 255, 0.12) 85%, transparent); }
.steps::after {
  background: linear-gradient(90deg, var(--blue), #b9cdfd 55%, var(--sun));
  box-shadow: 0 0 12px rgba(123, 163, 255, 0.6);
  transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.8s cubic-bezier(.5, .05, .25, 1);
}
.steps li::before {                          /* nó de cada passo */
  content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; z-index: 1;
  border: 1.5px solid rgba(123, 163, 255, 0.55); background: var(--graphite);
  transition: background .4s, border-color .4s, box-shadow .4s, transform .4s var(--ease);
}
.steps .steps__num { transition: color .4s; }
.steps.is-lit::after, html:not(.js) .steps::after { transform: scaleX(0.9); }
.steps.is-lit li::before, html:not(.js) .steps li::before { background: var(--sun); border-color: var(--sun); box-shadow: 0 0 0 5px rgba(255, 201, 60, 0.16), 0 0 16px rgba(255, 201, 60, 0.7); transform: scale(1.05); }
.steps.is-lit li .steps__num { color: var(--sun); }
.steps.is-lit li:nth-child(1)::before, .steps.is-lit li:nth-child(1) .steps__num { transition-delay: .15s; }
.steps.is-lit li:nth-child(2)::before, .steps.is-lit li:nth-child(2) .steps__num { transition-delay: .85s; }
.steps.is-lit li:nth-child(3)::before, .steps.is-lit li:nth-child(3) .steps__num { transition-delay: 1.55s; }
@media (max-width: 900px) {                  /* no celular o trilho desce pela esquerda */
  .steps li { padding-top: 0; padding-left: 34px; }
  .steps::before, .steps::after { left: 6px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .steps::before { background: linear-gradient(180deg, rgba(123, 163, 255, 0.3), rgba(123, 163, 255, 0.1)); }
  .steps::after { background: linear-gradient(180deg, var(--blue), #b9cdfd 55%, var(--sun)); transform-origin: 50% 0; transform: scaleY(0); }
  .steps.is-lit::after, html:not(.js) .steps::after { transform: scaleY(1); }
  .steps li::before { top: 3px; }
}

/* ---------- formulário de contato: cartão de vidro com borda azul e amarela ---------- */
#contato .form {
  --sun: #ffc93c;
  position: relative; border: 1px solid transparent; border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(34, 40, 49, 0.96), rgba(22, 26, 32, 0.96)) padding-box,
    linear-gradient(135deg, rgba(123, 163, 255, 0.65), rgba(123, 163, 255, 0.15) 40%, rgba(255, 201, 60, 0.5) 75%, rgba(123, 163, 255, 0.3)) border-box;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(123, 163, 255, 0);
  transition: box-shadow .5s var(--ease);
}
#contato .form:focus-within { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), 0 0 46px rgba(123, 163, 255, 0.22); }
#contato .form::before {                     /* luz fina no topo do cartão */
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
}
#contato .form input, #contato .form select, #contato .form textarea { border-radius: 10px; transition: border-color .25s, box-shadow .25s; }
#contato .form input:focus, #contato .form select:focus, #contato .form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(123, 163, 255, 0.2); outline: none; }
#contato .form .btn--block { border-radius: 12px; position: relative; overflow: hidden; isolation: isolate; }
#contato .form .btn--block::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(123, 163, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .7s var(--ease);
}
#contato .form .btn--block:hover::before { transform: translateX(110%); }

@media (prefers-reduced-motion: reduce) {
  .steps::after, .steps li::before, .steps .steps__num { transition: none !important; }
}

/* ---------- seções com texto + desenho lado a lado ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px clamp(40px, 6vw, 88px); align-items: center; }
.split > .fit { grid-column: 1 / -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- "A ISG": o caminho da conversa ---------- */
.flow { --sun: #ffc93c; position: relative; display: grid; gap: 30px; margin: 0; padding: 6px 0 0; list-style: none; }
.flow::before, .flow::after {              /* trilho com pulso azul descendo e amarelo subindo */
  content: ""; position: absolute; left: 27px; width: 2px; top: 14px; bottom: 58px; border-radius: 2px;
}
.flow::before {
  background:
    linear-gradient(180deg, transparent 0 40%, rgba(123, 163, 255, 0.95) 48%, #fff 50%, rgba(123, 163, 255, 0.9) 52%, transparent 60% 100%) 0 0 / 100% 300% no-repeat,
    linear-gradient(180deg, rgba(123, 163, 255, 0.45), rgba(255, 201, 60, 0.4));
  animation: flow-down 3.4s cubic-bezier(.55, .1, .35, 1) infinite;
}
.flow::after {
  background: linear-gradient(0deg, transparent 0 40%, rgba(255, 201, 60, 0.95) 48%, #fff 50%, rgba(255, 201, 60, 0.9) 52%, transparent 60% 100%) 0 0 / 100% 300% no-repeat;
  animation: flow-up 3.4s 1.7s cubic-bezier(.55, .1, .35, 1) infinite;
}
@keyframes flow-down { from { background-position: 0 100%, 0 0; } to { background-position: 0 0, 0 0; } }
@keyframes flow-up { from { background-position: 0 0; } to { background-position: 0 100%; } }
.flow__node { position: relative; z-index: 1; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-items: center; }
.flow__dot { grid-row: span 2; justify-self: center; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--blue); background: var(--graphite); box-shadow: 0 0 0 5px rgba(123, 163, 255, 0.1); }
.flow__dot--logo { width: 56px; height: 56px; border: 0; background: radial-gradient(closest-side, rgba(54, 96, 201, 0.55), rgba(54, 96, 201, 0.1) 70%, transparent); box-shadow: none; display: grid; place-items: center; }
.flow__dot--logo img { width: 52px; height: auto; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4)); }
.flow__name { font-size: 1.12rem; font-weight: 500; color: var(--ink); align-self: end; }
.flow__what { font-size: 0.92rem; color: var(--ink-3); align-self: start; }
.flow__node--isg .flow__name { font-size: 1.3rem; }
.flow__node--isg { padding: 14px 18px 14px 0; margin-left: -4px; border-radius: 16px; background: linear-gradient(90deg, rgba(123, 163, 255, 0.1), rgba(123, 163, 255, 0) 80%); border: 1px solid rgba(123, 163, 255, 0.18); }
.flow__legend { display: flex; gap: 22px; padding-left: 74px; font-size: 0.8rem; color: var(--ink-3); }
.flow__key { display: inline-flex; align-items: center; gap: 8px; }
.flow__key::before { content: ""; width: 16px; height: 2px; border-radius: 2px; }
.flow__key--down::before { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.flow__key--up::before { background: var(--sun); box-shadow: 0 0 8px var(--sun); }

/* ---------- "Já tem solar?": o desvio aparecendo nos dados ---------- */
.watch {
  --sun: #ffc93c; margin: 0; padding: 18px 18px 14px; border-radius: 18px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(54, 96, 201, 0.22), transparent 55%), #14181e;
  color: #eef2f8; box-shadow: 0 30px 60px rgba(20, 22, 26, 0.22);
}
.watch__head { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: #c9d1dc; }
.watch__tag { font-size: 0.72rem; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); color: #9aa6b5; }
.watch__plot { position: relative; margin-top: 12px; }
.watch__chart { display: block; width: 100%; height: auto; overflow: visible; }
.watch__grid line { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.watch__gap { fill: rgba(255, 201, 60, 0.07); stroke: rgba(255, 201, 60, 0.45); stroke-width: 1; stroke-dasharray: 4 5; opacity: 0; transition: opacity .6s 1.3s; }
.watch__exp { fill: none; stroke: rgba(255, 255, 255, 0.4); stroke-width: 1.6; stroke-dasharray: 5 6; }
.watch__real { fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(123, 163, 255, 0.55)); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s cubic-bezier(.45, .05, .3, 1) .3s; }
.watch__area { fill: url(#watch-fill); opacity: 0; transition: opacity 1s 1.8s; }
.watch__ping, .watch__fix { transform-box: fill-box; transform-origin: center; opacity: 0; }
.watch__ping { fill: var(--sun); transition: opacity .3s 1.3s; }
.watch__fix { fill: #fff; stroke: var(--blue); stroke-width: 2; transition: opacity .3s 2.3s; }
.watch__label { position: absolute; font-size: 0.74rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s var(--ease); }
.watch__label--gap { left: 37%; top: 3%; background: var(--sun); color: #1a1406; transition-delay: 1.4s; }
.watch__label--fix { left: 67%; top: 12%; background: rgba(123, 163, 255, 0.18); border: 1px solid rgba(123, 163, 255, 0.5); color: #dfe8ff; transition-delay: 2.4s; }
.watch__keys { display: flex; gap: 20px; margin: 10px 0 0; font-size: 0.8rem; color: #9aa6b5; }
.watch__key { display: inline-flex; align-items: center; gap: 8px; }
.watch__key::before { content: ""; width: 18px; height: 0; border-top: 2px dashed rgba(255, 255, 255, 0.45); }
.watch__key--real::before { border-top: 2.6px solid var(--blue); }
/* dispara quando a figura aparece (o .reveal do site coloca .is-in) */
.watch.is-drawn .watch__real, html:not(.js) .watch__real { stroke-dashoffset: 0; }
.watch.is-drawn .watch__gap, .watch.is-drawn .watch__area, .watch.is-drawn .watch__ping, .watch.is-drawn .watch__fix, .watch.is-drawn .watch__label,
html:not(.js) .watch__gap, html:not(.js) .watch__area, html:not(.js) .watch__ping, html:not(.js) .watch__fix, html:not(.js) .watch__label { opacity: 1; transform: none; }
.watch.is-drawn .watch__ping { animation: ping-pulse 1.8s 1.6s ease-out infinite; }
@keyframes ping-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.7); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .flow::before, .flow::after, .watch.is-drawn .watch__ping { animation: none; }
  .watch__real, .watch__gap, .watch__area, .watch__ping, .watch__fix, .watch__label { transition: none; }
}

/* ---------- "Onde atuamos": troca de foto com cortina de luz ---------- */
.explorer__panel.is-entering .explorer__photo img { animation: ph-reveal .9s cubic-bezier(.6, .05, .25, 1) both; }
.explorer__panel.is-entering .explorer__photo::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 18%; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 236, 190, 0.85) 60%, rgba(255, 255, 255, 0.95), transparent);
  mix-blend-mode: screen; animation: ph-sweep .9s cubic-bezier(.6, .05, .25, 1) both;
}
.explorer__panel.is-entering .explorer__body > * { animation: line-in .6s var(--ease) both; }
.explorer__panel.is-entering .explorer__body > :nth-child(2) { animation-delay: .08s; }
.explorer__panel.is-entering .explorer__body > :nth-child(3) { animation-delay: .16s; }
.explorer__panel.is-entering .explorer__body > :nth-child(4) { animation-delay: .24s; }
@keyframes ph-reveal { from { clip-path: inset(0 100% 0 0); transform: scale(1.08); } to { clip-path: inset(0 0 0 0); transform: scale(1); } }
@keyframes ph-sweep { from { left: -18%; } to { left: 100%; } }

/* ---------- selo da Sunergia como medalha ---------- */
.medal { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 12px 16px 12px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(40, 34, 20, 0.08); }
.medal__disc { position: relative; flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #fff3c4, #ffc93c 55%, #c98a12); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.55), 0 4px 12px rgba(201, 138, 18, 0.45); }
.medal__disc svg { width: 24px; height: 24px; fill: #fff; filter: drop-shadow(0 1px 1px rgba(120, 70, 0, 0.5)); }
.medal__disc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.9) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat; animation: medal-shine 5s ease-in-out infinite; }
@keyframes medal-shine { 0%, 60% { background-position: -150% 0; } 85%, 100% { background-position: 250% 0; } }
.medal p { display: flex; flex-direction: column; gap: 2px; }
.medal strong { font-size: 1rem; font-weight: 600; color: var(--ink); }
.medal span { font-size: 0.84rem; color: var(--ink-3); }

/* ---------- mapa do Brasil ---------- */
.brmap { margin: 22px 0 0; display: grid; justify-items: center; gap: 10px; }
.brmap__svg, .brmap__fallback { width: min(340px, 100%); height: auto; overflow: visible; filter: drop-shadow(0 14px 22px rgba(54, 96, 201, 0.22)); }
.brmap .uf { fill: #d9d3c6; stroke: #f5f3ee; stroke-width: 1px; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .3s, transform .3s; transform-box: fill-box; transform-origin: center; }
.brmap.is-lit .uf { fill: #3660c9; animation: uf-in .9s var(--d, 0s) cubic-bezier(.3, .7, .3, 1) both; }
@keyframes uf-in {
  0% { fill: #d9d3c6; }
  45% { fill: #9dbaff; filter: drop-shadow(0 0 6px rgba(123, 163, 255, 0.9)); }
  100% { fill: #3660c9; filter: none; }
}
.brmap .uf.is-hot { fill: #7ba3ff; animation: none; transform: scale(1.04); filter: drop-shadow(0 4px 8px rgba(20, 40, 100, 0.35)); }
.brmap__shine { opacity: 0; }
.brmap.is-lit .brmap__shine { opacity: 1; animation: br-shine 7s 2.2s ease-in-out infinite; }
@keyframes br-shine { 0% { transform: translateX(0); } 38%, 100% { transform: translateX(var(--w, 80px)); } }
.brmap.no-anim .uf, .brmap.no-anim .brmap__shine { animation: none; }
.brmap figcaption { min-height: 1.5em; font-size: 0.88rem; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.brmap figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3660c9; box-shadow: 0 0 0 4px rgba(54, 96, 201, 0.15); animation: cap-pulse 2.4s ease-in-out infinite; }
@keyframes cap-pulse { 50% { box-shadow: 0 0 0 7px rgba(54, 96, 201, 0.05); } }

/* ---------- confirmação do contato ---------- */
.sent { display: none; }
.form__result.is-sent { animation: sent-in .6s var(--ease) both; }
.form__result.is-sent .sent { display: block; width: 52px; height: 52px; margin-bottom: 10px; }
.sent svg { width: 100%; height: 100%; overflow: visible; }
.sent__ring { fill: rgba(123, 163, 255, 0.12); stroke: #7ba3ff; stroke-width: 2.5; stroke-dasharray: 145; stroke-dashoffset: 145; transform: rotate(-90deg); transform-origin: center; }
.sent__check { fill: none; stroke: #ffc93c; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.form__result.is-sent .sent__ring { animation: draw .7s .1s var(--ease) forwards; }
.form__result.is-sent .sent__check { animation: draw .45s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes sent-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- luz fraca que segue o mouse nas seções escuras (só computador) ---------- */
html.mouse-light .sec--dark, html.mouse-light .site-foot, html.mouse-light .vitrine, html.mouse-light .dia {
  background-image: radial-gradient(560px circle at var(--mx, -999px) var(--my, -999px), rgba(123, 163, 255, 0.09), transparent 65%);
}

@media (prefers-reduced-motion: reduce) {
  .explorer__panel.is-entering .explorer__photo img, .explorer__panel.is-entering .explorer__photo::after, .explorer__panel.is-entering .explorer__body > *,
  .medal__disc::after, .form__result.is-sent, .form__result.is-sent .sent__ring, .form__result.is-sent .sent__check { animation: none; }
  .sent__ring, .sent__check { stroke-dashoffset: 0; }
}

/* comparador: o arrasto é do próprio quadro; o controle nativo fica só para o teclado */
.compare { touch-action: pan-y; cursor: ew-resize; -webkit-user-select: none; user-select: none; }
.compare__range { pointer-events: none; }
.compare img { -webkit-user-drag: none; pointer-events: none; }

/* ---------- galeria de projetos da Sunergia dentro do card ---------- */
.explorer__thumbs { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; z-index: 2; }
.explorer__thumbs button { position: relative; padding: 0; width: 92px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid rgba(255, 255, 255, 0.5); background: #000; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35); transition: border-color .25s, transform .25s; }
.explorer__thumbs button img { display: block; width: 100%; height: 54px; object-fit: cover; opacity: .75; transition: opacity .25s; }
.explorer__thumbs button span { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 5px; font-size: .62rem; line-height: 1.2; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); text-align: left; }
.explorer__thumbs button[aria-pressed="true"] { border-color: #ffc93c; transform: translateY(-2px); }
.explorer__thumbs button[aria-pressed="true"] img, .explorer__thumbs button:hover img { opacity: 1; }
.explorer__thumbs button:focus-visible { outline: 3px solid #ffc93c; outline-offset: 2px; }
.explorer__photo[data-gallery] > img { transition: opacity .35s; }
.explorer__photo[data-gallery].is-swapping > img { opacity: 0; }
@media (max-width: 900px) { .explorer__thumbs { right: 10px; bottom: 10px; } .explorer__thumbs button { width: 74px; } .explorer__thumbs button img { height: 44px; } .explorer__thumbs button span { display: none; } }

/* ---------- recarga no estacionamento ---------- */
.ev-overlay, .ev-chips { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s; clip-path: inset(0 0 0 calc(var(--split) * 1%)); }
.compare.is-ev .ev-overlay, .compare.is-ev .ev-chips { opacity: 1; }
.ev-overlay { width: 100%; height: 100%; }
.ev-post { fill: none; stroke: #fff3c4; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 16 34; filter: drop-shadow(0 0 6px rgba(255, 201, 60, .95)); animation: ev-flow var(--sp, 1s) linear infinite; opacity: .95; }
.ev-cable { fill: none; stroke: #dfe8ff; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 14 30; filter: drop-shadow(0 0 6px rgba(123, 163, 255, .95)); animation: ev-flow var(--sp, 1s) linear infinite; transition: opacity .4s; }
.ev-link { transition: opacity .4s; } .ev-link.is-off { opacity: 0; }
.ev-base { fill: none; stroke-width: 10; stroke-linecap: round; opacity: .55; }
.ev-base--sun { stroke: #ffc93c; filter: drop-shadow(0 0 10px rgba(255, 201, 60, .9)); }
.ev-base--blue { stroke: #7ba3ff; filter: drop-shadow(0 0 10px rgba(123, 163, 255, .9)); }
.ev-plug { fill: #7ba3ff; filter: drop-shadow(0 0 10px #7ba3ff); animation: ev-plug 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ev-plug { 50% { transform: scale(1.5); opacity: .6; } }
@keyframes ev-flow { to { stroke-dashoffset: -60; } }
.ev-chip { position: absolute; top: 42%; transform: translate(-50%, -100%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px 7px 8px; border-radius: 999px;
  background: rgba(8, 12, 20, 0.78); border: 1px solid rgba(123, 163, 255, 0.55); color: #fff; font-size: .78rem; font-weight: 600; white-space: nowrap;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(0, 0, 0, .35), 0 0 16px rgba(123, 163, 255, .35); transition: opacity .4s, transform .4s; }
.ev-chip::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 18px; background: linear-gradient(rgba(123, 163, 255, .9), transparent); }
.ev-chip.is-off { opacity: 0; transform: translate(-50%, -80%); }
.ev-chip__bat { position: relative; display: block; width: 26px; height: 13px; border: 2px solid #cfe0ff; border-radius: 3px; }
.ev-chip__bat::after { content: ""; position: absolute; right: -5px; top: 3px; width: 3px; height: 5px; border-radius: 0 2px 2px 0; background: #cfe0ff; }
.ev-chip__bat b { position: absolute; left: 1px; top: 1px; bottom: 1px; width: calc((100% - 2px) * var(--lvl, .3)); border-radius: 1px; background: linear-gradient(90deg, #7ba3ff, #b9ffd9); box-shadow: 0 0 8px rgba(123, 163, 255, .9); }
.ev-chip.is-full { border-color: rgba(140, 240, 190, .8); }
.ev-chip.is-full .ev-chip__bat b { background: #8cf0be; }
/* painel embaixo: quantos carros e a divisão da energia */
.ev-panel { display: none; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(123, 163, 255, .07); border: 1px solid rgba(123, 163, 255, .2); }
.compare-block.is-ev .ev-panel { display: flex; }
.ev-cars { display: inline-flex; align-items: center; gap: 6px; }
.ev-cars__label, .ev-split__label { font-size: .88rem; color: var(--ink-2); margin-right: 6px; }
.ev-cars button { width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-weight: 600; color: var(--ink); background: transparent; border: 1px solid var(--line-strong); }
.ev-cars button[aria-pressed="true"] { background: #7ba3ff; border-color: #7ba3ff; color: #08101f; box-shadow: 0 0 14px rgba(123, 163, 255, .6); }
.ev-cars button:focus-visible { outline: 3px solid #7ba3ff; outline-offset: 2px; }
.ev-split { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 220px; }
.ev-split__bar { display: flex; gap: 4px; height: 10px; }
.ev-split__bar i { flex: 1; border-radius: 6px; background: linear-gradient(90deg, #ffc93c, #7ba3ff); box-shadow: 0 0 10px rgba(255, 201, 60, .35); transition: flex .5s var(--ease), opacity .4s; }
.ev-split__bar i.is-off { flex: 0; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .ev-post, .ev-cable { animation: none; } }

@media (max-width: 700px) { .ev-chip { padding: 5px; gap: 0; } .ev-chip__txt { display: none; } .ev-chip__bat { width: 20px; height: 11px; } .ev-chip::after { height: 10px; } }
@media (prefers-reduced-motion: reduce) { .ev-plug { animation: none; } }

/* ---------- Lei 14.300 em 20 segundos ---------- */
.lei { --sun: #ffc93c; background: linear-gradient(180deg, #0b0f16, #080b10); color: #eef2f8; padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(160, 185, 230, .1); }
.lei__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px clamp(28px, 5vw, 64px); align-items: center; }
.lei__kicker { font-size: .84rem; font-weight: 600; color: var(--sun); }
.lei h2 { margin-top: 8px; font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.lei__msg { margin-top: 12px; color: #b4bdca; line-height: 1.55; min-height: 4.7em; transition: opacity .25s; }
.lei__msg.is-swap { opacity: 0; }
.lei__toggle { display: inline-flex; margin-top: 16px; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(160, 185, 230, .18); }
.lei__toggle button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; cursor: pointer; background: transparent; color: #c9d1dc; font-size: .9rem; }
.lei__toggle button[aria-pressed="true"] { background: #eef2f8; color: #0b0f15; }
.lei__toggle button:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.lei__chart { position: relative; }
.lei__bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; height: 190px; margin: 0; padding: 0; list-style: none; }
.lei__bar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.lei__fill { display: block; height: calc(var(--v, 0) * 1% * var(--k, 0)); min-height: 3px; border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #9dbaff, #3660c9); box-shadow: 0 0 16px rgba(123, 163, 255, .25); transition: height .8s cubic-bezier(.3, 1.3, .5, 1); transition-delay: calc(var(--i, 0) * 70ms); margin-bottom: 26px; }
.lei__bar.is-now .lei__fill { background: linear-gradient(180deg, #ffe08a, #e0a31c); box-shadow: 0 0 22px rgba(255, 201, 60, .55); }
.lei__bar--next .lei__fill { height: 100%; background: repeating-linear-gradient(135deg, rgba(160, 185, 230, .14) 0 6px, transparent 6px 12px); box-shadow: none; border: 1px dashed rgba(160, 185, 230, .35); }
.lei__pct { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(var(--v, 0) * 1% * var(--k, 0) + 32px); font-size: .8rem; font-weight: 600; white-space: nowrap; transition: bottom .8s cubic-bezier(.3, 1.3, .5, 1), opacity .3s; transition-delay: calc(var(--i, 0) * 70ms); }
.lei__bar--next .lei__pct { bottom: auto; top: 40%; font-size: .68rem; font-weight: 500; color: #9aa6b5; white-space: normal; text-align: center; width: 100%; }
.lei__year { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: .78rem; color: #9aa6b5; }
.lei__bar.is-now .lei__year { color: var(--sun); font-weight: 600; }
.lei__fill { position: relative; }
.lei__here { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); font-style: normal; font-size: .7rem; font-weight: 700; color: #1a1406; padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .55); animation: lei-ping 1.8s infinite; }
.lei__zero { position: absolute; left: 0; right: 14%; top: 18%; text-align: center; font-size: 1rem; color: #cfe0ff; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; pointer-events: none; }
.lei__zero strong { display: block; font-size: 2.6rem; font-weight: 500; letter-spacing: -.04em; color: #7ba3ff; text-shadow: 0 0 24px rgba(123, 163, 255, .6); }
.lei.is-hora .lei__zero { opacity: 1; transform: none; transition-delay: .35s; }
.lei.is-hora .lei__here { opacity: 0; }
@keyframes lei-ping { 50% { background: rgba(255, 255, 255, .85); } }
.lei.is-in .lei__bar { --k: 1; }
.lei.is-hora .lei__bar { --k: 0 !important; }
.lei.is-hora .lei__pct { opacity: 0; }
.lei.is-hora .lei__bar--next .lei__fill { opacity: .3; }
.lei__note { grid-column: 1 / -1; color: #7f8a99; max-width: 90ch; }
@media (max-width: 860px) {
  .lei__wrap { grid-template-columns: 1fr; }
  .lei__bars { gap: 6px; height: 170px; }
  .lei__pct { font-size: .7rem; }
  .lei__year { font-size: .7rem; }
  .lei__msg { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .lei__fill, .lei__pct { transition: none; } .lei__here { animation: none; } }
html:not(.js) .lei__bar { --k: 1; }

/* ---------- ajustes da revisão (28/09) ---------- */
/* cabeçalho de vidro: mais opaco para o texto de trás não aparecer por baixo do menu */
.site-head.is-stuck { background: rgba(14, 17, 21, 0.9); }
/* legenda da foto x "Ampliar projeto" no celular */
@media (max-width: 900px) { .explorer__credit { max-width: calc(100% - 170px); } }
/* WhatsApp flutuante no celular: menor e redondo */
@media (max-width: 560px) { .wa-float { padding: 11px; border-radius: 50%; right: 12px; bottom: 12px; } .wa-float svg { width: 20px; height: 20px; } }
/* parceria: texto alinhado ao topo, sem buraco ao lado do mapa */
.partner { align-items: start; }
/* números da Sunergia não encostam na borda no celular */
@media (max-width: 560px) { .cred__stats { justify-content: flex-start; gap: 12px 22px; } }
/* mapa menor no celular */
@media (max-width: 560px) { .brmap__svg, .brmap__fallback { width: min(250px, 80%); } }
/* gráfico do desvio: selos não se sobrepõem no celular */
@media (max-width: 560px) { .watch__label--gap { left: 26%; top: 2%; } .watch__label--fix { left: 60%; top: 26%; } }
/* abas da vitrine numa linha só, com rolagem lateral no celular */
@media (max-width: 760px) {
  .vitrine__tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; border-radius: 999px; }
  .vitrine__tabs::-webkit-scrollbar { display: none; }
  .vitrine__tabs [role="tab"] { flex: none; }
  .vitrine__stage { aspect-ratio: 1 / 1; }
}
/* selo "Simulação" sobre o depois do estacionamento */
.compare__tag--after::after { content: " · simulação"; font-weight: 500; text-transform: none; letter-spacing: 0; }

/* sem JavaScript o quadrado do WhatsApp não aparece (o botão flutuante já cobre) */
html:not(.js) .wa-tile { display: none; }
/* ao rolar, o quadrado some mesmo com a animação de entrada */
.site-head.is-stuck .wa-tile, html.menu-open .wa-tile { animation: none; }
/* celular: crédito da foto vai para o alto, longe do "Ampliar projeto" e das miniaturas */
@media (max-width: 900px) { .explorer__credit { top: 12px; bottom: auto; max-width: calc(100% - 24px); } }

/* ---------- botões no mesmo estilo (28/09): cápsula, mesmo peso, seta que anda no hover ---------- */
.btn, #contato .form .btn--block, .explorer__zoom { border-radius: 999px; font-weight: 600; letter-spacing: -0.005em; }
.btn { transition: background-color .25s, border-color .25s, color .25s, transform .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn:active { transform: none; box-shadow: none; }
.explorer__zoom { transition: background-color .25s, transform .25s; }
.explorer__zoom::after { content: " →"; display: inline-block; transition: transform .25s; }
.explorer__zoom:hover::after { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- "Vamos entender seu caso" no processo ---------- */
.steps__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: clamp(24px, 3vw, 36px); }
.steps__cta-note { font-size: .88rem; color: #9aa6b5; }
.btn--wa { gap: 10px; }
.btn__wa { width: 20px; height: 20px; fill: #1faa53; flex: none; }


/* ---------- 28/09: sem setas (pareciam emoji), sem "simulação" na etiqueta, logo da ISG centrado na linha ---------- */
.compare__tag--after::after { content: none; }
.flow__node--isg { margin-left: -1px; }
/* o círculo do emblema fica ~6% à esquerda do centro da imagem (os raios do sol puxam para a direita) */
.flow__dot--logo img { transform: translateX(6.1%); }

/* ---------- certificado EUPD em quadro (29/09) ---------- */
.medal--cert { position: relative; width: 100%; font: inherit; text-align: left; cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s; }
.medal--cert:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(20, 24, 30, .12); }
.medal--cert:focus-visible { outline: 3px solid var(--accent, #3660c9); outline-offset: 3px; }
.medal__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.medal .medal__see { margin-top: 4px; font-size: .82rem; font-weight: 600; color: #3660c9; }
.medal .medal__see span { display: inline-block; transition: transform .25s; }
.medal--cert:hover .medal__see span { transform: translateX(3px); }

/* o quadro: moldura escura, filete dourado, passe-partout claro, reflexo de vidro */
.frame { --pad: clamp(10px, 2vw, 16px); position: relative; display: inline-block; padding: var(--pad); border-radius: 4px;
  background: linear-gradient(145deg, #3b3b41 0%, #1b1b20 38%, #0d0d10 100%);
  box-shadow: 0 34px 70px rgba(0, 0, 0, .5), 0 10px 22px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -2px 5px rgba(0, 0, 0, .7), inset 1px 0 0 rgba(255, 255, 255, .06); }
.frame::before { content: ""; position: absolute; inset: calc(var(--pad) - 4px); border: 1.5px solid #c9a24a; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); pointer-events: none; }
.frame__mat { position: relative; display: block; padding: clamp(14px, 3vw, 28px); background: linear-gradient(180deg, #faf8f2, #f1eee5); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), inset 0 4px 12px rgba(0, 0, 0, .2); }
.frame__mat img { display: block; box-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0, 0, 0, .05); }
.frame::after { content: ""; position: absolute; inset: var(--pad); pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, .06) 28%, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .07) 100%); }
.frame--sm { --pad: 7px; }
.frame--sm .frame__mat { padding: 9px; }
.frame--sm .frame__mat img { width: 118px; height: auto; }

/* prévia ao passar o mouse (só em quem tem mouse) */
.cert-peek { position: absolute; right: 18px; bottom: calc(100% + 14px); z-index: 20; opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(14px) rotate(-4deg) scale(.92); transform-origin: 70% 100%; transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s .35s; }
@media (hover: hover) and (pointer: fine) {
  .medal--cert:hover .cert-peek, .medal--cert:focus-visible .cert-peek { opacity: 1; visibility: visible; transform: translateY(0) rotate(-2deg) scale(1); transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
}


/* ---------- certificado em tela cheia (29/09): entra em círculo a partir do selo ---------- */
html.certx-open, html.certx-open body { overflow: hidden; }
.certx { position: fixed; inset: 0; z-index: 1000; background: #07090e; color: #eef2f8; overflow: hidden;
  clip-path: circle(0px at var(--ox, 50%) var(--oy, 50%)); transition: clip-path .7s cubic-bezier(.7, 0, .2, 1); }
.certx.is-in { clip-path: circle(150vmax at var(--ox, 50%) var(--oy, 50%)); }
.certx[hidden] { display: none; }
.certx__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s .15s; touch-action: none; cursor: grab; }
.certx.is-3d .certx__canvas { opacity: 1; }
/* sem placa de vídeo: o mesmo quadro em 2D, com spot de luz em CSS */
.certx__flat { position: absolute; inset: 0; display: none; place-items: center; padding: 90px 16px 16px; perspective: 1400px;
  background: radial-gradient(40% 55% at 64% 42%, rgba(255, 240, 214, .16), transparent 70%), radial-gradient(120% 90% at 50% 0%, #121724, #07090e 70%); }
.certx.is-flat .certx__flat { display: grid; }
.certx__flat-frame { transform: rotateY(-8deg) rotateX(2deg); margin-left: 34%; }
.certx__flat-frame img { width: auto; height: min(62vh, 640px); }
@media (max-width: 860px) { .certx__flat { align-items: start; padding-top: 86px; } .certx__flat-frame { margin-left: 0; transform: none; } .certx__flat-frame img { height: 44vh; } }

.certx__top { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px clamp(16px, 3vw, 36px); pointer-events: none; }
.certx__brand { display: inline-flex; align-items: center; gap: 12px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #9fb0c8; }
.certx__brand img { width: 40px; height: auto; }
.certx__close { pointer-events: auto; font: inherit; font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  color: #fff; background: rgba(12, 15, 22, .6); border: 1px solid rgba(160, 185, 230, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .25s; }
.certx__close span { font-size: 1.3rem; line-height: 1; }
.certx__close:hover { background: rgba(40, 46, 60, .8); }

.certx__panel { position: absolute; z-index: 2; left: clamp(20px, 5vw, 80px); top: 50%; width: min(420px, 36vw); transform: translateY(-50%);
  opacity: 0; translate: -24px 0; transition: opacity .6s .9s, translate .8s .9s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.certx.is-in .certx__panel { opacity: 1; translate: 0 0; }
.certx__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #c9a24a; }
.certx__eyebrow i { width: 26px; height: 1px; background: #c9a24a; }
.certx h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.04; letter-spacing: -0.035em; color: #fff; font-weight: 500; }
.certx__lead { margin: 18px 0 0; font-size: 1rem; line-height: 1.6; color: #b9c3d2; }
.certx__quote { margin: 22px 0 0; padding: 0 0 0 16px; border-left: 2px solid #c9a24a; }
.certx__quote p { margin: 0; font-size: 1.02rem; line-height: 1.5; color: #eef2f8; font-style: italic; }
.certx__quote cite { display: block; margin-top: 6px; font-size: .78rem; font-style: normal; color: #8a96a8; }
.certx__crit-label { margin: 22px 0 8px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #8a96a8; }
.certx__crit { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.certx__crit li { font-size: .82rem; padding: 6px 12px; border-radius: 999px; color: #dfe6f0; border: 1px solid rgba(160, 185, 230, .22); background: rgba(255, 255, 255, .03); }
.certx__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.certx__zoom { background: #eef2f8; color: #0b0f15; border-color: #eef2f8; }
.certx__zoom:hover { background: #fff; border-color: #fff; color: #0b0f15; }
.certx__wa { font-weight: 600; font-size: .95rem; color: #eef2f8; text-decoration: none; }
.certx__wa span { display: inline-block; transition: transform .25s; }
.certx__wa:hover span { transform: translateX(3px); }
.certx__close:focus-visible, .certx__zoom:focus-visible, .certx__wa:focus-visible { outline: 3px solid #ffc93c; outline-offset: 3px; }
.certx__hint { position: absolute; z-index: 2; right: clamp(20px, 3vw, 36px); bottom: 20px; margin: 0; font-size: .76rem; color: #7f8a99; opacity: 0; transition: opacity .6s 2.6s; pointer-events: none; }
.certx.is-in.is-3d .certx__hint { opacity: 1; }
/* de perto: o painel sai para o papel ocupar a tela */
.certx.is-zoomed .certx__panel { opacity: 0; translate: -24px 0; pointer-events: none; transition: opacity .35s, translate .35s; }
@media (hover: none) { .certx__hint { display: none; } }

/* celular: quadro no alto, painel como folha embaixo */
@media (max-width: 860px), (max-aspect-ratio: 9/10) {
  .certx__brand span, .certx__brand { font-size: .68rem; }
  .certx__panel { left: 0; right: 0; bottom: 0; top: auto; width: auto; transform: none; translate: 0 30px; max-height: 44vh; overflow-y: auto; overscroll-behavior: contain;
    padding: 20px 20px calc(18px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: linear-gradient(180deg, rgba(12, 15, 22, .82), rgba(7, 9, 14, .96)); border-top: 1px solid rgba(160, 185, 230, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .certx.is-in .certx__panel { translate: 0 0; }
  .certx h2 { font-size: 1.7rem; }
  .certx__lead { font-size: .9rem; margin-top: 10px; }
  .certx__quote { margin-top: 14px; } .certx__quote p { font-size: .9rem; }
  .certx__crit-label, .certx__crit { display: none; }
  .certx__actions { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { .certx, .certx__panel, .certx__canvas { transition: none; } }
.certx__back { position: absolute; z-index: 3; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); translate: -50% 12px; opacity: 0; pointer-events: none;
  font: inherit; font-size: .92rem; font-weight: 600; min-height: 46px; padding: 0 22px; border-radius: 999px; cursor: pointer; color: #0b0f15; background: #eef2f8; border: 0;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .45); transition: opacity .35s, translate .35s; }
.certx.is-zoomed .certx__back { opacity: 1; translate: -50% 0; pointer-events: auto; }
.certx__back:focus-visible { outline: 3px solid #ffc93c; outline-offset: 3px; }
@media (max-width: 860px), (max-aspect-ratio: 9/10) {
  .certx.is-zoomed .certx__panel { translate: 0 110%; }
}
.certx__close { white-space: nowrap; }
@media (max-width: 560px) {
  .certx__top { padding: 12px 14px; }
  .certx__brand { font-size: 0; gap: 0; } .certx__brand img { width: 36px; }
  .certx__close { min-height: 40px; padding: 0 14px; font-size: .84rem; }
  .certx__panel { max-height: 40vh; }
  .certx h2 { font-size: 1.5rem; }
  .certx__eyebrow { font-size: .68rem; margin-bottom: 10px; }
}
.certx__back { white-space: nowrap; }
/* sem 3D: aproximar = a imagem grande, com rolagem */
.certx.is-flat.is-zoomed .certx__flat { overflow: auto; place-items: start center; padding: 72px 0 96px; -webkit-overflow-scrolling: touch; }
.certx.is-flat.is-zoomed .certx__flat-frame { margin: 0; transform: none; }
.certx.is-flat.is-zoomed .certx__flat-frame img { height: auto; width: min(1100px, 170vw); }

/* ---------- logo nova (29/09): plana nos lugares pequenos, 3D no topo e no rodapé ---------- */
.brand__logo { width: 72px; }
.site-head.is-stuck .brand__logo { width: 58px; }
@media (max-width: 900px) { .brand__logo { width: 60px; } .site-head.is-stuck .brand__logo { width: 50px; } }
.brand--logo { position: relative; }
.brand__3d { position: absolute; left: -24%; top: -24%; width: 148%; height: 148%; display: block; pointer-events: none; opacity: 0; transition: opacity .5s; }
.brand--logo.is-3d .brand__3d { opacity: 1; }
.brand--logo.is-3d > img { opacity: 0; transition: opacity .3s; }
.brand__logo { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)); }
.brand--foot3d .brand__logo--foot { width: 190px; }
.brand--foot3d .brand__3d { left: -14%; top: -14%; width: 128%; height: 128%; }
.flow__dot--logo img { width: 60px; transform: none; }

/* ---------- sol do selo: raios girando e brilho pulsando ---------- */
.medal__sun { position: relative; flex: none; width: 54px; height: 54px; display: grid; place-items: center; }
.medal__sun::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 201, 60, .55), transparent 70%); animation: sun-pulse 2.8s ease-in-out infinite; }
.medal__sun svg { position: relative; width: 54px; height: 54px; overflow: visible; }
.sun__rays { fill: #f5b82e; transform-origin: 32px 32px; animation: sun-spin 14s linear infinite; }
.sun__rays rect:nth-child(odd) { fill: #ffd25c; }
.sun__core { fill: url(#none); fill: #ffc93c; stroke: #f0a91c; stroke-width: 1.5; filter: drop-shadow(0 0 6px rgba(255, 190, 40, .8)); }
@keyframes sun-spin { to { transform: rotate(1turn); } }
@keyframes sun-pulse { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.25); opacity: 1; } }
.medal--cert:hover .sun__rays { animation-duration: 4s; }

/* ---------- cartão do certificado (coluna da esquerda): bem claro que abre ---------- */
.certcard { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; width: 100%; margin-top: 30px; padding: 18px 22px 18px 18px; border-radius: 20px; cursor: pointer; text-align: left; font: inherit; color: #eef2f8; isolation: isolate; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(123, 163, 255, .22), transparent 55%), linear-gradient(135deg, #111827, #0b0f18 70%);
  border: 1px solid rgba(123, 163, 255, .28); box-shadow: 0 24px 50px rgba(20, 24, 40, .22), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s; }
.certcard::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 0 70%, #7ba3ff 80%, #ffc93c 88%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: certcard-edge 5s linear infinite; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes certcard-edge { to { --a: 360deg; } }
.certcard:hover { transform: translateY(-3px); border-color: rgba(123, 163, 255, .55); box-shadow: 0 30px 60px rgba(20, 24, 40, .3), 0 0 0 4px rgba(123, 163, 255, .12); }
.certcard:focus-visible { outline: 3px solid #ffc93c; outline-offset: 4px; }
.certcard__stage { position: relative; perspective: 700px; }
.certcard__frame { transform: rotateY(-16deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, .8, .2, 1); box-shadow: 18px 22px 30px rgba(0, 0, 0, .5); }
.certcard__frame .frame__mat img { width: 84px; }
.certcard:hover .certcard__frame { transform: rotateY(0deg) rotateX(0deg) scale(1.04); }
.certcard__frame::after { background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 45%, transparent 60%) 0 0 / 250% 100% no-repeat; animation: certcard-glint 4.5s ease-in-out infinite; }
@keyframes certcard-glint { 0%, 55% { background-position: 150% 0; } 85%, 100% { background-position: -60% 0; } }
.certcard__badge { position: absolute; left: -8px; top: -8px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .06em; color: #fff; background: #0b0f18; border: 1px solid rgba(95, 224, 180, .6); box-shadow: 0 6px 14px rgba(0, 0, 0, .4); }
.certcard__badge i { width: 6px; height: 6px; border-radius: 50%; background: #5fe0b4; animation: tag-ping 1.6s infinite; }
.certcard__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.certcard__kicker { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #c9a24a; }
.certcard__title { font-size: 1.06rem; line-height: 1.35; font-weight: 600; color: #fff; }
.certcard__cta { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 8px; padding: 10px 16px 10px 10px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: #0b0f15; background: #eef2f8; box-shadow: 0 0 0 0 rgba(123, 163, 255, .5); animation: certcard-call 2.6s ease-out infinite; }
.certcard__cta-ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #0b0f15; }
.certcard__cta-ico svg { width: 15px; height: 15px; fill: none; stroke: #ffc93c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.certcard__cta-arrow { display: inline-block; transition: transform .3s; }
.certcard:hover .certcard__cta-arrow { transform: translateX(4px); }
@keyframes certcard-call { 0% { box-shadow: 0 0 0 0 rgba(123, 163, 255, .55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(123, 163, 255, 0); } }
.certcard__hint { font-size: .76rem; color: #8a96a8; }
@media (hover: hover) { .certcard__hint { display: none; } }
@media (max-width: 560px) { .certcard { gap: 16px; padding: 16px; } .certcard__frame .frame__mat img { width: 70px; } .certcard__title { font-size: .98rem; } .certcard__cta { font-size: .86rem; } }
@media (prefers-reduced-motion: reduce) { .certcard::before, .certcard__frame::after, .certcard__cta, .sun__rays, .medal__sun::before, .certcard__badge i { animation: none; } }
.certcard__cta { white-space: nowrap; }
.certcard__short { display: none; }
@media (max-width: 560px) { .certcard__long { display: none; } .certcard__short { display: inline; } .certcard__cta { padding: 8px 14px 8px 8px; gap: 8px; } .certcard__kicker { font-size: .66rem; } }
/* canvas da logo 3D maior que a imagem: sobra espaço para o anel de energia */
.site-head .brand__3d { left: -30%; top: -30%; width: 160%; height: 160%; }
.brand--foot3d .brand__3d { left: -20%; top: -20%; width: 140%; height: 140%; }
.site-head .brand--logo { z-index: 2; }

/* ======================= 29/09: site mais vivo ======================= */
/* 1. clima do topo pela hora real + "agora" */
.hero__tint { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.2s; mix-blend-mode: soft-light; }
html[data-hora="manha"] .hero__tint { opacity: .55; background: linear-gradient(200deg, rgba(255, 190, 120, .7), transparent 60%); }
html[data-hora="tarde"] .hero__tint { opacity: .7; background: linear-gradient(200deg, rgba(255, 140, 60, .85), rgba(120, 60, 140, .25) 70%); }
html[data-hora="noite"] .hero__tint { opacity: 1; mix-blend-mode: multiply; background: linear-gradient(180deg, rgba(20, 34, 80, .75), rgba(10, 16, 40, .6)); }
.hero__bottom { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; }
.hero__now { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px; border-radius: 999px; text-decoration: none; color: #eef2f8; font-size: .8rem; letter-spacing: 0; text-transform: none;
  background: rgba(8, 11, 18, .55); border: 1px solid rgba(160, 185, 230, .25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .25s, border-color .25s; }
.hero__now:hover { background: rgba(20, 26, 40, .75); border-color: rgba(95, 224, 180, .5); }
.hero__now i { width: 8px; height: 8px; border-radius: 50%; background: #5fe0b4; box-shadow: 0 0 0 0 rgba(95, 224, 180, .6); animation: now-ping 2s infinite; flex: none; }
@keyframes now-ping { 0% { box-shadow: 0 0 0 0 rgba(95, 224, 180, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(95, 224, 180, 0); } }
.hero__now-time { font-weight: 700; font-variant-numeric: tabular-nums; }
.hero__now-txt { color: #c3cbd6; }
@media (max-width: 700px) { .hero__now { font-size: .72rem; } .hero__tags { display: none; } }

/* 3. reflexo nos painéis (só onde há painel, pela máscara) */
.hero__bg { will-change: transform; }
.hero__sheen { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .6s; mix-blend-mode: screen;
  background: radial-gradient(circle at var(--sx, 70%) var(--sy, 40%), rgba(255, 246, 225, .85), rgba(255, 220, 160, .35) 9%, rgba(160, 200, 255, .12) 20%, transparent 32%);
  -webkit-mask-image: url(assets/img/hero-paineis-mask.png), linear-gradient(90deg, transparent 18%, #000 48%); mask-image: url(assets/img/hero-paineis-mask.png), linear-gradient(90deg, transparent 18%, #000 48%);
  -webkit-mask-size: cover, 100% 100%; mask-size: cover, 100% 100%; -webkit-mask-position: center; mask-position: center;
  -webkit-mask-composite: source-in; mask-composite: intersect;
  animation: hero-drift 16s var(--ease) both; transform-origin: 70% 40%; }
html[data-hora="noite"] .hero__sheen { background: radial-gradient(circle at var(--sx, 70%) var(--sy, 40%), rgba(170, 200, 255, .6), rgba(120, 160, 255, .18) 12%, transparent 30%); }
@media (max-width: 900px) { .hero__sheen { -webkit-mask-image: url(assets/img/hero-paineis-mask.png); mask-image: url(assets/img/hero-paineis-mask.png); -webkit-mask-size: cover; mask-size: cover; } }

/* 2. projetos no mapa */
.brmap { position: relative; }
.brpin { cursor: pointer; outline: none; }
.brpin__dot { fill: #ffc93c; stroke: #fff; stroke-width: .12; }
.brpin__ring { fill: none; stroke: #ffc93c; stroke-width: .12; opacity: .8; }
.brpin__wave { fill: rgba(255, 201, 60, .35); transform-box: fill-box; transform-origin: center; animation: pin-wave 2.4s calc(var(--i) * .5s) ease-out infinite; }
.brpin__hit { fill: transparent; }
@keyframes pin-wave { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.brpin.is-on .brpin__dot, .brpin:focus-visible .brpin__dot { fill: #fff; stroke: #ffc93c; stroke-width: .2; }
.brpin:focus-visible .brpin__ring { stroke: #0b0f15; stroke-width: .25; }
.brpin-card { position: absolute; z-index: 5; width: 200px; transform: translate(-50%, calc(-100% - 14px)); padding: 6px 6px 10px; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(20, 30, 60, .28); pointer-events: none; animation: pin-card .25s ease-out; }
.brpin-card[hidden] { display: none; }
.brpin-card::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: #fff; transform: translateX(-50%) rotate(45deg); }
.brpin-card img { display: block; width: 100%; height: 108px; object-fit: cover; border-radius: 9px; }
.brpin-card__k { display: block; margin: 8px 6px 0; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #3660c9; }
.brpin-card strong { display: block; margin: 2px 6px 0; font-size: .86rem; color: var(--ink); }
@keyframes pin-card { from { opacity: 0; transform: translate(-50%, calc(-100% - 4px)); } }
.brpin-legend { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .8rem; color: var(--ink-3); }
.brpin-legend i { width: 9px; height: 9px; border-radius: 50%; background: #ffc93c; box-shadow: 0 0 0 3px rgba(255, 201, 60, .25); }

/* 7. "Sobre a ISG": pontos de energia e etapas que abrem */
.flow__dots { position: absolute; left: 27px; top: 14px; bottom: 58px; width: 2px; pointer-events: none; z-index: 0; }
.flow__dots i, .flow__dots b { position: absolute; left: -3px; width: 8px; height: 8px; border-radius: 50%; }
.flow__dots i { background: #9dbaff; box-shadow: 0 0 10px #7ba3ff; animation: dot-down 3.6s linear infinite; }
.flow__dots b { background: #ffd35c; box-shadow: 0 0 10px #ffc93c; animation: dot-up 3.6s linear infinite; }
.flow__dots i:nth-child(2) { animation-delay: 1.2s; } .flow__dots i:nth-child(3) { animation-delay: 2.4s; }
.flow__dots b:nth-child(4) { animation-delay: .6s; } .flow__dots b:nth-child(5) { animation-delay: 2.4s; }
@keyframes dot-down { from { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { top: 100%; opacity: 0; } }
@keyframes dot-up { from { top: 100%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { top: 0; opacity: 0; } }
.flow__node[role="button"] { cursor: pointer; border-radius: 14px; transition: background .25s; }
.flow__node[role="button"]:hover { background: rgba(123, 163, 255, .06); }
.flow__node[role="button"]:focus-visible { outline: 2px solid #ffc93c; outline-offset: 4px; }
.flow__more { grid-column: 2; margin-top: 8px; font-size: .88rem; line-height: 1.5; color: #c3cbd6; max-width: 40ch; animation: more-in .35s ease-out; }
@keyframes more-in { from { opacity: 0; transform: translateY(-4px); } }
.flow__node.is-open .flow__name { color: #fff; }
.flow__hint { padding-left: 74px; font-size: .76rem; color: #7f8a99; list-style: none; }

/* 5. três passos: linha que enche com a rolagem + ícones */
.steps.is-scroll::after { transform: scaleX(var(--fill, 0)); transition: transform .12s linear; }
.steps.is-scroll li::before { transition-delay: 0s !important; }
.steps.is-scroll li.is-on::before { background: var(--sun); border-color: var(--sun); box-shadow: 0 0 0 5px rgba(255, 201, 60, 0.16), 0 0 16px rgba(255, 201, 60, 0.7); transform: scale(1.05); }
.steps.is-scroll:not(.x) li:not(.is-on)::before { background: var(--graphite); border-color: rgba(123, 163, 255, 0.55); box-shadow: none; transform: none; }
.steps.is-scroll li.is-on .steps__num { color: var(--sun); transition-delay: 0s !important; }
.steps__ico { display: grid; place-items: center; width: 40px; height: 40px; margin: 2px 0 12px; border-radius: 12px; background: rgba(123, 163, 255, .1); border: 1px solid rgba(123, 163, 255, .22); transition: background .4s, border-color .4s, transform .4s; }
.steps__ico svg { width: 22px; height: 22px; fill: none; stroke: #9dbaff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; transition: stroke-dashoffset 1s ease, stroke .4s; }
.steps li.is-on .steps__ico, html:not(.js) .steps__ico { background: rgba(255, 201, 60, .12); border-color: rgba(255, 201, 60, .45); transform: translateY(-2px); }
.steps li.is-on .steps__ico svg, .steps.is-lit:not(.is-scroll) .steps__ico svg, html:not(.js) .steps__ico svg { stroke-dashoffset: 0; stroke: #ffc93c; }
@media (max-width: 900px) { .steps.is-scroll::after { transform: scaleY(var(--fill, 0)); } }
@media (prefers-reduced-motion: reduce) { .steps__ico svg { stroke-dashoffset: 0; transition: none; } }

/* 6. dica do antes e depois durante a demonstração */
.compare.is-demo .compare__handle, .compare.is-demo [class*="handle"] { box-shadow: 0 0 0 6px rgba(255, 255, 255, .25), 0 0 24px rgba(255, 255, 255, .5); }

/* 4. contato como conversa */
.wiz { margin-bottom: 6px; }
.wiz__bar { height: 4px; border-radius: 4px; background: rgba(160, 185, 230, .15); overflow: hidden; }
.wiz__bar span { display: block; height: 100%; width: 33%; border-radius: 4px; background: linear-gradient(90deg, #7ba3ff, #ffc93c); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.wiz__count { margin: 10px 0 0; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: #8a96a8; }
.wiz__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.wiz__step[hidden] { display: none; }
.wiz__step.is-in { animation: wiz-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes wiz-in { from { opacity: 0; transform: translateX(14px); } }
.wiz legend, .wiz__title { margin: 6px 0 14px; padding: 0; font-size: 1.2rem; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.wiz__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wiz__cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wiz__card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 96px; padding: 14px; border-radius: 14px; cursor: pointer; text-align: left; font: inherit; font-size: .92rem; font-weight: 600; color: #eef2f8;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(160, 185, 230, .2); transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.wiz__card:hover { background: rgba(123, 163, 255, .1); border-color: rgba(123, 163, 255, .5); transform: translateY(-2px); }
.wiz__card[aria-pressed="true"] { background: rgba(255, 201, 60, .12); border-color: #ffc93c; box-shadow: 0 0 0 3px rgba(255, 201, 60, .15); }
.wiz__card:focus-visible { outline: 3px solid #ffc93c; outline-offset: 2px; }
.wiz__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(123, 163, 255, .12); }
.wiz__ico svg { width: 20px; height: 20px; fill: none; stroke: #9dbaff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wiz__card[aria-pressed="true"] .wiz__ico svg { stroke: #ffc93c; }
.wiz__back, .wiz__edit { margin-top: 14px; padding: 6px 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: .85rem; color: #9dbaff; }
.wiz__edit { margin: 0 0 0 8px; padding: 0; text-decoration: underline; }
.wiz__chosen { margin: -6px 0 14px; font-size: .88rem; color: #c3cbd6; }
@media (max-width: 560px) { .wiz__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wiz__card { min-height: 84px; padding: 12px; font-size: .86rem; } }
@media (prefers-reduced-motion: reduce) { .wiz__step.is-in, .brpin__wave, .flow__dots i, .flow__dots b, .hero__now i { animation: none; } }
.brpin-card img[hidden], .brpin-card__list[hidden] { display: none; }
.brpin-card { width: 230px; }
.brpin-card__list { list-style: none; margin: 6px 6px 0; padding: 0; display: grid; gap: 3px; }
.brpin-card__list li { font-size: .76rem; line-height: 1.35; color: var(--ink-2); padding-left: 12px; position: relative; }
.brpin-card__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; border-radius: 50%; background: #ffc93c; }
.brpin--many .brpin__dot { fill: #ffb21f; }
.brpin--many .brpin__ring { stroke-width: .2; }
.brpin__wave, .brpin__ring { pointer-events: none; }
.brpin-card::after { left: calc(50% + var(--ax, 0px)); }

/* mapa do sol (30/09) */
.brmap__modes { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(40, 34, 20, .06); }
.brmap__modes button { font: inherit; font-size: .84rem; font-weight: 600; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: none; cursor: pointer; color: var(--ink-2); }
.brmap__modes button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.brmap__modes button:focus-visible { outline: 3px solid #3660c9; outline-offset: 2px; }
.brmap.is-sol .uf { fill: var(--sol, #ffd98a) !important; animation: none !important; transition: fill .5s; }
.brmap.is-sol .uf.is-hot { filter: drop-shadow(0 4px 8px rgba(160, 80, 0, .35)); }
.brmap.is-sol .brpins, .brmap.is-sol .brmap__shine { display: none; }
.brmap.is-sol figcaption::before { background: #f08a1c; box-shadow: 0 0 0 4px rgba(240, 138, 28, .18); }
.brsol-key { width: min(340px, 100%); display: grid; gap: 6px; }
.brsol-key[hidden] { display: none; }
.brsol-key__bar { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; font-size: .78rem; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.brsol-key__bar i { height: 8px; border-radius: 8px; background: linear-gradient(90deg, rgb(255, 226, 140), rgb(240, 110, 20)); }
.brsol-key__unit { margin: 0; font-size: .74rem; color: var(--ink-3); text-align: center; }
.brsol-key__fact { margin: 4px 0 0; font-size: .86rem; line-height: 1.45; color: var(--ink-2); text-align: center; }
.brsol-key__src { margin: 0; font-size: .7rem; color: var(--ink-3); text-align: center; }

/* perguntas frequentes (30/09) */
.faq { border-top: 1px solid var(--line); }
.faq__wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq .intro { position: sticky; top: 110px; }
.faq__search { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding: 0 16px; min-height: 52px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); box-shadow: 0 8px 20px rgba(40, 34, 20, .06); transition: border-color .2s, box-shadow .2s; }
.faq__search:focus-within { border-color: #3660c9; box-shadow: 0 0 0 4px rgba(54, 96, 201, .15); }
.faq__search-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; display: block; }
.faq__search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 1rem; color: var(--ink); outline: none; }
.faq__count { margin: 10px 0 0 6px; font-size: .82rem; color: var(--ink-3); }
.faq__list { display: grid; gap: 10px; }
.faq__item { border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq__item[hidden] { display: none; }
.faq__item[open] { border-color: rgba(54, 96, 201, .35); box-shadow: 0 10px 24px rgba(40, 34, 20, .07); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 3px solid #3660c9; outline-offset: 2px; border-radius: 14px; }
.faq__item summary i { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(54, 96, 201, .1); }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 8px; top: 12px; width: 10px; height: 2px; border-radius: 2px; background: #3660c9; transition: transform .25s; }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item p { margin: 0; padding: 0 18px 18px; color: var(--ink-2); line-height: 1.6; animation: more-in .3s ease-out; }
.faq__empty { margin: 6px 0 0; color: var(--ink-2); }
.faq__empty a { color: #3660c9; font-weight: 600; }
@media (max-width: 900px) { .faq__wrap { grid-template-columns: 1fr; } .faq .intro { position: static; } }
.explorer__page { display: inline-block; margin-top: 10px; font-weight: 600; }
.steps__more { margin-top: 14px; }

/* seu telhado visto de cima (30/09) */
.tl { margin-top: clamp(24px, 4vw, 40px); }
.tl-search { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(160, 185, 230, .25); max-width: 720px; }
.tl-search:focus-within { border-color: #7ba3ff; box-shadow: 0 0 0 4px rgba(123, 163, 255, .18); }
.tl-search__ico svg { width: 20px; height: 20px; fill: none; stroke: #ffc93c; stroke-width: 1.8; display: block; }
.tl-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: inherit; font-size: 1rem; color: #fff; }
.tl-search input::placeholder { color: #8a96a8; }
.tl-search .btn { min-height: 44px; background: #eef2f8; color: #0b0f15; border-color: #eef2f8; }
.tl-results { list-style: none; margin: 8px 0 0; padding: 6px; max-width: 720px; border-radius: 14px; background: #121826; border: 1px solid rgba(160, 185, 230, .2); }
.tl-results[hidden] { display: none; }
.tl-results button { width: 100%; text-align: left; font: inherit; font-size: .9rem; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: #dfe6f0; cursor: pointer; }
.tl-results button:hover, .tl-results button:focus-visible { background: rgba(123, 163, 255, .14); outline: none; }
.tl-stage { position: relative; margin-top: 14px; height: clamp(360px, 58vh, 560px); border-radius: 20px; overflow: hidden; background: radial-gradient(80% 80% at 50% 40%, #1b2a4a, #0a0e16); border: 1px solid rgba(160, 185, 230, .18); }
.tl-map { position: absolute; inset: 0; }
.tl.is-drawing .tl-map, .telhado.is-drawing .tl-map { cursor: crosshair; }
.tl-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; color: #8a96a8; font-size: .86rem;
  background: linear-gradient(rgba(10, 14, 22, .55), rgba(10, 14, 22, .85)), repeating-linear-gradient(90deg, rgba(123, 163, 255, .07) 0 1px, transparent 1px 44px), repeating-linear-gradient(0deg, rgba(123, 163, 255, .07) 0 1px, transparent 1px 44px); }
.telhado.is-open .tl-cover { display: none; }
.tl-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 12px; }
.tl-hint { margin: 0; color: #c9d1dc; font-size: .92rem; }
.tl-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-bar button { font: inherit; font-size: .84rem; font-weight: 600; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(160, 185, 230, .28); background: rgba(255, 255, 255, .04); color: #dfe6f0; cursor: pointer; }
.tl-bar button:disabled { opacity: .35; cursor: default; }
.tl-bar button[data-a="close"]:not(:disabled) { background: #ffc93c; color: #1b1f24; border-color: #ffc93c; }
.tl-out { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; padding: 16px 20px; border-radius: 16px; background: rgba(255, 201, 60, .08); border: 1px solid rgba(255, 201, 60, .35); animation: more-in .4s ease-out; }
.tl-out[hidden] { display: none; }
.tl-out__num { margin: 0; font-size: 1.6rem; font-weight: 600; color: #fff; }
.tl-out__num small { display: block; font-size: .8rem; font-weight: 400; color: #c9d1dc; }
.maplibregl-ctrl-attrib { font-size: 10px; }
.form__guide { margin: 10px 0 0; font-size: .88rem; }
.form__guide a { color: #9dbaff; }
.tl-map, .tl-map.maplibregl-map { position: absolute !important; inset: 0; width: 100%; height: 100%; }
.maplibregl-ctrl-attrib-inner { font-size: 10px; line-height: 1.3; }

/* abas da seção do telhado + sol na sua cidade (30/09) */
.tl-tabs { display: inline-flex; gap: 2px; padding: 4px; margin-top: clamp(20px, 3vw, 32px); border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(160, 185, 230, .2); }
.tl-tabs button { font: inherit; font-size: .9rem; font-weight: 600; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: #c9d1dc; cursor: pointer; }
.tl-tabs button[aria-selected="true"] { background: #eef2f8; color: #0b0f15; }
.tl-tabs button:focus-visible { outline: 3px solid #ffc93c; outline-offset: 2px; }
.tl-tabs + .tl, .tl-tabs ~ .sol { margin-top: 16px; }
.sol[hidden], .tl[hidden] { display: none; }
.sol-card { margin-top: 14px; padding: clamp(18px, 3vw, 30px); border-radius: 20px; background: radial-gradient(90% 90% at 100% 0%, rgba(255, 201, 60, .1), transparent 60%), rgba(255, 255, 255, .03); border: 1px solid rgba(160, 185, 230, .18); min-height: 200px; }
.sol-empty p { margin: 0; color: #c9d1dc; }
.sol-res.is-in { animation: more-in .4s ease-out; }
.sol-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.sol-city { margin: 0; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #ffc93c; }
.sol-big { margin: 4px 0 0; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 500; letter-spacing: -.03em; color: #fff; line-height: 1; }
.sol-big small { display: block; margin-top: 8px; font-size: .86rem; letter-spacing: 0; color: #b4bdca; }
.sol-cmp { margin: 0; display: grid; gap: 6px; font-size: .82rem; color: #c9d1dc; }
.sol-cmp span { display: inline-flex; align-items: center; gap: 8px; }
.sol-cmp i { width: 18px; height: 0; border-top: 2px dashed; }
.sol-cmp .c1 { color: #9dbaff; } .sol-cmp .c2 { color: #ff8a8a; }
.sol-chart { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(4px, 1vw, 10px); align-items: end; height: 220px; margin-top: 26px; padding-bottom: 22px; }
.sol-line { position: absolute; left: 0; right: 0; height: 0; border-top: 2px dashed; z-index: 2; pointer-events: none; }
.sol-line--cap { border-color: rgba(157, 186, 255, .8); bottom: calc(22px + (100% - 22px) * var(--capf, 0)); }
.sol-line--ber { border-color: rgba(255, 138, 138, .85); bottom: calc(22px + (100% - 22px) * var(--berf, 0)); }
.sol-bar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.sol-bar i { width: 100%; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #ffd452, #f58a0b); transform-origin: bottom; animation: bar-up .7s calc(var(--i) * .04s) cubic-bezier(.2, .8, .2, 1) both; box-shadow: 0 0 16px rgba(255, 180, 40, .25); }
.sol-bar.is-min i { background: linear-gradient(180deg, #ffe7a3, #f0b04e); opacity: .8; }
.sol-bar.is-max i { box-shadow: 0 0 24px rgba(255, 190, 40, .6); }
@keyframes bar-up { from { transform: scaleY(0); } }
.sol-bar b { font-size: .68rem; font-weight: 600; color: #dfe6f0; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.sol-bar span { position: absolute; bottom: -22px; font-size: .72rem; color: #8a96a8; }
.sol-txt { margin: 18px 0 0; color: #dfe6f0; line-height: 1.55; }
.sol-src { margin: 8px 0 0; font-size: .74rem; color: #7f8a99; }
@media (max-width: 560px) { .sol-bar b { display: none; } .sol-chart { height: 180px; } .tl-tabs button { padding: 0 12px; font-size: .84rem; } }
@media (prefers-reduced-motion: reduce) { .sol-bar i { animation: none; } }

/* modo apresentação (30/09) */
.present-link { font-size: .84rem; color: var(--ink-3); text-decoration: none; margin-right: 18px; }
.present-link:hover { color: var(--ink); }
html.apresentando .site-head, html.apresentando .wa-float, html.apresentando .site-foot, html.apresentando .hero__ribbon { display: none !important; }
html.apresentando { scroll-snap-type: y proximity; scroll-padding-top: 0; }
html.apresentando main > section { min-height: 100vh; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: center; }
html.apresentando main > section > .wrap { width: 100%; }
html.pres-idle, html.pres-idle * { cursor: none !important; }
.pres[hidden] { display: none; }
.pres__prog { position: fixed; left: 0; right: 0; top: 0; z-index: 1200; height: 3px; background: rgba(160, 185, 230, .15); }
.pres__prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7ba3ff, #ffc93c); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.pres__bar { position: fixed; left: 50%; bottom: 22px; z-index: 1200; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(10, 14, 22, .82); border: 1px solid rgba(160, 185, 230, .25); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); transition: opacity .4s, transform .4s; }
.pres.is-idle .pres__bar { opacity: 0; transform: translate(-50%, 16px); pointer-events: none; }
.pres__bar button { font: inherit; min-width: 42px; height: 42px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.pres__bar button:hover { background: rgba(255, 255, 255, .14); }
.pres__bar button:focus-visible { outline: 3px solid #ffc93c; outline-offset: 2px; }
.pres__full svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; display: block; }
.pres__exit { font-size: .86rem !important; font-weight: 600; }
.pres__exit span { margin-left: 6px; font-size: .7rem; opacity: .6; border: 1px solid rgba(255, 255, 255, .3); border-radius: 4px; padding: 1px 4px; }
.pres__pos { display: grid; min-width: 150px; padding: 0 8px; text-align: center; color: #fff; line-height: 1.2; }
.pres__pos b { font-size: .78rem; color: #ffc93c; font-variant-numeric: tabular-nums; }
.pres__pos span { font-size: .86rem; font-weight: 600; white-space: nowrap; }
.pres__start { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; background: radial-gradient(80% 80% at 50% 30%, rgba(30, 44, 80, .96), rgba(6, 8, 12, .98)); color: #fff; text-align: center; padding: 24px; }
.pres__start[hidden] { display: none; }
.pres__start h2 { margin: 8px 0 12px; font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; }
.pres__start p:not(.eyebrow) { color: #c9d1dc; margin: 0 0 26px; }
.pres__start .eyebrow { color: #9dbaff; }
.pres.is-full .pres__full { display: none; }

/* 30/09: o quadrado "Contato direto" só aparece de vez em quando (no máximo 2 vezes por visita) */
@media (max-width: 900px) {
  html.js .wa-tile { animation: none; }
  html.js .wa-tile:not(.is-show) { opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.96); pointer-events: none; transition: opacity .35s, transform .35s, visibility 0s .35s; }
  html.js .wa-tile.is-show { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s; }
  .site-head.is-stuck .wa-tile.is-show { position: fixed; top: 78px; right: var(--gutter); opacity: 1; visibility: visible; transform: none; }
  html:not(.tile-on) .wa-float.is-top { opacity: 1; visibility: visible; transform: none; }
  html.menu-open .wa-tile.is-show { opacity: 0; visibility: hidden; }
}
.sol-results button[aria-selected="true"] { background: rgba(123, 163, 255, .16); }
.sol-results { max-width: 720px; }
/* 30/09: celular estreito (iPhone SE): cartão do certificado empilhado, botão inteiro */
@media (max-width: 400px) {
  .certcard { grid-template-columns: 1fr; gap: 14px; }
  .certcard__stage { justify-self: start; margin-left: 6px; }
  .certcard__cta { align-self: stretch; justify-content: center; }
}
html:not(.js) .telhado { display: none; }

/* ---------- logo oficial (08/10): sol sobre o painel + ISG, letra branca ----------
   É larga: o quadro do 3D tem pouca folga dos lados (no celular a logo fica perto da borda) e mais em cima e embaixo. */
.brand__logo { width: 112px; }
.site-head.is-stuck .brand__logo { width: 92px; }
@media (max-width: 900px) { .brand__logo { width: 96px; } .site-head.is-stuck .brand__logo { width: 84px; } }
.brand__3d, .site-head .brand__3d, .brand--foot3d .brand__3d { left: -12%; top: -50%; width: 124%; height: 200%; }   /* mais folga em cima: os raios do sol sobem */
.brand--foot3d .brand__logo--foot { width: 240px; }
.ribbon__logo { width: 150px; }
.ribbon__logo::after { -webkit-mask-image: url("marca/isg-sol.svg"); mask-image: url("marca/isg-sol.svg"); }
.flow__dot--logo img { width: 44px; }

/* bandeira tarifária (01/10) */
.band { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; align-items: center; margin-top: 26px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(160, 185, 230, .16); }
.band[hidden] { display: none; }
.band__now { display: flex; align-items: center; gap: 14px; }
.band__flag { position: relative; width: 34px; height: 40px; flex: none; }
.band__flag::before { content: ""; position: absolute; left: 2px; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: #9aa6b5; }
.band__flag::after { content: ""; position: absolute; left: 4px; top: 2px; width: 28px; height: 20px; background: var(--fc, #f2c14e); clip-path: polygon(0 0, 100% 0, 78% 50%, 100% 100%, 0 100%); box-shadow: 0 0 18px var(--fc); animation: band-wave 3s ease-in-out infinite; transform-origin: left center; }
@keyframes band-wave { 0%, 100% { transform: skewY(0); } 50% { transform: skewY(-4deg) scaleX(.96); } }
.band__k { margin: 0; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #8a96a8; }
.band__v { margin: 3px 0 0; display: grid; gap: 2px; }
.band__v b { font-size: 1.15rem; color: #fff; font-weight: 600; }
.band__v span { font-size: .86rem; color: #c3cbd6; }
.band__strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; justify-self: end; width: min(420px, 100%); }
.band__strip li { position: relative; height: 34px; border-radius: 6px; background: var(--c); opacity: .9; display: grid; place-items: end center; padding-bottom: 3px; animation: band-in .5s calc(var(--i) * .05s) ease-out both; }
.band__strip li:last-child { box-shadow: 0 0 0 2px #fff; }
.band__strip span { font-size: .62rem; font-weight: 700; color: rgba(0, 0, 0, .55); }
@keyframes band-in { from { transform: scaleY(.2); opacity: 0; } }
.band__note { grid-column: 1 / -1; margin: 0; font-size: .74rem; color: #7f8a99; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } .band__strip { justify-self: stretch; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .band__flag::after, .band__strip li { animation: none; } }

/* sua cidade: distribuidora, tarifa e solar (01/10) */
.cid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(160, 185, 230, .14); }
.cid[hidden] { display: none; }
.cid__card { padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(160, 185, 230, .14); }
.cid__k { margin: 0; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #9dbaff; }
.cid__dist { margin: 4px 0 0; font-size: 1.05rem; font-weight: 600; color: #fff; }
.cid__big { margin: 10px 0 0; font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 500; letter-spacing: -.03em; color: #fff; line-height: 1.05; }
.cid__big small { display: block; margin-top: 6px; font-size: .8rem; letter-spacing: 0; color: #b4bdca; }
.cid__chart { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; align-items: end; height: 90px; margin-top: 16px; padding-bottom: 16px; }
.cid__bar { position: relative; height: 100%; display: flex; align-items: flex-end; }
.cid__bar::before { content: ""; width: 100%; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #7ba3ff, #3660c9); animation: bar-up .6s calc(var(--i) * .04s) cubic-bezier(.2, .8, .2, 1) both; transform-origin: bottom; }
.cid__bar:last-child::before { background: linear-gradient(180deg, #ffd452, #f58a0b); box-shadow: 0 0 14px rgba(255, 180, 40, .4); }
.cid__bar span { position: absolute; bottom: -16px; left: 0; right: 0; text-align: center; font-size: .62rem; color: #8a96a8; }
.cid__txt, .cid__txt2 { margin: 12px 0 0; color: #dfe6f0; line-height: 1.5; font-size: .92rem; }
.cid__gd .cid__big span { color: #5fe0b4; }
.cid__src { grid-column: 1 / -1; }
@media (max-width: 760px) { .cid { grid-template-columns: 1fr; } }
