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

/* ==========================================================================
   Variáveis Premium e Design Tokens
   ========================================================================== */
:root {
    --primary: #0B6BFF;
    --primary-dark: #002B6B;
    --primary-glow: rgba(11, 107, 255, 0.5);
    
    --bg-main: #F4F7FB;
    --bg-dark: #051024;
    
    --text-dark: #0A192F;
    --text-light: #E2E8F0;
    --text-muted: #64748B;
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    
    --glass-dark-bg: rgba(5, 16, 36, 0.6);
    --glass-dark-border: rgba(255, 255, 255, 0.1);
    
    --shadow-soft: 0 8px 32px 0 rgba(0, 31, 84, 0.05);
    --shadow-glow: 0 0 20px rgba(11, 107, 255, 0.4);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ==========================================================================
   Utilitários e Animações
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 var(--primary-glow); }
    70% { box-shadow: 0 0 0 20px rgba(11, 107, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(11, 107, 255, 0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Tipografia
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -1.5px; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -1px; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* ==========================================================================
   Botões Premium
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
    transition: var(--transition);
    opacity: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(11, 107, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(11, 107, 255, 0.4);
}

.btn-primary:hover::before { opacity: 1; }

.btn-large {
    padding: 18px 40px;
    font-size: 1.25rem;
    border-radius: 16px;
}

/* ==========================================================================
   Navbar com Glassmorphism Real
   ========================================================================== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    padding: 0 40px;
}

.logo-link {
    margin-right: 40px;
}

.logo { 
    height: 60px; 
    transform: scale(1.9); 
    transform-origin: left center;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1)); 
    transition: transform 0.3s ease; 
}
.logo:hover { transform: scale(2.0); }

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-decoration: none;
}

.nav-links a:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(11, 107, 255, 0.3);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.mobile-menu-btn { display: none; }

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 999;
    padding-top: 120px;
}
.mobile-nav-links {
    display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ==========================================================================
   Header Banner & Hero Section (O Fator WOW)
   ========================================================================== */
.header-banner {
    margin-top: 0;
    width: 100%;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 5;
}

.header-banner img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1920 / 460;
    object-fit: cover;
}

.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding-top: 10rem;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(11, 107, 255, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(0, 210, 255, 0.2) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(5, 16, 36, 0.8) 0%, rgba(5, 16, 36, 0.95) 100%);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100px;
    background: linear-gradient(to top, var(--bg-main), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding-bottom: 5rem;
    animation: fadeIn 1s ease-out forwards;
}

.hero h1 { color: white; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.hero p { color: var(--text-light); font-size: 1.25rem; margin-bottom: 2.5rem; }

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #00d2ff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 2rem;
    align-items: flex-end;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    margin-bottom: -150px; /* Faz a imagem sobrepor o degradê inferior */
    z-index: 3;
}

.hero-avatar {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    filter: drop-shadow(0 0 35px rgba(11, 107, 255, 0.3));
    animation: fadeIn 1.2s ease-out forwards;
}


.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    margin-top: 4rem;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 20px 30px;
    border-radius: 20px;
    color: var(--text-light);
    font-family: var(--font-heading);
}

.hero-stat strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #00d2ff;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}

/* ==========================================================================
   Seções Gerais
   ========================================================================== */
.section { padding: 8rem 0; position: relative; }
.section-header { margin-bottom: 5rem; }

/* ==========================================================================
   Dores vs Solução (Cards Glassmorphism Premium)
   ========================================================================== */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
}

/* Efeito de brilho de fundo atrás dos cards */
.comparison-grid::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60%; height: 60%;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.15;
    z-index: 0;
}

.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(255,255,255,1);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 31, 84, 0.08);
}

.danger-card { border-top: 5px solid #ff4d4f; }
.success-card {
    border-top: 5px solid var(--primary);
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(240, 247, 255, 0.9) 100%);
}

