:root {
    /* Identidade Premium */
    --primary: #4c3156;       
    --primary-dark: #3a2542;
    --primary-light: #f3eef5; 
    --accent-green: #469286;  
    
    --text-dark: #2d3436;
    --text-gray: #64748b;
    --bg-light: #ffffff;
    
    /* Sombras Suaves */
    --shadow-soft: 0 10px 40px rgba(76, 49, 86, 0.08);
    --shadow-hover: 0 15px 30px rgba(76, 49, 86, 0.12);
}

body { 
    margin: 0; 
    font-family: 'Inter', system-ui, sans-serif; 
    color: var(--text-dark); 
    line-height: 1.6; 
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; 
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
button { cursor: pointer; font-family: inherit; transition: 0.3s; }

/* HEADER */
.site-header { 
    background: rgba(255,255,255,0.95); 
    backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 100; 
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.02);
}
.header-content { 
    display: flex; justify-content: space-between; align-items: center; 
    height: 70px; 
}

.logo-img { height: 45px; width: auto; display: block; object-fit: contain; }

/* Navegação Desktop */
.main-nav { display: flex; gap: 25px; align-items: center; }
.main-nav a.nav-link { font-weight: 500; color: var(--text-gray); font-size: 0.95rem; }
.main-nav a.nav-link:hover { color: var(--primary); }

.btn-account {
    display: flex; align-items: center; gap: 8px;
    color: var(--primary); font-weight: 600; border: none;
    padding: 10px 20px; border-radius: 50px;
    background: var(--primary-light);
    transition: 0.2s;
}
.btn-account:hover { background: #e9dceb; transform: translateY(-1px); }

/* BOTÃO HAMBURGUER (MOBILE) */
.mobile-toggle { 
    display: none; background: none; border: none; padding: 5px; cursor: pointer;
}

/* OVERLAY MENU MOBILE */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 3000;
    opacity: 0; pointer-events: none; transition: 0.3s;
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: auto; }

.mobile-menu-content {
    position: absolute; top: 0; right: 0; width: 280px; height: 100%;
    background: white; padding: 25px; box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transform: translateX(100%); transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
}
.mobile-menu-overlay.active .mobile-menu-content { transform: translateX(0); }

