/* ==========================================================================
   Lumina Energia Solar — style.css
   Identidade: azul-noite #023047 · amarelo-sol #FFB703 · laranja #FB8500
                azul céu #8ECAE6 · branco #FDFDFB · fonte Outfit (300–800)
   ========================================================================== */

:root {
  --noite: #023047;
  --noite-2: #032f45;
  --noite-3: #05405c;
  --sol: #FFB703;
  --laranja: #FB8500;
  --ceu: #8ECAE6;
  --branco: #FDFDFB;
  --tinta: #12293a;
  --tinta-suave: #4c6577;
  --grad-solar: linear-gradient(135deg, var(--sol), var(--laranja));
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(2, 48, 71, .12);
  --shadow-lg: 0 24px 60px rgba(2, 48, 71, .2);
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--sol);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.grad-text {
  background: var(--grad-solar);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--laranja);
  margin-bottom: .8em;
}

.section-dark .eyebrow, .hero .eyebrow { color: var(--sol); }

/* ---------- Botões ---------- */

.btn {
  display: inline-block;
  padding: .9rem 1.9rem;
  border: 0;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}

.btn-solar {
  background: var(--grad-solar);
  color: var(--noite);
  box-shadow: 0 8px 22px rgba(251, 133, 0, .35);
}
.btn-solar:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(251, 133, 0, .45); }
.btn-solar:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--branco);
  box-shadow: inset 0 0 0 2px rgba(142, 202, 230, .55);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ceu); transform: translateY(-2px); }

.btn-sm { padding: .6rem 1.25rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(2, 48, 71, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(142, 202, 230, .14);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 10px 30px rgba(2, 48, 71, .35); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand img { width: 176px; height: auto; }

.nav { display: flex; align-items: center; gap: 1.5rem; }

.nav-list {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--branco);
  text-decoration: none;
  font-weight: 500;
  font-size: .96rem;
  padding: .3rem 0;
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-solar);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-list a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .6rem;
  background: none;
  border: 0;
  cursor: pointer;
}
.hamburger span {
  width: 26px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--branco);
  transition: transform .3s var(--ease), opacity .3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(255, 183, 3, .16), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(142, 202, 230, .12), transparent 60%),
    var(--noite);
  color: var(--branco);
  padding: calc(var(--header-h) + 4.5rem) 0 5rem;
}

.hero-sun {
  position: absolute;
  top: -140px;
  right: -120px;
  width: 460px;
  opacity: .5;
  pointer-events: none;
}
.sun-svg { width: 100%; height: auto; }
.sun-rays {
  transform-origin: 200px 200px;
  animation: girar 40s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }

/* linhas de circuito sutis */
.circuit-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(rgba(142, 202, 230, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 202, 230, .09) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(700px 500px at 30% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(700px 500px at 30% 40%, #000 0%, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-sub {
  font-size: 1.12rem;
  font-weight: 300;
  color: rgba(253, 253, 251, .82);
  max-width: 34rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.8rem 0; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.8rem;
  list-style: none;
  margin: 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid rgba(142, 202, 230, .22);
  font-size: .92rem;
  color: rgba(253, 253, 251, .75);
}
.hero-badges strong { color: var(--sol); font-weight: 700; margin-right: .3rem; }

.hero-media { position: relative; margin: 0; }
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: rgba(2, 48, 71, .82);
  backdrop-filter: blur(6px);
  font-size: .85rem;
  color: var(--branco);
  border: 1px solid rgba(142, 202, 230, .3);
}
.chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sol);
  box-shadow: 0 0 0 0 rgba(255, 183, 3, .6);
  animation: pulsar 2.2s infinite;
}
@keyframes pulsar {
  70% { box-shadow: 0 0 0 9px rgba(255, 183, 3, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0); }
}

/* ---------- Seções ---------- */

