/* ==========================================================================
   AUKAGE - design system v3 (editorial / cartográfico)
   Papel quente, serifada editorial, verde-mata + dourado. O vídeo/imagem
   aérea é protagonista (hero em tela cheia); o mapa de rota substitui o
   HUD de drone como motivo gráfico recorrente.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,500;1,600&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root{
  --bg:        #F1EEE2;
  --bg-soft:   #E8E3D2;
  --bg-tint:   #EAE6D6;
  --bg-tint-warm: #EFE6D2;
  --ink:       #20281F;
  --ink-soft:  #5C6456;
  --gold:      #B8862E;
  --gold-dk:   #96691E;
  --gold-text: #8A6015;
  --green:     #33513A;
  --green-dk:  #22381F;
  --line:      rgba(32,40,31,.14);
  --line-strong: rgba(32,40,31,.26);

  /* legacy aliases kept so existing inline references still resolve */
  --orange: var(--gold);
  --orange-dk: var(--gold-dk);
  --orange-text: var(--gold-text);
  --blue: var(--green);
  --blue-dk: var(--green-dk);

  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max: 1180px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:700; line-height:1.05; margin:0; letter-spacing:0; }
p{ margin:0 0 1em; }
:focus-visible{ outline:3px solid var(--green); outline-offset:2px; }

.wrap{ max-width:var(--max); margin:0 auto; padding:0 24px; }

/* ---------- triangle motif (kept, recolored) ---------- */
.tri{
  display:inline-block; width:0; height:0;
  border-left:7px solid transparent; border-right:7px solid transparent;
  border-bottom:12px solid var(--gold);
}
.section-tri, .section-blue{ position:relative; background:var(--bg-tint); }
.section-warm{ position:relative; background:var(--bg-tint-warm); }

.section-dark{ background:var(--ink); }
.section-dark .callout{ color:#EDEEE0; border-left-color:var(--gold); }
.section-dark .callout span{ color:#D9C48A; }

/* top accent bar */
body::before{
  content:""; display:block; height:4px; width:100%;
  background:linear-gradient(90deg, var(--gold) 0%, var(--gold) 55%, var(--green) 100%);
}

/* ---------- nav ---------- */
.site-nav{
  position:sticky; top:0; z-index:50;
  background:rgba(241,238,226,.97);
  border-bottom:1px solid var(--line-strong);
}
.site-nav .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:78px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:42px; width:auto; }
.brand .wordmark{
  font-family:var(--font-display); font-weight:700; font-size:22px; letter-spacing:.2px;
  display:flex; flex-direction:column; line-height:1;
}
.brand .wordmark small{
  font-family:var(--font-body); font-weight:400; font-size:10px; letter-spacing:1.6px;
  color:var(--ink-soft); text-transform:uppercase; margin-top:5px;
}
.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links a{
  font-family:var(--font-body); font-size:14.5px; letter-spacing:.2px;
  color:var(--ink-soft); position:relative; padding:6px 0;
}
.nav-links a:hover, .nav-links a[aria-current="page"]{ color:var(--ink); }
.nav-links a[aria-current="page"]::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--gold);
}
.nav-links a.nav-cta{
  color:var(--bg); background:var(--ink); padding:10px 18px; border-radius:2px; font-size:13.5px;
}
.nav-links a.nav-cta:hover{ background:var(--green); }

