/* ============================================
   iGreen Energy MG — Landing Page
   Polished green palette, editorial/modern feel
============================================ */

:root {
  /* core greens */
  --green-900: #0d3a18;
  --green-800: #155224;
  --green-700: #1a6b2a;
  --green-600: #228b34;
  --green-500: #2d9e3d;
  --green-400: #5fbf6f;
  --green-200: #c4e6c8;
  --green-100: #e8f4ea;
  --green-50:  #f4faf5;

  /* warm accents */
  --orange: #ed6a1c;
  --orange-soft: #fa8a40;
  --yellow: #f5c64a;
  --whatsapp: #25d366;

  /* neutrals (warm-tinted) */
  --ink-900: #0c1410;
  --ink-700: #2a3530;
  --ink-500: #5a6b62;
  --ink-300: #a4b2ab;
  --ink-100: #e6ebe7;
  --paper:   #fbfaf6;
  --paper-2: #f3f1ea;
  --white:   #ffffff;

  /* type — rounded geometric sans, harmonious with iGreen logotype */
  --font-display: "Sora", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(13, 58, 24, 0.06), 0 2px 6px rgba(13, 58, 24, 0.04);
  --shadow-md: 0 6px 20px rgba(13, 58, 24, 0.08), 0 2px 6px rgba(13, 58, 24, 0.05);
  --shadow-lg: 0 20px 50px rgba(13, 58, 24, 0.14), 0 8px 20px rgba(13, 58, 24, 0.06);

  --maxw: 1240px;

  --typescale: 1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink-900);
  font-size: calc(16px * var(--typescale));
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ========== Layout ========== */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--green-700);
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--green-900);
  text-wrap: balance;
}
.section-title em {
  font-style: normal;
  color: var(--green-600);
  font-weight: 700;
}
.section-sub {
  margin-top: 18px;
  max-width: 560px;
  font-size: 18px;
  color: var(--ink-700);
  line-height: 1.55;
  text-wrap: pretty;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--green-800);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(21, 82, 36, 0.25);
}
.btn-primary:hover { background: var(--green-700); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(21, 82, 36, 0.30); }
.btn-accent {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(237, 106, 28, 0.30);
}
.btn-accent:hover { background: #d65a13; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--green-900);
  border: 1.5px solid var(--green-200);
}
.btn-ghost:hover { border-color: var(--green-700); }
.btn-wa {
  background: var(--whatsapp);
  color: var(--white);
}
.btn-wa:hover { background: #1ebe5a; }

.btn-arrow svg { transition: transform 0.2s; }
.btn-arrow:hover svg { transform: translateX(3px); }

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(13, 58, 24, 0.06);
}
.nav-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.nav-logo img { height: 32px; width: auto; }
.nav-rep {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--ink-400);
  text-transform: uppercase;
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
}
.nav-links a:hover { color: var(--green-700); }
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-cta .btn { padding: 10px 16px; font-size: 13px; }

/* anel de luz girando ao redor do botão Cadastrar conta */
.nav-cta .btn-accent {
  position: relative;
  z-index: 0;
}
.nav-cta .btn-accent::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: conic-gradient(
    from 0deg,
    transparent      0%,
    transparent      52%,
    rgba(255,210,60,0.35)  64%,
    rgba(255,250,160,0.85) 73%,
    rgba(255,255,255,1)    78%,
    rgba(255,250,160,0.85) 83%,
    rgba(255,210,60,0.35)  91%,
    transparent      100%
  );
  animation: navCtaLight 1.8s linear infinite;
  z-index: -1;
  filter: blur(3px);
  pointer-events: none;
}
@keyframes navCtaLight {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ========== HERO EDITORIAL ========== */
.hero-ed {
  position: relative;
  background: var(--paper);
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-ed::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(21, 82, 36, 0.07) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 70% 30%, rgba(0,0,0,0.5), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, rgba(0,0,0,0.5), transparent 70%);
  pointer-events: none;
}
.hero-ed-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-ed h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--green-900);
  text-wrap: balance;
}
.hero-ed h1 .word-italic {
  font-style: normal;
  color: var(--green-600);
  font-weight: 800;
}
.hero-ed h1 .underline-stroke {
  background-image: linear-gradient(transparent 70%, rgba(245, 198, 74, 0.7) 70%, rgba(245, 198, 74, 0.7) 92%, transparent 92%);
  padding: 0 4px;
}
.hero-ed-lede {
  margin-top: 24px;
  font-size: 19px;
  color: var(--ink-700);
  max-width: 480px;
  line-height: 1.5;
  text-wrap: pretty;
}
.hero-ed-cta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-ed-trust {
  margin-top: 36px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-ed-trust .item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-ed-trust .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--green-900);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-ed-trust .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}

