:root {
  --green: #00a859;
  --green-deep: #006b3c;
  --ink: #0c1613;
  --muted: #56635e;
  --line: #d2d3d5;
  --paper: #f5f7f6;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(12, 22, 19, .12);
  --radius: 24px;
  --text-scale: 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  font-size: calc(1rem * var(--text-scale));
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, .button { min-height: 48px; font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 4px solid #ffbf47; outline-offset: 4px; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 999; transform: translateY(-160%); padding: 12px 18px; background: var(--white); color: var(--ink); border-radius: 8px; font-weight: 800; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 142px; height: auto; }
.header-inner nav { display: flex; gap: 28px; }
.header-inner nav a, .mobile-nav a { text-decoration: none; font-weight: 750; }
.header-inner nav a:hover { color: var(--green-deep); }
.menu-button { display: none; border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: 8px 16px; font-weight: 800; }
.mobile-nav { padding: 10px 20px 18px; background: var(--white); }
.mobile-nav a { display: block; padding: 12px; }
.accessibility-bar { background: var(--ink); color: var(--white); }
.access-inner { min-height: 66px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.access-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.access-actions button { color: var(--white); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); border-radius: 10px; padding: 8px 14px; font-weight: 750; }
.access-actions button:hover, .access-actions button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--ink); }

