/* ═══════════════════════════════════════════════════
   LOUKURAS PEBAS — DESIGN SYSTEM PREMIUM
   Tema escuro padrão + suporte a tema claro via [data-theme="light"]
   ═══════════════════════════════════════════════════ */

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

/* ── DARK THEME (default) ── */
:root,
[data-theme="dark"] {
  --bg:          #0a0a0a;
  --bg-2:        #111111;
  --bg-3:        #1a1a1a;
  --bg-4:        #222222;
  --bg-5:        #2a2a2a;
  --card:        #131313;
  --card-2:      #191919;

  --red:         #E50914;
  --red-2:       #c40812;
  --red-glow:    rgba(229,9,20,.22);
  --red-subtle:  rgba(229,9,20,.1);

  --text:        #f2f2f2;
  --text-2:      #a0a0a0;
  --text-3:      #5a5a5a;

  --line:        rgba(255,255,255,.07);
  --line-2:      rgba(255,255,255,.12);

  --header-bg:   rgba(10,10,10,.96);
  --topbar-bg:   #0d0d0d;

  --shadow:      0 4px 24px rgba(0,0,0,.5);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.6);
}

/* ── LIGHT THEME ── */
[data-theme="light"] {
  --bg:          #f4f4f4;
  --bg-2:        #ffffff;
  --bg-3:        #f0f0f0;
  --bg-4:        #e8e8e8;
  --bg-5:        #dcdcdc;
  --card:        #ffffff;
  --card-2:      #f8f8f8;

  --red:         #d4000d;
  --red-2:       #b80009;
  --red-glow:    rgba(212,0,13,.18);
  --red-subtle:  rgba(212,0,13,.08);

  --text:        #111111;
  --text-2:      #555555;
  --text-3:      #999999;

  --line:        rgba(0,0,0,.08);
  --line-2:      rgba(0,0,0,.14);

  --header-bg:   rgba(255,255,255,.96);
  --topbar-bg:   #111111;

  --shadow:      0 2px 16px rgba(0,0,0,.08);
  --shadow-lg:   0 8px 36px rgba(0,0,0,.12);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Sora', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background .25s, color .25s;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

/* ── LAYOUT ── */
.site-container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

/* Topbar */
.topbar {
  background: var(--topbar-bg);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

[data-theme="light"] .topbar {
  background: #1a1a1a;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 38px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.topbar-links a {
  color: rgba(255,255,255,.6);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 0 13px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  border-right: 1px solid rgba(255,255,255,.07);
  transition: color .15s, background .15s;
}

.topbar-links a:first-child { border-left: 1px solid rgba(255,255,255,.07); }
.topbar-links a:hover { color: #fff; background: rgba(255,255,255,.06); }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-city {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.45);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.topbar-ig {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  background: var(--red);
  font-size: .72rem;
  font-weight: 700;
  border: 1px solid var(--red-2);
  border-radius: 999px;
  padding: 4px 10px;
  transition: background .15s, color .15s, box-shadow .15s;
}

.topbar-ig:hover {
  background: var(--red-2);
  color: #fff !important;
  box-shadow: 0 4px 14px var(--red-glow);
}

.topbar-ig:hover { background: rgba(255,255,255,.1); color: #fff !important; }

.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.75);
  border-radius: 8px;
  width: 30px;
  height: 24px;
  cursor: pointer;
  font-size: .9rem;
  transition: background .15s, color .15s;
  line-height: 1;
}

.theme-btn:hover { background: rgba(255,255,255,.15); color: #fff; }

/* Header main */
.header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  height: 72px;
}

.brand {
  grid-column: 2;
  justify-self: center;
}

.search-form {
  display: none;
}

.hamburger {
  grid-column: 3;
  justify-self: end;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--bg-3);
}

.brand-text strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
}

.brand-text small {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 2px;
}

.search-form {
  display: flex;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
  transition: border-color .2s, box-shadow .2s;
}

.search-form:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-subtle);
}

