/* Visual system adapted from the Mombak website. The POC's content and logic stay in index.html. */
:root {
  --bg: #002520;
  --surface: #07342d;
  --surface-2: #b4f4cf;
  --ink: #f7fff9;
  --ink-soft: #bfd9c9;
  --green-deep: #002520;
  --green-mid: #39c879;
  --green-pale: #b4f4cf;
  --terracotta: #82d891;
  --line: rgba(217, 255, 229, .27);
  --ctrl: #82d891;
  --line-dark: #002520;
  --focus: #82d891;
  --serif: Arial, Helvetica, sans-serif;
  --sans: Arial, Helvetica, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); }
body, button, input { -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 300; letter-spacing: -.035em; color: #fff; }
p { line-height: 1.55; }
[hidden] { display: none !important; }
::selection { background: var(--green-pale); color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 18px; z-index: 100; background: var(--green-pale); color: var(--green-deep); padding: 12px 16px; }
.skip-link:focus { top: 10px; }

.strata { display: none; }
nav.top { background: rgba(0, 37, 32, .68); border: 0; border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); }
.nav-inner { max-width: 1440px; min-height: 82px; padding: 14px clamp(22px, 3.4vw, 56px); }
.brand img { width: 154px; height: auto; }
.nav-links { gap: clamp(12px, 1.8vw, 28px); font-size: .78rem; font-weight: 400; overflow: visible; }
.nav-links a { color: #effff4; border: 0; padding: 12px 0; transition: color .2s ease; }
.nav-links a:hover { color: var(--green-pale); border: 0; }
.menu-toggle { display: none; }

.wrap { max-width: 1300px; padding-inline: clamp(22px, 5.3vw, 80px); }
.wrap-narrow { max-width: 900px; padding-inline: clamp(22px, 5.3vw, 80px); }
.section { padding-block: clamp(78px, 9vw, 136px); }
.section-tight { padding-block: clamp(64px, 7vw, 110px); }
.eyebrow { color: var(--green-mid); font-size: .8rem; letter-spacing: .1em; font-weight: 600; margin-bottom: 20px; }
.h-xl { font-size: clamp(2.75rem, 4.6vw, 4.8rem); line-height: 1.08; font-weight: 300; letter-spacing: -.045em; }
.h-lg { font-size: clamp(2.3rem, 3.65vw, 3.8rem); line-height: 1.12; font-weight: 300; letter-spacing: -.04em; }
.h-md { font-size: clamp(1.55rem, 2.1vw, 2.2rem); line-height: 1.2; font-weight: 400; }
.lede { font-size: clamp(1rem, 1.35vw, 1.22rem); color: #e0efe5; line-height: 1.5; }
.body-copy { color: var(--ink-soft); max-width: 760px; font-size: 1.03rem; }
.body-copy b { color: #fff; }

.hero { min-height: min(940px, 100vh); display: flex; align-items: center; margin-top: -82px; padding-block: 172px 100px; background-color: #002520; background-image: linear-gradient(90deg, rgba(0,27,24,.87) 0%, rgba(0,32,27,.62) 44%, rgba(0,28,24,.34) 100%), url('assets/hero.jpg'); background-position: center 55%; background-size: cover; overflow: hidden; }
.hero::after { content: ''; position: absolute; width: min(43vw, 560px); aspect-ratio: 1; right: -10%; top: 6%; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; }
.hero-grid { grid-template-columns: minmax(0, 1.18fr) minmax(330px, .72fr); gap: clamp(44px, 6vw, 110px); align-items: center; }
.hero h1 { max-width: 790px; }
.hero .eyebrow { color: var(--green-pale); }
.hero .lede { max-width: 660px; }
.hero-cta { margin-top: 35px; }
.hero-side { gap: 0; border: 1px solid rgba(255,255,255,.32); background: rgba(0, 37, 32, .68); backdrop-filter: blur(13px); }
.hero .cta-card, .cta-card { background: transparent; color: #fff; box-shadow: none; border-radius: 0; padding: clamp(24px, 3vw, 42px); }
.cta-card h3 { color: #fff; font-size: 1.6rem; font-weight: 400; }
.cta-card p.sub, .hero .cta-card p.sub { color: #c7dfce; font-size: .93rem; margin-top: 12px; }
.cta-fields { gap: 18px; margin-top: 26px; }
.cta-fields label { color: var(--green-pale); font-size: .72rem; letter-spacing: .1em; }
.cta-fields input, .hero .cta-fields input { background: transparent; color: #fff; border: 0; border-bottom: 1px solid rgba(255,255,255,.58); border-radius: 0; padding: 13px 0; outline: none; }
.cta-fields input::placeholder { color: #abc5b7; }
.cta-fields input:focus { border-color: var(--green-pale); }
.cta-msg { color: #fff; }
.hero .hero-figure, .hero-figure { background: transparent; border: 0; border-top: 1px solid rgba(255,255,255,.3); border-radius: 0; padding: 24px clamp(24px, 3vw, 42px); min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-figure .k { font-family: var(--sans); font-weight: 300; font-size: clamp(1.5rem, 2vw, 2.2rem); color: var(--green-pale); }
.hero-figure .lbl { color: #d0e3d5; line-height: 1.4; }
.hero-figure > div + div { border-top: 0 !important; padding-top: 0 !important; border-left: 1px solid rgba(255,255,255,.3); padding-left: 16px; }
.btn { min-height: 48px; border-radius: 0; padding: 14px 23px; transition: background .2s, color .2s, border-color .2s; }
.btn-primary, .hero .btn-primary, .btn-wa { background: var(--green-pale); color: var(--green-deep); border-color: var(--green-pale); }
.btn-primary:hover, .hero .btn-primary:hover, .btn-wa:hover { background: #fff; color: var(--green-deep); border-color: #fff; }
.btn-ghost { border-color: var(--green-pale); color: var(--green-pale); }
.btn-ghost:hover { background: var(--green-pale); color: var(--green-deep); }
.btn-wa { margin-top: 25px; text-align: center; }

#boas-vindas { border-bottom: 1px solid var(--line); }
#boas-vindas h2 { max-width: 660px; }
#boas-vindas .body-copy { max-width: 720px; }
#boas-vindas .body-copy p + p { margin-top: 16px; }
#boas-vindas .body-copy + div > div:first-child { background: var(--green-pale) !important; color: var(--green-deep) !important; font-family: var(--sans) !important; }

section[id] { border-top: 1px solid var(--line); }
section[style*="background:var(--surface-2)"] { color: var(--green-deep); border-color: rgba(0,37,32,.22) !important; }
section[style*="background:var(--surface-2)"] h2,
section[style*="background:var(--surface-2)"] h3,
section[style*="background:var(--surface-2)"] h4 { color: var(--green-deep); }
section[style*="background:var(--surface-2)"] .eyebrow { color: #176746; }
section[style*="background:var(--surface-2)"] .body-copy,
section[style*="background:var(--surface-2)"] .fonte,
section[style*="background:var(--surface-2)"] .photo figcaption,
section[style*="background:var(--surface-2)"] .press-fig figcaption { color: #285144; }
section[style*="background:var(--surface-2)"] .body-copy b { color: var(--green-deep); }

.num-list, .qa-row, .pillars, .steps, .stat-row { gap: 0; }
.num-item, .qa, .pillar, .step, .stat, .card { background: transparent; color: inherit; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 25px 24px 25px 0; }
.num-item:not(:first-child), .qa:not(:first-child), .pillar:not(:first-child), .step:not(:first-child), .stat:not(:first-child), .card:not(:first-child) { padding-left: 24px; border-left: 1px solid var(--line); }
.num-item .n, .step .num, .stat .n { font-family: var(--sans); font-size: clamp(1.6rem, 2.6vw, 2.6rem); font-weight: 300; color: var(--green-pale); }
.num-item p, .step p, .stat .l { color: var(--ink-soft); }
.qa { background: transparent; }
.qa .q { color: var(--green-pale); }
.qa .a { font-family: var(--sans); font-weight: 300; font-size: 1.35rem; }
.pillars { gap: 20px; }
.pillar { border-left: 0 !important; padding-left: 0 !important; }
.pillar h3 { color: var(--green-pale); font-size: 1.1rem; font-weight: 500; }
.pillar li { color: var(--ink-soft); }
.pillar li::before, .ul-check li::before { color: var(--green-mid); }
.cycle-band, .conclusion { background: transparent; border: 1px solid var(--line); border-radius: 0; color: var(--ink-soft); }
.cycle-band b, .conclusion .lbl { color: var(--green-pale); }
.stat-row .card b { color: var(--green-deep) !important; }
#mombak .stat, #mombak .card { border-color: rgba(0,37,32,.3); }
#mombak .stat .n { color: var(--green-deep); }
#mombak .stat .l, #mombak .card p { color: #285144; }
#mombak .stat-row + .stat-row .card { border-top: 1px solid rgba(0,37,32,.3); }
.press-fig { background: rgba(255,255,255,.24); border: 0; border-radius: 0; }
#mombak .split-press { grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); gap: clamp(28px,4vw,60px); }
#mombak .press-fig { min-height: 430px; }
.photo, .side-photo img, .map-fig img { border-radius: 0; }
.photo figcaption { background: transparent; color: var(--ink-soft); }
.side-photo img { width: 100%; }
.map-fig img { border-color: rgba(0,37,32,.22); }

.badge { background: var(--green-pale); color: var(--green-deep); border-radius: 0; }
.badge-cite { color: inherit; }
.tbl-wrap { border-radius: 0; border-color: var(--line); }
table.data th { background: var(--green-deep); color: #fff; }
table.data td { color: var(--green-deep); border-color: rgba(0,37,32,.2); }
table.data tr:nth-child(even) td { background: rgba(255,255,255,.22); }
table.data tr.total td { background: rgba(180,244,207,.55); color: var(--green-deep); }
.chart-card { background: rgba(255,255,255,.08); border: 1px solid var(--line); border-radius: 0; }
#ctc .chart-card { background: rgba(255,255,255,.38); border-color: rgba(0,37,32,.25); }
.chart-title, .ev-caption { color: var(--green-pale); font-family: var(--sans); font-weight: 500; }
#ctc .chart-title { color: var(--green-deep); }
.chart-sub, .chart-legend { color: var(--ink-soft); }
#ctc .chart-sub { color: #285144; }
.filter-btn { color: var(--green-pale); border-color: rgba(180,244,207,.6); border-radius: 0; min-height: 46px; }
.filter-btn:hover { color: #fff; border-color: #fff; }
.filter-btn[aria-selected="true"] { background: var(--green-pale); color: var(--green-deep); border-color: var(--green-pale); }
.filter-hint, .fonte { color: var(--ink-soft); }
.journey .dot { background: var(--green-pale); color: var(--green-deep); font-family: var(--sans); box-shadow: 0 0 0 6px var(--green-pale); }
.journey li:nth-child(5) .dot { background: var(--green-deep); color: #fff; }
.journey b { color: var(--green-deep); }
.journey p { color: #285144; }

.calc-panel { background: #05322a; border: 1px solid rgba(180,244,207,.35); border-radius: 0; padding: clamp(22px, 4vw, 54px); }
.calc-panel h3, .calc-panel h4 { color: #fff; }
.field input { border-radius: 0; }
.out-row.total .v { color: var(--green-pale); }
.final-cta { background: #002520; border-top: 1px solid var(--line); }
.final-photo { border-radius: 0; }
.final-grid .lede { color: var(--ink-soft); }
footer { border-top: 1px solid var(--line); background: #002520; }
footer a { border-color: rgba(180,244,207,.55); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; max-width: 780px; }
  .hero { min-height: 0; }
  .hero-side { max-width: 660px; }
}
@media (max-width: 820px) {
  .nav-inner { min-height: 72px; }
  .brand img { width: 136px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 48px; height: 48px; background: transparent; border: 0; cursor: pointer; }
  .menu-toggle span { width: 25px; height: 2px; background: #fff; display: block; margin-inline: auto; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #002520; padding: 18px 24px 28px; border-bottom: 1px solid var(--line); flex-direction: column; gap: 2px; }
  .nav-links.is-open { display: flex; }
  .nav-links a { font-size: 1rem; padding: 12px 0; }
  .hero { margin-top: -72px; padding-top: 140px; background-image: linear-gradient(180deg, rgba(0,31,27,.76), rgba(0,30,26,.55)), url('assets/hero.jpg'); }
  .hero::after { width: 64vw; right: -28%; top: 15%; }
  #mombak .split-press { grid-template-columns: 1fr; }
  #mombak .press-fig { min-height: 0; }
  .num-item, .qa, .step { border-left: 0 !important; padding-left: 0 !important; }
  .pillar { padding-right: 0; }
  .stat-row { gap: 12px; }
  .stat-row .stat, .stat-row .card { border-left: 0 !important; padding-left: 0 !important; }
}
@media (max-width: 560px) {
  .section { padding-block: 70px; }
  .hero { padding-block: 68px 62px; background-position: 60% center; }
  .hero .h-xl { font-size: clamp(2.55rem, 9vw, 3.7rem); }
  .hero-side { margin-top: 10px; }
  .hero .hero-figure { grid-template-columns: 1fr; }
  .hero-figure > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.3) !important; padding-left: 0; padding-top: 14px !important; }
  .qa-row { gap: 0; }
  .pillars { gap: 0; }
  .price-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
