:root {
  --verde-floresta: #044108;
  --verde-campo:    #046A38;
  --verde-energia:  #7ED957;
  --verde-soft:     #7ed95733;
  --dourado:        #C8962E;
  --bg:             #FFFFFF;
  --bg-2:           #F7F9F7;
  --bg-3:           #EEF2EE;
  --text-1:         #1A1A1A;
  --text-2:         #4A4A4A;
  --text-3:         #7A7A7A;
  --border:         #E0E8E0;
  --border-subtle:  #E8EDE8;
  --card-bg:        #FFFFFF;
  --card-shadow:    0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  --card-shadow-h:  0 4px 16px rgba(4,106,56,.12), 0 12px 32px rgba(0,0,0,.06);
  --r-lg: 14px; --r-xl: 22px;
}
[data-theme="dark"] {
  --bg: #0A0F0A; --bg-2: #111611; --bg-3: #1A201A;
  --text-1: #E8EDE8; --text-2: #B0BCB0; --text-3: #7A887A;
  --border: #1E2A1E; --border-subtle: #1A241A;
  --card-bg: #141A14;
  --card-shadow: 0 1px 3px rgba(0,0,0,.3), 0 4px 12px rgba(0,0,0,.2);
  --card-shadow-h: 0 4px 16px rgba(126,217,87,.1), 0 12px 32px rgba(0,0,0,.3);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:100px; font-size:16px; }
body { font-family:'Montserrat',sans-serif; background:var(--bg); color:var(--text-1); line-height:1.72; overflow-x:hidden; -webkit-font-smoothing:antialiased; }
a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }
ul,ol { list-style:none; }
.container { width:100%; max-width:1240px; margin:0 auto; padding:0 24px; }

/* ── HEADER ── */
.header { position:fixed; top:0; left:0; right:0; z-index:1000; background:rgba(255,255,255,.98); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border-bottom:1px solid var(--border-subtle); box-shadow:0 2px 16px rgba(0,0,0,.06); transition:box-shadow .3s ease; }
[data-theme="dark"] .header { background:rgba(10,15,10,.98); }
.header.is-scrolled { box-shadow:0 2px 24px rgba(0,0,0,.10); }
.header__logo img { height:62px; width:auto; object-fit:contain; }
.logo-light { display:block; } .logo-dark { display:none; }
[data-theme="dark"] .logo-light { display:none; } [data-theme="dark"] .logo-dark { display:block; }
.header__top { border-bottom:1px solid var(--border-subtle); }
.header__top-inner { display:flex; align-items:center; justify-content:space-between; padding:10px 0; }
.header__top-right { display:flex; align-items:center; gap:6px; }
.header__top-pill { font-size:.75rem; font-weight:600; letter-spacing:.04em; padding:6px 14px; border-radius:20px; white-space:nowrap; transition:all .3s ease; }
.header__top-pill--outline { color:var(--verde-campo); border:1.5px solid var(--verde-campo); }
.header__top-pill--outline:hover { background:var(--verde-campo); color:#fff; }
.header__top-pill--solid { background:var(--verde-energia); color:var(--verde-floresta); border:1.5px solid var(--verde-energia); font-weight:700; }
.header__top-pill--solid:hover { background:#6bc947; transform:translateY(-1px); }
.header__social { display:flex; align-items:center; gap:4px; margin:0 8px; }
.header__social a { width:30px; height:30px; display:flex; align-items:center; justify-content:center; border-radius:6px; color:var(--text-3); transition:all .3s ease; }
.header__social a:hover { color:var(--verde-campo); background:var(--verde-soft); }
.header__social svg { width:16px; height:16px; }
.theme-toggle { width:34px; height:34px; border-radius:8px; display:flex; align-items:center; justify-content:center; color:var(--text-3); transition:all .3s ease; border:1.5px solid var(--border); }
.theme-toggle:hover { color:var(--verde-campo); border-color:var(--verde-campo); background:var(--verde-soft); }
.theme-toggle svg { width:16px; height:16px; }
.icon-sun { display:block; } .icon-moon { display:none; }
[data-theme="dark"] .icon-sun { display:none; } [data-theme="dark"] .icon-moon { display:block; }
.header__bottom { padding:7px 0 0; }
.header__bottom-inner { display:flex; align-items:center; height:50px; gap:4px; }
.header__nav { display:flex; align-items:center; gap:2px; }
.header__nav > a { font-size:.78rem; font-weight:600; letter-spacing:.05em; text-transform:uppercase; padding:8px 13px; border-radius:5px; white-space:nowrap; color:var(--text-2); transition:all .3s ease; }
.header__nav > a:hover { color:var(--verde-campo); background:var(--verde-soft); }
.header__nav > a.active { color:var(--verde-campo); }
.nav-dropdown { position:relative; }
.nav-dropdown__trigger { display:flex; align-items:center; gap:5px; cursor:pointer; font-size:.78rem; font-weight:600; letter-spacing:.05em; text-transform:uppercase; padding:8px 13px; border-radius:5px; white-space:nowrap; color:var(--text-2); transition:all .3s ease; }
.nav-dropdown__trigger:hover { color:var(--verde-campo); background:var(--verde-soft); }
.nav-dropdown__trigger svg { width:12px; height:12px; transition:transform .3s ease; }
.nav-dropdown:hover .nav-dropdown__trigger svg { transform:rotate(180deg); }
.nav-dropdown__menu { position:absolute; top:calc(100% + 8px); left:50%; background:var(--card-bg); border:1px solid var(--border); border-radius:var(--r-lg); padding:8px; min-width:220px; box-shadow:0 8px 32px rgba(0,0,0,.10); opacity:0; visibility:hidden; transform:translateX(-50%) translateY(-6px); transition:all .3s cubic-bezier(.4,0,.2,1); pointer-events:none; z-index:200; }
.nav-dropdown__menu::before { content:''; position:absolute; top:-10px; left:-16px; right:-16px; height:12px; }
.nav-dropdown:hover .nav-dropdown__menu { opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); pointer-events:all; }
.nav-dropdown__menu a { display:block; padding:10px 14px; border-radius:6px; font-size:.78rem; font-weight:600; color:var(--text-2); transition:all .25s ease; text-transform:none; }
.nav-dropdown__menu a:hover { background:var(--verde-soft); color:var(--verde-campo); }
.header__hamburger { display:none; margin-left:8px; width:38px; height:38px; align-items:center; justify-content:center; border-radius:7px; border:1.5px solid var(--border); color:var(--text-2); transition:all .3s ease; }
.header__hamburger:hover { border-color:var(--verde-campo); color:var(--verde-campo); }
.header__mobile-nav { display:none; flex-direction:column; background:var(--bg); border-top:1px solid var(--border); padding:12px 0 16px; }
.header__mobile-nav.open { display:flex; }
.header__mobile-nav a { padding:12px 24px; font-size:.85rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--text-2); transition:all .25s ease; }
.header__mobile-nav a:hover { color:var(--verde-campo); background:var(--verde-soft); }
.header__mobile-nav a.active { color:var(--verde-campo); }