.search-form input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 10px 16px;
  background: transparent;
  color: var(--text);
  font-size: .88rem;
  min-width: 0;
}

.search-form input::placeholder { color: var(--text-3); }

.search-form button {
  border: 0;
  background: var(--red);
  color: #fff;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s;
  flex-shrink: 0;
}

.search-form button:hover { background: var(--red-2); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: .2s;
}

/* Category nav */
.category-nav {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}

.cat-nav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-nav-inner::-webkit-scrollbar { display: none; }

.cat-nav-inner a {
  display: inline-flex;
  align-items: center;
  padding: 11px 16px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
  border-right: 1px solid var(--line);
  position: relative;
  transition: color .15s, background .15s;
}

.cat-nav-inner a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .2s;
}

.cat-nav-inner a:hover { color: var(--text); background: var(--red-subtle); }
.cat-nav-inner a:hover::after { transform: scaleX(1); }

/* ══════════════════════════════════════════
   PAGE LAYOUT
══════════════════════════════════════════ */
.main-shell {
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 24px;
  align-items: start;
  padding: 24px 0 56px;
}

.content-stack { display: grid; gap: 20px; }

/* ── SECTION BLOCK ── */
.section-block {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 20px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text);
}

.section-head p { color: var(--text-3); font-size: .8rem; margin-top: 3px; }

.section-head > a {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red-subtle);
  border-radius: 6px;
  padding: 5px 12px;
  white-space: nowrap;
  transition: background .15s;
  flex-shrink: 0;
}

.section-head > a:hover { background: var(--red-subtle); }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

/* ── POST CARD ── */
.post-card {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: var(--red-glow);
  box-shadow: 0 8px 32px rgba(0,0,0,.35), 0 0 0 1px var(--red-subtle);
}

.post-card-img {
  display: block;
  aspect-ratio: 16/9;
  background: var(--bg-4);
  overflow: hidden;
  flex-shrink: 0;
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s, opacity .25s;
  opacity: .92;
}

.post-card:hover .post-card-img img { transform: scale(1.05); opacity: 1; }

.post-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.post-card-body h3 {
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.post-card-body h3 a:hover { color: var(--red); }

.post-card-body p {
  font-size: .82rem;
  color: var(--text-3);
  line-height: 1.5;
  flex: 1;
}

/* Compact card */
.post-card.compact { flex-direction: row; }
.post-card.compact .post-card-img { width: 110px; aspect-ratio: 1; flex-shrink: 0; }
.post-card.compact .post-card-body { padding: 12px; }
.post-card.compact p { display: none; }

/* ── TAGS ── */
.tag-row { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--bg-4);
  color: var(--text-2);
}

.tag-hot { background: var(--red); color: #fff; }
.tag-video { background: var(--bg-5); color: var(--text-2); border: 1px solid var(--line-2); }

/* ── META ── */
.meta-line {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text-3);
  font-size: .72rem;
  font-weight: 600;
}

.meta-time::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}

/* ── EMPTY SECTION ── */
.empty-section {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px;
  color: var(--text-3);
  font-size: .88rem;
  font-weight: 600;
  background: var(--bg-3);
  border-radius: 10px;
  border: 1px dashed var(--line-2);
  grid-column: 1 / -1;
}

.empty-section svg { flex-shrink: 0; opacity: .4; }

/* ── HERO GRID ── */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 260px;
  gap: 12px;
}

.hero-main {
  min-height: 460px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: var(--bg-4);
  border: 1px solid var(--line);
}

.hero-main > a { display: block; width: 100%; height: 100%; }

.hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .65;
  transition: opacity .4s, transform .6s;
}

.hero-main:hover img { opacity: .8; transform: scale(1.02); }

.hero-main::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.45) 50%, transparent 100%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(16px, 3.5vw, 28px);
  z-index: 2;
}

.hero-overlay h1 {
  margin: 10px 0 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
}

