/*
Theme Name: Liberdade Financeira Desenhada
Theme URI: https://liberdadefinanceiradesenhada.com
Author: Liberdade Financeira Desenhada
Description: Tema oficial do canal Liberdade Financeira Desenhada
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: lfd
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --preto: #111111;
  --amarelo: #F5C400;
  --amarelo-escuro: #C99A00;
  --branco: #FFFFFF;
  --cinza-claro: #F5F5F0;
  --cinza-medio: #E8E8E0;
  --cinza-texto: #555550;
}
body {
  font-family: 'Nunito', sans-serif;
  background: var(--branco);
  color: var(--preto);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(17,17,17,0.97);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  border-bottom: 2px solid var(--amarelo);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--branco);
  letter-spacing: 1px;
}
.nav-logo span { color: var(--amarelo); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--amarelo); }
.nav-cta {
  background: var(--amarelo);
  color: var(--preto) !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 800 !important;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--preto);
  display: flex;
  align-items: center;
  padding: 80px 5% 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg-lines {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(245,196,0,0.04) 60px, rgba(245,196,0,0.04) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(245,196,0,0.04) 60px, rgba(245,196,0,0.04) 61px);
  pointer-events: none;
}
.hero-logo-wrap {
  position: absolute;
  width: 520px; height: 520px;
  right: 5%; top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 30px rgba(245,196,0,0.2));
}
@media (max-width: 900px) {
  .hero-logo-wrap { display: none; }
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 600px;
}
.hero-tag {
  display: inline-block;
  background: var(--amarelo);
  color: var(--preto);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 8vw, 88px);
  line-height: 0.95;
  color: var(--branco);
  margin-bottom: 0.5rem;
}
.hero-title .destaque {
  color: var(--amarelo);
  display: block;
  position: relative;
}
.hero-title .destaque::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 4px;
  background: var(--amarelo);
  opacity: 0.4;
}
.hero-sub {
  color: rgba(255,255,255,0.6);
  font-size: 17px;
  line-height: 1.7;
  margin: 1.5rem 0 2.5rem;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--amarelo);
  color: var(--preto);
  border: none;
  padding: 14px 28px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s, background 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary:hover { background: #FFD740; transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--branco);
  border: 2px solid rgba(255,255,255,0.3);
  padding: 14px 28px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.15s;
  text-transform: uppercase;
}
.btn-secondary:hover { border-color: var(--amarelo); color: var(--amarelo); }
.hero-stats {
  display: flex; gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--amarelo);
  display: block;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* SEÇÕES */
.section { padding: 90px 5%; }
.section-dark { background: var(--preto); }
.section-light { background: var(--cinza-claro); }
.section-white { background: var(--branco); }

.section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amarelo-escuro);
  margin-bottom: 0.75rem;
  display: block;
}
.section-dark .section-label { color: var(--amarelo); }
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--preto);
}
.section-dark .section-title { color: var(--branco); }
.section-sub {
  font-size: 16px;
  color: var(--cinza-texto);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}
.section-dark .section-sub { color: rgba(255,255,255,0.55); }

/* PILARES */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5px;
  background: rgba(245,196,0,0.15);
}
.pilar-card {
  background: var(--preto);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}
.pilar-card:hover { background: #1a1a1a; }
.pilar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--amarelo);
  transition: height 0.3s;
}
.pilar-card:hover::before { height: 100%; }
.pilar-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: rgba(245,196,0,0.12);
  line-height: 1;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.pilar-card:hover .pilar-num { color: rgba(245,196,0,0.25); }
.pilar-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--amarelo);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}
.pilar-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* SOBRE */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
  align-items: center;
}
.sobre-img-wrap { position: relative; }
.sobre-img-placeholder {
  background: var(--cinza-medio);
  border: 3px solid var(--preto);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.sketch-overlay {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(17,17,17,0.04) 10px, rgba(17,17,17,0.04) 11px);
}
.sobre-img-label {
  position: absolute;
  bottom: -1px; left: -1px; right: -1px;
  background: var(--preto);
  color: var(--amarelo);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  text-align: center;
  padding: 12px;
  letter-spacing: 2px;
}
.sobre-img-inner {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 100px;
  color: rgba(17,17,17,0.08);
  z-index: 1;
}
.sobre-accent {
  position: absolute;
  top: -12px; right: -12px;
  width: 80px; height: 80px;
  background: var(--amarelo);
  z-index: -1;
}
.sobre-check-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sobre-check-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--cinza-texto);
  align-items: flex-start;
}
.check-icon {
  width: 20px; height: 20px;
  background: var(--amarelo);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
  color: var(--preto);
}

/* CONTEUDO */
.conteudo-tabs {
  display: flex; gap: 0;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--cinza-medio);
}
.tab-btn {
  background: none;
  border: none;
  padding: 12px 24px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--cinza-texto);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.tab-btn.active {
  color: var(--preto);
  border-bottom-color: var(--amarelo);
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.video-card {
  background: var(--branco);
  border: 1.5px solid var(--cinza-medio);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.video-card:hover { transform: translateY(-4px); border-color: var(--amarelo); }
.video-thumb {
  aspect-ratio: 16/9;
  background: var(--preto);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.video-thumb-bg {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, #111, #111 10px, #1a1a1a 10px, #1a1a1a 20px);
}
.play-btn {
  width: 44px; height: 44px;
  background: var(--amarelo);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  font-size: 16px;
}
.video-tag {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--amarelo);
  color: var(--preto);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  z-index: 1;
}
.video-info { padding: 1rem; }
.video-titulo {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  color: var(--preto);
  margin-bottom: 6px;
}
.video-meta {
  font-size: 12px;
  color: var(--cinza-texto);
  display: flex;
  gap: 12px;
}

/* CTA */
.cta-section {
  background: var(--amarelo);
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: 'LIBERDADE';
  position: absolute;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 200px;
  color: rgba(17,17,17,0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}
.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 6vw, 70px);
  color: var(--preto);
  line-height: 1;
  margin-bottom: 1rem;
  position: relative;
}
.cta-sub {
  font-size: 17px;
  color: rgba(17,17,17,0.7);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
}
.btn-dark {
  background: var(--preto);
  color: var(--amarelo);
  border: none;
  padding: 16px 36px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.15s;
  position: relative;
}
.btn-dark:hover { transform: scale(1.03); }

/* PLATAFORMAS */
.plataformas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5px;
  background: var(--cinza-medio);
  margin-top: 2rem;
}
.plat-card {
  background: var(--branco);
  padding: 2rem 1rem;
  text-align: center;
  transition: background 0.2s;
  cursor: pointer;
}
.plat-card:hover { background: var(--cinza-claro); }
.plat-icon { font-size: 32px; margin-bottom: 8px; }
.plat-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--preto);
  letter-spacing: 1px;
}
.plat-handle {
  font-size: 12px;
  color: var(--cinza-texto);
  margin-top: 4px;
}

/* FOOTER */
footer {
  background: var(--preto);
  padding: 3rem 5% 2rem;
  border-top: 2px solid var(--amarelo);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--branco);
}
.footer-logo span { color: var(--amarelo); }
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
}
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--amarelo); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.footer-copy span { color: var(--amarelo); }

@media (max-width: 700px) {
  .sobre-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .nav-links { display: none; }
}
