/* styles.css — O Mesmo Fogo (Black / Premium) */

/* =========================
   ROOT / BASE
========================= */
:root{
  --bg:#0E0E11;
  --surface:#151519;
  --text:#F5F3EF;
  --muted:#A6A3A0;
  --line:#2A2A30;
  --accent:#D6A96B;
  --radius:22px;
  --max:1100px;

  /* Premium extras */
  --shadow: 0 30px 80px rgba(0,0,0,.45);
  --shadowSoft: 0 18px 55px rgba(0,0,0,.35);
  --blur: 10px;

  /* Sticky */
  --stickyTop: 14px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:"Montserrat",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

/* ================================
   COR DOS LINKS NO SITE INTEIRO
   (inclui FAQ, posts, menus, etc.)
   ================================ */

/* Remove o roxo (visited) e padroniza links */
a,
a:visited{
  color: rgba(245,243,239,.78);
  text-decoration: none;
}

/* Hover/focus premium */
a:hover,
a:focus{
  color: rgba(214,169,107,.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Acessibilidade */
a:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(214,169,107,.14);
  border-radius: 6px;
}

/* Se o tema estiver forçando roxo em algum lugar */
a:active{
  color: rgba(214,169,107,.95);
}

/* Layout wrapper */
.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:50px 22px 70px;
}

/* Accessibility helper */
.sr-only{
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* Anchor offset for internal jumps */
.section-anchor{ scroll-margin-top: 90px; }

/* =========================
   HERO
========================= */
.hero{
  text-align:center;
  margin-bottom:60px;
}

.hero-logo{
  width:360px;
  height:210px;
  background:#000;
  border-radius:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 26px;
  box-shadow:0 30px 80px rgba(0,0,0,.6);
}
.hero-logo img{
  max-height:140px;
  width:auto;
}

.hero-title{
  font-family:"Playfair Display",serif;
  font-size:clamp(38px,5vw,60px);
  margin:0 0 10px;
  letter-spacing:-0.02em;
}
.hero-sub{
  font-size:18px;
  color:var(--muted);
  margin:0;
}

/* =========================
   TOP BAR (STICKY / SHORT)
   - Mark left, icons right
========================= */
.top-bar{
  position: sticky;
  top: var(--stickyTop);
  z-index: 50;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;

  width: fit-content;
  max-width: calc(100% - 16px);
  margin: 0 auto 18px;
  padding: 10px 12px;

  background: rgba(14,14,17,.55);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 999px;

  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}

.mark{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:var(--muted);
  white-space: nowrap;
  padding-left: 6px;
}

.dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 12px rgba(214,169,107,.6);
}

/* Icon-only channel nav */
.nav{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  padding-right: 6px;
}

.nav a{
  width:42px;
  height:42px;
  padding:0;
  border-radius:999px;
  border:1px solid var(--line);
  background:#111114;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:rgba(245,243,239,.70);
  transition:.2s ease;
  position:relative;
}

.nav a:hover{
  border-color: rgba(214,169,107,.9);
  color: var(--accent);
  box-shadow: 0 0 0 4px rgba(214,169,107,.10);
}

.nav a svg{
  width:18px;
  height:18px;
}

/* Quick internal anchors */
.quick-nav{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin: 8px 0 22px;
}
.quick-nav a{
  padding:8px 12px;
  border-radius:16px;
  border:1px solid var(--line);
  text-decoration:none;
  font-size:13px;
  color:rgba(245,243,239,.70);
  background:#111114;
  transition:.18s ease;
}
.quick-nav a:hover{
  border-color:var(--accent);
  color:var(--accent);
}

/* Mobile: sticky becomes full width */
@media(max-width:900px){
  .top-bar{
    width: 100%;
    max-width: 100%;
    border-radius: 22px;
    padding: 10px 10px;
    margin: 0 auto 18px;
  }
}

/* =========================
   GRID
========================= */
.grid{
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:28px;
}
@media(max-width:900px){
  .grid{ grid-template-columns:1fr; }
}

/* =========================
   CARDS (Premium glass)
========================= */
.card{
  background: rgba(21,21,25,.86);
  border:1px solid rgba(255,255,255,.06);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.card-inner{
  padding:45px;
}
@media(max-width:900px){
  .card-inner{ padding:30px; }
}

h2{
  font-family:"Playfair Display",serif;
  margin:0 0 14px;
  font-size:26px;
}

p{
  color:var(--muted);
  margin:0 0 18px;
}

.kicker{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(245,243,239,.55);
  margin:0 0 10px;
}

.hr{
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(214,169,107,.35), transparent);
  border:0;
  margin:26px 0;
}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  border-radius:20px;
  background:var(--accent);
  color:#000;
  text-decoration:none;
  font-weight:700;
  margin-right:12px;
  transition:.2s ease;
  border:1px solid rgba(214,169,107,.55);
}
.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(214,169,107,.25);
}

.btn.secondary{
  background:transparent;
  border:1px solid var(--line);
  color:var(--muted);
}
.btn.secondary:hover{
  border-color: rgba(214,169,107,.45);
  color: rgba(245,243,239,.85);
  box-shadow:none;
}

/* =========================
   SIDEBAR PILLS
========================= */
.pill{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid var(--line);
  text-decoration:none;
  font-size:14px;
  color:var(--muted);
  margin-bottom:12px;
  background:#111114;
  transition:.18s ease;
}

.pill .left{
  display:inline-flex;
  gap:10px;
  align-items:center;
}

