
:root {
  --orange: #ff9500;
  --orange-dark: #e78300;
  --ink: #202124;
  --muted: #666b73;
  --line: #ececec;
  --surface: #ffffff;
  --soft: #fff7eb;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: auto; }
.site-header { position: sticky; top: 0; z-index: 40; background: #f28c00; border-bottom: 1px solid rgba(0,0,0,.08); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position:relative; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.04em; }
.brand img { width: 54px; height: 54px; object-fit: cover; border-radius: 13px; }
.brand span { font-size: 1.12rem; }
.brand small { display: block; color: rgba(255,255,255,.86); font-size: .68rem; letter-spacing: .08em; font-weight: 600; }
.brand{color:#fff}.site-header nav a{color:#fff}.site-header nav a:hover,.site-header nav a.active{background:rgba(255,255,255,.18);color:#fff}
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
nav a { font-size: .91rem; color: #45484d; padding: 9px 12px; border-radius: 999px; transition: .2s; }
nav a:hover, nav a.active { background: var(--soft); color: #a95f00; }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.12); color:#fff; border-radius: 10px; padding: 9px 12px; font-size: 1.1rem; }
.hero { padding: 76px 0 68px; background: radial-gradient(circle at 82% 28%, rgba(255,149,0,.15), transparent 28%), linear-gradient(135deg,#fff 0%,#fffaf2 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #a65e00; background: #fff0d9; border: 1px solid #ffe0b2; padding: 7px 12px; border-radius: 999px; font-size: .78rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
h1 { font-size: clamp(2.7rem, 6vw, 5.3rem); line-height: 1.02; letter-spacing: -.065em; margin: 20px 0; }
h1 em { color: var(--orange-dark); font-style: normal; }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 590px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; padding: 12px 19px; font-weight: 750; border: 1px solid transparent; transition: .2s; cursor: pointer; }
.btn-primary { background: var(--orange); color: #241500; box-shadow: 0 8px 22px rgba(255,149,0,.2); }
.btn-primary:hover { background: #ffab2e; transform: translateY(-2px); }
.btn-outline { border-color: #dedede; background: white; }
.btn-outline:hover { border-color: var(--orange); }
.hero-mark { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-mark::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: #ffe6c1; filter: blur(1px); }
.hero-mark img { position: relative; width: min(76%, 310px); border-radius: 34px; box-shadow: 0 24px 70px rgba(32,33,36,.16); }
.section { padding: 68px 0; }
.section.soft { background: #fffaf3; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.kicker { color: #b36a0a; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); line-height: 1.12; letter-spacing: -.045em; margin: 8px 0; }
.section-head p, .muted { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: 20px; padding: 23px; background: white; box-shadow: 0 8px 30px rgba(25,25,25,.035); }
.card-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: #fff0d9; color: #a95f00; font-size: 1.25rem; margin-bottom: 18px; }
.card h3 { margin: 0 0 8px; font-size: 1.13rem; }
.card p { color: var(--muted); margin: 0; }
.stat-band { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 24px; }
.stat { background: white; border: 1px solid var(--line); border-radius: 17px; padding: 18px; }
.stat strong { display: block; font-size: 1.35rem; letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: .88rem; }
.page-hero { padding: 58px 0 42px; background: linear-gradient(120deg,#fff8ed,#fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.5rem,5vw,4rem); margin: 12px 0; }
.content-panel { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: white; margin: 36px 0 70px; }
.placeholder { border: 1px dashed #e9b86f; background: #fffaf2; padding: 24px; border-radius: 16px; color: #72501e; }
.site-footer { background: #202124; color: white; padding: 42px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; gap: 12px; align-items: center; font-weight: 800; font-size: 1.1rem; }
.footer-brand img { width: 48px; height: 48px; border-radius: 12px; }
.site-footer p, .site-footer a { color: #c9cbd0; }
.site-footer h3 { margin: 0 0 12px; font-size: .95rem; }
.footer-links { display: grid; gap: 8px; }
.copyright { border-top: 1px solid #414247; margin-top: 30px; padding-top: 18px; color: #aeb0b5; font-size: .82rem; }
@media (max-width: 800px) {
  .nav-wrap { min-height: 72px; justify-content:center; }
  .menu-toggle { display: block; position:absolute; left:0; order:0; }
  .brand { position:absolute; left:50%; transform:translateX(-50%); gap:8px; }
  .brand img{width:44px;height:44px}.brand span{font-size:.95rem}.brand small{font-size:.55rem}
  nav { display: flex; position: fixed; left:0; top:72px; bottom:0; width:min(82vw,320px); background:#fff; border-right:1px solid var(--line); box-shadow:12px 0 35px rgba(0,0,0,.15); padding:18px 16px; flex-direction: column; align-items:stretch; transform:translateX(-110%); transition:transform .22s ease; z-index:50; }
  nav.open { transform:translateX(0); }
  .site-header nav a{color:var(--ink);padding:12px 14px}.site-header nav a:hover,.site-header nav a.active{background:#fff0d9;color:#8a5100}
  .hero { padding: 52px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-mark { min-height: 260px; }
  .hero-mark::before { width: 245px; height: 245px; }
  .hero-mark img { width: 220px; }
  .cards { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-head { display: block; }
  .content-panel { padding: 22px; }
}

/* Página Sobre: linha do tempo histórica */
.about-intro { display:grid; grid-template-columns:1.25fr .75fr; gap:34px; align-items:center; padding:30px; border:1px solid var(--line); border-radius:22px; background:#fff; }
.about-intro p { color:var(--muted); max-width:720px; }
.about-facts { display:grid; gap:10px; }
.about-facts div { padding:15px 18px; border-radius:14px; background:var(--soft); }
.about-facts strong,.about-facts span { display:block; }
.about-facts strong { font-size:1.15rem; }
.about-facts span { color:var(--muted); font-size:.86rem; }
.timeline-heading { margin:68px 0 34px; }
.timeline { position:relative; max-width:960px; margin:0 auto; }
.timeline::before { content:""; position:absolute; left:82px; top:12px; bottom:12px; width:2px; background:#f2d6ae; }
.timeline-item { position:relative; display:grid; grid-template-columns:165px 1fr; gap:26px; padding:0 0 42px; }
.timeline-year { position:relative; z-index:1; width:max-content; height:max-content; padding:9px 18px; border-radius:999px; background:var(--orange); color:#271700; font-weight:850; font-size:1.05rem; box-shadow:0 0 0 7px white; }
.timeline-content { border:1px solid var(--line); border-radius:20px; padding:26px; background:#fff; box-shadow:0 8px 30px rgba(25,25,25,.035); }
.timeline-label { color:#b36a0a; font-size:.74rem; text-transform:uppercase; letter-spacing:.11em; font-weight:850; }
.timeline-content h3 { margin:7px 0 12px; font-size:1.45rem; letter-spacing:-.03em; }
.timeline-content p { color:#555b63; margin:0; }
.year-gallery-placeholder { display:flex; align-items:center; gap:14px; margin-top:20px; padding:15px; border:1px dashed #e7bd82; border-radius:14px; background:#fffbf5; color:#79531f; }
.year-gallery-placeholder>span { display:grid; place-items:center; width:42px; height:42px; border-radius:12px; background:#ffefd8; font-size:1.35rem; }
.year-gallery-placeholder strong,.year-gallery-placeholder small { display:block; }
.year-gallery-placeholder small { color:#8b7554; margin-top:2px; }
@media(max-width:800px){.about-intro{grid-template-columns:1fr;padding:22px}.timeline::before{left:21px}.timeline-item{grid-template-columns:1fr;gap:13px;padding-left:48px}.timeline-year{margin-left:-48px}.timeline-content{padding:21px}.timeline-heading{margin-top:48px}}

/* Mapa interativo de afiliadas */
.affiliate-map-heading{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:24px}
.affiliate-map-heading h2{margin:7px 0}.affiliate-map-heading p{margin:0}
.map-counter{display:flex;align-items:center;gap:12px;padding:12px 17px;border:1px solid var(--line);border-radius:16px;background:#fffaf2;white-space:nowrap}
.map-counter strong{font-size:1.8rem;color:var(--orange-dark);line-height:1}.map-counter span{font-size:.82rem;color:var(--muted);max-width:90px;line-height:1.25}
.map-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(230px,.65fr);gap:22px;align-items:center}
.map-frame{min-width:0;padding:16px 16px 8px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,#fff,#fffaf3)}
.brazil-map{display:block;width:100%;height:auto;max-height:700px;overflow:visible}
.state-shape{fill:#ffd08a;stroke:#fff;stroke-width:1.7;stroke-linejoin:round;cursor:pointer;transition:fill .16s,stroke .16s,filter .16s;outline:none}
.state-shape:hover,.state-shape:focus{fill:#ff9500;stroke:#9a5700;stroke-width:2.6;filter:drop-shadow(0 2px 2px rgba(70,40,0,.2))}
.map-status{margin:0;padding:8px 4px 12px;text-align:center;color:var(--muted);font-size:.88rem}
.map-help{padding:25px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 8px 30px rgba(25,25,25,.035)}
.map-help-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#fff0d9;color:#a95f00;font-size:1.7rem;margin-bottom:15px}
.map-help h3{margin:0 0 8px}.map-help p,.map-help li{color:var(--muted);font-size:.92rem}.map-help ul{padding-left:19px;margin:16px 0}.map-help li{margin:9px 0}.map-legend{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);padding-top:16px;font-size:.84rem;font-weight:700}.legend-dot{width:13px;height:13px;background:#ffd08a;border:1px solid #d58a24;border-radius:4px}
.map-source{margin-top:17px;color:#858890;font-size:.76rem}
.affiliate-dialog{width:min(540px,calc(100% - 28px));max-width:540px;max-height:min(80vh,720px);padding:25px;border:1px solid #eee;border-radius:22px;box-shadow:0 24px 90px rgba(0,0,0,.25);color:var(--ink)}
.affiliate-dialog::backdrop{background:rgba(20,20,20,.55);backdrop-filter:blur(3px)}
.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dialog-brand{font-size:.7rem;font-weight:850;letter-spacing:.12em;color:#a95f00}.dialog-close{width:36px;height:36px;border:0;border-radius:50%;background:#f4f4f4;font-size:1.6rem;line-height:1;cursor:pointer}.affiliate-dialog h2{margin:7px 0 18px}.affiliate-list{display:grid;gap:12px}.affiliate-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff}.affiliate-card h3{margin:0;font-size:1.02rem}.affiliate-note{margin:5px 0 0;color:var(--muted);font-size:.8rem}.affiliate-tag{display:inline-block;margin-top:6px;padding:3px 8px;border-radius:999px;background:#fff0d9;color:#8a5100;font-size:.7rem;font-weight:800}.affiliate-link{padding:9px 13px;font-size:.8rem;white-space:nowrap}.no-channel{font-size:.78rem;color:#777;background:#f3f3f3;padding:7px 10px;border-radius:999px;white-space:nowrap}
.states-fallback{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:9px;margin-top:20px}.state-fallback{display:flex;justify-content:space-between;align-items:center;padding:11px 13px;border:1px solid var(--line);border-radius:12px;background:white;cursor:pointer;text-align:left}.state-fallback:hover{border-color:var(--orange);background:#fffaf2}.state-fallback span{font-size:.75rem;color:#a95f00;font-weight:800}
@media(max-width:800px){.map-layout{grid-template-columns:1fr}.map-help{padding:20px}.affiliate-map-heading{align-items:start;flex-direction:column}.map-counter{align-self:flex-start}.map-frame{padding:8px}.affiliate-dialog{padding:19px}.affiliate-card{align-items:flex-start;flex-direction:column}.affiliate-link{white-space:normal}}

.admin-access{margin-left:18px;font-size:.78rem;color:#aeb0b5}.admin-access:hover{color:#fff}

.admin-access{margin-left:18px;font-size:.78rem;color:#aeb0b5}.admin-access:hover{color:#fff}

.admin-access{margin-left:18px;font-size:.78rem;color:#aeb0b5}.admin-access:hover{color:#fff}

.admin-access{margin-left:18px;font-size:.78rem;color:#aeb0b5}.admin-access:hover{color:#fff}