/* ---------- mobile nav ---------- */
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; border:1.5px solid var(--ink); background:none; border-radius:3px; cursor:pointer; padding:0;
}
.nav-toggle span{ display:block; width:18px; height:2px; background:var(--ink); margin:0 auto; transition:transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
@media (max-width:820px){
  .nav-toggle{ display:flex; }
  .nav-links{
    display:flex; flex-direction:column; align-items:flex-start; gap:0;
    position:fixed; top:78px; left:0; right:0;
    height:calc(100vh - 78px); height:calc(100dvh - 78px);
    background:var(--bg); padding:18px 24px 40px;
    transform:translateX(100%); transition:transform .25s ease;
    overflow-y:auto; z-index:49;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ width:100%; padding:16px 0; border-bottom:1px solid var(--line); font-size:15px; }
  .nav-links a.nav-cta{ margin-top:16px; text-align:center; border-bottom:0; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-body); font-weight:600; font-size:14.5px;
  padding:14px 26px; border:1.5px solid var(--ink); border-radius:2px;
  background:transparent; color:var(--ink); cursor:pointer;
}
.btn:hover{ background:var(--ink); color:var(--bg); }
.btn-solid{ background:var(--gold); border-color:var(--gold); color:#fff; }
.btn-solid:hover{ background:var(--gold-dk); border-color:var(--gold-dk); }

/* ---------- eyebrow ---------- */
.eyebrow{
  font-family:var(--font-body); font-weight:600; font-size:12.5px; letter-spacing:3px; text-transform:uppercase;
  color:var(--green); display:flex; align-items:center; gap:10px; margin-bottom:14px;
}
.eyebrow::before{ content:""; width:22px; height:1px; background:var(--green); }

/* ---------- telemetry / fact strip ---------- */
.telemetry{
  display:flex; flex-wrap:wrap; gap:0; position:relative; z-index:1;
  border-top:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong);
  font-family:var(--font-mono); font-size:12px;
}
.telemetry div{ padding:14px 22px; border-right:1px solid var(--line); color:var(--ink-soft); letter-spacing:.2px; }
.telemetry div b{ color:var(--ink); font-family:var(--font-body); font-weight:700; display:block; font-size:15px; margin-top:3px;}
.telemetry div span{ text-transform:uppercase; letter-spacing:1.3px; font-size:10px; color:var(--gold-text); }

/* ---------- hero: full-bleed image/video background ---------- */
.hero{
  position:relative; min-height:78vh; display:flex; align-items:flex-end;
  background:#161a14 center/cover no-repeat; margin-bottom:0; overflow:hidden;
  padding:0;
}
.hero.hero-compact{ min-height:52vh; }
.hero::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(20,24,18,.05) 0%, rgba(20,24,18,.45) 55%, rgba(20,24,18,.86) 100%);
}
.hero .wrap{ position:relative; z-index:1; width:100%; padding-top:64px; padding-bottom:52px; }
.hero .eyebrow{ color:#D9C48A; }
.hero .eyebrow::before{ background:#D9C48A; }
.hero h1{ color:#F5F2E7; font-size:clamp(44px, 7.5vw, 92px); }
.hero h1 em{ font-style:italic; color:#D9C48A; font-weight:500; }
.hero .lede{ max-width:640px; font-size:18.5px; color:rgba(245,242,231,.88); margin:20px 0 28px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:30px; }
.hero .telemetry{ border-color:rgba(245,242,231,.28); }
.hero .telemetry div{ border-right-color:rgba(245,242,231,.18); color:rgba(245,242,231,.65); }
.hero .telemetry div b{ color:#F5F2E7; }

/* home hero keeps a two-col layout option (map or featured card beside text) */
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:end; position:relative; z-index:1; }
@media (max-width:920px){ .hero-grid{ grid-template-columns:1fr; } }

/* ---------- cinema video block (was viewfinder/HUD) ---------- */
.viewfinder{ position:relative; padding:0; background:transparent; border-radius:0; }
.viewfinder::before, .viewfinder::after, .viewfinder .vf-br, .viewfinder .vf-bl{ content:none; }

.vf-hud{ display:none; }

.vf-frame{
  position:relative; width:100%; aspect-ratio:16/9; background:#12160f; overflow:hidden; cursor:pointer;
  border:1px solid var(--line-strong);
}
.vf-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.vf-thumb{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.92; transition:opacity .2s ease, transform .35s ease; }
.vf-frame:hover .vf-thumb{ opacity:.78; transform:scale(1.015); }

.vf-play{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:60px; height:60px; border-radius:50%; border:1.5px solid rgba(245,242,231,.85);
  background:rgba(32,40,31,.32); backdrop-filter:blur(1.5px);
  color:#F5F2E7; display:flex; align-items:center; justify-content:center; cursor:pointer;
  transition:transform .15s ease, background .15s ease;
}
.vf-play svg{ margin-left:3px; }
.vf-frame:hover .vf-play{ transform:translate(-50%,-50%) scale(1.06); background:rgba(184,134,46,.55); border-color:#fff; }
.bairro-card .vf-play{ width:44px; height:44px; }
.bairro-card .vf-play svg{ width:18px; height:18px; }

.vf-caption{
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; align-items:baseline;
  font-family:var(--font-body); font-size:13px; color:var(--ink-soft); letter-spacing:0;
  padding:13px 2px 0;
}
.vf-caption b{ color:var(--ink); font-family:var(--font-display); font-weight:600; font-size:17px; }
.vf-caption span{ font-family:var(--font-mono); font-size:10px; letter-spacing:1px; text-transform:uppercase; color:var(--gold-text); }

/* ---------- city cards ---------- */
.city-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:920px){ .city-cards{ grid-template-columns:1fr; } }
.city-card{
  position:relative; border:1px solid var(--line-strong); background:var(--bg);
  padding:30px 26px 26px; transition:transform .18s ease, box-shadow .18s ease;
}
.city-card:hover{ transform:translateY(-3px); box-shadow:0 14px 28px rgba(32,40,31,.10); }
.city-card .idx{ font-family:var(--font-mono); font-size:10.5px; color:var(--green); letter-spacing:1.5px; }
.city-card h3{ font-size:32px; margin:12px 0 8px; }
.city-card p{ color:var(--ink-soft); font-size:14.5px; margin-bottom:18px; }
.city-card .stats{ display:flex; gap:18px; font-family:var(--font-mono); font-size:11px; color:var(--ink-soft); margin-bottom:18px; }
.city-card .stats b{ color:var(--ink); font-family:var(--font-body); font-size:16px; display:block; }
.city-card .go{ font-family:var(--font-body); font-weight:600; font-size:13.5px; color:var(--gold-text); }
.city-card.locked{ opacity:.55; border-style:dashed; }
.city-card.locked:hover{ transform:none; box-shadow:none; }
.city-card.locked .badge{
  position:absolute; top:20px; right:20px; font-family:var(--font-mono); font-size:10px;
  letter-spacing:1.5px; text-transform:uppercase; color:var(--ink-soft); border:1px solid var(--line-strong); padding:4px 8px;
}

/* ---------- section scaffolding ---------- */
section{ padding:80px 0; }
.section-head{ max-width:680px; margin-bottom:40px; position:relative; z-index:1; }
.section-head h2{ font-size:clamp(30px,4vw,44px); }
.section-head p{ color:var(--ink-soft); font-size:17px; margin-top:14px; }

/* ---------- feature grid (multi-item list, e.g. "how it works" / "what we do") ---------- */
.feature-grid{
  display:grid; grid-template-columns:repeat(2, 1fr); gap:48px 56px;
}
@media (max-width:700px){ .feature-grid{ grid-template-columns:1fr; gap:36px; } }
.feature-grid.cols-3{ grid-template-columns:repeat(3, 1fr); }
@media (max-width:900px){ .feature-grid.cols-3{ grid-template-columns:1fr 1fr; } }
@media (max-width:700px){ .feature-grid.cols-3{ grid-template-columns:1fr; } }
.feature .tag{
  font-family:var(--font-body); font-weight:600; font-size:11.5px; letter-spacing:2px; text-transform:uppercase;
  color:var(--gold-text); margin-bottom:10px; display:block;
}
.feature h3{ font-size:26px; margin-bottom:14px; }
.feature p{ color:var(--ink); font-size:16px; margin:0; }
.feature p a{ color:var(--gold-text); font-weight:600; }

/* ---------- chapter (editorial narrative block) ---------- */
.chapter{
  display:grid; grid-template-columns:220px 1fr; gap:48px; align-items:start;
  padding:52px 0; border-bottom:1px solid var(--line);
}
.chapter:last-child{ border-bottom:0; }
@media (max-width:820px){ .chapter{ grid-template-columns:1fr; gap:18px; } }
.chapter .tag{
  font-family:var(--font-body); font-weight:600; font-size:11.5px; letter-spacing:2px; text-transform:uppercase;
  color:var(--gold-text); margin-bottom:0; display:block; padding-top:8px;
}
.chapter h3{ font-size:clamp(26px,3.2vw,36px); margin-bottom:16px; }
.chapter .body{ color:var(--ink); font-size:17px; }
.chapter .body strong{ color:var(--ink); font-weight:700; }
.chapter .body p:first-child::first-letter{
  font-family:var(--font-display); font-size:58px; float:left; line-height:.78;
  padding:5px 9px 0 0; color:var(--gold);
}

/* ---------- bairros grid ---------- */
.bairros-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:920px){ .bairros-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .bairros-grid{ grid-template-columns:1fr; } }
.bairro-card .vf-caption{ font-size:11.5px; }
.bairro-card .vf-caption b{ font-size:14px; }

/* ---------- pull quote / callout ---------- */
.callout{
  background:transparent; color:var(--green); padding:12px 0 12px 32px; position:relative;
  font-family:var(--font-display); font-style:italic; font-weight:500; font-size:clamp(24px,3vw,32px); line-height:1.3;
  border-left:3px solid var(--gold);
}
.callout span{ color:var(--gold-text); font-style:normal; font-weight:700; }

/* ---------- route map component ---------- */
.route-map{ width:100%; height:auto; }
.map-dot{ fill:var(--ink-soft); }
.map-dot.active{ fill:var(--gold); }
.map-label{ font-family:'JetBrains Mono', monospace; font-size:9px; fill:var(--ink-soft); letter-spacing:.4px; }
.map-label.active{ fill:var(--ink); font-weight:600; }
.map-route{ stroke:var(--line-strong); stroke-width:1; stroke-dasharray:3 4; fill:none; }

/* ---------- footer ---------- */
footer{ background:var(--ink); color:#EDEEE0; border-top:0; padding:56px 0 40px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:32px; }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr; } }
footer h4{ font-family:var(--font-body); font-size:12px; letter-spacing:2px; text-transform:uppercase; color:#96A08E; margin-bottom:14px; font-weight:600;}
footer p{ color:#B7BEAC !important; }
footer ul{ list-style:none; margin:0; padding:0; }
footer li{ margin-bottom:9px; }
footer li a{ color:#EDEEE0; }
footer li a:hover{ color:#D9C48A; }
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.footer-brand img{ height:34px; width:auto; }
.footer-brand span{ font-family:var(--font-display); font-weight:700; font-size:19px; color:#fff; }
.footer-bottom{
  margin-top:40px; padding-top:20px; border-top:1px solid rgba(237,238,224,.15);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-family:var(--font-mono); font-size:11px; color:#8A9280; letter-spacing:.4px;
}

/* ---------- misc ---------- */
.kicker-rule{ display:flex; align-items:center; gap:16px; margin:64px 0 0; }
.kicker-rule .line{ flex:1; height:1px; background:var(--line-strong); }
.kicker-rule span{ font-family:var(--font-body); font-weight:600; font-size:11.5px; letter-spacing:2px; text-transform:uppercase; color:var(--ink-soft); }

.badge-inline{
  display:inline-block; font-family:var(--font-mono); font-size:10.5px; letter-spacing:1.5px;
  text-transform:uppercase; color:var(--green); border:1px solid var(--green); padding:3px 8px; border-radius:2px;
}
