/* ==========================================================================
   Variáveis CSS e Reset
   ========================================================================== */
:root {
    /* Paleta Premium: Magenta (Brand) & Dark */
    --bg-main: #0A0A0A; /* Preto profundo conforme brand */
    --bg-card: #121212;
    --bg-card-glass: rgba(18, 18, 18, 0.6);
    
    /* Tons de Destaque (Magenta) */
    --primary: #FF007F; 
    --primary-hover: #E60072;
    --primary-light: rgba(255, 0, 127, 0.15);
    --primary-glow: rgba(255, 0, 127, 0.4);
    
    /* Textos */
    --text-pure: #FFFFFF;
    --text-muted: #A1A1AA;
    
    /* Bordas e Sombras */
    --border-color: rgba(255, 255, 255, 0.1);
    --border-highlight: rgba(255, 0, 127, 0.3);
    --shadow-glow: 0 0 30px var(--primary-glow);
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-pure);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar & Selection */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
::selection {
    background: var(--primary);
    color: #fff;
}

/* Background Ambient Lighting & Noise */
.ambient-light {
    position: fixed; /* Changed to fixed to prevent height expansion */
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.light-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255,0,127,0.15) 0%, rgba(10,10,10,0) 70%);
}

.light-2 {
    top: 40%;
    right: -20%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255,0,127,0.1) 0%, rgba(10,10,10,0) 70%);
}

.light-3 {
    top: 80%; /* Changed from bottom: -10% to top: 80% */
    left: 20%;
    width: 70vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(255,0,127,0.08) 0%, rgba(10,10,10,0) 70%);
}

.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.03;
    pointer-events: none;
    z-index: -1;
}

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

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img, video { max-width: 100%; height: auto; }

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

p { color: var(--text-muted); font-size: 1.05rem; }

.text-gradient {
    background: linear-gradient(90deg, #FFFFFF 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font-body);
    white-space: nowrap;
}

.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

.btn-primary {
    background-color: var(--primary);
    color: #FFF;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3);
}

.btn-primary:hover {
    background-color: var(--text-pure);
    color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn:hover i {
    transform: translateX(5px);
}

.btn i {
    transition: transform 0.3s ease;
}

.cta-glow {
    position: relative;
    overflow: hidden;
}

.cta-glow::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.w-100 { width: 100%; }

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 20px 0;
    background-color: rgba(3, 7, 18, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 0;
    background-color: rgba(3, 7, 18, 0.9);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-pure);
    letter-spacing: 1px;
    line-height: 1.1;
    display: inline-block;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-pure);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Painel de Vidro Genérico */
.glass-panel {
    background: var(--bg-card-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

/* Badge Genérico */
.badge, .section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid var(--border-highlight);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding-top: 140px;
    padding-bottom: 60px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.feature-tag i { color: var(--primary); font-size: 1.1rem; }

/* Hero Visual Animation */
.hero-visual { position: relative; }

.chart-panel {
    position: relative;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.chart-panel:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    border-color: var(--primary);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.chart-title span { font-size: 0.9rem; color: var(--text-muted); }
.chart-title h3 { font-size: 2.5rem; color: var(--text-pure); margin-bottom: 0; }

.chart-icon {
    width: 48px; height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}

.chart-body { width: 100%; height: auto; }

.animated-chart { 
    display: block;
    width: 100%; 
    height: auto; 
    overflow: visible; 
}

.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}
.hero-visual.visible .chart-line {
    animation: drawLine 3s ease forwards;
}

.chart-area {
    opacity: 0;
}
.hero-visual.visible .chart-area {
    animation: fadeInArea 1.5s ease forwards 1s;
}

.chart-dot {
    fill: var(--bg-card);
    stroke: var(--primary);
    stroke-width: 2;
    opacity: 0;
}
.hero-visual.visible .chart-dot {
    animation: popIn 0.5s ease forwards;
}

.chart-dot-final {
    fill: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    opacity: 0;
}
.hero-visual.visible .chart-dot-final {
    animation: popIn 0.5s ease forwards 1.5s;
}

@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeInArea { to { opacity: 1; } }
@keyframes popIn {
    0% { opacity: 0; transform: scale(0); }
    80% { transform: scale(1.5); }
    100% { opacity: 1; transform: scale(1); }
}

.floating-badge {
    position: absolute;
    background: var(--bg-card-glass);
    border: 1px solid var(--border-highlight);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex; align-items: center; gap: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.floating-badge i { color: var(--primary); font-size: 1.2rem; }

.badge-1 { top: -20px; right: -20px; animation: float 4s ease-in-out infinite; }
.badge-2 { bottom: 20px; left: -30px; animation: float 5s ease-in-out infinite reverse; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==========================================================================
   Base das Seções
   ========================================================================== */
section { padding: 100px 0; }
.section-header { margin-bottom: 4rem; max-width: 700px; margin-inline: auto; }

/* ==========================================================================
   Pontos de Dor
   ========================================================================== */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.pain-card:hover {
    border-color: rgba(239, 68, 68, 0.4); /* Subtle red warning hover */
    transform: translateY(-5px);
    background: rgba(239, 68, 68, 0.02);
}

.pain-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444; /* Red color for pain points */
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
}

/* ==========================================================================
   Pilares / Método
   ========================================================================== */
.solutions-swiper {
    padding: 1rem 0 4rem !important;
}

.solutions-pagination {
    bottom: 0 !important;
}

.solutions-pagination .swiper-pagination-bullet {
    background: var(--primary) !important;
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Força altura igual para os slides */
.solutions-swiper .swiper-slide,
.video-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.solution-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255,0,127,0.05) 100%);
}

.sol-icon {
    width: 50px; height: 50px;
    background: rgba(255,0,127,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,0,127,0.2);
    transition: var(--transition);
}

.solution-card:hover .sol-icon {
    background: var(--primary);
    color: #000;
    transform: scale(1.1);
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-pure);
}

.solution-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .solutions-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .solutions-grid { grid-template-columns: 1fr; }
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.result-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.company-name {
    display: block;
    color: var(--text-pure);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.result-header h4 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.result-header .metric {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 1.5rem;
}

.graph-container {
    height: 120px;
    width: 100%;
    margin-top: auto;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-left: 1px solid rgba(255,255,255,0.1);
}

.graph-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.graph-line {
    fill: none;
    stroke: var(--primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
}

.result-card.visible .graph-line {
    animation: drawGraph 2s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes drawGraph {
    to { stroke-dashoffset: 0; }
}

.graph-area {
    opacity: 0;
    transition: opacity 1s ease-out;
    transition-delay: 1.5s;
}

.result-card.visible .graph-area {
    opacity: 1;
}

/* Responsive Results */
@media (max-width: 992px) {
    .results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .results-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Grid de Estatísticas
   ========================================================================== */
.stats { padding: 40px 0 100px; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.stat-box h3 {
    font-size: 3.5rem;
    color: var(--text-pure);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-box p { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; margin-bottom: 0; }

.highlight-stat {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255,0,127,0.1) 100%);
    border-color: var(--border-highlight);
}

.highlight-stat h3 { color: var(--primary); }

/* ==========================================================================
   Depoimentos em Vídeo & Marquee
   ========================================================================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.video-swiper {
    padding-bottom: 4rem !important;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card-premium {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    cursor: pointer;
}

.video-card-premium.playing {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 9/16;
    background: #000;
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.video-card-premium.playing video { opacity: 1; }

.play-button {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 70px; height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.5rem;
    z-index: 10; transition: var(--transition);
    box-shadow: 0 0 20px var(--primary-glow);
}

.video-info { padding: 1.5rem; text-align: center; }
.video-info h4 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.video-info p { font-size: 0.85rem; color: var(--text-muted); }

.video-pagination { bottom: 0 !important; }
.video-pagination .swiper-pagination-bullet { background: var(--primary) !important; }

/* Marquee */
.client-marquee-container {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
}

.marquee-title {
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px;
    color: var(--text-muted); margin-bottom: 2rem;
    padding: 0 24px;
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 1.5rem 0; /* Espaço extra para o efeito de scale não cortar */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    width: max-content;
    max-width: none !important; /* Garante que o container ultrapasse a largura da tela para a animação funcionar */
    align-items: center;
    will-change: transform;
}

.marquee-content.animate {
    animation: marquee 15s linear infinite;
}

.marquee-content img {
    height: 45px;
    width: auto;
    max-width: none !important; /* Previne que imagens sejam comprimidas no mobile */
    margin: 0 3rem;
    filter: brightness(0) invert(1) opacity(0.5);
    transition: var(--transition);
    flex-shrink: 0;
    cursor: pointer;
}

/* Classe para logos que já são claras e não precisam de inversão */
.marquee-content img.no-invert {
    filter: grayscale(1) opacity(0.5);
}

.marquee-content img:hover {
    filter: brightness(1) invert(0) opacity(1);
    transform: scale(1.15);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section { padding-bottom: 100px; }

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-card-glass), rgba(255,0,127,0.05));
}

.premium-form { margin-top: 2rem; }

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

.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 16px 20px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-pure); font-size: 1rem; font-family: var(--font-body);
    transition: var(--transition);
    resize: none;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); background: rgba(0,0,0,0.5);
}

/* Efeito visual de scanner */
.cta-visual {
    height: 100%; min-height: 400px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    border-radius: var(--radius-md);
    background: radial-gradient(circle, rgba(255,0,127,0.1), transparent 70%);
}

.scanner-effect {
    position: relative;
    width: 200px; height: 200px;
    display: flex; align-items: center; justify-content: center;
    font-size: 6rem; color: var(--primary);
    filter: drop-shadow(0 0 20px rgba(255,0,127,0.3));
}

.scanner-line {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: var(--primary);
    box-shadow: 0 0 15px 5px var(--primary-glow);
    animation: scan 3s ease-in-out infinite;
}

