/* ═══════════════════════════════════════════════════════════════
   CHANCE TREINAMENTOS main.css
   Design System: Preto · Branco · Dourado
═══════════════════════════════════════════════════════════════ */

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #A07830;
  --black: #0A0A0A;
  --black-mid: #141414;
  --black-soft: #1E1E1E;
  --gray-dark: #2A2A2A;
  --gray-mid: #555;
  --gray-light: #999;
  --white: #FFFFFF;
  --white-soft: #F5F5F0;
  --font-display: 'DM Serif Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-condensed: 'Oswald', sans-serif;
  --transition: all 0.3s ease;
  --shadow-gold: 0 8px 30px rgba(201,168,76,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }

/* ── TYPOGRAPHY ── */
.section-label {
  font-family: var(--font-condensed);
  font-size: 11px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px; display: block;
}
.gold-line { width: 60px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); margin-bottom: 24px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(32px,4vw,52px); font-weight: 900; line-height: 1.1; margin-bottom: 16px; }
.section-header p { color: var(--gray-light); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--black);
  font-family: var(--font-condensed); font-weight: 700;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  padding: 16px 36px; border: none; cursor: pointer;
  transition: var(--transition);
  clip-path: polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); color: var(--black); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--font-condensed); font-weight: 700;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  padding: 16px 36px; transition: var(--transition);
}
.btn-outline:hover { background: var(--gold); color: var(--black); }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: var(--white);
  font-family: var(--font-condensed); font-weight: 700;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 28px; transition: var(--transition);
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); color: var(--white); }

/* ── NAVIGATION ── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,10,0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: var(--transition);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 40px; height: 72px; }
.site-logo { display: flex; align-items: center; gap: 12px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-family: var(--font-condensed); font-weight: 700; font-size: 20px; letter-spacing: 3px; color: var(--white); }
.logo-sub  { font-family: var(--font-condensed); font-size: 9px; letter-spacing: 4px; color: var(--gold); text-transform: uppercase; }

#primary-menu { display: flex; align-items: center; gap: 28px; list-style: none; }
#primary-menu a { color: var(--gray-light); font-size: 12px; letter-spacing: 1px; font-weight: 500; text-transform: uppercase; transition: color 0.3s; padding: 4px 0; }
#primary-menu a:hover,
#primary-menu .current-menu-item > a,
#primary-menu .current_page_item > a { color: var(--gold); }
.menu-cta a {
  border: 1px solid var(--gold) !important; color: var(--gold) !important;
  padding: 8px 20px !important; font-family: var(--font-condensed) !important;
  font-weight: 700 !important; font-size: 12px !important; letter-spacing: 2px !important;
  transition: all 0.3s !important;
}
.menu-cta a:hover { background: var(--gold) !important; color: var(--black) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--gold); display: block; transition: all 0.3s; }

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--black); z-index: 999; padding: 40px;
  flex-direction: column; gap: 20px;
  border-top: 1px solid rgba(201,168,76,0.15); overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--white); font-family: var(--font-condensed);
  font-size: 22px; letter-spacing: 2px; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 18px;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ── STRIP ── */
