/* =============================================================
   LAYOUT — Topbar, hero, sections, footer
   ============================================================= */

/* =================== TOPBAR =================== */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(10, 10, 8, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-decoration: none;
}

.topbar-logo span {
  color: var(--accent);
}

.topbar nav {
  display: flex;
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.topbar nav a {
  color: var(--paper-dim);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.topbar nav a:hover { color: var(--paper); }

.topbar-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--accent);
  color: var(--black);
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 600;
  transition: background var(--dur-fast);
}

.topbar-cta:hover { background: var(--accent-bright); }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.lang-switch a {
  color: var(--paper-dim);
  text-decoration: none;
  opacity: 0.5;
  padding: 2px 1px;
  transition: opacity var(--dur-fast), color var(--dur-fast);
}
.lang-switch a:hover { opacity: 1; color: var(--paper); }
.lang-switch a.active { opacity: 1; color: var(--accent); }
.lang-switch .sep { color: var(--rule-2); opacity: 0.6; }

@media (max-width: 600px) {
  .topbar-cta { display: none; }
}

/* =================== HERO =================== */

.hero {
  min-height: 100vh;
  padding: 180px 0 120px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

/* Texturas decorativas sutis no hero */
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-meta::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 11vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 48px;
  max-width: 1200px;
}

.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  font-size: 0.95em;
  letter-spacing: -0.03em;
}

.hero-sub {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: end;
  margin-top: 64px;
}

.hero-sub p {
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.4;
  color: var(--paper-dim);
  max-width: 640px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* =================== SECTION TEMPLATE =================== */

section {
  padding: 140px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.section-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-meta::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  max-width: 1100px;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.section-lede {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--paper-dim);
  max-width: 720px;
  margin-bottom: 80px;
}

/* =================== FULL-BLEED STATEMENT =================== */

.statement {
  padding: 200px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.statement h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-align: left;
  max-width: 1500px;
}

.statement h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.statement .attribution {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--paper-mute);
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.statement .attribution::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--paper-mute);
}

/* =================== FOOTER =================== */

footer {
  padding: 120px 0 32px;
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 96px;
}

.footer-grid h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 24px;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  padding: 8px 0;
  font-size: 14px;
}

.footer-grid li a {
  color: var(--paper-dim);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.footer-grid li a:hover { color: var(--paper); }

.footer-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.footer-headline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--paper-mute);
}
.footer-admin {
  color: var(--paper-mute);
  text-decoration: none;
  opacity: 0.55;
  transition: color var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.footer-admin:hover {
  color: var(--accent);
  opacity: 1;
}
.footer-group {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  line-height: 1.65;
  color: var(--paper-mute);
  max-width: 520px;
}
.footer-group strong { color: var(--paper-dim); font-weight: 600; }
.footer-group a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast);
}
.footer-group a:hover { border-color: var(--accent); }

/* =================== RESPONSIVE =================== */

@media (max-width: 900px) {
  .wrap { padding: 0 var(--wrap-pad-mobile); }

  .topbar nav { display: none; }
  .topbar { padding: 16px 0; }

  .hero {
    padding: 140px 0 80px;
    min-height: auto;
  }
  .hero h1 { font-size: clamp(44px, 13vw, 80px); }
  .hero-sub {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  section { padding: 80px 0; }
  .statement { padding: 120px 0; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
