/* ==========================================================================
   LUIZFERNANDO.PRO - DESIGN SYSTEM & ESTILOS PRINCIPAIS
   Estilo: Moderno, Minimalista, Dark Mode Atlético de Alta Performance
   Otimizado para: Dispositivos Móveis (Mobile-First) & Desktop
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Cores Principais - Branco, Preto e Azul */
  --bg-main: #06080d;
  --bg-surface: #0e131d;
  --bg-surface-elevated: #151d2c;
  --bg-card: rgba(16, 23, 36, 0.85);
  --bg-card-hover: rgba(24, 34, 53, 0.95);
  
  /* Cores de Destaque - Azul Atlântico / Royal Sapphire */
  --accent: #0066ff;            /* Azul Royal de Alto Desempenho */
  --accent-hover: #0052cc;      /* Azul Profundo para Hover */
  --accent-light: #38bdf8;      /* Azul Celeste para destaques suaves */
  --accent-glow: rgba(0, 102, 255, 0.35);
  --accent-text: #ffffff;       /* Texto branco sobre botão de destaque */
  --accent-secondary: #0284c7;  /* Azul Tecnológico */
  --whatsapp: #25d366;
  --whatsapp-glow: rgba(37, 211, 102, 0.3);

  /* Cores de Texto - Branco e Escala Clara */
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #8492a6;
  
  /* Bordas & Sombras */
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-light: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(0, 102, 255, 0.45);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px var(--accent-glow);
  
  /* Tipografia */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transições & Raios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Básico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 102, 255, 0.09) 0%, transparent 60%),
    radial-gradient(circle at 100% 50%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* ==========================================================================
   HEADER & NAVEGAÇÃO
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-logo span.coach-badge,
.brand-logo span.pro-badge {
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.16rem 0.55rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Links no Desktop */
.nav-desktop {
  display: none;
}

@media (min-width: 860px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }

  .nav-desktop a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
  }

  .nav-desktop a:hover,
  .nav-desktop a.active {
    color: var(--text-primary);
  }

  .nav-desktop a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
  }

  .nav-desktop .btn-header {
    margin-left: 0.5rem;
  }
}

/* Botão Hamburguer Mobile */
.mobile-menu-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  z-index: 102;
}

@media (min-width: 860px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

.mobile-menu-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--accent);
}

.mobile-menu-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--accent);
}

/* Gaveta do Menu Mobile */
.mobile-nav-drawer {
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  height: calc(100vh - 68px);
  background: rgba(10, 12, 16, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99;
  border-bottom: 1px solid var(--border-subtle);
  overflow-y: auto;
}

.mobile-nav-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--text-primary);
  background: var(--bg-surface-elevated);
  border-color: var(--border-accent);
}

.mobile-nav-link.active {
  border-left: 4px solid var(--accent);
}

.mobile-nav-link .icon {
  font-size: 1.1rem;
}

/* ==========================================================================
   COMPONENTES: BOTÕES, BADGES, CARDS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
  font-family: var(--font-main);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 102, 255, 0.45);
  background: var(--accent-hover);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: #1c2637;
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: #60a5fa;
  background: rgba(0, 102, 255, 0.08);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
  background: #22bf5b;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-accent {
  background: rgba(0, 102, 255, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(0, 102, 255, 0.35);
}

.badge-cyan {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.badge-pulse {
  position: relative;
}

.badge-pulse::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   ESTRUTURA GERAL DE PÁGINA
   ========================================================================== */
main {
  flex: 1;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.35rem;
  }
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Gradients de texto */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #60a5fa 75%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   HERO SECTION (HOME & SUBPÁGINAS)
   ========================================================================== */
.hero {
  padding: 2.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    padding: 2rem 0;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

/* Imagem de Destaque do Hero */
.hero-image-wrapper {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  background: var(--bg-surface);
}

.hero-image-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: rgba(18, 21, 28, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-floating-badge .badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 102, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #60a5fa;
  flex-shrink: 0;
}

.hero-floating-badge .badge-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-floating-badge .badge-text p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Métricas / Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 600px) {
  .stats-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-item h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   HUB DE SUBPÁGINAS (CARDS PRINCIPAIS NA HOME)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 680px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}

.service-card-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-card-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.service-card-footer span.arrow {
  transition: transform 0.2s ease;
}

.service-card:hover .service-card-footer span.arrow {
  transform: translateX(5px);
}

/* ==========================================================================
   METODOLOGIA & ETAPAS (COMO FUNCIONA)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  position: relative;
}

.step-number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.step-card h3 {
  font-size: 1.15rem;
  margin: 0.75rem 0 0.5rem;
  color: var(--text-primary);
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ==========================================================================
   TABELAS DE PREÇOS / PLANOS
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.08) 0%, var(--bg-card) 60%);
  box-shadow: 0 0 30px rgba(0, 102, 255, 0.2);
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-badge-popular {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.pricing-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.pricing-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0.75rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.pricing-price span.period {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features li .check-icon {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   DEPOIMENTOS & PROVA SOCIAL
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--border-light);
}

.testimonial-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ ACCORDION (PERGUNTAS FREQUENTES)
   ========================================================================== */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding: 0 1.25rem 1.25rem;
}

/* ==========================================================================
   FORMULÁRIOS (NEWSLETTER & CONTATO)
   ========================================================================== */
.form-card {
  max-width: 580px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
}

@media (min-width: 560px) {
  .form-card {
    padding: 2.5rem;
  }
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--bg-surface-elevated);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-feedback {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  display: none;
}

.form-feedback.is-success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

/* ==========================================================================
   SUBSTACK EMBED
   ========================================================================== */
.substack-embed-container {
  max-width: 540px;
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.substack-embed-card {
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 102, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.substack-embed-card iframe {
  width: 100% !important;
  max-width: 480px;
  height: 320px;
  border-radius: calc(var(--radius-lg) - 4px);
  display: block;
}

.substack-external-link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.substack-external-link:hover {
  color: var(--accent);
}


/* ==========================================================================
   BANNER DE CONVERSÃO / CTA FINAL
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #18202c 0%, #10141c 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-banner {
    padding: 3.5rem 2.5rem;
  }
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: var(--accent-glow);
  filter: blur(80px);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .cta-banner h2 {
    font-size: 2.4rem;
  }
}

.cta-banner p {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

/* ==========================================================================
   BOTÃO FLUTUANTE DE WHATSAPP (MÓVEL & DESKTOP)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--whatsapp);
  color: #ffffff;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--whatsapp-glow);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.floating-whatsapp-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 480px) {
  .floating-whatsapp span.btn-label {
    display: none; /* Em telas muito pequenas mostra apenas o ícone redondo */
  }
  .floating-whatsapp {
    padding: 0.85rem;
    border-radius: 50%;
    bottom: 18px;
    right: 18px;
  }
}

/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0.75rem 0 1.25rem;
  max-width: 320px;
}

.footer-links h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 3px;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 600px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ==========================================================================
   TIMELINE / BIO (SOBRE)
   ========================================================================== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 19px;
  width: 2px;
  background: var(--border-subtle);
}

.timeline-item {
  display: flex;
  gap: 1.25rem;
  position: relative;
}

.timeline-bullet {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--accent);
  flex-shrink: 0;
  z-index: 1;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.timeline-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.timeline-date {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.timeline-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}