.ticker-strip { background: var(--gold); padding: 16px 0; overflow: hidden; }
.ticker-inner { display: flex; gap: 60px; white-space: nowrap; animation: ticker 30s linear infinite; }
.ticker-item { font-family: var(--font-condensed); font-weight: 700; font-size: 13px; letter-spacing: 3px; color: var(--black); text-transform: uppercase; display: flex; align-items: center; gap: 20px; }
.ticker-item::after { content: "◆"; font-size: 8px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── FOOTER ── */
#site-footer { background: var(--black-mid); border-top: 1px solid rgba(201,168,76,0.15); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--white); font-size: 13px; line-height: 1.7; margin-top: 16px; max-width: 260px; }
.footer-col h4 { font-family: var(--font-condensed); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--white); font-size: 13px; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--white); }

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 500;
  width: 44px; height: 44px; background: var(--gold); color: var(--black);
  border: none; cursor: pointer; display: none; align-items: center;
  justify-content: center; font-size: 18px; font-weight: bold;
  transition: var(--transition);
  clip-path: polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px));
}
#back-to-top:hover { background: var(--gold-light); }
#back-to-top.show { display: flex; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  min-height: 55vh; display: flex; align-items: center;
  padding-top: 72px; background: var(--black); position: relative; overflow: hidden;
}
/* page-hero automaticamente tem animação */
.page-hero .gold-canvas-wrap { z-index: 1; }
.page-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 80% 50%,rgba(201,168,76,0.07) 0%,transparent 60%); z-index: 0; }
.page-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(201,168,76,0.04) 1px,transparent 1px),linear-gradient(90deg,rgba(201,168,76,0.04) 1px,transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse at center,black 20%,transparent 70%); z-index: 0; }
.page-hero-inner { padding: 80px 0; position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 400px; gap: 80px; align-items: center; }
.page-icon-big { display: none !important; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(32px,5vw,58px); font-weight: 900; line-height: 1.05; margin-bottom: 20px; }
.page-hero p.hero-desc { color: var(--gray-light); font-size: 17px; line-height: 1.75; margin-bottom: 36px; }
.hero-card { background: var(--black-soft); border: 1px solid rgba(201,168,76,0.25); padding: 36px; position: relative; }
.hero-card::before { content:''; position:absolute; top:-8px; left:-8px; right:8px; bottom:8px; border:1px solid rgba(201,168,76,0.1); pointer-events:none; }
.hero-card-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 14px; }
.hero-card-row:last-child { border: none; }
.hero-card-label { color: var(--gray-light); }
.hero-card-value { color: var(--gold); font-family: var(--font-condensed); font-weight: 700; letter-spacing: 1px; }