/* Hero visual: stacked bill cards (real photos) */
.hero-ed-visual {
  position: relative;
  height: 600px;
}
.bill-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
  overflow: hidden;
}
.bill-card img { display: block; width: 100%; height: auto; }
.bill-card.before {
  width: 300px;
  top: 20px;
  left: 0;
  transform: rotate(-5deg);
  z-index: 1;
  filter: grayscale(0.35) contrast(0.95);
}
.bill-card.before::after {
  content: "ANTES";
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--ink-900);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 6px;
}
.bill-card.after {
  width: 340px;
  top: 120px;
  right: 0;
  transform: rotate(3deg);
  z-index: 2;
}
.bill-card.after::after {
  content: "AGORA";
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--green-700);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 6px;
}
.bill-mock { padding: 18px; }
.bill-mock .row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-500);
  padding: 6px 0;
  border-bottom: 1px dashed var(--ink-100);
  font-family: var(--font-mono);
}
.bill-mock .total {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.bill-mock .total .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink-500);
  letter-spacing: 0.08em;
}
.bill-mock .total .val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.bill-mock.savings .val { color: var(--green-700); }
.bill-mock .strike {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-500);
  text-decoration: line-through;
}
.bill-header {
  background: var(--paper-2);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  border-bottom: 1px solid var(--ink-100);
}
.bill-card.after .bill-header { background: var(--green-100); color: var(--green-800); }

.savings-badge {
  position: absolute;
  bottom: 30px;
  left: 100px;
  background: var(--green-900);
  color: white;
  padding: 18px 24px;
  border-radius: 999px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
}
.savings-badge .pct {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--yellow);
  letter-spacing: -0.02em;
}
.savings-badge .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  max-width: 110px;
}

/* Anim ON: float */
.anim-on .bill-card.before { animation: floatA 6s ease-in-out infinite; }
.anim-on .bill-card.after  { animation: floatB 6s ease-in-out infinite 0.5s; }
.anim-on .savings-badge    { animation: pulseB 3s ease-in-out infinite; }

@keyframes floatA {
  0%,100% { transform: rotate(-5deg) translateY(0); }
  50%     { transform: rotate(-6deg) translateY(-8px); }
}
@keyframes floatB {
  0%,100% { transform: rotate(3deg) translateY(0); }
  50%     { transform: rotate(4deg) translateY(-12px); }
}
@keyframes pulseB {
  0%,100% { transform: rotate(-3deg) scale(1); }
  50%     { transform: rotate(-3deg) scale(1.04); }
}