.hero-overlay h1 a { color: #fff; }
.hero-overlay h1 a:hover { color: #ffbbbb; }
.hero-overlay p { color: rgba(255,255,255,.7); font-size: .88rem; }

.hero-side { display: grid; gap: 8px; align-content: start; }

/* Breaking bar */
.breaking-bar {
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 130px 1fr;
}

.breaking-label {
  background: var(--red);
  display: grid;
  place-items: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  text-align: center;
  padding: 6px;
  line-height: 1.3;
}

.breaking-items {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 16px;
  align-items: center;
}

.breaking-items::-webkit-scrollbar { display: none; }

.breaking-items a {
  white-space: nowrap;
  color: var(--text-2);
  font-size: .84rem;
  font-weight: 600;
  transition: color .15s;
}

.breaking-items a:hover { color: var(--text); }
.breaking-items strong { color: var(--red); margin-right: 5px; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }

/* Category strip */
.category-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.category-strip a {
  display: block;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 16px 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  position: relative;
  overflow: hidden;
  transition: transform .18s, border-color .18s, background .18s;
}

.category-strip a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}

.category-strip a:hover { transform: translateY(-2px); border-color: var(--red-subtle); background: var(--bg-4); }
.category-strip a:hover::after { transform: scaleX(1); }

/* ══════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════ */
.sidebar { display: grid; gap: 16px; }

.widget {
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 18px;
}

.widget-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-title::before {
  content: '';
  display: block;
  width: 3px; height: 16px;
  background: var(--red);
  border-radius: 2px;
}

.widget-brand {
  background: linear-gradient(150deg, #140103, #0e0e0e);
  border-color: rgba(229,9,20,.15);
  text-align: left;
}

[data-theme="light"] .widget-brand {
  background: linear-gradient(150deg, #fff5f5, #fff);
  border-color: rgba(212,0,13,.12);
}

.widget-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  padding: 4px;
  margin-bottom: 12px;
  border: 1px solid var(--line-2);
}

.widget-brand h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.widget-brand p { color: var(--text-2); font-size: .84rem; line-height: 1.6; margin-bottom: 14px; }
.widget-pauta p { color: var(--text-2); font-size: .84rem; line-height: 1.6; margin-bottom: 14px; }

.mini-list { display: grid; gap: 0; }

.mini-post {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background .15s;
}

.mini-post:first-child { padding-top: 0; }
.mini-post:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-post:hover .mini-info { color: var(--red); }

.mini-num {
  display: grid;
  place-items: center;
  background: var(--bg-4);
  color: var(--text-3);
  border-radius: 6px;
  height: 28px;
  font-size: .72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.ranked .mini-num { background: var(--red); color: #fff; }

.mini-info {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  transition: color .15s;
}

.mini-info em {
  display: block;
  color: var(--text-3);
  font-style: normal;
  font-size: .7rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.sidebar-empty { color: var(--text-3); font-size: .84rem; padding: 8px 0; }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 8px;
  padding: 10px 18px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .15s;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--red-glow); background: var(--red-2); }

.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn-outline:hover { background: var(--bg-3); box-shadow: none; border-color: var(--text-3); }

.btn-wa { background: #15803d; }
.btn-wa:hover { background: #166534; box-shadow: 0 6px 20px rgba(21,128,61,.3); }

.btn-ig {
  background: var(--red);
  color: #fff;
}

.btn-ig:hover {
  background: var(--red-2);
  box-shadow: 0 6px 20px var(--red-glow);
}

/* ══════════════════════════════════════════
   ARTICLE PAGE
══════════════════════════════════════════ */
.article-shell { padding-top: 22px; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 24px;
  align-items: start;
}

.article-card {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: clamp(18px, 4vw, 32px);
}

.article-category-row { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }

.article-card h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.9rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0 0 14px;
  text-transform: uppercase;
  color: var(--text);
}

.article-subtitle {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: var(--text-2);
  margin: 0 0 20px;
  line-height: 1.6;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  padding: 0;
  flex-wrap: wrap;
}

.article-meta span {
  color: var(--text-3);
  font-size: .78rem;
  font-weight: 600;
  padding: 11px 16px;
  border-right: 1px solid var(--line);
}

.article-meta span:last-child { border-right: 0; }

.article-cover { margin: 0 0 24px; }
.article-cover img { width: 100%; border-radius: 12px; aspect-ratio: 16/9; object-fit: cover; background: var(--bg-4); }
.article-cover figcaption { color: var(--text-3); font-size: .76rem; text-align: center; margin-top: 8px; }

.article-body { font-size: 1.02rem; color: var(--text-2); line-height: 1.85; }
.article-body p { margin: 0 0 1.4em; }
.article-body a { color: var(--red); font-weight: 700; border-bottom: 1px solid var(--red-subtle); }
.article-body a:hover { border-color: var(--red); }
.article-body h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 900; text-transform: uppercase; color: var(--text); margin: 1.6em 0 .6em; }
.article-body h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; font-weight: 900; text-transform: uppercase; color: var(--text); margin: 1.2em 0 .5em; }
.article-body blockquote { margin: 28px 0; border-left: 4px solid var(--red); padding: 16px 20px; background: var(--bg-3); border-radius: 0 10px 10px 0; border: 1px solid var(--line); border-left: 4px solid var(--red); font-size: 1.05rem; font-weight: 700; color: var(--text); }
.article-body ul, .article-body ol { padding-left: 20px; margin-bottom: 1.2em; }
.article-body li { margin-bottom: 5px; }
.article-body strong { color: var(--text); font-weight: 800; }

.continue-ad {
  color: var(--text-3);
  text-align: center;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 28px 0 8px !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.continue-ad::before, .continue-ad::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.video-callout { background: var(--bg-3); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 24px 0; }
.video-callout strong { font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 900; text-transform: uppercase; color: var(--text); }
.video-callout a { background: var(--red); color: #fff; border-radius: 7px; padding: 9px 16px; font-weight: 700; font-size: .8rem; text-transform: uppercase; transition: background .15s; }
.video-callout a:hover { background: var(--red-2); }

.share-panel { display: flex; flex-wrap: wrap; gap: 9px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 28px; }

.comments-box, .related-box {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 22px;
  margin-top: 16px;
}

.comments-box h2, .related-box h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.comments-box h2::before, .related-box h2::before { content: ''; display: block; width: 3px; height: 20px; background: var(--red); border-radius: 2px; }

.comment-warning { color: var(--text-3); font-size: .83rem; margin-bottom: 16px; }
.comment-form { display: grid; gap: 10px; }
.comment-form input, .comment-form textarea { border: 1px solid var(--line-2); border-radius: 9px; padding: 11px 14px; width: 100%; outline: 0; background: var(--bg-3); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.comment-form input::placeholder, .comment-form textarea::placeholder { color: var(--text-3); }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-subtle); }
.comment-form textarea { min-height: 110px; resize: vertical; }
.comment-form small { color: var(--text-3); font-size: .76rem; font-weight: 600; }
.comments-list { display: grid; gap: 10px; margin-top: 18px; }
.comment { background: var(--bg-3); border-radius: 10px; border: 1px solid var(--line); padding: 14px; }
.comment strong { font-weight: 800; color: var(--text); font-size: .88rem; }
.comment p { margin: 5px 0 0; color: var(--text-2); font-size: .88rem; line-height: 1.6; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 4px; }

/* ══════════════════════════════════════════
   CATEGORY / SEARCH PAGE
══════════════════════════════════════════ */
.page-hero {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  margin-top: 24px;
  border-top: 3px solid var(--red);
}

.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
}

.page-hero p { color: var(--text-3); font-size: .92rem; margin-top: 7px; }

/* ══════════════════════════════════════════
   STATIC PAGES (contato, anunciar)
══════════════════════════════════════════ */
.static-content {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 28px 24px;
  display: grid;
  gap: 16px;
}

.static-content h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 2.4rem; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; color: var(--text); }
.static-content h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; color: var(--text); }
.static-content p { color: var(--text-2); line-height: 1.7; font-size: .92rem; }
.static-content ul { color: var(--text-2); padding-left: 16px; }
.static-content li { margin-bottom: 6px; font-size: .92rem; }