/* ── CURSO CONTENT ── */
.modulo-card { background: var(--black-soft); border: 1px solid rgba(255,255,255,0.05); margin-bottom: 16px; overflow: hidden; }
.modulo-header { display: flex; align-items: center; gap: 24px; padding: 28px 32px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.modulo-num { font-family: var(--font-display); font-size: 40px; font-weight: 900; color: rgba(201,168,76,0.25); min-width: 70px; line-height: 1; }
.modulo-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.modulo-carga { font-family: var(--font-condensed); font-size: 11px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; }
.modulo-aulas { padding: 24px 32px; display: flex; flex-direction: column; gap: 20px; }
.aula-item { background: rgba(255,255,255,0.02); border-left: 2px solid rgba(201,168,76,0.3); padding: 16px 20px; }
.aula-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.aula-title { font-weight: 600; font-size: 14px; }
.aula-carga { font-family: var(--font-condensed); font-size: 11px; letter-spacing: 1px; color: var(--gold); background: rgba(201,168,76,0.1); padding: 3px 10px; }
.aula-topicos { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.aula-topicos li { font-size: 13px; color: var(--gray-light); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.aula-topicos li::before { content: "◆"; color: var(--gold); font-size: 7px; margin-top: 5px; flex-shrink: 0; }
.publico-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.publico-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.publico-list li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--black-soft); border: 1px solid rgba(255,255,255,0.05); font-size: 15px; transition: border-color 0.3s; }
.publico-list li:hover { border-color: rgba(201,168,76,0.3); }
.publico-list li::before { content: "▸"; color: var(--gold); }
.dif-pills { display: flex; flex-direction: column; gap: 12px; }
.dif-pill { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: rgba(201,168,76,0.06); border: 1px solid rgba(201,168,76,0.2); font-size: 14px; }
.dif-pill span { color: var(--gold); }
.invest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.invest-card { background: var(--black-soft); border: 1px solid rgba(201,168,76,0.25); padding: 48px; }
.invest-card h3 { font-family: var(--font-condensed); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.invest-row { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 15px; }
.invest-row:last-child { border: none; }
.invest-total { background: linear-gradient(135deg,rgba(201,168,76,0.15),rgba(201,168,76,0.05)); border: 1px solid rgba(201,168,76,0.4); padding: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.invest-total .big { font-family: var(--font-display); font-size: 52px; color: var(--gold); font-weight: 900; line-height: 1; margin: 12px 0; }
.invest-cta { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; width: 100%; }
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 800; background: rgba(10,10,10,0.97); border-top: 1px solid rgba(201,168,76,0.2); padding: 14px 24px; display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; transform: translateY(100%); transition: transform 0.3s; }
.sticky-cta.show { transform: translateY(0); }
.sticky-cta span { color: var(--gray-light); font-size: 14px; }

/* ── BLOG ── */
.blog-archive-hero { padding: 180px 0 100px; position: relative; overflow: hidden; border-bottom: 1px solid rgba(201,168,76,0.1); }
.blog-archive-hero h1 { font-family: var(--font-display); font-size: clamp(36px,5vw,64px); font-weight: 900; line-height: 1.05; margin-bottom: 16px; }
.blog-archive-hero p { color: var(--gray-light); font-size: 18px; max-width: 560px; }
.blog-cats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.cat-filter-btn { font-family: var(--font-condensed); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; padding: 8px 20px; border: 1px solid rgba(255,255,255,0.1); color: var(--gray-light); background: none; cursor: pointer; transition: all 0.3s; }
.cat-filter-btn:hover, .cat-filter-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }
.blog-main-area { background: var(--black-mid); }
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding: 80px 0; }
/* post card horizontal */
.post-card-h { background: var(--black-soft); border: 1px solid rgba(255,255,255,0.06); overflow: hidden; display: grid; grid-template-columns: 240px 1fr; margin-bottom: 24px; transition: border-color 0.3s; }
.post-card-h:hover { border-color: rgba(201,168,76,0.3); }
.post-card-thumb { min-height: 180px; overflow: hidden; position: relative; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card-h:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-thumb-placeholder { width: 100%; height: 100%; min-height: 180px; display: flex; align-items: center; justify-content: center; font-size: 48px; background: var(--gray-dark); }
.post-card-body { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; }
.post-cat-tag { display: inline-block; background: var(--gold); color: var(--black); font-family: var(--font-condensed); font-size: 10px; letter-spacing: 2px; text-transform: uppercase; padding: 4px 12px; margin-bottom: 12px; }
.post-meta { display: flex; align-items: center; gap: 16px; font-size: 11px; color: var(--gray-mid); font-family: var(--font-condensed); letter-spacing: 1px; margin-bottom: 10px; }
.post-card-body h2, .post-card-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.post-card-body h2 a, .post-card-body h3 a { color: var(--white); transition: color 0.3s; }
.post-card-body h2 a:hover, .post-card-body h3 a:hover { color: var(--gold); }
.post-excerpt { color: var(--gray-light); font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.read-more-link { color: var(--gold); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-family: var(--font-condensed); font-weight: 700; }
.read-more-link:hover { color: var(--gold-light); }
/* single post */
.single-post-hero { padding: 140px 0 60px; background: var(--black); }
.single-post-hero h1 { font-family: var(--font-display); font-size: clamp(28px,4vw,52px); font-weight: 900; line-height: 1.1; margin-bottom: 20px; max-width: 800px; }
.single-post-meta { display: flex; gap: 20px; flex-wrap: wrap; font-family: var(--font-condensed); font-size: 12px; letter-spacing: 2px; color: var(--gray-mid); text-transform: uppercase; }
.single-post-meta span { color: var(--gold); }
.post-featured-img { width: 100%; max-height: 480px; object-fit: cover; margin-bottom: 0; }
.post-content-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 60px; padding: 60px 0; background: var(--black-mid); }
.post-content { background: var(--black-soft); padding: 48px; border: 1px solid rgba(255,255,255,0.05); }
.post-content h2 { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin: 32px 0 16px; color: var(--white); }
.post-content h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 28px 0 14px; color: var(--gold-light); }
.post-content p { color: var(--gray-light); line-height: 1.9; margin-bottom: 20px; font-size: 16px; }
.post-content ul, .post-content ol { color: var(--gray-light); padding-left: 24px; margin-bottom: 20px; line-height: 1.8; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote { border-left: 3px solid var(--gold); padding: 20px 24px; margin: 28px 0; background: rgba(201,168,76,0.06); font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--white); }
.post-content strong { color: var(--white); }
.post-content a { color: var(--gold); border-bottom: 1px solid rgba(201,168,76,0.3); transition: border-color 0.3s; }
.post-content a:hover { border-color: var(--gold); }
/* sidebar */
.sidebar { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 96px; }
.sidebar-widget { background: var(--black-soft); border: 1px solid rgba(255,255,255,0.06); padding: 28px; }
.sidebar-widget-title { font-family: var(--font-condensed); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(201,168,76,0.2); }
.sidebar-posts { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.sidebar-posts li { padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.sidebar-posts li:last-child { border: none; padding: 0; }
.sidebar-posts a { color: var(--white); font-size: 14px; line-height: 1.5; transition: color 0.3s; display: block; margin-bottom: 4px; }
.sidebar-posts a:hover { color: var(--gold); }
.sidebar-posts time { color: var(--gray-mid); font-size: 11px; font-family: var(--font-condensed); }
.sidebar-cats-list { list-style: none; }
.sidebar-cats-list li a { display: flex; justify-content: space-between; color: var(--gray-light); font-size: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.04); transition: color 0.3s; }
.sidebar-cats-list li a:hover { color: var(--gold); }
.sidebar-cats-list .count { color: var(--gold); font-family: var(--font-condensed); font-size: 11px; }
.sidebar-cta-box { background: linear-gradient(135deg,rgba(201,168,76,0.12),rgba(201,168,76,0.04)); border: 1px solid rgba(201,168,76,0.3); padding: 28px; text-align: center; }
.sidebar-cta-box h4 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.sidebar-cta-box p { color: var(--gray-light); font-size: 13px; line-height: 1.6; margin-bottom: 20px; }
/* pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.1); color: var(--gray-light); font-family: var(--font-condensed); font-size: 13px; transition: all 0.3s; }
.pagination a:hover, .pagination .current { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq-question { width: 100%; background: none; border: none; color: var(--white); text-align: left; padding: 24px 0; font-family: var(--font-body); font-size: 16px; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; transition: color 0.3s; }
.faq-question:hover, .faq-question.active { color: var(--gold); }
.faq-icon { width: 24px; height: 24px; min-width: 24px; border: 1px solid rgba(201,168,76,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--gold); transition: transform 0.3s; }
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding-bottom: 24px; color: var(--gray-light); font-size: 15px; line-height: 1.8; }

/* ── CONTACT FORM ── */
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label { font-family: var(--font-condensed); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-light); }
.form-group input, .form-group select, .form-group textarea,
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"],
.wpcf7 select, .wpcf7 textarea {
  background: var(--black-soft); border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); padding: 14px 16px;
  font-family: var(--font-body); font-size: 14px; outline: none;
  transition: border-color 0.3s; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { border-color: var(--gold); }