/* ========== HERO BOLD ========== */
.hero-bold {
  position: relative;
  background: var(--green-900);
  color: var(--white);
  padding: 90px 0 80px;
  overflow: hidden;
}
.hero-bold::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(95, 191, 111, 0.25), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(245, 198, 74, 0.15), transparent 60%);
  pointer-events: none;
}
.hero-bold-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
.hero-bold .topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}
.hero-bold .topline .eyebrow { color: var(--green-200); }
.hero-bold .topline .eyebrow::before { background: var(--green-200); }
.hero-bold .pill {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-200);
  border: 1px solid rgba(196, 230, 200, 0.3);
  border-radius: 999px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-bold .pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-400);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-bold-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--white);
}
.hero-bold-headline .row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 24px;
}
.hero-bold-headline .num {
  color: var(--yellow);
  font-style: italic;
  font-feature-settings: "ss01";
}
.hero-bold-headline .small {
  font-family: var(--font-sans);
  font-size: 0.18em;
  font-weight: 500;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-200);
  margin-left: 16px;
}
.hero-bold .meta-row {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: end;
  border-top: 1px solid rgba(196, 230, 200, 0.2);
  padding-top: 36px;
}
.hero-bold .meta-row .lede {
  font-size: 19px;
  color: var(--green-200);
  max-width: 420px;
  line-height: 1.45;
}
.hero-bold .meta-row .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-bold .meta-row .stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--yellow);
}
.hero-bold .meta-row .stat .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-200);
}
.hero-bold .cta-row {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-bold .btn-primary { background: var(--yellow); color: var(--green-900); box-shadow: 0 6px 24px rgba(245, 198, 74, 0.30); }
.hero-bold .btn-primary:hover { background: #ffd35c; }
.hero-bold .btn-ghost { color: white; border-color: rgba(255,255,255,0.3); }
.hero-bold .btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.05); }

/* MG SVG silhouette overlay */
.mg-watermark {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 380px;
  opacity: 0.08;
  pointer-events: none;
}

/* ========== HOW IT WORKS — horizontal flow ========== */
.section-how {
  padding: 140px 0;
  background: var(--paper);
  color: var(--ink-900);
  position: relative;
  overflow: hidden;
}
.section-how::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(95,191,111,0.06), transparent 60%),
    radial-gradient(ellipse 40% 30% at 5% 95%, rgba(245,198,74,0.05), transparent 60%);
  pointer-events: none;
}
.section-how .container { position: relative; z-index: 2; }

/* ---- Header ---- */
.hiw-head {
  max-width: 760px;
  margin: 0 auto 90px;
  text-align: center;
}
.hiw-head .eyebrow { justify-content: center; }
.hiw-head .section-title em {
  font-style: italic;
  color: var(--green-700);
  font-family: var(--font-display);
  font-weight: 700;
}

/* ---- Flow: vertical editorial timeline ---- */
.hiw-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 940px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.hiw-rail {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 39px;
  width: 2px;
  background: linear-gradient(180deg,
    var(--green-200) 0%,
    var(--green-400) 50%,
    var(--green-700) 100%);
  border-radius: 2px;
  opacity: 0.55;
}
.hiw-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  position: relative;
}
.hiw-numwrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}
.hiw-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: var(--green-700);
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
  position: relative;
  z-index: 2;
}
.hiw-dot {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: var(--paper);
  border: 2px solid var(--green-700);
  border-radius: 50%;
  z-index: 2;
}
.hiw-step:last-child .hiw-dot {
  background: var(--green-700);
}

/* ---- Card ---- */
.hiw-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px 32px 30px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hiw-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(15,42,28,0.18);
  border-color: var(--green-300);
}
.hiw-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 16px;
}
.hiw-pill {
  background: var(--green-100);
  color: var(--green-800);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.hiw-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  background: var(--green-50);
  border-radius: 12px;
  flex-shrink: 0;
}
.hiw-icon svg { width: 36px; height: 36px; }
.hiw-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 10px;
}
.hiw-body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-700);
  margin: 0;
  max-width: 56ch;
}

/* ---- Foot benefits ---- */
.hiw-foot {
  margin-top: 110px;
  max-width: 1040px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}
.hiw-foot-item {
  padding: 36px 32px;
  border-right: 1px solid var(--ink-100);
}
.hiw-foot-item:last-child { border-right: none; }
.hiw-foot-kicker {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--green-800);
  letter-spacing: -0.015em;
  display: block;
  margin-bottom: 10px;
}
.hiw-foot-kicker::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--green-700);
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 4px;
}
.hiw-foot-item p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-700);
  margin: 0;
}