@keyframes scan {
    0%, 100% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    50% { top: 100%; }
}

/* ==========================================================================
   Footer & WhatsApp
   ========================================================================== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0; background: var(--bg-card);
}

.footer-container {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem;
}

.footer-left p { margin-top: 10px; font-size: 0.9rem; }

.social-links { display: flex; gap: 15px; }
.social-links a {
    width: 40px; height: 40px;
    border-radius: 50%; background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-pure); transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: #000; transform: translateY(-3px); }

.whatsapp-fixed {
    position: fixed; bottom: 30px; right: 30px;
    width: 60px; height: 60px;
    background-color: #25D366; color: #FFF;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; z-index: 999;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-fixed:hover { transform: scale(1.1); }

@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Animações de Entrada
   ========================================================================== */
.fade-in {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .pillars-container, .cta-card { grid-template-columns: 1fr; gap: 3rem; }
    .hero { padding-top: 120px; text-align: left; }
    .hero-features { 
        justify-content: flex-start; 
        gap: 0.3rem;
        flex-wrap: nowrap; /* Mantém um ao lado do outro */
        padding-bottom: 10px;
    }
    
    .feature-tag { 
        padding: 4px 8px; 
        font-size: 0.65rem; 
        white-space: nowrap; 
        display: flex;
        align-items: center;
        gap: 3px;
    }
    
    .chart-panel { transform: none !important; }
    
    .section-header.text-center { text-align: left !important; margin-inline: 0; }
    .section-header { margin-inline: 0; }

    .pain-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-menu-btn { display: block; }
    
    .nav-menu {
        position: fixed; top: 70px; left: -100%;
        width: 100%; height: calc(100vh - 70px);
        background: var(--bg-main);
        flex-direction: column; justify-content: center;
        transition: 0.3s;
    }
    
    .nav-menu.active { left: 0; }
    .nav-menu ul { flex-direction: column; gap: 2rem; }
    .nav-link { font-size: 1.2rem; }
    
    .pain-grid, .video-grid { grid-template-columns: 1fr; }
    .pain-card { text-align: left; }
    .pain-icon { margin-left: 0; }
    
    .stats-grid { grid-template-columns: 1fr; }
    .stat-box { text-align: left; }
    
    section { padding: 60px 0 !important; } /* Reduz padding das seções no mobile */
    .hero { padding-top: 120px !important; } /* Garante que o hero não seja afetado pela regra acima */
    .real-results { padding: 60px 0 !important; }
    .video-testimonials { padding: 60px 0 !important; }
    
    .cta-card { 
        padding: 2rem 1.25rem; 
        text-align: center; 
        border-radius: var(--radius-md);
        display: flex;
        flex-direction: column;
    }
    .cta-content h2 { font-size: 1.75rem; }
    .cta-content p { font-size: 0.95rem; margin-bottom: 1rem; }
    .premium-form { margin-top: 1.5rem; }
    
    .cta-visual { 
        display: flex; 
        min-height: auto; 
        height: auto;
        margin-bottom: 1.5rem;
        order: -1; /* Mantém acima do texto */
    }
    .scanner-effect { 
        width: 100px; 
        height: 100px; 
        font-size: 3rem; 
    }
    .scanner-line { height: 1px; }

    .form-group { margin-bottom: 1rem; }
    .form-group input, .form-group select, .form-group textarea { padding: 14px 16px; font-size: 0.95rem; }

    /* Ajustes Hero Visual Mobile */
    .hero-visual { margin-top: 2rem; padding: 0; }
    .chart-panel { padding: 1.5rem; }
    .chart-title h3 { font-size: 1.8rem; }
    .floating-badge { padding: 8px 15px; font-size: 0.75rem; }
    .badge-1 { top: -10px; right: -5px; }
    .badge-2 { bottom: 10px; left: -5px; }
}

@media (max-width: 480px) {
    .hero-visual { padding: 0; }
    .floating-badge { display: none; } /* Esconde badges flutuantes em telas muito pequenas para evitar poluição */
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 0 20px var(--primary-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--text-pure);
    color: var(--primary);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 44px;
        height: 44px;
    }
}

/* Correções de Estouro Lateral (Overflow) fornecidas pelo usuário */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    padding-left: clamp(20px, 4vw, 32px);
    padding-right: clamp(20px, 4vw, 32px);
}

.hero-visual,
.chart-panel,
.cta-card,
.swiper,
.swiper-wrapper {
    max-width: 100%;
}

.floating-badge {
    max-width: calc(100vw - 48px);
}

.badge-1 {
    right: 10px;
}

.badge-2 {
    left: 10px;
}


@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        overflow: hidden;
    }

    .chart-panel {
        transform: none;
        width: 100%;
    }

    .badge-1,
    .badge-2 {
        display: none;
    }

    .solutions-swiper,
    .video-swiper {
        overflow: hidden;
    }

    .marquee-content img {
        height: 30px;
        margin: 0 1.5rem;
    }
}