.form-group select option, .wpcf7 select option { background: var(--black-mid); }
.form-group textarea, .wpcf7 textarea { resize: vertical; min-height: 120px; }
.wpcf7-submit { background: var(--gold); color: var(--black); font-family: var(--font-condensed); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; padding: 16px 36px; border: none; cursor: pointer; transition: var(--transition); width: 100%; clip-path: polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px)); }
.wpcf7-submit:hover { background: var(--gold-light); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  #primary-menu { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .nav-inner { padding: 0 24px; }
  .page-hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .publico-grid { grid-template-columns: 1fr; gap: 40px; }
  .invest-grid { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .post-content-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .contato-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .modulo-header { flex-direction: column; align-items: flex-start; padding: 20px; }
  .modulo-aulas { padding: 16px 20px; }
  .post-card-h { grid-template-columns: 1fr; }
}

/* ── SUBMENU CURSOS ── */
#primary-menu .menu-item-has-children { position: relative; }
#primary-menu .menu-item-has-children > a::after { content: ' ▾'; font-size: 10px; opacity: 0.7; }
#primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    background: var(--black-soft);
    border: 1px solid rgba(201,168,76,0.25);
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
    list-style: none;
    /* ponte invisível para não perder o hover ao descer o mouse */
    margin-top: 0;
}
/* pseudo-elemento que cobre o gap entre o item pai e o submenu */
#primary-menu .menu-item-has-children > a::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 12px;
}
#primary-menu .menu-item-has-children:hover .sub-menu,
#primary-menu .menu-item-has-children.submenu-open .sub-menu { display: block; }
#primary-menu .sub-menu li {
    list-style: none;
}
#primary-menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--gray-light);
    letter-spacing: 0.5px;
    transition: var(--transition);
    white-space: nowrap;
}
#primary-menu .sub-menu li a:hover { color: var(--gold); background: rgba(201,168,76,0.06); }
#primary-menu .sub-menu .menu-lab-item a { color: var(--gold); font-weight: 700; }
#primary-menu .sub-menu .menu-proposta-item { border-top: 1px solid rgba(201,168,76,0.15); margin-top: 4px; padding-top: 4px; }
#primary-menu .sub-menu .menu-proposta-item a {
    color: var(--white);
    font-family: var(--font-condensed);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 11px;
    text-transform: uppercase;
    background: rgba(201,168,76,0.08);
    border-left: 2px solid var(--gold);
}
#primary-menu .sub-menu .menu-proposta-item a:hover { background: rgba(201,168,76,0.16); color: var(--gold); }

/* ── HERO IMAGE OVERLAY (transmissão/subestação) ── */
.hero-img-overlay {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 3/4;
    overflow: hidden;
    border: 1px solid rgba(201,168,76,0.2);
}
.hero-img-overlay img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-img-overlay .overlay-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
    padding: 24px 20px 16px;
    font-family: var(--font-condensed);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
}

/* ── PAGE HERO IMAGE ── */
.page-hero-img-wrap {
    position: relative;
    border: 1px solid rgba(201,168,76,0.2);
    overflow: hidden;
    aspect-ratio: 16/9;
    width: 100%;
    max-height: 360px;
    margin-bottom: 48px;
}
.page-hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-img-wrap .img-credit {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
    padding: 20px 16px 10px;
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 2px;
    font-family: var(--font-condensed);
    text-transform: uppercase;
}

/* ── MARA CONTACT PHOTO ── */
.contato-mara-photo {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center top;
    border: 1px solid rgba(201,168,76,0.2);
    display: block;
    margin: 0 auto 32px;
}

/* ── CURSOS LAB BADGE ── */
.lab-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
    border: 1px solid rgba(201,168,76,0.4);
    color: var(--gold);
    padding: 6px 16px;
    font-family: var(--font-condensed);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.lab-badge::before { content: '⚡'; }

/* ══════════════════════════════════════════════
   ANIMATED GOLD BACKGROUNDS
══════════════════════════════════════════════ */

/* Canvas de partículas douradas (injetado via JS) */
.gold-canvas-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.gold-canvas-wrap canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Overlay de imagem de background nas seções sólidas */
.section-bg-overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    mix-blend-mode: luminosity;
    pointer-events: none;
    z-index: 0;
}

/* Seções com background animado */
.section-animated {
    position: relative;
    overflow: hidden;
}
.section-animated > .container,
.section-animated > div:not(.gold-canvas-wrap):not(.section-bg-overlay) {
    position: relative;
    z-index: 2;
}

/* Linha animada dourada (hero das páginas internas) */
@keyframes goldLineScan {
    0%   { transform: translateX(-100%); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateX(200%); opacity: 0; }
}
@keyframes goldPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50%       { opacity: 0.7; transform: scale(1.05); }
}
@keyframes goldFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.4; }
    33%       { transform: translateY(-12px) rotate(2deg); opacity: 0.8; }
    66%       { transform: translateY(6px) rotate(-1deg); opacity: 0.5; }
}
@keyframes gridFade {
    0%, 100% { opacity: 0.03; }
    50%       { opacity: 0.07; }
}

/* Partículas CSS (fallback sem JS) */
.gold-particles {
    position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden;
}
.gold-particles span {
    position: absolute;
    border-radius: 50%;
    background: var(--gold);
    animation: goldFloat 6s ease-in-out infinite;
}
.gold-particles span:nth-child(1) { width:3px;height:3px;top:15%;left:10%;animation-delay:0s; }
.gold-particles span:nth-child(2) { width:2px;height:2px;top:30%;left:80%;animation-delay:1s; }
.gold-particles span:nth-child(3) { width:4px;height:4px;top:60%;left:25%;animation-delay:2s; }
.gold-particles span:nth-child(4) { width:2px;height:2px;top:75%;left:65%;animation-delay:0.5s; }
.gold-particles span:nth-child(5) { width:3px;height:3px;top:45%;left:50%;animation-delay:3s; }
.gold-particles span:nth-child(6) { width:2px;height:2px;top:20%;left:40%;animation-delay:1.5s; }
.gold-particles span:nth-child(7) { width:3px;height:3px;top:85%;left:15%;animation-delay:4s; }
.gold-particles span:nth-child(8) { width:2px;height:2px;top:10%;left:70%;animation-delay:2.5s; }

/* Linha de scan animada */
.gold-scan-line {
    position: absolute;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--gold) 30%, rgba(201,168,76,0.3) 50%, var(--gold) 70%, transparent 100%);
    animation: goldLineScan 8s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