.form-card {
  background: var(--bg-3);
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 20px;
}

.form-card h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 900; text-transform: uppercase; color: var(--text); margin-bottom: 8px; }
.form-card p { color: var(--text-2); font-size: .88rem; line-height: 1.6; margin-bottom: 14px; }
.form-card ul { color: var(--text-2); font-size: .88rem; line-height: 1.6; padding-left: 16px; }
.form-card li { margin-bottom: 5px; }

/* ══════════════════════════════════════════
   FORMS
══════════════════════════════════════════ */
.form-grid { display: grid; gap: 12px; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; border: 1px solid var(--line-2); border-radius: 9px; padding: 11px 14px; outline: 0; background: var(--bg-3); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-subtle); }
.form-grid textarea { min-height: 120px; resize: vertical; }
.form-feedback { color: var(--text-3); font-weight: 600; font-size: .85rem; }

/* ══════════════════════════════════════════
   LAUNCH HERO (quando não há posts)
══════════════════════════════════════════ */
.hero-empty {
  grid-column: 1 / -1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.hero-empty img { width: 72px; height: 72px; object-fit: contain; border-radius: 16px; background: var(--bg-3); padding: 10px; opacity: .7; }
.hero-empty h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 900; text-transform: uppercase; color: var(--text); }
.hero-empty p { color: var(--text-3); font-size: .9rem; max-width: 400px; line-height: 1.6; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  margin-top: 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding: 40px 0;
}