.hero { position: relative; min-height: 720px; color: var(--white); display: grid; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url("hero-portaria.jpg") center/cover no-repeat; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,16,12,.94) 0%, rgba(5,16,12,.82) 45%, rgba(5,16,12,.28) 78%, rgba(5,16,12,.12)); }
.hero-content { position: relative; z-index: 1; padding-block: 88px; }
.eyebrow { margin: 0 0 18px; color: var(--green-deep); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: #5df0a9; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 820px; margin-bottom: 24px; font-size: clamp(2.7rem, 7vw, 5.6rem); line-height: .96; letter-spacing: -.055em; }
h1 span { color: #5df0a9; }
h2 { max-width: 900px; margin-bottom: 22px; font-size: clamp(2rem, 4.4vw, 3.55rem); line-height: 1.08; letter-spacing: -.04em; }
h3 { margin-bottom: 8px; font-size: 1.25rem; line-height: 1.2; }
.hero-lead { max-width: 730px; color: rgba(255,255,255,.86); font-size: 1.2rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border: 2px solid transparent; border-radius: 14px; text-decoration: none; font-weight: 850; }
.button.primary { background: var(--green); color: var(--ink); }
.button.ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.button.secondary { border-color: var(--green-deep); color: var(--green-deep); background: transparent; }
.button:hover { transform: translateY(-2px); }
.hero-note { max-width: 690px; color: rgba(255,255,255,.62); font-size: .8rem; }

.metrics { position: relative; z-index: 5; margin-top: -50px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.metric-grid article { min-height: 152px; padding: 32px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.metric-grid article:last-child { border-right: 0; }
.metric-grid strong { color: var(--green-deep); font-size: 2rem; line-height: 1.1; }
.metric-grid span { margin-top: 8px; color: var(--muted); font-size: .88rem; }

.section { padding-block: 110px; }
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 72px; }
.align-center { align-items: center; }
.lead { color: var(--muted); font-size: 1.12rem; }
.photo-card { margin: 0; overflow: hidden; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.photo-card figcaption { padding: 12px 18px; color: var(--muted); font-size: .76rem; }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 10px 0 10px 38px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #dff7eb; color: var(--green-deep); font-weight: 900; }

.dark-section { color: var(--white); background: var(--ink); }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.icon-card { padding: 30px 26px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13); border-radius: 20px; }
.icon-card .icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 28px; color: var(--ink); background: var(--green); border-radius: 15px; font-weight: 900; }
.icon-card p { margin-bottom: 0; color: rgba(255,255,255,.72); }

.coverage { background: var(--paper); }
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.coverage-card { padding: 34px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.coverage-card.green { color: var(--white); background: var(--green-deep); border-color: var(--green-deep); }
.coverage-card .number { margin-bottom: 30px; font-size: 4rem; font-weight: 900; line-height: 1; }
.coverage-card:not(.green) .number { color: var(--green-deep); }
.coverage-card p:last-child { margin-bottom: 0; color: inherit; opacity: .78; }
.callout { margin: 24px 0 0; padding: 22px 26px; border-left: 5px solid var(--green); background: var(--white); border-radius: 0 14px 14px 0; }

.journey-layout { grid-template-columns: .9fr 1.1fr; align-items: start; }
.journey { list-style: none; padding: 0; margin: 36px 0 0; }
.journey li { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding-bottom: 28px; }
.journey li::after { content: ""; position: absolute; left: 26px; top: 48px; bottom: 2px; width: 2px; background: var(--line); }
.journey li:last-child::after { display: none; }
.journey li > span { position: relative; z-index: 1; width: 54px; height: 54px; display: grid; place-items: center; color: var(--white); background: var(--green-deep); border-radius: 50%; font-weight: 900; }
.journey p { margin-bottom: 0; color: var(--muted); }
.wide-image { position: sticky; top: 180px; }

.access-projects { background: var(--paper); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 42px; }
.project-card { overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(12,22,19,.08); }
.project-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.project-card > div { padding: 28px; }
.tag { display: inline-block; margin-bottom: 14px; color: var(--green-deep); font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.project-card p { margin-bottom: 0; color: var(--muted); }

.feature-stack { display: grid; gap: 14px; margin-block: 28px; }
.feature-stack > div { padding: 18px 20px; border-left: 4px solid var(--green); background: var(--paper); border-radius: 0 12px 12px 0; }
.feature-stack p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.note { padding: 18px 20px; background: #fff7dc; border-radius: 12px; font-size: .86rem; }

.timeline-section { background: var(--ink); color: var(--white); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; }
.timeline article { position: relative; padding: 38px 24px 26px; border-top: 3px solid rgba(255,255,255,.25); }
.timeline article::before { content: ""; position: absolute; top: -10px; left: 24px; width: 17px; height: 17px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 7px rgba(0,168,89,.18); }
.timeline span { color: #5df0a9; font-size: .8rem; font-weight: 900; text-transform: uppercase; }
.timeline p { color: rgba(255,255,255,.68); }

.finance-section { background: linear-gradient(135deg, var(--green-deep), #004c2c); color: var(--white); }
.finance-panel > div:first-child { max-width: 870px; }
.finance-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.finance-cards article { min-height: 150px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); border-radius: 18px; }
.finance-cards span { color: rgba(255,255,255,.72); font-size: .8rem; }
.finance-cards strong { font-size: 1.35rem; line-height: 1.2; }
.finance-note { margin: 22px 0 0; color: rgba(255,255,255,.66); font-size: .78rem; }

.faq-shell { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.faq-heading { position: sticky; top: 178px; }
.faq-list { display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 16px; background: var(--white); overflow: hidden; }
summary { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 22px; cursor: pointer; font-weight: 850; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; color: var(--green-deep); background: #e5f8ef; border-radius: 50%; font-size: 1.35rem; }
details[open] summary::after { content: "−"; }
details > div { padding: 0 22px 20px; color: var(--muted); }
details > div p { margin-bottom: 0; }

.privacy-section { padding-top: 0; }
.privacy-panel { padding: 44px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; border-radius: var(--radius); background: var(--paper); }
.compact { margin-top: 0; }
.site-footer { padding-top: 64px; color: var(--white); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; }
.footer-grid img { filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-grid p { max-width: 420px; color: rgba(255,255,255,.62); }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-grid a:hover { color: #5df0a9; }
.legal { margin-top: 46px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: .75rem; }
.status { position: fixed; right: 20px; bottom: 20px; z-index: 120; max-width: 380px; padding: 14px 18px; color: var(--white); background: var(--ink); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(12px); transition: .2s ease; }
.status.show { opacity: 1; transform: none; }

body.high-contrast { --green: #00ff84; --green-deep: #00b55f; --ink: #000000; --muted: #111111; --line: #555555; --paper: #ffffff; background: #000; }
body.high-contrast .section:not(.dark-section):not(.timeline-section):not(.finance-section), body.high-contrast .metrics, body.high-contrast .access-projects, body.high-contrast .coverage { background: #000; color: #fff; }
body.high-contrast .coverage-card, body.high-contrast details, body.high-contrast .project-card, body.high-contrast .privacy-panel, body.high-contrast .feature-stack > div, body.high-contrast .metric-grid { background: #111; color: #fff; border-color: #fff; }
body.high-contrast .lead, body.high-contrast .project-card p, body.high-contrast details > div, body.high-contrast .feature-stack p, body.high-contrast .metric-grid span, body.high-contrast .journey p { color: #fff; }

@media (max-width: 900px) {
  .header-inner nav { display: none; }
  .menu-button { display: inline-flex; align-items: center; }
  .access-inner { align-items: flex-start; padding-block: 12px; flex-direction: column; }
  .hero { min-height: 650px; }
  .hero-shade { background: rgba(5,16,12,.78); }
  .metric-grid, .benefit-grid, .coverage-grid, .finance-cards { grid-template-columns: 1fr 1fr; }
  .metric-grid article:nth-child(2) { border-right: 0; }
  .metric-grid article { border-bottom: 1px solid var(--line); }
  .split, .faq-shell, .privacy-panel { grid-template-columns: 1fr; gap: 42px; }
  .wide-image, .faq-heading { position: static; }
  .reverse-mobile > figure { order: 2; }
  .project-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1160px); }
  html { font-size: 18px; }
  .brand img { width: 120px; }
  .access-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .access-actions button:last-child { grid-column: 1 / -1; }
  .hero { min-height: 620px; }
  .hero-content { padding-block: 64px; }
  h1 { font-size: clamp(2.45rem, 14vw, 3.5rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .metrics { margin-top: 0; background: var(--paper); padding-block: 20px; }
  .metric-grid, .benefit-grid, .coverage-grid, .finance-cards, .timeline { grid-template-columns: 1fr; }
  .metric-grid article { min-height: 118px; border-right: 0; }
  .section { padding-block: 76px; }
  .coverage-card .number { font-size: 3rem; }
  .finance-cards article { min-height: 124px; }
  .privacy-panel { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