.section { padding: 5.5rem 0; }
.section-light { background: var(--branco); }
.section-sky { background: #eef7fc; }
.section-dark { background: var(--noite); color: var(--branco); }

.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-sub { color: var(--tinta-suave); font-size: 1.08rem; }
.section-dark .section-sub { color: rgba(253, 253, 251, .75); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ---------- Cards de diferenciais ---------- */

.card {
  background: #fff;
  border: 1px solid rgba(2, 48, 71, .08);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: 0 4px 14px rgba(2, 48, 71, .05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--grad-solar);
  color: var(--noite);
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 27px; height: 27px; }
.card p { margin: 0; color: var(--tinta-suave); font-size: .95rem; }

/* ---------- Soluções ---------- */

.sol-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(2, 48, 71, .08);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.sol-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.sol-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.sol-card:hover img { transform: scale(1.05); }
.sol-body { padding: 1.3rem 1.4rem 1.5rem; }
.sol-body h3 { margin-bottom: .35rem; }
.sol-body p { margin: 0; color: var(--tinta-suave); font-size: .93rem; }

/* ---------- Como funciona ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: passo;
}

.step {
  position: relative;
  background: var(--noite-3);
  border: 1px solid rgba(142, 202, 230, .18);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform .3s var(--ease), border-color .3s;
}
.step:hover { transform: translateY(-6px); border-color: rgba(255, 183, 3, .5); }

.step-num {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: .8rem;
  background: var(--grad-solar);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step p { margin: 0; color: rgba(253, 253, 251, .75); font-size: .93rem; }

/* ---------- Simulador ---------- */

.simulador {
  background:
    radial-gradient(900px 480px at 100% 0%, rgba(255, 183, 3, .1), transparent 65%),
    var(--branco);
}

.sim-box {
  background: var(--noite);
  color: var(--branco);
  border-radius: 16px;
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.sim-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 90% -20%, rgba(255, 183, 3, .18), transparent 65%);
  pointer-events: none;
}

.sim-input { position: relative; max-width: 40rem; margin: 0 auto 2.4rem; text-align: center; }
.sim-input label {
  display: block;
  font-weight: 500;
  color: rgba(253, 253, 251, .8);
  margin-bottom: .4rem;
}
.sim-bill {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  background: var(--grad-solar);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.2rem;
  font-variant-numeric: tabular-nums;
}

input[type="range"]#sim-range {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(to right, var(--sol) 0%, var(--laranja) var(--fill, 6%), rgba(142, 202, 230, .25) var(--fill, 6%));
  outline-offset: 6px;
  cursor: pointer;
}
#sim-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad-solar);
  border: 4px solid var(--branco);
  box-shadow: 0 4px 14px rgba(251, 133, 0, .5);
  transition: transform .2s var(--ease);
}
#sim-range::-webkit-slider-thumb:hover { transform: scale(1.12); }
#sim-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--laranja);
  border: 4px solid var(--branco);
  box-shadow: 0 4px 14px rgba(251, 133, 0, .5);
}
#sim-range::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(142, 202, 230, .25);
}
#sim-range::-moz-range-progress {
  height: 10px;
  border-radius: 999px;
  background: var(--grad-solar);
}

.sim-scale {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(253, 253, 251, .55);
  margin-top: .55rem;
}

.sim-results {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.sim-card {
  background: rgba(253, 253, 251, .06);
  border: 1px solid rgba(142, 202, 230, .2);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  text-align: center;
  transition: border-color .3s;
}
.sim-card:hover { border-color: rgba(255, 183, 3, .5); }
.sim-label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ceu);
  margin-bottom: .5rem;
}
.sim-value {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--sol);
  font-variant-numeric: tabular-nums;
}
.sim-note {
  display: block;
  font-size: .82rem;
  color: rgba(253, 253, 251, .6);
  margin-top: .4rem;
}

.sim-disclaimer {
  position: relative;
  font-size: .8rem;
  color: rgba(253, 253, 251, .5);
  text-align: center;
  margin: 1.6rem 0 1.4rem;
}
.sim-cta { position: relative; text-align: center; }

/* ---------- Lumina 360 ---------- */

.modulos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}

.mod-card {
  background: #fff;
  border: 1px solid rgba(2, 48, 71, .08);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.mod-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(251, 133, 0, .4);
}
.mod-badge {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 183, 3, .16);
  color: var(--laranja);
  font-weight: 700;
  margin-bottom: .9rem;
}
.mod-card h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.mod-card p { margin: 0; font-size: .9rem; color: var(--tinta-suave); }

.mod-cta {
  background: var(--noite);
  color: var(--branco);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: .3rem;
}
.mod-cta p { color: rgba(253, 253, 251, .75); margin-bottom: .9rem; }

/* ---------- Números ---------- */

.numeros {
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(255, 183, 3, .12), transparent 60%),
    var(--noite);
  padding: 4.5rem 0;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--sol);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: rgba(253, 253, 251, .72); font-size: .95rem; }

/* ---------- Depoimentos ---------- */

.depo {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(2, 48, 71, .08);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 4px 14px rgba(2, 48, 71, .05);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.depo:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.depo-stars { color: var(--sol); letter-spacing: .2em; margin-bottom: .8rem; }
.depo p { flex: 1; font-size: .98rem; color: var(--tinta); }
.depo footer strong { display: block; font-weight: 600; }
.depo footer span { font-size: .85rem; color: var(--tinta-suave); }

/* ---------- Contato ---------- */

.contato {
  background:
    radial-gradient(900px 500px at 100% 100%, rgba(251, 133, 0, .12), transparent 60%),
    var(--noite);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contato-info {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}
.contato-info li {
  padding-left: 1.1rem;
  border-left: 3px solid;
  border-image: var(--grad-solar) 1;
  color: rgba(253, 253, 251, .8);
}
.contato-info strong {
  display: block;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ceu);
  margin-bottom: .15rem;
}
.contato-info a { color: var(--branco); text-decoration: none; }
.contato-info a:hover { color: var(--sol); }

/* ---------- Formulários ---------- */

.form {
  background: rgba(253, 253, 251, .05);
  border: 1px solid rgba(142, 202, 230, .2);
  border-radius: 16px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: .35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(142, 202, 230, .35);
  background: rgba(2, 48, 71, .35);
  color: var(--branco);
  font: inherit;
  font-size: .96rem;
  transition: border-color .25s, box-shadow .25s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(253, 253, 251, .4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sol);
  box-shadow: 0 0 0 3px rgba(255, 183, 3, .25);
}
.field select option { color: var(--tinta); background: var(--branco); }
.field textarea { resize: vertical; }

.form-feedback {
  margin: 1.1rem 0 0;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 183, 3, .14);
  border: 1px solid rgba(255, 183, 3, .5);
  color: var(--sol);
  font-weight: 500;
  font-size: .93rem;
  text-align: center;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--noite-2);
  color: rgba(253, 253, 251, .78);
  padding: 4rem 0 0;
  border-top: 1px solid rgba(142, 202, 230, .12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand img { width: 176px; margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; max-width: 20rem; }

.social {
  display: flex;
  gap: .7rem;
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}
.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(142, 202, 230, .25);
  color: var(--ceu);
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.social a:hover { background: var(--grad-solar); color: var(--noite); transform: translateY(-3px); }
.social svg { width: 19px; height: 19px; }

.footer-col h3 {
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ceu);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a { color: rgba(253, 253, 251, .78); text-decoration: none; font-size: .94rem; }
.footer-col a:hover { color: var(--sol); }
.footer-col li { font-size: .94rem; }

.footer-bottom {
  border-top: 1px solid rgba(142, 202, 230, .12);
  padding: 1.3rem 0;
  font-size: .84rem;
  color: rgba(253, 253, 251, .5);
}
.footer-bottom p { margin: 0; }

/* ---------- Login ---------- */

.login-page { background: var(--noite); }

.login-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}

.login-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: clamp(1.8rem, 4vw, 3.5rem);
  color: var(--branco);
  background:
    radial-gradient(700px 500px at 110% -10%, rgba(255, 183, 3, .35), transparent 60%),
    radial-gradient(600px 500px at -20% 110%, rgba(251, 133, 0, .28), transparent 60%),
    linear-gradient(160deg, var(--noite) 30%, #04456a 100%);
  overflow: hidden;
}
.login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(142, 202, 230, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 202, 230, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.login-brand { position: relative; z-index: 1; width: fit-content; }
.login-brand img { width: 180px; }

.login-visual-copy { position: relative; z-index: 1; max-width: 30rem; }
.login-visual-copy h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.login-visual-copy p { color: rgba(253, 253, 251, .8); }

/* mock mini-dashboard */
.mock-dash {
  position: relative;
  z-index: 1;
  margin-top: auto;
  background: rgba(2, 48, 71, .65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(142, 202, 230, .25);
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
  max-width: 26rem;
  box-shadow: var(--shadow-lg);
}
.mock-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  font-size: .88rem;
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sol); animation: pulsar 2.2s infinite; }
.mock-title { font-weight: 500; color: rgba(253, 253, 251, .85); }
.mock-pill {
  margin-left: auto;
  padding: .15rem .7rem;
  border-radius: 999px;
  background: rgba(255, 183, 3, .18);
  color: var(--sol);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
  margin-bottom: 1rem;
}
.mock-kpi {
  background: rgba(253, 253, 251, .06);
  border-radius: var(--radius-sm);
  padding: .6rem .7rem;
}
.mock-kpi span { display: block; font-size: .72rem; color: var(--ceu); }
.mock-kpi strong { font-size: .98rem; color: var(--branco); }
.mock-chart { width: 100%; height: 110px; }
.mock-bar {
  transform-origin: bottom;
  animation: subirBarra 1.1s var(--ease) backwards;
}
.mock-bar:nth-child(2) { animation-delay: .08s; }
.mock-bar:nth-child(3) { animation-delay: .16s; }
.mock-bar:nth-child(4) { animation-delay: .24s; }
.mock-bar:nth-child(5) { animation-delay: .32s; }
.mock-bar:nth-child(6) { animation-delay: .4s; }
.mock-bar:nth-child(7) { animation-delay: .48s; }
.mock-bar:nth-child(8) { animation-delay: .56s; }
.mock-bar:nth-child(9) { animation-delay: .64s; }
.mock-bar:nth-child(10) { animation-delay: .72s; }
.mock-bar:nth-child(11) { animation-delay: .8s; }
.mock-bar:nth-child(12) { animation-delay: .88s; }
@keyframes subirBarra { from { transform: scaleY(0); } }
.mock-caption { margin: .5rem 0 0; font-size: .75rem; color: rgba(253, 253, 251, .55); }