.footer-about { display: grid; gap: 12px; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 9px; background: var(--bg-3); padding: 4px; }
.footer-brand strong { font-family: 'Barlow Condensed', sans-serif; font-size: 1.25rem; font-weight: 900; text-transform: uppercase; color: var(--text); }

.footer-about p { color: var(--text-3); font-size: .84rem; line-height: 1.7; }

.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-2);
  transition: background .15s, color .15s, border-color .15s;
}

.social-link:hover { background: var(--bg-4); color: var(--text); border-color: var(--line-2); }
.social-wa:hover { border-color: #15803d; color: #22c55e; }

.footer-col h4 {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  margin-bottom: 14px;
}

.footer-col nav { display: grid; gap: 8px; }
.footer-col nav a { color: var(--text-3); font-size: .86rem; font-weight: 600; transition: color .15s; }
.footer-col nav a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 50px;
}

.footer-bottom-inner span { color: var(--text-3); font-size: .78rem; font-weight: 600; }

.theme-btn-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 7px;
  padding: 6px 12px;
  color: var(--text-2);
  font-size: .76rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.theme-btn-footer:hover { background: var(--bg-4); color: var(--text); }

/* ══════════════════════════════════════════
   ADMIN / LOGIN
══════════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg);
  padding: 20px;
}

.login-card {
  width: min(440px, 100%);
  background: var(--card);
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--red);
}

.login-card img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: var(--bg-3); padding: 6px; margin-bottom: 14px; }
.login-card h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.9rem; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; margin: 0 0 6px; color: var(--text); }
.login-card p { color: var(--text-3); font-size: .88rem; margin-bottom: 20px; line-height: 1.6; }

.admin-body { background: var(--bg); }

.admin-topbar {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-topbar .site-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.admin-brand { display: flex; align-items: center; gap: 10px; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text); }
.admin-brand img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; background: var(--bg-3); }

.admin-actions { display: flex; gap: 8px; }

.admin-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 20px; padding: 20px 0 56px; align-items: start; }

.admin-sidebar { background: var(--card); border-radius: 14px; border: 1px solid var(--line); padding: 10px; position: sticky; top: 80px; height: fit-content; }

.admin-sidebar a { display: flex; align-items: center; padding: 10px 12px; border-radius: 8px; color: var(--text-2); font-weight: 600; font-size: .86rem; transition: background .15s, color .15s; }
.admin-sidebar a:hover { color: var(--text); background: var(--bg-3); }

.admin-main { display: grid; gap: 16px; }

.admin-card { background: var(--card); border-radius: 16px; border: 1px solid var(--line); padding: 22px; }
.admin-card h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 18px; color: var(--text); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.stat-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: 12px; padding: 18px; border-top: 2px solid var(--red); }
.stat-card span { display: block; color: var(--text-3); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.stat-card strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 2.2rem; font-weight: 900; line-height: 1; color: var(--text); }

.admin-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.admin-form-grid .full { grid-column: 1/-1; }

.admin-form-grid label { display: grid; gap: 5px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-3); }

.admin-form-grid input, .admin-form-grid textarea, .admin-form-grid select { border: 1px solid var(--line-2); border-radius: 9px; padding: 10px 13px; width: 100%; outline: 0; background: var(--bg-3); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.admin-form-grid input::placeholder, .admin-form-grid textarea::placeholder { color: var(--text-3); }
.admin-form-grid input:focus, .admin-form-grid textarea:focus, .admin-form-grid select:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-subtle); }
.admin-form-grid textarea { min-height: 240px; resize: vertical; font-family: ui-monospace, monospace; font-size: .84rem; }
.admin-form-grid select option { background: var(--bg-3); }

.checkbox-line { display: flex !important; flex-direction: row !important; align-items: center; gap: 9px !important; }
.checkbox-line input { width: auto; accent-color: var(--red); }

.preview-img { width: 100%; max-height: 210px; object-fit: cover; border-radius: 10px; background: var(--bg-3); border: 1px solid var(--line); }

.admin-actions-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }

.admin-table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--line); margin-top: 14px; }

.admin-table { width: 100%; border-collapse: collapse; min-width: 700px; }

.admin-table th { text-align: left; background: var(--bg-3); color: var(--text-3); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding: 11px 14px; border-bottom: 1px solid var(--line); }

.admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: .86rem; vertical-align: top; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: var(--bg-3); }
.admin-table td strong { color: var(--text); font-weight: 700; display: block; }
.admin-table td small { display: block; color: var(--text-3); margin-top: 2px; font-size: .76rem; }

.status-pill { display: inline-flex; padding: 3px 9px; border-radius: 5px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--bg-4); color: var(--text-3); }
.status-pill.published { background: rgba(21,128,61,.15); color: #22c55e; }
.status-pill.draft { background: rgba(245,158,11,.12); color: #f59e0b; }

.table-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.table-actions button, .table-actions a { border: 1px solid var(--line-2); background: var(--bg-4); color: var(--text-2); border-radius: 6px; padding: 5px 11px; cursor: pointer; font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; transition: background .15s, color .15s; }
.table-actions button:hover { background: var(--bg-5); color: var(--text); }
.table-actions .danger { background: rgba(229,9,20,.08); color: var(--red); border-color: var(--red-subtle); }
.table-actions .danger:hover { background: var(--red); color: #fff; }

.admin-toast { position: fixed; right: 18px; bottom: 18px; background: var(--card); border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; padding: 13px 18px; box-shadow: var(--shadow-lg); transform: translateY(100px); opacity: 0; transition: transform .25s ease, opacity .25s ease; z-index: 999; font-weight: 700; font-size: .88rem; max-width: 300px; }
.admin-toast.show { transform: translateY(0); opacity: 1; }
.admin-toast.success { background: rgba(21,128,61,.9); border-color: rgba(34,197,94,.2); color: #fff; }
.admin-toast.error { background: rgba(229,9,20,.9); border-color: rgba(229,9,20,.2); color: #fff; }

.loading { opacity: .5; pointer-events: none; }

/* ══════════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-5); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }
