/* ==========================================================================
   IMPACTE.ME - DESIGN SYSTEM & STYLES (ALL TABS, 3 THEMES, B&W CAROUSEL)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- THEME VARIATION DEFINITIONS --- */

/* 1. Tema Pamela (Cores Oficiais Enviadas) */
[data-theme="pamela"] {
  --bg-main: #2a3442;
  --bg-secondary: #222b37;
  --bg-card: #344152;
  --bg-card-hover: #3d4c60;
  --bg-header: rgba(42, 52, 66, 0.94);
  --text-primary: #ffffff;
  --text-secondary: #d3dee2;
  --text-muted: #95aab3;
  --accent-mint: #72e7b3;
  --accent-sky: #76b5ce;
  --accent-yellow: #fff6ca;
  --border-color: rgba(211, 222, 226, 0.18);
  --shadow-glow: rgba(114, 231, 179, 0.15);
  --card-glass: rgba(52, 65, 82, 0.6);
}

/* 2. Tema Light (Claro Corporativo) */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-secondary: #edf2f7;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-header: rgba(255, 255, 255, 0.94);
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent-mint: #059669;
  --accent-sky: #0284c7;
  --accent-yellow: #d97706;
  --border-color: #e2e8f0;
  --shadow-glow: rgba(2, 132, 199, 0.1);
  --card-glass: rgba(255, 255, 255, 0.85);
}



/* --- RESET & GLOBAL STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  border: none;
  outline: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-right: 2rem;
  white-space: nowrap;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--shadow-glow));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--accent-mint);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* --- SWITCHER BUTTONS (COMPACT ICON ONLY) --- */
.switcher-group {
  display: flex;
  background: var(--bg-secondary);
  padding: 3px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
}

.switch-btn {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.switch-btn.active {
  background: linear-gradient(135deg, var(--accent-mint), var(--accent-sky)) !important;
  color: #0f172a !important;
  box-shadow: 0 2px 10px var(--shadow-glow) !important;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.5rem;
}

/* --- HERO SECTION --- */
.hero {
  padding: 9.5rem 0 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--shadow-glow) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.badge-slogan {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(114, 231, 179, 0.12);
  border: 1px solid var(--accent-mint);
  color: var(--accent-mint);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--text-primary) 60%, var(--accent-sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 32px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--accent-mint), var(--accent-sky));
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--shadow-glow);
}

.btn-secondary {
  padding: 14px 32px;
  border-radius: 30px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--accent-mint);
  background: var(--bg-card-hover);
}

/* --- STATS SECTION --- */
.stats-section {
  padding: 4.5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-header {
  text-align: center;
  margin-bottom: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2.5rem 1.8rem;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-mint);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-mint);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 500;
}

.stats-source {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- PARA EMPRESAS SECTION --- */
.empresas-section {
  padding: 6rem 0;
  background: var(--bg-main);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 3rem;
}

.emp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.emp-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-mint);
  box-shadow: 0 10px 30px var(--shadow-glow);
}

.emp-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(114, 231, 179, 0.12);
  color: var(--accent-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.emp-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.emp-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- PARA COLABORADORES SECTION --- */
.colaboradores-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.colab-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-sky);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  transition: all 0.3s ease;
}

.colab-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-mint);
}

.colab-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--accent-sky);
}

.colab-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- HISTÓRIA SECTION & TIMELINE --- */
.historia-section {
  padding: 6rem 0;
}

.historia-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3.5rem 2.8rem;
  margin-bottom: 4rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.historia-text {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.timeline-container {
  margin-top: 3rem;
  position: relative;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.8rem;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.timeline-card:hover {
  border-color: var(--accent-mint);
  transform: translateY(-4px);
}

.timeline-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-mint), var(--accent-sky));
  color: #0f172a;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.timeline-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- CAROUSEL SECTION (WITH B&W FILTER FOR NEGATIVE/SYMPTOM SLIDES) --- */