/* ── HERO ── */
.qs-hero {
  position:relative; min-height:420px;
  display:flex; align-items:flex-end;
  overflow:hidden; padding-top:94px;
}
.qs-hero__bg { position:absolute; inset:0; z-index:1; }
.qs-hero__bg img { width:100%; height:100%; object-fit:cover; object-position:center 40%; }
.qs-hero__overlay {
  position:absolute; inset:0; z-index:2;
  background:linear-gradient(105deg, rgba(4,65,8,.97) 0%, rgba(4,106,56,.9) 45%, rgba(4,65,8,.6) 75%, rgba(4,65,8,.3) 100%);
}
.qs-hero__content { position:relative; z-index:3; padding:56px 0 64px; }
.qs-hero__eyebrow { display:inline-flex; align-items:center; gap:10px; font-size:.72rem; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--verde-energia); margin-bottom:18px; }
.qs-hero__eyebrow::before { content:''; width:24px; height:2px; background:var(--verde-energia); border-radius:1px; }
.qs-hero__title { font-size:clamp(1.7rem,3vw,2.6rem); font-weight:900; line-height:1.15; letter-spacing:-.028em; color:#fff; margin-bottom:18px; max-width:900px; }
.qs-hero__title em { font-style:normal; color:var(--verde-energia); }
.qs-hero__lead { font-size:1.05rem; color:rgba(255,255,255,.72); max-width:640px; line-height:1.78; }

/* ── CHAPTERS ── */
.chapters { padding:80px 0 0; }

/* Chapter layout alternates */
.chapter {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:center;
  padding:72px 0;
  border-bottom:1px solid var(--border-subtle);
}
.chapter:last-of-type { border-bottom:none; }
.chapter--reverse { direction:rtl; }
.chapter--reverse > * { direction:ltr; }

.chapter__visual { position:relative; }
.chapter__num {
  position:absolute;
  top:-18px; left:-18px;
  font-size:6rem; font-weight:900;
  line-height:1;
  color:var(--verde-energia);
  opacity:.13;
  letter-spacing:-.04em;
  pointer-events:none;
  user-select:none;
}
.chapter__img {
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--card-shadow);
  aspect-ratio:4/3;
}
.chapter__img img { width:100%; height:100%; object-fit:cover; }