/* Grid animado */
.gold-grid-anim {
    position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background-image:
        linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridFade 4s ease-in-out infinite;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* Círculos de luz radial animados */
.gold-radial-1 {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    animation: goldPulse 5s ease-in-out infinite;
    pointer-events: none; z-index: 1;
}
.gold-radial-2 {
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
    animation: goldPulse 7s ease-in-out infinite reverse;
    pointer-events: none; z-index: 1;
}

/* Ajuste de fonte – Inter precisa de weight explícito */
body { font-weight: 400; letter-spacing: -0.01em; }
h1, h2, h3 { letter-spacing: -0.02em; }
.section-label { letter-spacing: 0.2em; }
[style*="font-family:var(--font-condensed)"],
.font-condensed { letter-spacing: 0.05em; }

/* ── HERO HOME: container centralizado dentro do flex ── */
#hero > .container {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ── SECTION ANIMATED – z-index stacking fix ── */
.section-animated { isolation: isolate; }
.section-animated > .container { position: relative; z-index: 2; }
.section-animated > [style*="z-index:2"] { position: relative; z-index: 2; }

/* ── PAGE HERO inner content z-index ── */
.page-hero .container { position: relative; z-index: 2; }
.page-hero-inner { z-index: 3; }

/* ── Suavizar a transição de peso da Inter vs Barlow ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}
.section-label, .lab-badge, .hero-card-label, .hero-card-value,
.modulo-carga, .aula-carga, .btn-gold, .btn-outline, .btn-whatsapp,
nav a, .footer-col h4, [class*="condensed"] {
  font-family: var(--font-condensed);
  letter-spacing: 0.04em;
}
p, li, span, td, th, input, textarea, select, a:not(nav a):not(.btn-gold):not(.btn-outline):not(.btn-whatsapp) {
  font-family: var(--font-body);
}

/* ── Oswald (condensed) sizing tweak – slightly larger than Barlow Condensed ── */
.section-label { font-size: 10px; letter-spacing: 0.28em; }
nav a { font-size: 13px; font-weight: 500; }
.hero-card-label { font-size: 10px; letter-spacing: 0.15em; }
.hero-card-value { font-size: 13px; font-weight: 600; }

/* ── DM Serif Display – italic weight adjustment ── */
em[style*="color:var(--gold)"] {
  font-style: italic;
  font-family: var(--font-display);
}

/* ══════════════════════════════════════════════
   FIX: ANIMATION ELEMENTS - ABSOLUTE POSITIONING
══════════════════════════════════════════════ */

/* Garante que TODOS os elementos de animação fiquem absolutos e não perturbem o layout */
.gold-grid-anim,
.gold-radial-1,
.gold-radial-2,
.gold-scan-line,
.gold-particles,
.gold-canvas-wrap,
.section-bg-overlay {
    position: absolute !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Conteúdo real sempre acima */
.page-hero .container,
.page-hero-inner,
.section-animated > .container,
.section-animated > form,
.section-animated > [class*="grid"],
.section-animated > [style*="z-index:2"],
.section-animated > [style*="z-index: 2"] {
    position: relative !important;
    z-index: 2 !important;
}

/* page-hero-bg e page-hero-grid: garantir absolutos */
.page-hero-bg,
.page-hero-grid {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Hero home: div de background da imagem — sempre atrás */
#hero .hero-bg-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
}
#hero .hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
#hero .hero-bg-image .hero-bg-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
}

/* Hero home: elementos de animação */
#hero .gold-grid-anim,
#hero .gold-radial-1,
#hero .gold-radial-2,
#hero .gold-scan-line,
#hero .gold-particles {
    position: absolute !important;
    inset: 0 !important;
}
#hero .gold-radial-1 { inset: auto !important; top: -100px !important; right: -100px !important; width: 600px !important; height: 600px !important; }
#hero .gold-radial-2 { inset: auto !important; bottom: 50px !important; left: 10% !important; width: 400px !important; height: 400px !important; }
#hero .gold-scan-line { inset: auto !important; top: 0 !important; bottom: 0 !important; width: 2px !important; }

/* ── CRITICAL: page-hero container sempre acima da animação ── */
.page-hero > .container { position: relative; z-index: 3 !important; }
.page-hero-inner { position: relative; z-index: 3 !important; }

/* ── section-animated: container sempre z-index alto ── */
.section-animated > .container { position: relative; z-index: 3 !important; }

/* ── Remover conflito: gold-particles precisa de overflow:hidden no pai ── */
.page-hero,
.section-animated { overflow: hidden !important; }
