/* ═══════════════════════════════════════════════
   Script'Meter — Shared Styles
   ═══════════════════════════════════════════════ */

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0f0e0c;
  --surface:  #1a1916;
  --surface2: #222018;
  --border:   #2e2c28;
  --accent:   #f07d3a;
  --accent2:  #e8d44d;
  --text:     #f0ece2;
  --muted:    #7a7669;
  --green:    #6dbf8a;
  --fast:     #e05c5c;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,14,12,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  display: flex; align-items: center; gap: 8px;
  height: 58px;
}

.nav-logo {
  display: flex; align-items: center;
  margin-right: auto; text-decoration: none; flex-shrink: 0;
}

.nav-logo img { height: 28px; width: auto; display: block; }

.nav-links { display: flex; gap: 2px; list-style: none; }

.nav-links a {
  display: block; padding: 7px 13px;
  font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; border-radius: 6px;
  transition: all 0.2s; white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--accent); }

/* ── SELETOR DE LÍNGUA ───────────────────────── */
.lang-switcher {
  display: flex; gap: 2px;
  margin-left: 8px;
  border-left: 1px solid var(--border);
  padding-left: 10px;
}

.lang-btn {
  padding: 5px 9px; border-radius: 5px;
  border: 1px solid transparent; background: transparent;
  color: var(--muted); font-family: 'DM Mono', monospace;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  cursor: pointer; transition: all 0.2s; text-transform: uppercase;
}

.lang-btn:hover { color: var(--text); border-color: var(--border); }

.lang-btn.active {
  color: var(--accent); border-color: var(--accent);
  background: rgba(240,125,58,0.08);
}

/* ── HERO / PAGE HEADER ──────────────────────── */
.page-hero { padding: 72px 32px 56px; max-width: 900px; margin: 0 auto; animation: fadeDown 0.6s ease both; }

.eyebrow { font-size: 11px; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; opacity: 0.9; }

.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 20px;
}

.page-hero h1 em { font-style: normal; color: var(--accent); }

.page-hero .lead { font-family: 'Lora', serif; font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 620px; }

/* ── MAIN ─────────────────────────────────────── */
.site-main { max-width: 900px; margin: 0 auto; padding: 0 32px 100px; }

/* ── BOTÕES ───────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; border: 1px solid var(--border);
  background: transparent; color: var(--text);
  font-family: 'DM Mono', monospace; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}

.btn:hover { background: rgba(255,255,255,0.04); border-color: #555; }

.btn-primary { background: var(--accent); border-color: var(--accent); color: #0f0e0c; font-weight: 700; }
.btn-primary:hover { background: #f58e50; border-color: #f58e50; }

.btn-secondary { border-color: var(--accent2); color: var(--accent2); }
.btn-secondary:hover { background: rgba(232,212,77,0.08); }

/* ── FOOTER ───────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border); padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}

.footer-logo img { height: 22px; width: auto; opacity: 0.7; transition: opacity 0.2s; }
.footer-logo img:hover { opacity: 1; }

.footer-links { display: flex; gap: 20px; list-style: none; }

.footer-links a {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 11px; color: var(--muted); width: 100%; }

/* ── PROSE ────────────────────────────────────── */
.prose { font-family: 'Lora', serif; font-size: 16px; line-height: 1.8; color: #ccc9be; }
.prose h2 { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700; color: var(--text); margin: 40px 0 16px; letter-spacing: -0.02em; }
.prose h3 { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; color: var(--accent); margin: 28px 0 10px; }
.prose p { margin-bottom: 18px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 18px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 3px solid var(--accent); padding: 12px 20px; margin: 24px 0;
  background: rgba(240,125,58,0.05); border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--text);
}
.prose a { color: var(--accent); }

/* ── AD SLOTS ─────────────────────────────────── */
.ad-slot {
  background: var(--surface); border: 1px dashed var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin: 32px 0;
}
.ad-slot-banner { height: 90px; }
.ad-slot-rect   { height: 250px; }

/* ── ANIMATIONS ───────────────────────────────── */
@keyframes fadeDown { from { opacity:0; transform:translateY(-16px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp   { from { opacity:0; transform:translateY(16px);  } to { opacity:1; transform:translateY(0); } }
@keyframes pulse    { 0%,100% { opacity:1; } 50% { opacity:0.3; } }

/* ── MOBILE ───────────────────────────────────── */
@media (max-width: 700px) {
  .site-nav { padding: 0 14px; gap: 4px; }
  .nav-links { display: none; }
  .nav-logo img { height: 24px; }
  .lang-switcher { margin-left: 4px; padding-left: 8px; }
  .page-hero { padding: 48px 16px 36px; }
  .site-main { padding: 0 16px 80px; }
  .site-footer { padding: 20px 16px; }
}