/* Chapter without image — quote card */
.chapter__quote-card {
  background:linear-gradient(135deg, var(--verde-floresta) 0%, var(--verde-campo) 100%);
  border-radius:20px;
  padding:44px 40px;
  aspect-ratio:4/3;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  box-shadow:0 24px 56px rgba(4,65,8,.2);
  position:relative;
  overflow:hidden;
}
.chapter__quote-card::before {
  content:'"';
  position:absolute; top:-20px; left:28px;
  font-size:14rem; font-weight:900; line-height:1;
  color:rgba(255,255,255,.06);
}
.chapter__quote-card blockquote {
  font-size:clamp(1.15rem,2vw,1.55rem);
  font-weight:700;
  line-height:1.35;
  color:#fff;
  letter-spacing:-.015em;
  position:relative;
  z-index:1;
}
.chapter__quote-card cite {
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--verde-energia);
  font-style:normal;
}

.chapter__body {}
.chapter__kicker {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.72rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase;
  color:var(--verde-campo); margin-bottom:14px;
}
.chapter__kicker::before { content:''; width:20px; height:2px; background:var(--verde-energia); border-radius:1px; }
.chapter__title {
  font-size:clamp(1.6rem,3vw,2.4rem); font-weight:800;
  line-height:1.1; letter-spacing:-.025em;
  color:var(--text-1); margin-bottom:22px;
}
.chapter__text { font-size:.97rem; color:var(--text-2); line-height:1.85; }
.chapter__text + .chapter__text { margin-top:14px; }
.chapter__text strong { color:var(--text-1); font-weight:700; }

/* Inline highlight badge */
.chapter__badge {
  display:inline-flex; align-items:center; gap:8px;
  margin-top:24px; padding:10px 16px;
  border-radius:10px;
  background:var(--verde-soft);
  border:1px solid color-mix(in srgb, var(--verde-energia) 30%, transparent);
  font-size:.82rem; font-weight:700; color:var(--verde-campo);
}
.chapter__badge svg { width:16px; height:16px; flex-shrink:0; }

/* ── VALUES SECTION ── */
.values {
  background:linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%);
  padding:80px 0;
  margin-top:80px;
}
.values__header { text-align:center; max-width:600px; margin:0 auto 52px; }
.label-tag { font-size:.72rem; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--verde-campo); margin-bottom:12px; display:flex; align-items:center; justify-content:center; gap:8px; }
.label-tag::before { content:''; width:16px; height:2px; background:var(--verde-energia); border-radius:1px; }
.section-title { font-size:clamp(1.7rem,3.5vw,2.6rem); font-weight:800; line-height:1.12; letter-spacing:-.025em; color:var(--text-1); margin-bottom:14px; }
.section-sub { font-size:.98rem; color:var(--text-2); line-height:1.78; }

.values__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.value-card {
  background:var(--card-bg);
  border:1.5px solid var(--border);
  border-radius:var(--r-xl);
  padding:32px 26px;
  position:relative;
  overflow:hidden;
  box-shadow:var(--card-shadow);
  transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.value-card:hover { transform:translateY(-4px); border-color:var(--verde-campo); box-shadow:var(--card-shadow-h); }
.value-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg, var(--verde-campo) 0%, var(--verde-energia) 100%); }
.value-card__icon {
  width:48px; height:48px; border-radius:14px; margin-bottom:18px;
  background:var(--verde-soft); display:flex; align-items:center; justify-content:center;
  color:var(--verde-campo);
  border:1px solid color-mix(in srgb, var(--verde-campo) 22%, transparent);
}
.value-card__icon svg { width:24px; height:24px; }
.value-card__title { font-size:1.04rem; font-weight:800; color:var(--text-1); margin-bottom:10px; letter-spacing:-.01em; }
.value-card__text { font-size:.88rem; color:var(--text-2); line-height:1.72; }