.carousel-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.carousel-container {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  transition: max-width 0.5s ease-in-out;
}

.carousel-container.is-vertical {
  max-width: 480px;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 520px;
  transition: height 0.5s ease-in-out;
}

.carousel-container.is-vertical .carousel-track {
  height: 620px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: flex-end;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s ease;
}

/* Directiva de Pamela: imagens de adoecimento/sintomas em Preto e Branco (Grayscale) */
.carousel-slide.bw img {
  filter: grayscale(100%) contrast(110%);
}

.carousel-caption {
  position: relative;
  z-index: 2;
  width: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.94) 0%, transparent 100%);
  padding: 3.5rem 2rem 2rem 2rem;
  color: #ffffff;
}

.carousel-caption h3 {
  font-size: 1.6rem;
  color: var(--accent-mint);
  margin-bottom: 0.5rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(15, 23, 42, 0.7);
  color: #ffffff;
  border: 1px solid var(--border-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--accent-mint);
  color: #0f172a;
}

.carousel-prev { left: 1.2rem; }
.carousel-next { right: 1.2rem; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--accent-mint);
  width: 28px;
  border-radius: 10px;
}

/* --- SOLUTIONS SECTION --- */
.solutions-section {
  padding: 6rem 0;
  background: var(--bg-main);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-mint);
  box-shadow: 0 10px 30px var(--shadow-glow);
}

.solution-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(114, 231, 179, 0.12);
  border: 1px solid var(--accent-mint);
  color: var(--accent-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.solution-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.solution-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* --- YOUTUBE VIDEO SECTION --- */
.videos-section {
  padding: 6rem 0;
}

.video-wrapper {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.main-video-box {
  position: relative;
  width: 100%;
  height: 640px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 35px var(--shadow-glow);
  background: #000;
}

.main-video-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-playlist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-item:hover, .video-item.active {
  border-color: var(--accent-mint);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.video-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(114, 231, 179, 0.15);
  color: var(--accent-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.video-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- EQUIPE SECTION --- */
.equipe-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.equipe-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* --- SOLUTIONS SECTION --- */
.solutions-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.3rem;
  margin-bottom: 0.8rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-mint);
  box-shadow: 0 12px 35px var(--shadow-glow);
}

.solution-icon {
  width: 50px;
  height: 50px;
  background: rgba(114, 231, 179, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-mint);
  margin-bottom: 1.5rem;
}

.solution-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.solution-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* --- PROGRAM EQUILIBRIUM SECTION --- */
.program-section {
  padding: 6rem 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent-mint);
  border-radius: 16px;
  padding: 2.2rem;
  transition: transform 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
}

.pillar-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--accent-mint);
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* --- FAQ SECTION --- */
.faq-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 1.3rem 1.5rem;
  text-align: left;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--accent-mint);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-secondary);
  font-size: 0.98rem;
  padding: 0 1.5rem;
}

.faq-item.active {
  border-color: var(--accent-mint);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* --- CONTACT SECTION --- */
.contact-section {
  padding: 6rem 0;
  text-align: center;
}

.contact-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 15px 40px var(--shadow-glow);
}

.contact-card h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Cores Oficiais das Marcas (Desktop e Mobile) */
.social-icon .fa-linkedin-in,
.drawer-social-icon .fa-linkedin-in {
  color: #0a66c2;
}

.social-icon .fa-youtube,
.drawer-social-icon .fa-youtube {
  color: #ff0000;
}

