/*
Theme Name: Progressus
Theme URI: https://canalprogressus.com.br
Author: Progressus
Description: Tema oficial do canal Progressus - Desenvolvimento Pessoal, Lei da Atração e Transurfing.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: progressus
*/

/* ========================================
   RESET & BASE
======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0d0d0d;
  --bg2:       #111827;
  --gold:      #D4AF37;
  --gold-lt:   #f0d060;
  --purple:    #6b21a8;
  --text:      #e8e8e8;
  --muted:     #9ca3af;
  --white:     #ffffff;
  --radius:    8px;
  --max-w:     1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-lt); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   HEADER
======================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-logo img { height: 54px; width: auto; }
.site-logo .site-title-text {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* NAV */
.main-nav ul { display: flex; gap: 32px; list-style: none; }
.main-nav a {
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color .2s;
}
.main-nav a:hover,
.main-nav .current-menu-item a { color: var(--gold); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--text); margin: 5px 0; transition: .3s;
}

/* ========================================
   HERO
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://canalprogressus.com.br/wp-content/uploads/2026/07/so_fundo.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(13,13,13,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
}

.hero-logo { width: 160px; margin: 0 auto 24px; }

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--gold);
  letter-spacing: 8px;
  text-transform: uppercase;
  text-shadow: 0 0 40px rgba(212,175,55,0.5);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all .3s;
}

.btn-gold {
  background: var(--gold);
  color: #000;
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #000;
}

/* ========================================
   SECTION BASES
======================================== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg2); }

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--gold);
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-divider {
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 0 auto 48px;
}

/* ========================================
   POSTS GRID
======================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.post-card {
  background: var(--bg2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.15);
  transition: transform .3s, border-color .3s;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.5);
}

.post-card-img { aspect-ratio: 16/9; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-img img { transform: scale(1.05); }

.post-card-body { padding: 24px; }

.post-card-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}

.post-card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--gold); }

.post-card-excerpt { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}
.read-more:hover { color: var(--gold-lt); }

.yt-badge {
  background: rgba(255,0,0,0.15);
  border: 1px solid rgba(255,0,0,0.3);
  color: #ff4444;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 4px;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold);
  margin-bottom: 20px;
}

.about-text { color: var(--muted); margin-bottom: 32px; line-height: 1.8; }

.stats-row { display: flex; gap: 40px; }
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
}
.stat-label { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.2);
}

/* ========================================
   ADSENSE SLOTS
======================================== */
.ad-slot {
  text-align: center;
  padding: 16px 0;
  min-height: 90px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius);
  margin: 32px 0;
}

.ad-slot-banner { min-height: 90px; }
.ad-slot-rect   { min-height: 250px; }

/* ========================================
   SINGLE POST
======================================== */
.post-header { padding: 140px 0 60px; text-align: center; }

.post-header-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.post-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 32px;
  line-height: 1.3;
}

.post-featured-img {
  max-width: 900px;
  margin: 0 auto 48px;
  border-radius: var(--radius);
  overflow: hidden;
}

.post-content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.post-content h2, .post-content h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  margin: 32px 0 16px;
}
.post-content h2 { font-size: 1.5rem; }
.post-content h3 { font-size: 1.2rem; }

.post-content p { margin-bottom: 20px; color: var(--muted); }
.post-content strong { color: var(--text); }

.post-content ul, .post-content ol {
  margin: 16px 0 20px 24px;
  color: var(--muted);
}
.post-content li { margin-bottom: 8px; }

.post-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 12px 24px;
  margin: 24px 0;
  background: rgba(212,175,55,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--gold-lt);
}

/* YouTube embed */
.yt-embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 32px 0;
}
.yt-embed-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Sidebar */
.post-sidebar { }
.sidebar-widget { margin-bottom: 32px; }
.sidebar-widget-title {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212,175,55,0.3);
}

/* Post tags */
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.post-tag {
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: #060606;
  border-top: 1px solid rgba(212,175,55,0.15);
  padding: 60px 0 32px;
}

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

.footer-brand .footer-logo { height: 50px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 280px; }

.footer-col-title {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--muted); font-size: 0.9rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }

.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold);
  transition: all .2s;
}
.social-btn:hover { background: var(--gold); color: #000; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ========================================
   VIDEOS PAGE
======================================== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.video-card {
  background: var(--bg2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.15);
  transition: transform .3s;
}
.video-card:hover { transform: translateY(-4px); }

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.4);
  transition: background .2s;
}
.play-btn:hover { background: rgba(0,0,0,0.6); }
.play-icon {
  width: 56px; height: 56px;
  background: rgba(212,175,55,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.play-icon svg { fill: #000; width: 20px; }

.video-body { padding: 20px; }
.video-title { font-family: 'Cinzel', serif; color: var(--white); font-size: 0.95rem; line-height: 1.4; }
.video-title a { color: inherit; }
.video-title a:hover { color: var(--gold); }

/* ========================================
   PAGE TEMPLATES
======================================== */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(107,33,168,0.15), transparent);
}
.page-header-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--gold);
  letter-spacing: 4px;
}

.page-content-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}
.page-content p { color: var(--muted); margin-bottom: 20px; }

/* ========================================
   PAGINATION
======================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
}
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--bg2);
  border: 1px solid rgba(212,175,55,0.2);
  color: var(--text);
  transition: all .2s;
}
.pagination .current,
.pagination a:hover { background: var(--gold); color: #000; border-color: var(--gold); }

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .post-content-wrap { grid-template-columns: 1fr; }
  .post-sidebar { display: none; }
  .stats-row { gap: 24px; }
  .main-nav { display: none; position: fixed; inset: 0; top: 82px; background: rgba(10,10,10,0.98); flex-direction: column; align-items: center; justify-content: center; }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 24px; text-align: center; }
  .main-nav a { font-size: 1.3rem; }
  .nav-toggle { display: block; }
}


/* ========================================
   CTA VIDEO BLOCK (used by blog posts)
======================================== */
.cta-video {
  background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(107,33,168,0.1));
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: var(--radius);
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}

.cta-video h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.cta-video p {
  color: var(--muted);
  margin-bottom: 20px;
}

.cta-video .btn {
  display: inline-block;
}

/* YouTube embed responsive */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 32px 0;
  border-radius: var(--radius);
}

.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
