/* =========================================================
   iGreen Energy — Claudia Santos | Licenciada Autorizada Nº 107085
   Design system
   ========================================================= */

:root {
  --green-950: #04140c;
  --green-900: #06301c;
  --green-800: #0a4527;
  --green-700: #0f6b37;
  --green-600: #14874a;
  --green-500: #19a35a;
  --green-400: #33c977;
  --lime-400: #a3e635;
  --ink-900: #0c1712;
  --ink-700: #2b3a33;
  --ink-500: #5b6b63;
  --paper-0: #ffffff;
  --paper-50: #f6faf7;
  --paper-100: #eef5f0;
  --line: #e0ebe3;
  --amber-500: #f2a900;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(6, 48, 28, .06), 0 1px 1px rgba(6, 48, 28, .04);
  --shadow-md: 0 8px 24px rgba(6, 48, 28, .10);
  --shadow-lg: 0 20px 50px rgba(6, 48, 28, .16);
  --container: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--paper-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--paper-50); }
.section--dark {
  background: linear-gradient(160deg, var(--green-950), var(--green-800) 70%);
  color: #eafcef;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-400) 12%;
  background: rgba(25, 163, 90, .1);
  padding: 6px 14px;
  border-radius: 999px;
}
.section--dark .eyebrow { color: var(--lime-400); background: rgba(163, 230, 53, .12); }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 20px; }
p { color: var(--ink-700); }
.section--dark p { color: #cfe9d6; }

.lead { font-size: 18px; color: var(--ink-700); max-width: 640px; }
.section--dark .lead,
.hero .lead { color: #d8f3dd; }
.hero p { color: #d8f3dd; }

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 14px; font-size: 17px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15.5px;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--green-600);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--green-500); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: inherit;
}
.btn-outline:hover { border-color: currentColor; background: rgba(255,255,255,.08); }
.btn-light {
  background: #fff;
  color: var(--green-700);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent;
  color: var(--green-700);
  padding: 8px 4px;
  font-size: 14.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-ghost:hover { color: var(--green-500); }
.btn-block { width: 100%; }
.btn small { font-weight: 600; opacity: .85; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.external-note {
  font-size: 12.5px;
  color: var(--ink-500);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.section--dark .external-note,
.hero .external-note { color: #cfe9d6; }
.external-note svg { flex: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.brand-mark img { height: 100%; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 17px; font-weight: 800; color: var(--ink-900); }
.brand-text span { font-size: 11.5px; color: var(--ink-500); font-weight: 600; }

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
}
.nav-links a:hover { color: var(--green-700); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none; border: none;
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-primary span.long { display: none; }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 78px 0 0 0;
  background: #fff;
  z-index: 99;
  padding: 20px 24px 40px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 22px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 500px at 85% -10%, rgba(163,230,53,.18), transparent 60%),
              linear-gradient(180deg, var(--green-950), var(--green-900) 55%, var(--green-800));
  color: #eafcef;
  padding: 76px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 { margin-top: 16px; color: #fff; }
.hero .lead { margin-top: 18px; }
.hero .btn-row { margin-top: 30px; }
.hero-badges {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.hero-badge {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: #d8f3dd;
}
.hero-badge svg { color: var(--lime-400); flex: none; }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hero-card-top strong { font-size: 15px; }
.hero-card-top span {
  font-size: 12px; font-weight: 700; color: var(--green-950);
  background: var(--lime-400); padding: 4px 10px; border-radius: 999px;
}
.hero-stat { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stat:first-of-type { border-top: none; }
.hero-stat span:first-child { color: #b7dcc0; font-size: 14px; }
.hero-stat span:last-child { font-weight: 800; color: #fff; }
.hero-card .btn { margin-top: 20px; }

/* Identification strip */
.id-strip {
  background: var(--paper-100);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-700);
  padding: 12px 0;
  text-align: center;
}
.id-strip strong { color: var(--ink-900); }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--green-900);
  color: var(--lime-400);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
  margin-bottom: 16px;
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { font-size: 14.5px; }

/* CTA panel (Conexão) */
.cta-panel {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
@media (max-width: 860px) { .cta-panel { grid-template-columns: 1fr; } }
.cta-panel-body { padding: 44px; }
.cta-panel-side {
  background: linear-gradient(160deg, var(--green-700), var(--green-950));
  color: #fff;
  padding: 44px;
  display: flex; flex-direction: column; justify-content: center;
}
.cta-panel h2 { margin: 0 0 10px; }
.check-list { margin: 22px 0 8px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink-800); align-items: flex-start; }
.check-list svg { flex: none; margin-top: 2px; color: var(--green-600); }
.cta-panel-side .btn { margin-top: 6px; }
.cta-panel-side p.small { font-size: 13px; color: #cfe9d6; margin-top: 14px; }

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--paper-50);
}
.benefit-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--green-100, #e3f6e8);
  background: rgba(20, 135, 74, .1);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.benefit-card h3 { font-size: 17px; margin-bottom: 6px; }
.benefit-card p { font-size: 14.5px; }

/* Licenciado section */
.opp-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .opp-grid { grid-template-columns: 1fr; } }
.opp-list { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.opp-item { display: flex; gap: 14px; }
.opp-item .dot {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: rgba(163,230,53,.16); color: var(--lime-400);
  display: flex; align-items: center; justify-content: center;
}
.opp-item h4 { font-size: 15.5px; color: #fff; margin-bottom: 3px; }
.opp-item p { font-size: 14px; }

.disclaimer-box {
  background: rgba(242, 169, 0, .1);
  border: 1px solid rgba(242, 169, 0, .35);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 13.5px;
  color: #f4e3b8;
  display: flex;
  gap: 12px;
  margin-top: 26px;
}
.disclaimer-box svg { flex: none; color: var(--amber-500); margin-top: 2px; }
.disclaimer-box strong { color: #fff; }

.opp-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px;
  color: var(--ink-900);
}
.opp-card h3 { margin-bottom: 6px; }
.opp-card p.lead-sm { font-size: 14.5px; color: var(--ink-700); margin-bottom: 22px; }
.opp-card .btn-row { flex-direction: column; align-items: stretch; }
.opp-card .btn-ghost { text-align: center; }
.opp-divider { border-top: 1px dashed var(--line); margin: 18px 0; }

/* Telecom */
.telecom-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(120deg, #eafcef, #f6faf7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
}
@media (max-width: 760px) {
  .telecom-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
.telecom-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: var(--green-900); color: var(--lime-400);
  display: flex; align-items: center; justify-content: center;
}
.telecom-card h3 { margin-bottom: 6px; }
.telecom-card p { font-size: 14.5px; max-width: 480px; }

/* About / transparency */
.about-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) { .about-panel { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.about-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: linear-gradient(145deg, var(--green-500), var(--green-800));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800;
}
.about-panel h3 { margin-bottom: 4px; }
.about-panel .role { font-size: 13.5px; font-weight: 700; color: var(--green-700); margin-bottom: 10px; }
.about-panel p { font-size: 14.5px; }
.about-meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; color: var(--ink-500); }
.about-meta strong { color: var(--ink-900); }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none; border: none;
  font-weight: 700; font-size: 15.5px; text-align: left;
  color: var(--ink-900);
}
.faq-q svg { flex: none; transition: transform .2s ease; color: var(--green-700); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 22px;
}
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 20px; }
.faq-a p { font-size: 14.5px; }
.faq-a a { color: var(--green-700); font-weight: 700; text-decoration: underline; }

/* Final CTA */
.final-cta {
  text-align: center;
  background: linear-gradient(150deg, var(--green-700), var(--green-950));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 32px;
}
.final-cta h2 { color: #fff; }
.final-cta p { max-width: 560px; margin: 14px auto 0; }
.final-cta .btn-row { justify-content: center; margin-top: 28px; }

/* Footer */
.site-footer {
  background: var(--green-950);
  color: #cfe9d6;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand-mark { height: 30px; }
.footer-brand strong { color: #fff; font-size: 17px; }
.footer-about { font-size: 13.5px; max-width: 320px; }

.site-footer p { color: #cfe9d6; }

.footer-legal {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12.5px;
  color: #cfe9d6;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-legal strong { color: #ffffff; }

.badge-id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(163,230,53,.12);
  color: var(--lime-400);
  border: 1px solid rgba(163,230,53,.28);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }

/* Simple page (privacy/terms) */
.doc-page { padding: 60px 0 100px; }
.doc-page .container { max-width: 820px; }
.doc-page h1 { margin-bottom: 6px; }
.doc-page .updated { font-size: 13.5px; color: var(--ink-500); margin-bottom: 36px; }
.doc-page h2 { font-size: 21px; margin: 34px 0 12px; }
.doc-page p, .doc-page li { font-size: 15px; color: var(--ink-700); margin-bottom: 10px; }
.doc-page ul { list-style: disc; padding-left: 22px; }
.doc-page a { color: var(--green-700); text-decoration: underline; font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 26px; font-weight: 700; color: var(--green-700); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .cta-panel-body, .cta-panel-side { padding: 30px; }
}

/* =========================================================
   Ilustrações decorativas
   ========================================================= */

/* Hero: textura de fundo (grade de pontos + brilho) */
.hero-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; }

/* Como funciona: ícone + número combinados */
.step-num {
  position: relative;
  overflow: visible;
}
.step-num svg { width: 18px; height: 18px; }
.step-num .num-tag {
  position: absolute;
  bottom: -7px;
  right: -7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime-400);
  color: var(--green-950);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* Seja Licenciado: ilustração de indicação (dois celulares + chat) */
.refer-illustration {
  color: rgba(234, 252, 239, .55);
  max-width: 320px;
  margin: 28px 0 6px;
}
.refer-illustration svg { display: block; width: 100%; height: auto; }

/* Sobre: anel decorativo ao redor do avatar */
.about-avatar-wrap {
  position: relative;
  display: inline-flex;
  padding: 8px;
}
.about-avatar-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(15, 107, 55, .3);
}
.about-avatar-wrap::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(163, 230, 53, .14), transparent 70%);
  z-index: -1;
}