.pill:hover{
  border-color:var(--accent);
  color:var(--accent);
}

/* =========================
   ICONS (inline SVG)
========================= */
.ico{
  width:16px;
  height:16px;
  display:inline-block;
  vertical-align:middle;
}

/* =========================
   EPISODES
========================= */
.episodes{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-top:10px;
}

.ep-card{
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;
  padding:16px 16px;
  background: rgba(17,17,20,.92);
  box-shadow: var(--shadowSoft);
}

.ep-title{
  margin:0 0 8px;
  font-weight:700;
  color:var(--text);
}

.ep-desc{
  margin:0;
  color:rgba(166,163,160,.95);
  font-weight:500;
}

.ep-video{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  margin-top:14px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.06);
  background:#000;
}
.ep-video iframe{
  width:100%;
  height:100%;
  border:0;
}

.ep-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
.ep-actions a{
  padding:8px 12px;
  border-radius:16px;
  border:1px solid var(--line);
  text-decoration:none;
  font-size:13px;
  color:var(--muted);
  background:transparent;
  transition:.18s ease;
}
.ep-actions a:hover{
  border-color:var(--accent);
  color:var(--accent);
}

/* =========================
   NEWSLETTER (Substack embed)
========================= */
.newsletter{
  margin-top:18px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;
  background: rgba(17,17,20,.92);
  padding:16px;
  box-shadow: var(--shadowSoft);
}

.newsletter h3{
  margin:0 0 6px;
  font-size:16px;
  color:var(--text);
  font-weight:700;
}

.newsletter p{
  margin:0 0 12px;
  color:rgba(166,163,160,.95);
  font-weight:500;
  font-size:14px;
}

.newsletter-embed{
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:#ffffff; /* cartão branco intencional */
}

/* iframe responsive */
.newsletter-embed iframe{
  width:100%;
  max-width:560px;
  height:150px;
  border:0;
  display:block;
  margin:0 auto;
  background:#ffffff;
}

/* =========================
   FAQ
========================= */
.faq{
  margin-top:10px;
  display:grid;
  gap:12px;
}

.faq details{
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;
  background: rgba(17,17,20,.92);
  padding:12px 14px;
  box-shadow: var(--shadowSoft);
}

.faq summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-weight:700;
  color:var(--text);
}
.faq summary::-webkit-details-marker{ display:none; }

.faq .ans{
  margin-top:10px;
  color: rgba(166,163,160,.98);
  font-weight:500;
}
.faq .ans strong{
  color: rgba(245,243,239,.88);
}

/* =========================
   FOOTER
========================= */
footer{
  margin-top:70px;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.06);
  text-align:center;
  font-size:13px;
  color:var(--muted);
}

.footer-links{
  margin-top:14px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.footer-links a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:18px;
  border:1px solid var(--line);
  text-decoration:none;
  font-size:12px;
  color:var(--muted);
  background:transparent;
  transition:.18s ease;
}
.footer-links a:hover{
  border-color:var(--accent);
  color:var(--accent);
}

/* =========================
   SMALL POLISH
========================= */
.card-inner > h2 + p{
  margin-top:-4px;
}

/* Make long text nicer */
.card-inner p{
  text-wrap: pretty;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce){
  *{
    scroll-behavior:auto !important;
    transition:none !important;
  }
}

/* ==========================================
   PATCH — FORÇAR COR DE LINKS (NORMAL + VISITED)
   Cole no FINAL do styles.css
   ========================================== */

/* Regra global forte */
a:link,
a:visited{
  color: rgba(245,243,239,.78) !important;
  text-decoration: none !important;
}

/* Hover/focus global */
a:hover,
a:focus{
  color: rgba(214,169,107,.95) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* Componentes do seu layout (garante que visited não fique roxo) */
.nav a:link, .nav a:visited,
.quick-nav a:link, .quick-nav a:visited,
.ep-actions a:link, .ep-actions a:visited,
.footer-links a:link, .footer-links a:visited,
.pill:link, .pill:visited,
.btn:link, .btn:visited{
  color: rgba(245,243,239,.78) !important;
  text-decoration: none !important;
}

/* Hover dos componentes */
.nav a:hover,
.quick-nav a:hover,
.ep-actions a:hover,
.footer-links a:hover,
.pill:hover,
.btn:hover{
  color: rgba(214,169,107,.95) !important;
}

/* =========================================================
   FIX DEFINITIVO — REMOVE ROXO (:visited) EM TODO O SITE
   (cole no FINAL do CSS que carrega por último)
   ========================================================= */

html body a:link,
html body a:visited,
html body a:active{
  color: rgba(245,243,239,.78) !important;
  text-decoration: none !important;
}

html body a:hover,
html body a:focus{
  color: rgba(214,169,107,.95) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* Cobertura extra (rodapé + FAQ + conteúdo) */
html body footer a:link,
html body footer a:visited,
html body .faq a:link,
html body .faq a:visited,
html body .card a:link,
html body .card a:visited,
html body .wrap a:link,
html body .wrap a:visited{
  color: rgba(245,243,239,.78) !important;
}

/* Se o tema estiver forçando cor por seletor específico */
html body .footer-links a:link,
html body .footer-links a:visited,
html body .ep-actions a:link,
html body .ep-actions a:visited,
html body .quick-nav a:link,
html body .quick-nav a:visited,
html body .nav a:link,
html body .nav a:visited{
  color: rgba(245,243,239,.78) !important;
  
  
}