/* ========== SINGLE BILL section ========== */
.section-singlebill {
  padding: 120px 0;
  background: var(--green-900);
  color: white;
  position: relative;
  overflow: hidden;
}
.section-singlebill::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 30%, rgba(95,191,111,0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 90%, rgba(245,198,74,0.10), transparent 60%);
  pointer-events: none;
}
.section-singlebill .container { position: relative; z-index: 2; }
.section-singlebill .eyebrow { color: var(--green-200); }
.section-singlebill .eyebrow::before { background: var(--green-200); }

.sb-head { max-width: 900px; }

.sb-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 30px;
  align-items: center;
}
.sb-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.sb-tag.tag-old { background: rgba(232,69,69,0.15); color: #ff8a8a; border: 1px solid rgba(232,69,69,0.3); }
.sb-tag.tag-new { background: rgba(245,198,74,0.18); color: var(--yellow); border: 1px solid rgba(245,198,74,0.4); }
.sb-tag .dot-x { font-size: 14px; line-height: 1; }
.sb-tag .dot-check { display: inline-flex; align-items: center; justify-content: center; }

.sb-bill {
  background: white;
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: transform 0.3s ease;
}
.sb-old:hover .sb-bill, .sb-new:hover .sb-bill { transform: translateY(-3px); }

.bill-h {
  background: var(--paper-2);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--ink-100);
  gap: 12px;
}
.bill-cemig .bill-h {
  background: linear-gradient(180deg, #d3f0a3, #b8e687);
}
.bill-igreen .bill-h {
  background: var(--green-50);
}
.bill-h-name {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--green-900);
  font-size: 13px;
  letter-spacing: -0.005em;
}
.bill-h-ref {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.bill-rows { padding: 18px 20px; }
.bill-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--ink-100);
  color: var(--ink-700);
}
.bill-row.discount {
  color: var(--green-700);
  font-weight: 700;
}
.bill-row strong { font-weight: 700; }
.bill-total {
  padding: 16px 20px;
  background: var(--paper-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid var(--ink-100);
}
.bill-total-new { background: var(--green-100); }
.bill-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.bill-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.bill-total-new .bill-val { color: var(--green-700); }
.strike-mini {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  text-decoration: line-through;
  margin-bottom: 2px;
}

.sb-caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--green-200);
  text-align: center;
}

.x-stamp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

.sb-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.sb-arrow svg { width: 80px; height: 80px; }
.anim-on .sb-arrow svg path:last-of-type {
  animation: arrowPulse 2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes arrowPulse {
  0%,100% { transform: translateX(0); }
  50%     { transform: translateX(4px); }
}

.sb-bottom {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid rgba(196,230,200,0.2);
  padding-top: 40px;
}
.sb-bullet {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.sb-bullet-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--yellow);
  letter-spacing: -0.02em;
  line-height: 1;
}
.sb-bullet h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.sb-bullet p {
  font-size: 14px;
  color: var(--green-200);
  line-height: 1.5;
}

/* ========== SIMULATOR / CONTA UPLOAD ========== */
.section-sim {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--green-50) 0%, var(--paper) 100%);
  position: relative;
}
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.sim-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.sim-stage-pill {
  display: inline-flex;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  margin-bottom: 14px;
}
.sim-stage-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-300);
  align-self: center;
}
.sim-stage-pill .dot.active { background: var(--green-600); }
.sim-stage-pill .dot.done { background: var(--green-700); }

.sim-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--green-900);
  margin-bottom: 8px;
}
.sim-card .sub {
  color: var(--ink-500);
  font-size: 15px;
  margin-bottom: 26px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.field input,
.field select,
.field textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-600);
  background: white;
}
.fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.distrib-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.distrib-pill {
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: white;
  transition: all 0.15s;
}
.distrib-pill:hover { border-color: var(--green-400); }
.distrib-pill.selected {
  border-color: var(--green-700);
  background: var(--green-50);
  color: var(--green-800);
}
.distrib-pill .sub {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  margin-top: 2px;
}

.sim-result {
  background: var(--green-900);
  color: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.sim-result .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-200);
}
.sim-result .number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 84px;
  line-height: 1;
  color: var(--yellow);
  margin-top: 8px;
}
.sim-result .breakdown {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-top: 1px solid rgba(196, 230, 200, 0.2);
  padding-top: 20px;
}
.sim-result .breakdown .row .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-200);
}
.sim-result .breakdown .row .val {
  font-family: var(--font-display);
  font-size: 24px;
  color: white;
  margin-top: 2px;
}
.sim-result .annual {
  margin-top: 22px;
  font-size: 14px;
  color: var(--green-200);
}
.sim-result .annual strong { color: white; font-weight: 600; }

/* upload area for bill */
.upload-area {
  border: 1.5px dashed var(--green-400);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  background: var(--green-50);
  transition: all 0.2s;
  cursor: pointer;
  margin-bottom: 18px;
}
.upload-area:hover { background: var(--green-100); border-color: var(--green-700); }
.upload-area.has-file {
  background: var(--white);
  border-style: solid;
  border-color: var(--green-700);
  text-align: left;
}
.upload-area .ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px solid var(--green-200);
}
.upload-area .ttl {
  font-weight: 600;
  font-size: 15px;
  color: var(--green-900);
}
.upload-area .hint {
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 4px;
}
.upload-area .filename {
  display: flex;
  align-items: center;
  gap: 10px;
}
.upload-area .filename img {
  width: 56px; height: 56px; object-fit: cover; border-radius: 6px;
}

/* ========== REAL BILL section ========== */
.section-realbill {
  padding: 120px 0;
  background: var(--paper);
  position: relative;
}
.rb-head {
  max-width: 800px;
  margin-bottom: 70px;
}
.rb-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.rb-image-wrap {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
}
.rb-image-wrap img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}
.rb-callout {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.rb-callout-bubble {
  background: var(--green-900);
  color: white;
  padding: 12px 14px;
  border-radius: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 240px;
  box-shadow: 0 12px 30px rgba(11,46,28,0.25);
  pointer-events: auto;
}
.rb-callout-num {
  background: var(--yellow);
  color: var(--green-900);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.rb-callout-bubble strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  display: block;
  margin-bottom: 3px;
  letter-spacing: -0.005em;
}
.rb-callout-bubble p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--green-200);
  margin: 0;
}
.rb-callout-line {
  position: absolute;
  width: 30px;
  height: 1px;
  background: var(--green-700);
  top: 22px;
}
/* positions */
.rb-callout-1 { top: 14%; right: -150px; }
.rb-callout-1 .rb-callout-line { left: -30px; }
.rb-callout-2 { top: 32%; left: -260px; }
.rb-callout-2 .rb-callout-line { right: -30px; }
.rb-callout-3 { top: 36%; right: -150px; }
.rb-callout-3 .rb-callout-line { left: -30px; }
.rb-callout-4 { top: 70%; left: -260px; }
.rb-callout-4 .rb-callout-line { right: -30px; }

.rb-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 100px;
}
.rb-card {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.rb-card-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 8px;
}
.rb-card-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--green-900);
  line-height: 1;
}
.rb-card-sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-500);
}
.rb-card-dark {
  background: var(--green-900);
  color: white;
  border-color: var(--green-900);
}
.rb-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rb-list li {
  font-size: 14px;
  color: white;
  display: flex;
  gap: 10px;
  align-items: center;
}
.rb-bullet {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .rb-callout { display: none; }
}
@media (max-width: 980px) {
  .rb-grid { grid-template-columns: 1fr; gap: 40px; }
  .rb-side { position: static; }
}

/* RealBill CTA + HowItWorks CTA */
.rb-cta {
  margin-top: 70px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: 0 12px 30px -22px rgba(15,42,28,0.18);
}
.rb-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.rb-cta-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink-900);
  margin: 0;
  letter-spacing: -0.015em;
}
.rb-cta-line strong { color: var(--green-700); font-weight: 700; }

.hiw-cta {
  margin-top: 70px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hiw-cta-line {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0;
  max-width: 600px;
  line-height: 1.25;
}
.hiw-cta-line strong { color: var(--green-700); font-weight: 700; font-style: italic; }
.hiw-cta-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 4px;
}

@media (max-width: 720px) {
  .rb-cta { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
  .rb-cta-line { font-size: 18px; }
  .hiw-cta-line { font-size: 20px; }
}

/* ========== MG FOCUS ========== */
.section-mg {
  padding: 120px 0;
  background: var(--green-900);
  color: white;
  position: relative;
  overflow: hidden;
}
.section-mg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 30% 30%, rgba(95, 191, 111, 0.15), transparent 60%);
  pointer-events: none;
}
.section-mg .container { position: relative; z-index: 2; }
.section-mg .section-title { color: white; }
.section-mg .section-title em { color: var(--yellow); }
.section-mg .eyebrow { color: var(--green-200); }
.section-mg .eyebrow::before { background: var(--green-200); }
.section-mg .section-sub { color: var(--green-200); max-width: 540px; }

.mg-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}
.mg-cities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.mg-city {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(196, 230, 200, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s;
}
.mg-city:hover { background: rgba(255,255,255,0.07); border-color: var(--green-400); }
.mg-city .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: white;
}
.mg-city .stat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--green-200);
  text-transform: uppercase;
}

.mg-map {
  position: relative;
  aspect-ratio: 1.05 / 1;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(196, 230, 200, 0.15);
  padding: 30px;
  overflow: hidden;
}
.mg-map svg { width: 100%; height: 100%; }
.mg-map .pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--green-900);
  box-shadow: 0 0 0 3px rgba(245, 198, 74, 0.3);
  transform: translate(-50%, -50%);
}
.anim-on .mg-map .pin { animation: pinPulse 2.5s ease-in-out infinite; }
@keyframes pinPulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(245, 198, 74, 0.3); }
  50%     { box-shadow: 0 0 0 8px rgba(245, 198, 74, 0); }
}

/* ========== VIDEO + PROOF ========== */
.section-video {
  padding: 130px 0;
  background: var(--paper);
}
.video-head {
  max-width: 820px;
  margin: 0 auto 50px;
  text-align: center;
}
.video-head .eyebrow { justify-content: center; }
.video-head .section-title em {
  font-style: italic;
  color: var(--green-700);
  font-family: var(--font-display);
  font-weight: 700;
}
.video-head .section-sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.video-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--green-900);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-lg);
  max-width: 1080px;
  margin-inline: auto;
}
.video-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-card .placeholder {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  cursor: pointer;
}
.video-card .placeholder .play {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.anim-on .video-card .placeholder .play { animation: playPulse 2s ease-in-out infinite; }
@keyframes playPulse {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.06); }
}
.video-card .placeholder .play svg { width: 28px; height: 28px; color: var(--green-900); margin-left: 4px; }
.video-card .placeholder-cap {
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.video-card .placeholder-cap .kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}
.video-card .placeholder-cap .ttl {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---- Trust strip + CTA ---- */
.video-trust {
  max-width: 1080px;
  margin: 60px auto 0;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 12px 30px -20px rgba(15,42,28,0.15);
}
.vt-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.vt-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vt-stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  line-height: 1;
}
.vt-stat .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.vt-divider {
  width: 1px;
  height: 36px;
  background: var(--ink-100);
}
.vt-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.vt-cta-line {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-700);
  margin: 0;
}
.vt-cta-line strong {
  color: var(--green-800);
  font-weight: 700;
}

/* ========== FAQ ========== */
.section-faq {
  padding: 120px 0;
  background: var(--paper-2);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--ink-100);
  padding: 24px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--green-900);
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
}
.faq-item[open] summary .ic { transform: rotate(45deg); background: var(--green-700); color: white; border-color: var(--green-700); }
.faq-item .ans {
  margin-top: 14px;
  font-size: 15.5px;
  color: var(--ink-700);
  line-height: 1.6;
  max-width: 640px;
}

/* ========== FINAL CTA ========== */
.section-cta {
  padding: 100px 0;
  background: var(--paper);
}
.cta-card {
  background: var(--green-900);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 198, 74, 0.15), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(95, 191, 111, 0.12), transparent 60%);
}
.cta-card .inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.cta-card h2 em { color: var(--yellow); font-style: normal; font-weight: 800; }
.cta-card p {
  margin-top: 20px;
  font-size: 17px;
  color: var(--green-200);
  max-width: 460px;
}
.cta-card .actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.cta-card .btn-primary {
  background: var(--yellow);
  color: var(--green-900);
}
.cta-card .btn-primary:hover { background: #ffd35c; }

/* ========== FOOTER ========== */
.footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-grid a:hover { color: white; }
.footer-grid img { height: 26px; opacity: 0.9; margin-bottom: 16px; }
.footer-bottom {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  flex-wrap: wrap;
  gap: 12px;
}

/* ========== WHATSAPP FAB ========== */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--whatsapp);
  color: white;
  border-radius: 999px;
  padding: 14px 20px 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  z-index: 90;
  cursor: pointer;
  transition: transform 0.15s;
}
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab svg { width: 22px; height: 22px; }
.anim-on .wa-fab { animation: waBounce 4s ease-in-out infinite; }
@keyframes waBounce {
  0%,90%,100% { transform: translateY(0); }
  93% { transform: translateY(-6px); }
  96% { transform: translateY(0); }
}

/* ========== UTILITIES & ANIM ========== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.anim-off .reveal { opacity: 1; transform: none; transition: none; }

/* sticky CTA: hidden by default globally — only shown via media query + .visible */
.sticky-cta { display: none; }

/* ========== HAMBURGER ========== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-hamburger { display: flex; }
}

/* ========== NAV OVERLAY ========== */
/* z-index: 99 — abaixo do nav (100) para o botão hamburger permanecer acessível */
.nav-overlay {
  display: none; /* oculto por padrão — evita aparecer no rodapé via portal */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav-overlay.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* ========== NAV DRAWER ========== */
/* z-index: 101 — acima do nav (100) e do overlay (99) */
/* visibility:hidden + delay mantém a animação sem vazar conteúdo no DOM */
.nav-drawer {
  visibility: hidden;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--green-900);
  z-index: 101;
  transform: translateY(-110%);
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
  border-bottom: 1px solid rgba(196,230,200,0.15);
}
.nav-drawer.open {
  visibility: visible;
  transform: translateY(0);
  transition: transform 0.25s ease, visibility 0s linear 0s;
}

.nav-drawer-inner {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 32px;
  gap: 4px;
}
.nav-drawer-inner > a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: white;
  padding: 12px 0;
  border-bottom: 1px solid rgba(196,230,200,0.1);
  letter-spacing: -0.01em;
}
.nav-drawer-inner > a:last-of-type { border-bottom: none; }
.nav-drawer-inner .btn-wa {
  margin-top: 16px;
  justify-content: center;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 980px) {
  .hero-ed-grid,
  .sim-grid,
  .mg-grid,
  .cta-card .inner,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-ed-visual { height: 480px; }
  .hero-bold .meta-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hiw-head { margin-bottom: 60px; }
  .hiw-step { grid-template-columns: 60px 1fr; gap: 20px; }
  .hiw-num { font-size: 44px; }
  .hiw-rail { left: 29px; }
  .hiw-dot { top: 56px; }
  .hiw-card { padding: 22px 24px 24px; }
  .hiw-title { font-size: 22px; }
  .hiw-foot { grid-template-columns: 1fr; margin-top: 80px; }
  .hiw-foot-item { border-right: none; border-bottom: 1px solid var(--ink-100); padding: 28px 24px; }
  .hiw-foot-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .cta-card { padding: 50px 30px; }
  .fields-row { grid-template-columns: 1fr; }
  .distrib-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .hiw-card-top { flex-direction: row-reverse; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-cta .btn:first-child { display: none; }
  .hero-ed  { padding: 20px 0 32px; }
  .hero-bold { padding: 28px 0; }
  .section-how,
  .section-singlebill,
  .section-sim,
  .section-realbill,
  .section-video,
  .section-mg,
  .section-faq,
  .section-cta { padding: 28px 0; }

  /* bill cards menores no mobile */
  .bill-card img { max-height: 160px; object-fit: cover; object-position: top; }
  .hero-ed-visual { padding-bottom: 52px; gap: 10px; }

  /* howItWorks: espaços muito reduzidos */
  .hiw-head { margin-bottom: 24px !important; }
  .hiw-flow { gap: 16px; }
  .hiw-card { padding: 16px 18px 18px; }
  .hiw-title { font-size: 19px !important; }
  .hiw-body { font-size: 14px; }
  .hiw-foot { margin-top: 24px !important; }
  .hiw-foot-item { padding: 16px 18px !important; }
  .hiw-cta { margin-top: 20px; gap: 8px; }
  .hiw-cta-line { font-size: 17px; }
  .section-how::before { display: none; }

  /* simulador: menos espaço */
  .sim-grid { gap: 20px; }
  .sim-card { padding: 20px; }
  .sim-result { padding: 20px; margin-top: 16px !important; }
  .sim-result .number { font-size: 56px; }

  /* video trust strip: stats em linha horizontal compacta */
  .video-trust { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .vt-stats { flex-wrap: nowrap; gap: 0; justify-content: space-around; align-items: center; }
  .vt-stat { text-align: center; }
  .vt-stat .num { font-size: 22px; }
  .vt-stat .lbl { font-size: 10px; }
  .vt-divider { display: block; width: 1px; height: 28px; background: var(--ink-100); flex-shrink: 0; }
  .sim-card { padding: 24px; }
  .sim-result { padding: 24px; }
  .sim-result .number { font-size: 64px; }
  .mg-cities { grid-template-columns: 1fr 1fr; }

  .cta-card { padding: 36px 24px; }

  /* hero visual: stack bill cards vertically */
  .hero-ed-visual {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 80px;
  }

  .bill-card.before,
  .bill-card.after {
    position: relative;
    width: 100%;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    animation: none !important;
  }

  .savings-badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: max-content;
    max-width: calc(100% - 32px);
  }

  .sb-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sb-arrow { transform: rotate(90deg); }
  .sb-bottom { grid-template-columns: 1fr; gap: 28px; }

  .hero-bold .meta-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* hero: trust strip em linha única abaixo do botão */
  .hero-ed-trust {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--ink-100);
    border-bottom: 1px solid var(--ink-100);
  }
  .hero-ed-trust .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
  }
  .hero-ed-trust .item + .item {
    border-left: 1px solid var(--ink-100);
  }
  .hero-ed-trust .num { font-size: 18px; line-height: 1; }
  .hero-ed-trust .lbl { font-size: 9px; text-align: center; }

  /* hero editorial: headline e lede mais compactos */
  .hero-ed h1 { margin-top: 10px !important; }
  .hero-ed-lede { font-size: 15px; margin-top: 12px; }
  .hero-ed-cta { margin-top: 20px; gap: 10px; }

  /* sticky CTA bar — slides up from bottom when hero is off-screen */
  .sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--green-800);
    padding: 12px 20px calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 80;
    box-shadow: 0 -4px 20px rgba(13,58,24,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  .sticky-cta.visible { transform: translateY(0); }

  .sticky-cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.01em;
    cursor: pointer;
    padding: 0;
  }

  .sticky-cta-sub {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-200);
  }

  /* raise WhatsApp FAB above the sticky bar */
  .wa-fab { bottom: 80px; }
}


@media (max-width: 480px) {
  .nav-rep { display: none; }
}