.login-panel {
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--branco);
}

.login-card { width: min(100%, 26rem); }

.login-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #eef4f8;
  border-radius: var(--radius-sm);
  padding: 5px;
  margin-bottom: 1.8rem;
}
.login-tab {
  position: relative;
  z-index: 1;
  padding: .7rem;
  background: none;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  color: var(--tinta-suave);
  cursor: pointer;
  transition: color .3s;
}
.login-tab.is-active { color: var(--noite); }
.login-tab-slider {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 5px);
  height: calc(100% - 10px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(2, 48, 71, .12);
  transition: transform .35s var(--ease);
}
.login-tabs.registrar .login-tab-slider { transform: translateX(100%); }

.login-form h2 { font-size: 1.5rem; margin-bottom: .2rem; color: var(--noite); }
.login-hint { color: var(--tinta-suave); font-size: .93rem; margin-bottom: 1.4rem; }

.login-page .field input {
  background: #f4f8fb;
  border-color: rgba(2, 48, 71, .14);
  color: var(--tinta);
}
.login-page .field input::placeholder { color: rgba(76, 101, 119, .55); }
.login-page .field label { color: var(--tinta); }

.login-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.3rem;
  font-size: .88rem;
}
.check { display: flex; align-items: center; gap: .45rem; color: var(--tinta-suave); cursor: pointer; }
.check input { accent-color: var(--laranja); width: 16px; height: 16px; }
.login-link { color: var(--laranja); font-weight: 500; text-decoration: none; }
.login-link:hover { text-decoration: underline; }

.login-page .form-feedback {
  background: rgba(255, 183, 3, .14);
  border-color: rgba(251, 133, 0, .45);
  color: #b25e00;
}

.login-back {
  display: inline-block;
  margin-top: 1.6rem;
  color: var(--tinta-suave);
  font-size: .92rem;
  text-decoration: none;
}
.login-back:hover { color: var(--laranja); }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* delays em cascata dentro de grids */
.grid-4 .reveal:nth-child(2), .grid-3 .reveal:nth-child(2),
.steps .reveal:nth-child(2), .modulos-grid .reveal:nth-child(2) { transition-delay: .08s; }
.grid-4 .reveal:nth-child(3), .grid-3 .reveal:nth-child(3),
.steps .reveal:nth-child(3), .modulos-grid .reveal:nth-child(3) { transition-delay: .16s; }
.grid-4 .reveal:nth-child(4),
.steps .reveal:nth-child(4), .modulos-grid .reveal:nth-child(4) { transition-delay: .24s; }
.modulos-grid .reveal:nth-child(5) { transition-delay: .08s; }
.modulos-grid .reveal:nth-child(6) { transition-delay: .16s; }
.modulos-grid .reveal:nth-child(7) { transition-delay: .24s; }
.modulos-grid .reveal:nth-child(8) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 1024px) {
  .grid-4, .steps, .modulos-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-media { max-width: 620px; }
  .hero-sun { width: 340px; top: -110px; right: -110px; opacity: .35; }
  .contato-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--noite-2);
    border-bottom: 1px solid rgba(142, 202, 230, .15);
    padding: 1rem 1.25rem 1.4rem;
    transform: translateY(-130%);
    transition: transform .4s var(--ease);
    box-shadow: 0 24px 40px rgba(2, 48, 71, .4);
  }
  .nav.is-open { transform: translateY(0); }
  .nav-list { flex-direction: column; gap: .2rem; margin-bottom: 1rem; }
  .nav-list a { display: block; padding: .7rem .3rem; font-size: 1.05rem; }
  .nav-cta { text-align: center; }
  .hamburger { display: flex; }

  .login-split { grid-template-columns: 1fr; }
  .login-visual { min-height: auto; }
  .mock-dash { margin-top: .5rem; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .hero { padding: calc(var(--header-h) + 3rem) 0 3.5rem; }
  .grid-4, .grid-3, .steps, .modulos-grid, .sim-results, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .hero-badges { gap: .5rem 1.2rem; }
  .brand img { width: 150px; }
  .sim-card { padding: 1.1rem 1rem; }
}