/* ── MANIFESTO BAND ── */
.manifesto {
  background:linear-gradient(135deg, var(--verde-floresta) 0%, #05612a 50%, var(--verde-campo) 100%);
  padding:80px 0;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.manifesto::before {
  content:'';
  position:absolute; inset:0;
  background:radial-gradient(circle at 20% 50%, rgba(126,217,87,.12) 0%, transparent 45%),
              radial-gradient(circle at 80% 50%, rgba(255,255,255,.06) 0%, transparent 40%);
}
.manifesto__inner { position:relative; z-index:1; max-width:800px; margin:0 auto; }
.manifesto__kicker { font-size:.72rem; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--verde-energia); margin-bottom:20px; }
.manifesto__text {
  font-size:clamp(1.3rem,2.6vw,2rem); font-weight:700; line-height:1.38;
  color:#fff; letter-spacing:-.015em; margin-bottom:32px;
}
.manifesto__text em { font-style:normal; color:var(--verde-energia); }
.manifesto__actions { display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; }

/* ── BUTTONS ── */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.8rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  padding:13px 26px; border-radius:8px; border:2px solid transparent;
  transition:all .3s ease; cursor:pointer;
}
.btn svg { width:15px; height:15px; transition:transform .3s ease; }
.btn:hover svg { transform:translateX(3px); }
.btn--primary { background:var(--verde-campo); color:#fff; border-color:var(--verde-campo); }
.btn--primary:hover { background:var(--verde-floresta); border-color:var(--verde-floresta); transform:translateY(-2px); box-shadow:0 8px 24px rgba(4,106,56,.3); }
.btn--energia { background:var(--verde-energia); color:var(--verde-floresta); border-color:var(--verde-energia); }
.btn--energia:hover { background:#6bc947; border-color:#6bc947; transform:translateY(-2px); }
.btn--outline { background:transparent; color:var(--verde-campo); border-color:var(--verde-campo); }
.btn--outline:hover { background:var(--verde-campo); color:#fff; transform:translateY(-2px); }
.btn--outline-light { background:transparent; color:#fff; border-color:rgba(255,255,255,.45); }
.btn--outline-light:hover { background:rgba(255,255,255,.1); border-color:#fff; transform:translateY(-2px); }

/* Reveal animation */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .75s ease, transform .75s cubic-bezier(.4,0,.2,1); }
.reveal.is-visible { opacity:1; transform:none; }
.reveal-d1 { transition-delay:.1s; } .reveal-d2 { transition-delay:.2s; } .reveal-d3 { transition-delay:.3s; }

/* ── FOOTER ── */
.footer { background:var(--verde-floresta); color:rgba(255,255,255,.75); padding-top:56px; }
.footer__top { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:48px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer__brand img { width:180px; margin-bottom:18px; }
.footer__desc { font-size:.88rem; line-height:1.7; margin-bottom:24px; max-width:300px; color:rgba(255,255,255,.6); }
.footer__socials { display:flex; gap:10px; }
.footer__social { width:36px; height:36px; display:flex; align-items:center; justify-content:center; border-radius:8px; border:1px solid rgba(255,255,255,.12); color:rgba(255,255,255,.6); transition:all .3s ease; }
.footer__social:hover { background:var(--verde-energia); border-color:var(--verde-energia); color:var(--verde-floresta); }
.footer__social svg { width:16px; height:16px; }
.footer__col-title { font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.15em; color:rgba(255,255,255,.4); margin-bottom:20px; }
.footer__links { display:flex; flex-direction:column; gap:10px; }
.footer__link { font-size:.88rem; color:rgba(255,255,255,.6); transition:all .3s ease; }
.footer__link:hover { color:var(--verde-energia); transform:translateX(3px); }
.footer__bottom { display:flex; justify-content:space-between; align-items:center; padding:24px 0; font-size:.82rem; color:rgba(255,255,255,.35); }

/* ── RESPONSIVE ── */
@media (max-width:1100px) {
  .values__grid { grid-template-columns:repeat(2,1fr); }
  .footer__top { grid-template-columns:1fr 1fr; gap:32px; }
}
@media (max-width:820px) {
  .chapter { grid-template-columns:1fr; gap:36px; }
  .chapter--reverse { direction:ltr; }
  .chapter__num { font-size:4rem; }
}
@media (max-width:768px) {
  .header__nav { display:none; }
  .header__hamburger { display:flex; }
  .header__top-pill { display:none; }
  .header__social { display:none; }
  .header__bottom { display:none; }
  .qs-hero { min-height:auto; }
  .values__grid { grid-template-columns:1fr 1fr; }
  .manifesto__text { font-size:1.2rem; }
  .footer__top { grid-template-columns:1fr; gap:28px; }
  .footer__bottom { flex-direction:column; gap:8px; text-align:center; }
}
@media (max-width:480px) {
  .values__grid { grid-template-columns:1fr; }
}