.social-icon .fa-instagram,
.drawer-social-icon .fa-instagram {
  background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-icon:hover,
.drawer-social-icon:hover {
  transform: translateY(-3px);
  border-color: var(--accent-mint);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* --- MODAL DE SUCESSO CUSTOMIZADO COM LOGO --- */
.success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.success-modal-overlay.active {
  display: flex;
  animation: modalFadeIn 0.3s ease;
}

.success-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.success-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.success-logo {
  height: 38px;
  filter: drop-shadow(0 0 10px var(--shadow-glow));
}

.success-icon-check {
  font-size: 3rem;
  color: var(--accent-mint);
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 0 12px var(--shadow-glow));
}

.app-version-tag {
  font-size: 0.70rem;
  color: var(--text-muted);
  font-family: monospace;
  display: inline;
  margin-left: 0.35rem;
  opacity: 0.65;
  letter-spacing: 0.5px;
}

/* --- MODAL (WITH B2B PJ / B2C CPF TABS) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  width: 90%;
  max-width: 520px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
}

.modal-profile-tabs {
  display: flex;
  background: var(--bg-main);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.modal-tab-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  text-align: center;
}

.modal-tab-btn.active {
  background: linear-gradient(135deg, var(--accent-mint), var(--accent-sky));
  color: #0f172a;
  box-shadow: 0 2px 8px var(--shadow-glow);
}

.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-mint);
}

/* --- MOBILE BOTTOM NAVIGATION & DRAWER STYLES --- */
.mobile-bottom-nav {
  display: none;
}

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 80vh;
  background: var(--bg-card);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
  padding: 1rem 1.5rem 2.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer-backdrop.active .mobile-drawer {
  transform: translateY(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
}

.drawer-handle {
  width: 44px;
  height: 5px;
  background: var(--border-color);
  border-radius: 3px;
  margin: 0 auto;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: -2px;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.drawer-link i {
  color: var(--accent-mint);
  width: 22px;
  font-size: 1.1rem;
  text-align: center;
}

.drawer-link:active {
  background: var(--bg-card-hover);
  border-color: var(--accent-mint);
}

.drawer-contact-btn {
  width: 100%;
  border-radius: 14px;
  padding: 14px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .video-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Ocultar navegação convencional de topo */
  .nav-links,
  .mobile-menu-toggle {
    display: none !important;
  }

  /* Header com Logo e Nome Maiores e Mais Marcantes */
  .header-container {
    padding: 0.85rem 1rem;
  }

  .logo {
    gap: 0.85rem;
    margin-right: auto;
  }

  .logo-img {
    height: 50px !important;
    filter: drop-shadow(0 0 10px var(--shadow-glow));
  }

  .logo span {
    font-size: 1.55rem !important;
    font-weight: 800;
    letter-spacing: -0.5px;
  }

  /* Ocultar seletor de temas do topo no mobile (agora fica na gaveta Mais) */
  .header-actions .theme-switcher {
    display: none !important;
  }

  /* Seletor de Tema dentro da Gaveta Mais */
  .drawer-theme-box {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 10px 14px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .drawer-theme-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .drawer-theme-label i {
    color: var(--accent-mint);
  }

  .drawer-social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
  }

  .drawer-social-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.2s ease;
    text-decoration: none;
  }

  .drawer-social-icon:hover {
    transform: translateY(-2px);
    border-color: var(--accent-mint);
    box-shadow: 0 4px 12px var(--shadow-glow);
  }

  .drawer-version-tag {
    text-align: center;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 1rem;
    font-family: monospace;
    opacity: 0.7;
    letter-spacing: 0.5px;
  }

  .drawer-theme-switchers {
    display: flex;
    gap: 6px;
    background: var(--bg-card);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
  }

  .drawer-theme-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .drawer-theme-btn.active {
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-sky));
    color: #0f172a;
    box-shadow: 0 2px 8px var(--shadow-glow);
  }

  /* Padding inferior geral para acomodar a Bottom Bar fixa */
  body {
    padding-bottom: 74px;
  }

  /* Barra de Navegação Inferior Fixa (App Style) */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    z-index: 1500;
    justify-content: space-around;
    align-items: center;
    padding: 4px 6px;
    padding-bottom: max(4px, env(safe-area-inset-bottom));
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 600;
    font-family: inherit;
    padding: 6px 4px;
    flex: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 10px;
  }

  .bottom-nav-item i {
    font-size: 1.18rem;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .bottom-nav-item.active,
  .bottom-nav-item:hover {
    color: var(--accent-mint);
  }

  .bottom-nav-item.active i {
    transform: translateY(-2px);
    color: var(--accent-mint);
    filter: drop-shadow(0 0 6px var(--shadow-glow));
  }

  /* Cards Modernos: Carrossel Horizontal Snap Touch */
  .grid-4 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.1rem;
    padding: 0.5rem 0.2rem 1.5rem 0.2rem;
    margin-top: 2rem;
  }

  .grid-4::-webkit-scrollbar {
    height: 4px;
  }

  .grid-4::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
  }

  .emp-card,
  .colab-card {
    flex: 0 0 84vw;
    scroll-snap-align: center;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
    padding: 2rem 1.6rem;
  }

  /* Ocultar Rodapé no Mobile (Elimina poluição no fim das telas) */
  footer {
    display: none !important;
  }

  /* Ajustes de Tipografia e Hero no Mobile (Com Respiro Elegante e Harmonioso) */
  .hero {
    padding: 6.2rem 0 0.6rem 0;
  }

  .badge-slogan {
    font-size: 0.74rem;
    padding: 4px 12px;
    margin-bottom: 0.65rem;
  }

  .hero-title {
    font-size: 1.34rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.55rem;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 9px 16px;
    font-size: 0.88rem;
  }

  /* Estatísticas com Respiro Equilibrado e Fonte Oficial Visível */
  .stats-section {
    padding: 0.9rem 0 0.8rem 0;
    border-top: none;
    border-bottom: none;
    background: transparent;
  }

  .stats-header {
    margin-bottom: 0.85rem;
  }

  .stats-header h2 {
    font-size: 1.02rem;
    line-height: 1.3;
  }

  .stats-years {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 3px;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
  }

  .stat-card {
    padding: 0.85rem 0.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .stat-number {
    font-size: 1.18rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
  }

  .stat-label {
    font-size: 0.65rem;
    line-height: 1.25;
    color: var(--text-secondary);
  }

  /* Fonte Oficial Visível e Delicada */
  .stats-source {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    text-align: center;
    line-height: 1.3;
  }

  .carousel-track {
    height: 380px;
  }

  /* Modal de Contato Compacto no Mobile */
  .modal-content {
    width: 92%;
    max-width: 380px;
    padding: 1.4rem 1.2rem;
    border-radius: 16px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-content h3 {
    font-size: 1.15rem !important;
    margin-bottom: 0.3rem !important;
  }

  .modal-content p {
    font-size: 0.8rem !important;
    margin-bottom: 0.9rem !important;
  }

  .modal-profile-tabs {
    margin-bottom: 0.9rem;
    padding: 3px;
  }

  .modal-tab-btn {
    padding: 6px 8px;
    font-size: 0.78rem;
  }

  .form-group {
    margin-bottom: 0.7rem;
  }

  .form-group label {
    font-size: 0.78rem;
    margin-bottom: 0.25rem;
  }

  .form-control {
    padding: 9px 12px;
    font-size: 0.88rem;
    border-radius: 8px;
  }

  textarea.form-control {
    min-height: 55px;
  }

  .modal-close {
    top: 0.8rem;
    right: 0.9rem;
    font-size: 1.25rem;
  }

  /* Soluções no Mobile: Grid de 2 em 2 Compacto com Tipografia Refinada */
  .solutions-section {
    padding: 5.6rem 0 1.5rem 0;
  }

  .solutions-section .section-header {
    margin-bottom: 0.9rem;
    text-align: center;
  }

  .solutions-section .section-header h2 {
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
  }

  .solutions-section .section-header p {
    font-size: 0.80rem;
    line-height: 1.35;
    color: var(--text-secondary);
    padding: 0 0.5rem;
  }

  .solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
    margin-top: 0.9rem;
  }

  .solution-card {
    padding: 0.85rem 0.65rem;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .solution-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    border-radius: 8px;
    margin-bottom: 0.55rem;
  }

  .solution-card h3 {
    font-size: 0.85rem;
    line-height: 1.2;
    margin-bottom: 0.35rem;
  }

  .solution-card p {
    font-size: 0.68rem;
    line-height: 1.3;
    color: var(--text-secondary);
  }

  /* --- TELA EMPRESAS COMPACTA NO MOBILE (GRID 2x2) --- */
  .empresas-section {
    padding: 5.4rem 0 2rem 0;
  }

  .empresas-section .section-header {
    margin-bottom: 0.9rem;
    text-align: center;
  }

  .empresas-section .section-header .about-tag {
    font-size: 0.68rem;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.4rem;
  }

  .empresas-section .section-header h2 {
    font-size: 1.15rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
    padding: 0 0.4rem;
  }

  .empresas-section .section-header p {
    font-size: 0.80rem;
    line-height: 1.35;
    color: var(--text-secondary);
    padding: 0 0.5rem;
  }

  .empresas-section .grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
    margin-top: 0.9rem;
  }

  .emp-card {
    padding: 0.85rem 0.65rem;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .emp-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    border-radius: 8px;
    margin-bottom: 0.55rem;
  }

  .emp-card h3 {
    font-size: 0.82rem;
    line-height: 1.2;
    margin-bottom: 0.35rem;
  }

  .emp-card p {
    font-size: 0.68rem;
    line-height: 1.3;
    color: var(--text-secondary);
  }

  .empresas-section div[style*="margin-top: 3rem"] {
    margin-top: 1.2rem !important;
  }

  .empresas-section .btn-primary {
    font-size: 0.82rem;
    padding: 0.75rem 1.1rem;
    width: 100%;
    max-width: 320px;
  }

  /* --- TELA COLABORADORES COMPACTA NO MOBILE (GRID 2x2) --- */
  .colaboradores-section {
    padding: 5.4rem 0 2rem 0;
  }

  .colaboradores-section .section-header {
    margin-bottom: 0.9rem;
    text-align: center;
  }

  .colaboradores-section .section-header .about-tag {
    font-size: 0.68rem;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.4rem;
  }

  .colaboradores-section .section-header h2 {
    font-size: 1.15rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
    padding: 0 0.4rem;
  }

  .colaboradores-section .section-header p {
    font-size: 0.80rem;
    line-height: 1.35;
    color: var(--text-secondary);
    padding: 0 0.5rem;
  }

  .colaboradores-section .grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
    margin-top: 0.9rem;
  }

  .colab-card {
    padding: 0.85rem 0.65rem;
    border-radius: 14px;
    border-left-width: 3px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .colab-card h3 {
    font-size: 0.82rem;
    line-height: 1.2;
    margin-bottom: 0.35rem;
  }

  .colab-card p {
    font-size: 0.68rem;
    line-height: 1.3;
    color: var(--text-secondary);
  }

  .colaboradores-section div[style*="margin-top: 3rem"] {
    margin-top: 1.2rem !important;
  }

  .colaboradores-section .btn-primary {
    font-size: 0.82rem;
    padding: 0.75rem 1.1rem;
    width: 100%;
    max-width: 320px;
  }

  /* --- TELA EQUILIBRIUM NO MOBILE --- */
  .program-section {
    padding: 5.4rem 0 2rem 0;
  }

  .program-section .section-header {
    margin-bottom: 1rem;
    text-align: center;
  }

  .program-section .section-header h2 {
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: 0.4rem;
  }

  .program-section .section-header p {
    font-size: 0.80rem;
    line-height: 1.35;
    padding: 0 0.5rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .pillar-card {
    padding: 1rem 0.9rem;
    border-radius: 14px;
  }

  .pillar-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .pillar-card p {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  /* --- TELA DE VÍDEOS NO MOBILE --- */
  .videos-section {
    padding: 5.4rem 0 2rem 0;
  }

  .videos-section .section-header {
    margin-bottom: 1rem;
    text-align: center;
  }

  .video-wrapper {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .main-video-box {
    height: 380px;
    max-width: 260px;
    margin: 0 auto;
    border-radius: 16px;
  }

  .video-playlist {
    gap: 0.6rem;
  }

  .video-item {
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    gap: 0.75rem;
  }

  .video-item span {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .video-item small {
    font-size: 0.70rem;
  }

  /* --- TELA HISTÓRIA NO MOBILE (BOX COMPACTO E TIMELINE 2x2) --- */
  .historia-section {
    padding: 5.4rem 0 2rem 0;
  }

  .historia-section .section-header {
    margin-bottom: 1rem;
    text-align: center;
  }

  .historia-section .section-header h2 {
    font-size: 1.15rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
  }

  .historia-content-box {
    padding: 1.2rem 1rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
  }

  .historia-text {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
  }

  .timeline-container {
    margin-top: 1.5rem;
  }

  .timeline-container h3 {
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
  }

  .timeline-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }

  .timeline-card {
    padding: 0.85rem 0.65rem;
    border-radius: 14px;
  }

  .timeline-badge {
    font-size: 0.70rem;
    padding: 2px 8px;
    margin-bottom: 0.35rem;
    display: inline-block;
  }

  .timeline-card h4 {
    font-size: 0.82rem;
    line-height: 1.2;
    margin-bottom: 0.3rem;
  }

  .timeline-card p {
    font-size: 0.68rem;
    line-height: 1.3;
    color: var(--text-secondary);
  }

  /* --- TELA GALERIA / CARROSSEL NO MOBILE --- */
  .carousel-section {
    padding: 5.4rem 0 2rem 0;
  }

  .carousel-section .section-header {
    margin-bottom: 0.9rem;
    text-align: center;
  }

  .carousel-section .section-header h2 {
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
  }

  .carousel-section .section-header p {
    font-size: 0.80rem;
    line-height: 1.35;
  }

  .carousel-track {
    height: 280px;
    border-radius: 16px;
  }

  .carousel-container.is-vertical .carousel-track {
    height: 440px;
    border-radius: 16px;
  }

  .carousel-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.95rem !important;
  }

  .carousel-caption {
    padding: 1.5rem 0.9rem 1rem 0.9rem;
  }

  .carousel-caption h3 {
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
  }

  .carousel-caption p {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  /* --- TELA FAQ NO MOBILE --- */
  .faq-section {
    padding: 5.4rem 0 2rem 0;
  }

  .faq-section .section-header {
    margin-bottom: 1rem;
    text-align: center;
  }

  .faq-section .section-header h2 {
    font-size: 1.25rem;
  }

  .faq-item {
    margin-bottom: 0.65rem;
    border-radius: 12px;
  }

  .faq-question {
    padding: 0.85rem 0.95rem;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .faq-answer p {
    font-size: 0.75rem;
    line-height: 1.35;
    padding: 0 0.95rem 0.85rem 0.95rem;
  }

  /* --- CONCEITO DE TELAS/PÁGINAS INDEPENDENTES NO MOBILE --- */
  /* Por padrão no mobile com paginação ativada, as seções viram telas independentes */
  body.mobile-paginated section[id] {
    display: none;
  }

  /* Apenas a tela ativa fica visível com transição suave */
  body.mobile-paginated section[id].mobile-screen-active {
    display: block;
    animation: mobileScreenFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes mobileScreenFade {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Se a tela de início estiver ativa, exibe também o painel de estatísticas */
  body.mobile-paginated section#hero.mobile-screen-active + section.stats-section {
    display: block;
  }

  /* Oculta o stats-section quando não estiver na tela de início */
  body.mobile-paginated:not(.mobile-screen-hero) section.stats-section {
    display: none;
  }
}