.mobile-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.close-menu { font-size: 2rem; background: none; border: none; color: #999; cursor: pointer; }

.mobile-nav-links { display: flex; flex-direction: column; gap: 15px; }
.mobile-nav-links a { font-size: 1.1rem; color: #333; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.mobile-nav-links .divider { height: 1px; background: #eee; margin: 10px 0; }

.btn-mobile-login { width: 100%; padding: 12px; background: #f3f3f3; border: 1px solid #ddd; border-radius: 12px; font-weight: bold; color: #555; }
.btn-mobile-register { width: 100%; padding: 12px; background: var(--primary); border: none; border-radius: 12px; font-weight: bold; color: white; margin-top: 10px; }

/* HERO SECTION */
.hero { padding: 80px 0; background: radial-gradient(circle at top right, #f3eef5 0%, #ffffff 50%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

.hero-text h1 { 
    font-size: 3rem; line-height: 1.15; margin-bottom: 20px; 
    color: var(--primary); letter-spacing: -1px; font-weight: 800; 
}
.hero-text p { font-size: 1.2rem; color: var(--text-gray); margin-bottom: 35px; line-height: 1.6; }

.btn-hero { 
    background: var(--primary); /* Cor sólida premium ou gradiente sutil */
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white; border: none; padding: 16px 45px; font-size: 1.1rem; 
    border-radius: 50px; font-weight: 700; 
    box-shadow: 0 8px 25px rgba(76, 49, 86, 0.25); 
}
.btn-hero:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(76, 49, 86, 0.35); }
.small-text { font-size: 0.85rem; color: #888; margin-top: 15px; display: block; }

/* MOCKUP CELULAR */
.hero-image { display: flex; justify-content: center; position: relative; }
.app-mockup { 
    width: 280px; height: 580px; 
    background: #000; border-radius: 45px; 
    box-shadow: var(--shadow-soft); 
    border: 8px solid #2d3436; 
    position: relative; overflow: hidden; z-index: 1;
}
.camera-notch {
    width: 120px; height: 25px; background: #2d3436;
    border-radius: 0 0 16px 16px;
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    z-index: 10;
}
.mockup-screen {
    width: 100%; height: 100%;
    position: absolute; top: 0; left: 0;
    background: #fff; z-index: 1;
}
.mockup-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

.floating-badge { 
    position: absolute; bottom: 60px; right: -30px; 
    background: var(--accent-green); color: white; 
    padding: 12px 25px; transform: rotate(-5deg); 
    font-weight: bold; border-radius: 12px;
    box-shadow: 0 8px 20px rgba(70, 146, 134, 0.3); 
    z-index: 20; white-space: nowrap;
}

/* FEATURES */
.features { padding: 100px 0; background: white; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 60px; color: var(--text-dark); font-weight: 800; letter-spacing: -0.5px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

.feature-card { 
    padding: 35px 25px; border-radius: 20px; 
    background: white; border: 1px solid #f0f0f0;
    text-align: center; transition: 0.3s; 
}
.feature-card:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-hover); 
    border-color: transparent;
}
.feature-icon { font-size: 2.5rem; margin-bottom: 20px; }
.feature-card h3 { color: var(--primary); margin: 10px 0; font-size: 1.25rem; }
.feature-card p { color: var(--text-gray); font-size: 0.95rem; }

/* FOOTER */
#souslim-footer { background-color: #ffffff; color: #4a5568; font-size: 0.9rem; margin-top: 60px; }
.footer-border-top { height: 4px; background: linear-gradient(90deg, var(--primary) 0%, var(--accent-green) 100%); width: 100%; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 60px 20px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 40px; }

.col-brand img.footer-logo { max-width: 180px; margin-bottom: 20px; display: block; }
.footer-desc { line-height: 1.6; margin-bottom: 25px; color: #718096; max-width: 300px; }
.footer-socials { display: flex; gap: 15px; }
.footer-socials a { width: 36px; height: 36px; background: #f7fafc; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); transition: 0.3s; }
.footer-socials a:hover { background: var(--primary); color: white; transform: translateY(-2px); }
.footer-socials svg { width: 18px; height: 18px; }

.col h3 { color: var(--primary); font-size: 1rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #718096; transition: 0.2s; }
.footer-links a:hover { color: var(--accent-green); padding-left: 5px; }

.footer-seals { display: flex; gap: 10px; margin-bottom: 20px; }
.selo-box { display: flex; flex-direction: column; align-items: center; background: #f8fff9; border: 1px solid #e6ffea; padding: 8px 12px; border-radius: 8px; font-size: 0.7rem; font-weight: bold; color: var(--accent-green); text-align: center; }
.footer-payments { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-payments img { width: 36px; opacity: 0.8; }
.form-news { display: flex; gap: 0; margin-bottom: 15px; }
.form-news input { flex: 1; padding: 12px; border: 1px solid #cbd5e0; border-radius: 8px 0 0 8px; outline: none; }
.form-news button { background: var(--primary); color: white; border: none; padding: 0 15px; border-radius: 0 8px 8px 0; }
.btn-zap-footer { display: inline-block; background: #25D366; color: white; padding: 12px; border-radius: 8px; font-weight: 600; width: 100%; text-align: center; box-sizing: border-box; text-decoration: none; }

.footer-bottom { border-top: 1px solid #e2e8f0; padding: 30px 20px; background: #f7fafc; }
.disclaimer { max-width: 900px; margin: 0 auto 20px; font-size: 0.75rem; color: #a0aec0; text-align: center; }
.copyright { text-align: center; color: #718096; font-size: 0.85rem; }

/* MODAL & FORMS */
.modal-overlay { 
    position: fixed; top:0; left:0; width:100%; height:100%; 
    background: rgba(45, 52, 54, 0.7); backdrop-filter: blur(5px); 
    z-index: 4000; display: flex; align-items: center; justify-content: center; 
    opacity: 0; pointer-events: none; transition: 0.3s; 
}
.modal-overlay:not(.hidden) { opacity: 1; pointer-events: auto; }
.modal-box { 
    background: white; padding: 40px; border-radius: 24px; 
    width: 90%; max-width: 420px; position: relative; 
    transform: translateY(20px); transition: 0.3s; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}
.modal-overlay:not(.hidden) .modal-box { transform: translateY(0); }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 2rem; border: none; background: none; color: #ccc; cursor: pointer; }

.auth-form h2 { text-align: center; color: var(--primary); margin-top: 0; margin-bottom: 25px; font-weight: 800; }
.auth-form input:not([type="checkbox"]) { 
    width: 100%; padding: 14px; margin-bottom: 15px; 
    border: 1px solid #e0e0e0; border-radius: 12px; box-sizing: border-box; 
    font-size: 1rem; background: #fafafa; transition: 0.2s;
}
.auth-form input:focus { border-color: var(--primary); background: white; outline: none; }

.btn-full { width: 100%; padding: 14px; background: var(--primary); color: white; border: none; border-radius: 12px; font-weight: bold; cursor: pointer; font-size: 1rem; transition: 0.2s; }
.btn-full:hover { background: var(--primary-dark); }
.btn-green { background: var(--accent-green); }
.btn-green:hover { background: #36756b; }

.switch-text { text-align: center; font-size: 0.9rem; margin-top: 20px; color: #666; }
.switch-text a { color: var(--primary); font-weight: bold; cursor: pointer; text-decoration: underline; }

/* Botão Google e Divisor */
.btn-google {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 12px;
    background: white; border: 1px solid #ddd;
    border-radius: 12px; color: #555; font-weight: 600;
    margin-bottom: 20px; transition: 0.2s;
    font-size: 0.95rem; cursor: pointer;
}
.btn-google:hover { background: #f9f9f9; border-color: #ccc; }

.auth-divider {
    position: relative; text-align: center; margin-bottom: 20px;
}
.auth-divider::before {
    content: ''; position: absolute; top: 50%; left: 0;
    width: 100%; height: 1px; background: #eee;
}
.auth-divider span {
    position: relative; background: white; padding: 0 10px;
    color: #999; font-size: 0.8rem;
}

/* Checkbox */
.terms-checkbox {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.85rem; color: #666; margin-bottom: 15px; text-align: left;
}
.terms-checkbox input { width: auto !important; margin-top: 3px; }
.terms-checkbox a { color: var(--primary); text-decoration: underline; }

.hidden { display: none !important; }

/* RESPONSIVO */
@media (max-width: 992px) {
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
    .col-brand { grid-column: 1 / -1; text-align: center; }
    .col-brand img.footer-logo { margin: 0 auto 20px; }
    .footer-desc { margin: 0 auto 25px; }
    .footer-socials { justify-content: center; }
}

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-toggle { display: block; }
    .header-content { justify-content: space-between; padding: 0 20px; }
    .hero { padding: 40px 0; text-align: center; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-image { display: none; } 
    .hero-text h1 { font-size: 2.2rem; }
    .footer-inner { display: flex; flex-direction: column; text-align: center; gap: 30px; }
    .footer-socials, .footer-seals, .footer-payments { justify-content: center; }
    .form-news { max-width: 100%; }
}