*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --green-deep:#0e2a1a; --green-dark:#1a4a2e; --green-mid:#2d6e48;
  --green-light:#4a9464; --green-pale:#e6f2eb; --ocre:#c4872a;
  --ocre-light:#e8a84a; --ocre-pale:#fdf4e7; --bg:#f7f3ec;
  --ink:#1c1208; --ink2:#3a2e1e; --muted:#6b5c45;
  --border:rgba(42,31,20,0.1); --serif:'DM Serif Display',Georgia,serif;
  --body:'IBM Plex Serif',Georgia,serif; --mono:'IBM Plex Mono',monospace;
  --nav-h:80px;
}
html { scroll-behavior: smooth; }
body { background:var(--bg); color:var(--ink); font-family:var(--body); font-size:16px; line-height:1.75; }
img { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }

/* SCROLL PROGRESS */
#scroll-progress { position:fixed; top:0; left:0; right:0; height:3px; z-index:999; background:transparent; }
#scroll-bar { height:100%; width:0%; background:var(--ocre); transition:width 0.15s; }

/* NAV */
#nav { position:fixed; top:0; left:0; right:0; z-index:200; height:var(--nav-h); background:rgba(14,42,26,0.97); backdrop-filter:blur(12px); border-bottom:1px solid rgba(255,255,255,0.07); transition:box-shadow 0.3s; }
#nav.scrolled { box-shadow:0 4px 24px rgba(0,0,0,0.3); }
.nav-inner { max-width:1360px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; height:100%; padding:0 2rem; gap:1rem; }
.nav-logo { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.nav-logo-emblem { width:46px; height:46px; border-radius:50%; background:var(--ocre); display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-size:12px; color:white; }
.nav-logo-text strong { display:block; font-family:var(--serif); font-size:1rem; color:white; font-weight:400; }
.nav-logo-text span { font-family:var(--mono); font-size:0.6rem; color:rgba(255,255,255,0.5); letter-spacing:0.08em; text-transform:uppercase; }
.nav-links { display:flex; align-items:center; gap:0.15rem; flex-wrap:nowrap; }
.nav-links a { font-family:var(--mono); font-size:0.62rem; font-weight:600; letter-spacing:0.07em; text-transform:uppercase; color:rgba(255,255,255,0.72); padding:7px 10px; border-radius:4px; white-space:nowrap; transition:color 0.2s,background 0.2s; }
.nav-links a:hover { color:white; background:rgba(255,255,255,0.08); }
.nav-links a.active { color:white; }
.btn-apoie-nav { background:var(--ocre)!important; color:white!important; padding:8px 16px!important; border-radius:20px!important; opacity:1!important; }
.btn-apoie-nav:hover { background:var(--ocre-light)!important; }
.hamburger { display:none; background:none; border:none; cursor:pointer; flex-direction:column; gap:5px; padding:4px; }
.hamburger span { display:block; width:24px; height:2px; background:white; border-radius:2px; transition:all 0.3s; }
.mobile-menu { display:none; position:fixed; top:var(--nav-h); left:0; right:0; background:var(--green-deep); padding:1.5rem; z-index:199; flex-direction:column; gap:0.5rem; border-bottom:1px solid rgba(255,255,255,0.1); }
.mobile-menu a { font-family:var(--mono); font-size:0.8rem; font-weight:600; color:rgba(255,255,255,0.8); padding:10px 0; border-bottom:1px solid rgba(255,255,255,0.06); letter-spacing:0.06em; text-transform:uppercase; }
.mobile-menu a:last-child { border-bottom:none; color:var(--ocre-light); }

/* GENERIC */
.section { padding:6rem 2rem; }
.section-inner { max-width:1280px; margin:0 auto; }
.page-inner { max-width:1280px; margin:0 auto; padding:calc(var(--nav-h) + 4rem) 2rem 6rem; }
.mono-tag { font-family:var(--mono); font-size:0.62rem; letter-spacing:0.14em; text-transform:uppercase; color:var(--green-mid); margin-bottom:0.6rem; display:block; }
.mono-tag.light { color:var(--ocre-light); }
.section-h2 { font-family:var(--serif); font-size:clamp(1.9rem,4vw,2.8rem); font-weight:400; line-height:1.15; color:var(--ink); margin-bottom:1rem; }
.section-h2.light { color:white; }
.section-lead { font-size:1rem; color:var(--muted); max-width:620px; line-height:1.8; }

/* BUTTONS */
.btn { display:inline-block; font-family:var(--mono); font-size:0.72rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; padding:13px 28px; border-radius:4px; cursor:pointer; transition:all 0.25s; border:none; }
.btn-green { background:var(--green-mid); color:white; }
.btn-green:hover { background:var(--green-light); transform:translateY(-1px); }
.btn-ocre { background:var(--ocre); color:white; }
.btn-ocre:hover { background:var(--ocre-light); transform:translateY(-1px); }
.btn-outline-white { background:transparent; color:white; border:1.5px solid rgba(255,255,255,0.45); }
.btn-outline-white:hover { background:rgba(255,255,255,0.1); border-color:rgba(255,255,255,0.7); }
.btn-outline-green { background:transparent; color:var(--green-mid); border:1.5px solid var(--green-mid); }
.btn-outline-green:hover { background:var(--green-mid); color:white; }
.btn-voltar { display:inline-flex; align-items:center; gap:6px; margin-bottom:2rem; background:var(--green-deep); color:white; border:1px solid rgba(255,255,255,0.15); font-family:var(--mono); font-size:0.62rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; padding:8px 16px; border-radius:20px; cursor:pointer; transition:background 0.2s; }
.btn-voltar:hover { background:var(--green-mid); }

/* FOOTER */
footer { background:var(--green-deep); padding:5rem 2rem 2rem; }
.footer-inner { max-width:1280px; margin:0 auto; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:3rem; margin-bottom:4rem; }
.footer-logo-row { display:flex; align-items:center; gap:12px; margin-bottom:1.2rem; }
.footer-emblem { width:42px; height:42px; border-radius:50%; background:var(--ocre); display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-size:11px; color:white; flex-shrink:0; }
.footer-brand-name { font-family:var(--serif); color:white; font-size:0.9rem; font-weight:400; line-height:1.3; }
.footer-brand p { font-size:0.8rem; color:rgba(255,255,255,0.45); line-height:1.8; margin-bottom:1.5rem; }
.footer-socials { display:flex; gap:10px; }
.social-btn { width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.12); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.55); font-family:var(--mono); font-size:0.6rem; font-weight:700; text-transform:uppercase; transition:all 0.2s; }
.social-btn:hover { background:var(--ocre); color:white; border-color:var(--ocre); }
.footer-col h4 { font-family:var(--serif); color:white; font-size:0.95rem; font-weight:400; margin-bottom:1.2rem; }
.footer-col a { display:block; font-size:0.8rem; color:rgba(255,255,255,0.5); line-height:2; transition:color 0.2s; }
.footer-col a:hover { color:var(--ocre-light); }
.footer-col p { font-size:0.8rem; color:rgba(255,255,255,0.5); line-height:1.8; }
.footer-divider { border:none; border-top:1px solid rgba(255,255,255,0.07); margin-bottom:1.5rem; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; }
.footer-bottom p { font-family:var(--mono); font-size:0.62rem; color:rgba(255,255,255,0.3); letter-spacing:0.04em; }
.footer-iphan { display:flex; align-items:center; gap:8px; }
.footer-iphan-dot { width:6px; height:6px; border-radius:50%; background:var(--ocre); }

/* BACK TO TOP */
#back-top { position:fixed; bottom:2rem; right:2rem; z-index:300; width:46px; height:46px; border-radius:50%; background:var(--green-mid); color:white; border:none; cursor:pointer; font-size:1.2rem; display:none; align-items:center; justify-content:center; box-shadow:0 4px 16px rgba(45,110,72,0.4); transition:all 0.25s; }
#back-top:hover { background:var(--green-light); transform:translateY(-2px); }
#back-top.show { display:flex; }

/* REVEAL */
.reveal { opacity:0; transform:translateY(28px); transition:opacity 0.65s ease,transform 0.65s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* SCROLL PROGRESS */
#scroll-progress { position:fixed; top:0; left:0; right:0; height:3px; z-index:999; }
#scroll-bar { height:100%; width:0%; background:var(--ocre); transition:width 0.15s; }

/* RESPONSIVE */
@media (max-width:900px) { .nav-links{display:none;} .hamburger{display:flex;} .footer-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:640px) { .section{padding:4rem 1.25rem;} .footer-grid{grid-template-columns:1fr;gap:2rem;} .page-inner{padding:calc(var(--nav-h) + 2rem) 1.25rem 4rem;} }
