/*
Theme Name: 9096 Neon
Theme URI: https://9096.quest/
Author: 9096 Editorial
Description: Tema editorial independente em pt-BR para o guia 9096.
Version: 1.0.0
Text Domain: n9096
*/

:root {
  --navy: #081227;
  --header: #071226;
  --summary: #0d1932;
  --panel: #09162d;
  --panel-head: #163e63;
  --orange: #ff922f;
  --yellow: #ffc54f;
  --green: #04d992;
  --blue: #2f96d4;
  --gold: #f2bf43;
  --white: #fff;
  --muted: #c1c8d6;
  --border: #26395b;
  --focus: #ffe083;
  --danger: #ff7c77;
  --shadow: 0 0 28px rgba(20, 89, 153, .22);
  --radius: 18px;
  --content: 1110px;
  --reading: 860px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 8%, rgba(4,217,146,.09), transparent 24rem),
    radial-gradient(circle at 8% 34%, rgba(47,150,212,.08), transparent 27rem);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--yellow); text-underline-offset: .2em; }
a:hover { color: var(--green); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
p, ul, ol, table { margin: 0 0 1.25rem; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.025em; }
h1 { color: var(--orange); font-size: clamp(2.15rem, 6vw, 3.25rem); text-align: center; }
h2 { font-size: clamp(1.65rem, 4vw, 2.25rem); }
h3 { color: var(--green); font-size: clamp(1.18rem, 2.5vw, 1.45rem); margin-top: 2rem; }

.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 1000; padding: .75rem 1rem; background: var(--focus); color: #081227; }
.skip-link:focus { top: 1rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7,18,38,.96); border-bottom: 1px solid var(--border); backdrop-filter: blur(16px); }
.header-inner { width: min(calc(100% - 36px), var(--content)); min-height: 80px; margin: auto; display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.brand { color: var(--white); font-size: 1.55rem; font-weight: 900; letter-spacing: .08em; text-decoration: none; }
.brand-mark { color: var(--green); }
.site-header .brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.site-header .brand .custom-logo { width: auto; height: 42px; max-width: 128px; object-fit: contain; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.desktop-nav a { color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.desktop-nav a[aria-current="page"], .desktop-nav a:hover { color: var(--white); }
.button, .header-cta {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.35rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9c3c, #ee672e);
  box-shadow: 0 8px 25px rgba(255,146,47,.2);
  color: #081227;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}
.button:hover, .header-cta:hover { color: #081227; filter: brightness(1.08); transform: translateY(-2px); }
.button-blue { background: linear-gradient(135deg, var(--blue), #63c4f2); }
.button-green { background: linear-gradient(135deg, var(--green), #65edbd); }
.menu-toggle { display: none; min-width: 48px; min-height: 48px; margin-left: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--summary); color: var(--white); font: inherit; font-weight: 800; }
.mobile-nav { display: none; width: min(calc(100% - 36px), var(--content)); margin: 0 auto 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mobile-nav.is-open { display: grid; }
.mobile-nav a { display: flex; min-height: 48px; align-items: center; padding: .65rem .8rem; border: 1px solid var(--border); border-radius: 12px; background: var(--summary); color: var(--white); font-weight: 800; text-decoration: none; }

.site-main { min-height: 60vh; }
.hero, .page-hero { width: min(calc(100% - 36px), var(--content)); margin: 0 auto; padding: clamp(48px, 8vw, 86px) 0 44px; }
.hero-kicker, .eyebrow { margin-bottom: .75rem; color: var(--green); font-size: .77rem; font-weight: 900; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.hero-summary { width: min(100%, var(--reading)); margin: 1.55rem auto 1.35rem; padding: clamp(20px, 4vw, 30px); border: 1px solid var(--gold); border-left-width: 6px; border-radius: var(--radius); background: var(--summary); box-shadow: var(--shadow); color: var(--muted); }
.hero-summary p:last-child { margin-bottom: 0; }
.hero-actions { display: flex; justify-content: center; margin: 0 0 1.65rem; }
.hero-media { overflow: hidden; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); }
.hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.reviewed { margin: .9rem 0 0; color: var(--muted); font-size: .85rem; text-align: center; }

.reading { width: min(calc(100% - 36px), var(--reading)); margin: 0 auto; padding-bottom: 36px; }
.content-section { margin: 0 0 clamp(34px, 6vw, 54px); }
.section-title { margin: 0 0 1.4rem; padding: .9rem 1.1rem; border-left: 5px solid var(--green); border-radius: 10px; background: linear-gradient(90deg, var(--panel-head), rgba(22,62,99,.35)); }
.content-section:nth-of-type(even) .section-title { border-left-color: var(--orange); }
.lead { color: var(--muted); font-size: 1.08rem; }
.media-block { margin: 1.7rem 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.media-block img { width: 100%; max-height: 680px; object-fit: cover; }
.media-block figcaption { padding: .65rem 1rem; color: var(--muted); font-size: .82rem; }
.note { margin: 1.5rem 0; padding: 1rem 1.15rem; border: 1px solid var(--gold); border-left-width: 5px; border-radius: 12px; background: rgba(242,191,67,.07); }
.note-green { border-color: var(--green); background: rgba(4,217,146,.07); }
.responsible { padding: 1rem 1.15rem; border: 1px solid var(--border); border-radius: 12px; color: var(--muted); font-size: .92rem; }
.step-list { padding: 0; list-style: none; counter-reset: steps; }
.step-list li { position: relative; min-height: 58px; margin: 0 0 .9rem; padding: .8rem 1rem .8rem 4.2rem; border: 1px solid var(--border); border-radius: 14px; background: rgba(13,25,50,.65); }
.step-list li::before { counter-increment: steps; content: counter(steps); position: absolute; left: 1rem; top: .75rem; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--orange); color: var(--navy); font-weight: 900; }
.table-wrap { max-width: 100%; margin: 1.5rem 0; overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
table { width: 100%; min-width: 620px; border-collapse: collapse; background: rgba(9,22,45,.7); }
th, td { padding: .9rem 1rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { background: var(--panel-head); color: var(--white); }
tr:last-child td { border-bottom: 0; }
.next-link { margin-top: 1.5rem; }

.correction-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.correction-form label { display: grid; gap: .35rem; font-weight: 800; }
.correction-form input, .correction-form textarea { width: 100%; min-height: 48px; padding: .75rem .9rem; border: 1px solid var(--border); border-radius: 10px; background: #071226; color: var(--white); font: inherit; }
.correction-form textarea { min-height: 150px; resize: vertical; }
.form-status { padding: .9rem 1rem; border: 1px solid var(--green); border-radius: 10px; background: rgba(4,217,146,.08); }
.honeypot { position: absolute !important; left: -9999px !important; }

.site-footer { margin-top: 28px; border-top: 1px solid var(--border); background: #061020; }
.footer-inner { width: min(calc(100% - 36px), var(--content)); margin: auto; padding: 36px 0 28px; display: grid; grid-template-columns: 1.4fr .8fr; gap: 42px; }
.footer-about { max-width: 620px; color: var(--muted); }
.footer-nav { display: grid; gap: .5rem; align-content: start; }
.footer-nav a { min-height: 44px; display: flex; align-items: center; color: var(--white); text-decoration: none; }
.footer-disclaimer, .footer-responsible { color: var(--muted); font-size: .88rem; }
.footer-bottom { width: min(calc(100% - 36px), var(--content)); margin: auto; padding: 18px 0 26px; border-top: 1px solid var(--border); color: var(--muted); font-size: .82rem; }

.not-found { width: min(calc(100% - 36px), var(--reading)); margin: auto; padding: 100px 0; text-align: center; }
.not-found p { color: var(--muted); }

@media (max-width: 767px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-inner { min-height: 68px; }
  .site-header .brand .custom-logo { height: 36px; max-width: 112px; }
  .hero, .page-hero { padding-top: 40px; }
  .hero-summary { padding: 20px; }
  .hero-actions .button { width: 100%; }
  .hero-media img { aspect-ratio: 4 / 5; object-position: 66% center; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .media-block img { aspect-ratio: 4 / 3; object-fit: cover; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