.card-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: bold; color: white;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-icon.danger { background: linear-gradient(135deg, #ff4d4f, #d9363e); }
.card-icon.success { background: linear-gradient(135deg, var(--primary), #00d2ff); }

.card ul {
    list-style-type: none;
}

.card ul li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.card ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 10px;
    width: 8px; height: 8px;
    border-radius: 50%;
}
.danger-card ul li::before { background: #ff4d4f; box-shadow: 0 0 8px #ff4d4f; }
.success-card ul li::before { background: var(--primary); box-shadow: 0 0 8px var(--primary); }

/* ==========================================================================
   Sobre (Design Elegante)
   ========================================================================== */
.about-section {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    height: 500px;
    border-radius: 30px;
    background-image: url('../images/banner.png'); /* Fallback */
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 60px rgba(0, 31, 84, 0.15);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(11, 107, 255, 0.4) 0%, transparent 100%);
}

.glass-panel {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.8);
    max-width: 350px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.glass-panel h3 { color: var(--primary-dark); }
.about-icon { width: 60px; margin-bottom: 1.5rem; }

/* ==========================================================================
   Benefícios (Grid Moderna)
   ========================================================================== */
.benefits-section {
    background: var(--bg-main);
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), #00d2ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 31, 84, 0.08);
}

.benefit-card:hover::before { transform: scaleX(1); }

.icon-wrapper {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 20px;
    background: var(--bg-main);
    border-radius: 50%;
    color: var(--primary);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-container { max-width: 800px; margin: 0 auto; }

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.02);
}

.faq-question {
    width: 100%; text-align: left;
    padding: 2rem;
    background: none; border: none;
    font-family: var(--font-heading);
    font-size: 1.2rem; font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 2rem; color: var(--primary);
    transition: var(--transition);
}

.faq-question.active::after { content: '-'; transform: rotate(180deg); }

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.faq-question.active + .faq-answer { padding-bottom: 2rem; max-height: 400px; }

/* ==========================================================================
   CTA Final e Footer
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 40px;
    margin: 0 20px 40px;
    padding: 6rem 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.cta-section h2 { color: white; }
.cta-section .btn {
    background: white; color: var(--primary-dark);
    box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}

.cta-section .btn:hover { background: var(--bg-main); }

.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-logo { height: 45px; margin-bottom: 1.5rem; filter: brightness(0) invert(1); }
.footer h4 { color: white; font-size: 1.3rem; margin-bottom: 1.5rem; }
.footer-links a, .footer-contact a { display: block; color: var(--text-muted); margin-bottom: 1rem; font-size: 1.1rem; }
.footer-links a:hover, .footer-contact a:hover { color: white; transform: translateX(5px); }

/* ==========================================================================
   Responsivo Mágico
   ========================================================================== */
@media (max-width: 992px) {
    .comparison-grid, .about-grid { grid-template-columns: 1fr; }
    .hero-grid { grid-template-columns: 1fr; align-items: center; gap: 0; }
    .hero { padding-top: 6rem; }
    .hero-content { z-index: 4; text-align: center; padding-top: 0; margin-top: -1px; }
    .hero-stats { flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
    .hero-stat { padding: 12px 20px; border-radius: 12px; width: 45%; }
    .hero-stat strong { font-size: 1.8rem; }
    .badge { font-size: 0.75rem; padding: 6px 15px; margin-bottom: 1rem; }
    .hero-image-container { margin-bottom: 0; }
    .hero-avatar { max-height: 280px; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .glass-panel { position: relative; bottom: 0; left: 0; margin: -50px auto 0; max-width: 90%; }
    .section { padding: 3.5rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    .card { padding: 2rem 1.5rem; }
    .card ul li { margin-bottom: 0.8rem; font-size: 1rem; padding-left: 1.5rem; }
    .comparison-grid { gap: 1.5rem; }
    .about-grid { gap: 2.5rem; }
    .footer { padding: 3rem 0 1.5rem; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: flex; flex-direction: column; justify-content: space-between; width: 30px; height: 20px; background: none; border: none; z-index: 1001; }
    .mobile-menu-btn span { width: 100%; height: 3px; background: var(--primary-dark); border-radius: 3px; transition: var(--transition); }
    .footer-content { grid-template-columns: 1fr; }
    .cta-section { margin: 0; border-radius: 0; padding: 3rem 1.5rem; }
}
