/* ================================================================
   INDEX.CSS - Landing Page + Login
   ================================================================ */

/* Variáveis CSS para consistência */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 60%, #ec4899 100%);
    --secondary-color: #64748b;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --background-color: #f8fafc;
    --card-background: #ffffff;
    --text-color: #0f172a;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-subtle: rgba(0,0,0,0.06);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.07);
    --shadow-card-hover: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-primary: 0 8px 24px rgba(99,102,241,0.35);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --whatsapp-color: #25D366;
    --whatsapp-dark: #128C7E;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================================================
   CARD DE LOGIN
   ================================================================ */

.login-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.08);
    animation: cardFadeIn 0.6s ease-out;
    border-radius: var(--radius-lg);
}

.login-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

/* ================================================================
   BOTÕES
   ================================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Button Submit Styles */
form .btn-primary {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    color: white;
    border: none;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(99,102,241,0.35);
}

form .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99,102,241,0.45);
}

/* ================================================================
   SEPARADOR "OU" E BOTÃO GOOGLE
   ================================================================ */

.separator-or {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    gap: 12px;
}

.separator-or::before,
.separator-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.separator-or span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
}

.btn-google:hover {
    background: #f8fafc;
    border-color: #c7d2fe;
    box-shadow: 0 2px 12px rgba(99,102,241,0.1);
    transform: translateY(-1px);
}

.btn-google svg {
    flex-shrink: 0;
}

/* WhatsApp Button */
#whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
}

#whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--whatsapp-color) 0%, var(--whatsapp-dark) 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    font-size: 1.75rem;
    animation: pulse 2s infinite;
    border-radius: 50%;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 35px rgba(37, 211, 102, 0.65);
    }
}

#whatsapp-button a:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

/* ================================================================
   MODAIS
   ================================================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 4, 28, 0.75);
    backdrop-filter: blur(12px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: rgba(8, 4, 28, 0.82);
    backdrop-filter: blur(40px) saturate(160%);
    -webkit-backdrop-filter: blur(40px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 2px solid rgba(139, 92, 246, 0.5);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(139, 92, 246, 0.2);
    width: 100%;
    max-width: 460px;
    padding: 2.5rem 3rem;
    position: relative;
    animation: modalFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 28px;
}

/* Título dos modais */
.modal-title {
    font-size: 1.7rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Labels e inputs dark nos modais */
.modal-content .form-group label {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.modal-content .form-group label i {
    color: #a78bfa;
}

.modal-content .form-group input {
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    font-size: 1rem;
}

.modal-content .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.modal-content .form-group input:focus {
    border-color: rgba(167, 139, 250, 0.6);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    background: rgba(255, 255, 255, 0.1);
    transform: none;
}

.modal-content .form-group small {
    color: rgba(255,255,255,0.4);
}

/* Botão submit nos modais */
.modal-content form .btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.55);
    border-radius: 12px;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-top: 0.5rem;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.modal-content form .btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.7);
    transform: translateY(-2px);
}

/* Botão fechar nos modais */
.recuperacao-close, .nova-senha-close, .cadastro-close {
    color: rgba(255,255,255,0.4);
}

.recuperacao-close:hover, .nova-senha-close:hover, .cadastro-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* Toggle senha nos modais */
.modal-content .password-toggle {
    color: rgba(255,255,255,0.4);
}

.modal-content .password-toggle:hover {
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.15);
}

/* Footer links nos modais */
.modal-content .login-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.4);
}

.modal-content .login-footer a {
    color: #a78bfa;
    font-weight: 600;
}

.modal-content .login-footer a:hover {
    color: #c4b5fd;
}

/* Mensagens de erro/sucesso nos modais */
.modal-content .error-message {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.modal-content .success-message {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

/* Strength bar */
.modal-content .strength-bar {
    background: rgba(255,255,255,0.1);
}


@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.recuperacao-close, .nova-senha-close, .cadastro-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.4rem;
    cursor: pointer;
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 8px;
}

.recuperacao-close:hover, .nova-senha-close:hover, .cadastro-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
    transform: scale(1.1);
}

/* ================================================================
   FORMULÁRIOS
   ================================================================ */

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

.form-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--text-color);
    gap: 0.4rem;
    font-size: 0.9rem;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--border-color);
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
    border-radius: var(--radius-sm);
    color: var(--text-color);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    transform: translateY(-1px);
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
    border-radius: 4px;
}

.password-toggle:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.08);
}

.password-strength {
    margin-top: 0.75rem;
}

.strength-bar {
    height: 4px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    transition: width 0.3s ease, background 0.3s ease;
}

.strength-text {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Message Styles */
.error-message, .success-message {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
    border-radius: var(--radius-sm);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.error-message {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.04));
    color: var(--error-color);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.success-message {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.04));
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.login-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.login-footer p {
    margin: 0.5rem 0;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.login-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}


/* ================================================================
   MEDIA QUERIES — COMPONENTES BASE
   ================================================================ */

@media (max-width: 480px) {
    .login-card {
        padding: 1.5rem;
    }

    .login-title {
        font-size: 1.3rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .modal-content {
        max-width: 450px;
        padding: 1.75rem;
    }

    #whatsapp-button a {
        width: 60px;
        height: 60px;
        font-size: 1.65rem;
    }
}

@media (min-width: 1920px) {
    .login-card {
        max-width: 480px;
        padding: 2.5rem;
    }

    .login-title {
        font-size: 1.8rem;
    }

    .modal-content {
        max-width: 520px;
        padding: 2rem;
    }

    .form-group input {
        padding: 0.85rem 1.15rem;
        font-size: 1.05rem;
    }

    #whatsapp-button a {
        width: 75px;
        height: 75px;
        font-size: 2rem;
    }
}

@media (min-width: 2560px) {
    .login-card {
        max-width: 550px;
        padding: 3rem;
    }

    .login-title {
        font-size: 2rem;
    }

    .modal-content {
        max-width: 600px;
        padding: 2.5rem;
    }

    .form-group input {
        padding: 1rem 1.3rem;
        font-size: 1.15rem;
    }

    #whatsapp-button a {
        width: 85px;
        height: 85px;
        font-size: 2.25rem;
    }
}

/* Compensar nav fixo em todas as âncoras da landing */
#hero-section, #features, #ia-showcase, #avaliacoes, #como-funciona {
    scroll-margin-top: 70px;
}

/* ================================================================
   LANDING PAGE — NAVBAR
   ================================================================ */

.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    padding: 18px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-nav.nav-scrolled {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.05);
    padding: 10px 0;
}

.landing-nav.nav-scrolled .nav-logo span,
.landing-nav.nav-scrolled .nav-links a {
    color: #1e293b;
}

.landing-nav.nav-scrolled .nav-logo i {
    color: var(--primary-color);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.nav-logo img.nav-logo-image {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: block;
    object-fit: cover;
    flex-shrink: 0;
}

.nav-logo i {
    font-size: 22px;
    color: rgba(255,255,255,0.95);
}

.nav-logo span {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: #fff;
}


/* ================================================================
   HERO SECTION
   ================================================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        #2d1b69 0%,
        #4c1d95 20%,
        #5b21b6 38%,
        #6d28d9 52%,
        #7c3aed 65%,
        #8b5cf6 80%,
        #a78bfa 100%
    );
    z-index: 0;
}

/* Overlay escuro para profundidade */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
        rgba(15, 5, 40, 0.55) 0%,
        rgba(49, 10, 80, 0.3) 50%,
        rgba(20, 10, 60, 0.4) 100%
    );
    z-index: 1;
}

/* Acento de cor no canto inferior */
.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.22) 0%, transparent 70%);
    z-index: 1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -180px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    filter: blur(2px);
}

.shape-2 {
    width: 420px;
    height: 420px;
    bottom: -120px;
    right: -100px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.12) 0%, transparent 70%);
    filter: blur(4px);
}

.shape-3 {
    width: 240px;
    height: 240px;
    top: 38%;
    left: 36%;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    filter: blur(8px);
}

/* Shape extra — glow top-right */
.shape-1::after {
    content: '';
    position: absolute;
    top: 30%;
    right: -200px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
}

.hero-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 6rem 0 3rem;
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.hero-highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-size: clamp(1.6rem, 2.8vw, 2.6rem);
    margin-bottom: 24px;
}

.btn-hero-cta {
    margin-top: 36px;
    padding: 22px 56px;
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f97316, #ec4899);
    color: #fff;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.45);
    transition: transform 0.15s, box-shadow 0.15s;
    display: inline-block;
}

.btn-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 50px rgba(249, 115, 22, 0.6);
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 36px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.hero-feature-item i {
    color: #4ade80;
    font-size: 15px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.5));
}

/* Login card always visible in hero */
.hero-login {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 20px;
}

/* ---- Card moderno dark glassmorphism ---- */
.hero-login .login-card {
    background: rgba(8, 4, 28, 0.78);
    backdrop-filter: blur(40px) saturate(160%);
    -webkit-backdrop-filter: blur(40px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 28px;
    width: 100%;
    max-width: 520px;
    padding: 3rem 3.5rem;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 40px 100px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(139, 92, 246, 0.22);
}

.hero-login .login-title {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

/* Labels brancos */
.hero-login .form-group label {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-login .form-group label i {
    color: #a78bfa;
}

/* Inputs dark */
.hero-login .form-group input {
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-login .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.hero-login .form-group input:focus {
    border-color: rgba(167, 139, 250, 0.6);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

/* Toggle olho de senha */
.hero-login .password-toggle {
    color: rgba(255,255,255,0.4);
}

.hero-login .password-toggle:hover {
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.15);
}

/* Botão entrar */
.hero-login form .btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.55);
    border-radius: 12px;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-top: 0.75rem;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.hero-login form .btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.7);
    transform: translateY(-2px);
}

/* Separador "ou" */
.hero-login .separator-or::before,
.hero-login .separator-or::after {
    background: rgba(255,255,255,0.12);
}

.hero-login .separator-or span {
    color: rgba(255,255,255,0.35);
}

/* Botão Google */
.hero-login .btn-google {
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 0.85rem;
    font-size: 0.95rem;
}

.hero-login .btn-google:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* Footer */
.hero-login .login-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.4);
}

.hero-login .login-footer a {
    color: #a78bfa;
    font-weight: 600;
}

.hero-login .login-footer a:hover {
    color: #c4b5fd;
}

/* Error message no dark */
.hero-login .error-message {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* ================================================================
   SEÇÃO DOR / PROBLEMA
   ================================================================ */

/* ================================================================
   FEATURES SECTION
   ================================================================ */

.features-section {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.2), transparent);
}

.section-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    background: rgba(99,102,241,0.08);
    color: var(--primary-color);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    border: 1px solid rgba(99,102,241,0.18);
    letter-spacing: 0.02em;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 14px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ================================================================
   STATS STRIP
   ================================================================ */

.stats-strip {
    background: #fff;
    border-top: 1px solid #eef0f6;
    border-bottom: 1px solid #eef0f6;
    padding: 44px 3rem;
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.stat-number {
    display: block;
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-number small {
    font-size: 1.6rem;
    color: #f59e0b;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 52px;
    background: #e2e8f0;
    flex-shrink: 0;
}

/* ================================================================
   FEATURES BENTO GRID
   ================================================================ */

.features-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Base card */
.feature-bento-card {
    border-radius: 22px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s ease;
    min-height: 230px;
    display: flex;
    flex-direction: column;
}

.feature-bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 56px rgba(0,0,0,0.14);
}

/* Wide: span 2 cols, horizontal layout */
.feature-bento-card.wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 36px;
    min-height: 240px;
}

.feature-bento-card.wide .bento-content {
    flex: 1;
    min-width: 0;
}

/* Full width */
.feature-bento-card.full {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 160px;
}

.feature-bento-card.full .bento-content {
    flex: 1;
}

/* ─── Color themes ─── */

.card-dark-indigo {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

.card-dark-green {
    background: linear-gradient(135deg, #052e16 0%, #065f46 100%);
}

.card-light {
    background: #ffffff;
    border: 1px solid #e8eaef;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

.card-dark-slate {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.card-dark-amber {
    background: linear-gradient(135deg, #431407 0%, #9a3412 100%);
}

.card-dark-full {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #312e81 100%);
}

/* ─── Text colors ─── */

.card-dark-indigo h3, .card-dark-green h3,
.card-dark-slate h3, .card-dark-amber h3, .card-dark-full h3 {
    color: #fff;
}

.card-dark-indigo p, .card-dark-green p,
.card-dark-slate p, .card-dark-amber p, .card-dark-full p {
    color: rgba(255,255,255,0.65);
}

.card-light h3 { color: var(--text-color); }
.card-light p  { color: var(--text-secondary); }

/* ─── Bento icon ─── */

.feature-bento-card .bento-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.card-dark-indigo .bento-icon { background: rgba(255,255,255,0.12); color: #a5b4fc; }
.card-dark-green  .bento-icon { background: rgba(255,255,255,0.12); color: #6ee7b7; }
.card-dark-slate  .bento-icon { background: rgba(255,255,255,0.10); color: #93c5fd; }
.card-dark-amber  .bento-icon { background: rgba(255,255,255,0.12); color: #fcd34d; }
.card-dark-full   .bento-icon { background: rgba(255,255,255,0.10); color: #a5b4fc; }
.card-light       .bento-icon { background: rgba(99,102,241,0.09); color: #6366f1; }

.bento-icon-red    { background: rgba(239,68,68,0.1)   !important; color: #ef4444 !important; }
.bento-icon-purple { background: rgba(147,51,234,0.1)  !important; color: #9333ea !important; }
.bento-icon-orange { background: rgba(249,115,22,0.1)  !important; color: #f97316 !important; }

/* ─── Typography ─── */

.feature-bento-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.feature-bento-card p {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 20px;
}

/* ─── Visual: chat demo ─── */

.bento-visual {
    flex-shrink: 0;
    width: 240px;
}

.bento-chat-demo {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bento-msg {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    line-height: 1.5;
    border-radius: 12px;
    padding: 9px 12px;
    max-width: 88%;
}

.bento-msg i { font-size: 13px; flex-shrink: 0; margin-top: 1px; }

.bento-msg-user {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.88);
    align-self: flex-start;
}

.bento-msg-bot {
    background: rgba(99,102,241,0.35);
    color: rgba(255,255,255,0.95);
    align-self: flex-end;
    flex-direction: row-reverse;
    text-align: right;
}

/* ─── Visual: big stat ─── */

.bento-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
}

.bento-stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.9);
    letter-spacing: -0.05em;
    line-height: 1;
}

.bento-stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* ─── Tags ─── */

.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.bento-tag {
    background: rgba(99,102,241,0.09);
    color: var(--primary-color);
    border: 1px solid rgba(99,102,241,0.18);
    border-radius: 20px;
    padding: 5px 13px;
    font-size: 12px;
    font-weight: 600;
}

/* ─── Progress bars ─── */

.bento-progress-demo { margin-top: auto; }

.bento-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 7px;
}

.bento-progress-bar {
    background: rgba(99,102,241,0.1);
    border-radius: 10px;
    height: 7px;
    overflow: hidden;
}

.bento-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 10px;
}

.bento-progress-fill-green {
    background: linear-gradient(90deg, #10b981, #059669);
}

/* ─── Pills ─── */

.bento-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.bento-pill {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
    border-radius: 20px;
    padding: 5px 13px;
    font-size: 12px;
    font-weight: 500;
}

/* ─── Mini bar chart ─── */

.bento-visual-chart {
    width: 200px;
    align-self: flex-end;
}

.mini-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 130px;
    padding-bottom: 28px;
    position: relative;
}

.mini-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    height: 100%;
}

.mini-bar-fill {
    width: 100%;
    height: var(--h, 50%);
    background: rgba(255,255,255,0.18);
    border-radius: 5px 5px 0 0;
    transition: height 1s ease;
}

.mini-bar span {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    color: rgba(255,255,255,0.4);
    white-space: nowrap;
}

/* ─── Avatars ─── */

.bento-avatars {
    display: flex;
    gap: 8px;
    margin-top: auto;
    align-items: center;
}

.bento-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(99,102,241,0.1);
    border: 2px solid rgba(99,102,241,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.bento-avatar-add {
    font-size: 12px;
    color: var(--primary-color);
    border-style: dashed;
}

/* ─── Device badges ─── */

.bento-device-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.device-badge {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    border-radius: 22px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

/* ================================================================
   COMO FUNCIONA
   ================================================================ */

.how-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.how-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* ─── How cards ─── */

.how-cards {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
    z-index: 1;
}

.how-card {
    flex: 1;
    border-radius: 22px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.how-card-light {
    background: #fff;
    border: 1px solid #e8eaef;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.how-card-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(99,102,241,0.1);
}

.how-card-featured {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 12px 40px rgba(99,102,241,0.38);
    transform: translateY(-6px);
}

.how-card-featured:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 56px rgba(99,102,241,0.5);
}

.how-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.how-icon-1 { background: rgba(99,102,241,0.1);  color: #6366f1; }
.how-icon-2 { background: rgba(255,255,255,0.2);  color: #fff; }
.how-icon-3 { background: rgba(139,92,246,0.1);   color: #8b5cf6; }

.how-card-num {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
    margin-bottom: 20px;
}

.how-card-light .how-card-num    { color: rgba(99,102,241,0.1); }
.how-card-featured .how-card-num { color: rgba(255,255,255,0.15); }

.how-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.how-card-light h3    { color: var(--text-color); }
.how-card-featured h3 { color: #fff; }

.how-card p {
    font-size: 14px;
    line-height: 1.75;
}

.how-card-light p    { color: var(--text-secondary); }
.how-card-featured p { color: rgba(255,255,255,0.7); }

.how-connector {
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: #c7d2fe;
    font-size: 18px;
    opacity: 0.5;
    flex-shrink: 0;
    align-self: center;
}

/* ================================================================
   IA SHOWCASE SECTION
   ================================================================ */

.ia-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #090e1f 0%, #0d1230 40%, #111827 100%);
    position: relative;
    overflow: hidden;
}

.ia-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.ia-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ia-section .section-badge.ia-badge {
    background: rgba(99,102,241,0.15);
    color: #a5b4fc;
    border-color: rgba(99,102,241,0.28);
}

.ia-section .section-title {
    color: #f1f5f9;
}

.ia-section .section-desc {
    color: #94a3b8;
}

/* ================================================================
   IA BENTO GRID
   ================================================================ */

.ia-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
    z-index: 1;
}

.ia-bento-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    overflow: hidden;
}

.ia-bento-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(99,102,241,0.35);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

/* Main card: full width, horizontal */
.ia-bento-main {
    grid-column: span 4;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    background: rgba(99,102,241,0.1);
    border-color: rgba(99,102,241,0.22);
    padding: 36px;
    min-height: 220px;
}

.ia-bento-main:hover {
    background: rgba(99,102,241,0.14);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px rgba(99,102,241,0.12);
}

.ia-bento-main-content {
    flex: 1;
    min-width: 0;
}

/* Chat widget inside main card */
.ia-bento-main-chat {
    flex-shrink: 0;
    width: 300px;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
}

.ia-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ia-chat-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}

.ia-chat-name {
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.2;
}

.ia-chat-status {
    font-size: 10.5px;
    color: #34d399;
}

.ia-chat-msgs {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ia-chat-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.5;
}

.ia-chat-msg-user {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    align-self: flex-start;
}

.ia-chat-msg-bot {
    background: rgba(99,102,241,0.28);
    color: #c7d2fe;
    align-self: flex-end;
    text-align: right;
}

.ia-chat-msg-bot strong { color: #e0e7ff; }

/* IA main card text */
.ia-bento-main h3 {
    font-size: 20px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.ia-bento-main p {
    font-size: 15px;
    color: rgba(255,255,255,0.58);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Ask examples pills */
.ia-ask-examples {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ia-ask-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.65);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-style: italic;
}

.ia-ask-pill i { color: #818cf8; font-style: normal; flex-shrink: 0; }

/* Capability card text */
.ia-bento-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.ia-bento-card p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.7;
}

/* Main icon */
.ia-icon-main { background: rgba(255,255,255,0.12); color: #a5b4fc; }

/* Capability card icons */
.ia-cap-scan { background: rgba(16,185,129,0.18);  color: #34d399; }
.ia-cap-ocr  { background: rgba(245,158,11,0.18);  color: #fbbf24; }
.ia-cap-pix  { background: rgba(14,165,233,0.18);  color: #38bdf8; }
.ia-cap-plug { background: rgba(249,115,22,0.18);  color: #fb923c; }

/* Accent card (nota fiscal) */
.ia-bento-accent {
    background: rgba(245,158,11,0.06);
    border-color: rgba(245,158,11,0.14);
}

/* Providers card */
.ia-bento-providers {
    background: rgba(249,115,22,0.06);
    border-color: rgba(249,115,22,0.14);
}

.ia-provider-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 14px;
}

.ia-provider-badge {
    background: rgba(249,115,22,0.12);
    border: 1px solid rgba(249,115,22,0.22);
    color: #fb923c;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .ia-bento { grid-template-columns: repeat(2, 1fr); }
    .ia-bento-main { grid-column: span 2; flex-direction: column; align-items: flex-start; }
    .ia-bento-main-chat { width: 100%; }
}

@media (max-width: 600px) {
    .ia-bento { grid-template-columns: 1fr; }
    .ia-bento-main { grid-column: span 1; }
}

/* ================================================================
   CTA SECTION
   ================================================================ */

.cta-section {
    padding: 96px 0;
    background: linear-gradient(135deg,
        #312e81 0%,
        #4c1d95 25%,
        #6d28d9 55%,
        #7c3aed 75%,
        #9333ea 100%
    );
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 65%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -40px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(236,72,153,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
    line-height: 1.25;
    text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.cta-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.78);
    margin-bottom: 12px;
    line-height: 1.7;
}

/* ================================================================
   FOOTER
   ================================================================ */

.landing-footer {
    background: #080e1d;
    padding: 48px 0 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 3rem 36px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.landing-footer .nav-logo i { color: #818cf8; }
.landing-footer .nav-logo span { color: #fff; }

.footer-brand p {
    color: #475569;
    font-size: 13px;
    margin-top: 10px;
    max-width: 280px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links span {
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--whatsapp-color); }
.footer-links a i { font-size: 16px; color: var(--whatsapp-color); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 16px 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #334155;
    font-size: 12px;
}

/* ================================================================
   BOTÃO MOBILE LOGIN
   ================================================================ */

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

@media (max-width: 900px) {
    .btn-mobile-login {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 28px;
        padding: 14px 32px;
        background: linear-gradient(135deg, #6366f1, #8b5cf6);
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        border-radius: var(--radius-md);
        text-decoration: none;
        box-shadow: 0 4px 20px rgba(99,102,241,0.45);
        transition: var(--transition);
    }

    .btn-mobile-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(99,102,241,0.55);
    }
}

/* ================================================================
   RESPONSIVO LANDING PAGE
   ================================================================ */

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 1.5rem;
        gap: 2rem;
    }

    .hero-desc { margin: 0 auto 28px; }
    .hero-features-list { align-items: center; }
    .hero-login { justify-content: center; }

    .features-bento { grid-template-columns: repeat(2, 1fr); }
    .feature-bento-card.full { grid-column: span 2; flex-direction: column; align-items: flex-start; }
    .bento-device-row { flex-wrap: wrap; }
    .nav-links { display: none; }
    .stats-container { gap: 0; }
    .ia-bento { grid-template-columns: repeat(2, 1fr); }
    .ia-bento-main { grid-column: span 2; flex-direction: column; align-items: flex-start; }
    .ia-bento-main-chat { width: 100%; }
    .how-cards { flex-direction: column; gap: 20px; }
    .how-connector { padding: 0; transform: rotate(90deg); align-self: flex-start; margin-left: 40px; }
    .how-card-featured { transform: none; }
}

@media (max-width: 600px) {
    .features-bento { grid-template-columns: 1fr; }
    .feature-bento-card.wide { grid-column: span 1; flex-direction: column; }
    .feature-bento-card.full { grid-column: span 1; flex-direction: column; }
    .bento-visual { width: 100%; }
    .bento-visual-chart { width: 100%; }
    .stats-container { flex-direction: column; gap: 28px; }
    .stat-divider { width: 60px; height: 1px; }
    .ia-bento { grid-template-columns: 1fr; }
    .ia-bento-main { grid-column: span 1; }
    .how-cards { flex-direction: column; gap: 16px; }
    .how-connector { padding: 0; transform: rotate(90deg); align-self: flex-start; margin-left: 40px; }
    .how-card-featured { transform: none; }
    .hero-section { padding: 80px 0 40px; }

    .hero-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .hero-highlight {
        font-size: clamp(1.2rem, 5.5vw, 1.6rem);
    }

    .login-card {
        max-width: 100%;
        width: 100%;
    }

    /* Impedir Zoom Automático no iOS */
    .form-group input {
        font-size: 16px;
        padding: 12px 16px;
        height: 50px;
    }

    #whatsapp-button a {
        width: 55px;
        height: 55px;
    }

    .btn:active, .btn-google:active {
        transform: scale(0.96);
        opacity: 0.8;
    }

    .modal-content {
        width: 95%;
        padding: 1.25rem;
        max-height: 90vh;
        margin: 0 auto;
    }
}



/* Desativar animações em dispositivos com preferência por movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    .btn::before {
        display: none;
    }
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================================================
   HOW-SECTION CTA
   ================================================================ */
.how-cta {
    text-align: center;
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.how-cta-sub {
    font-size: 13px;
    color: var(--text-light);
}

/* ================================================================
   FAQ SECTION
   ================================================================ */

.faq-section {
    padding: 80px 0;
    background: #f8fafc;
    position: relative;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #e8eaef;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item.open {
    border-color: rgba(99,102,241,0.3);
    box-shadow: 0 4px 20px rgba(99,102,241,0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    gap: 16px;
    user-select: none;
}

.faq-question span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 13px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
}

@media (max-width: 600px) {
    .faq-question { padding: 16px 18px; }
    .faq-item.open .faq-answer { padding: 0 18px 16px; }
}

/* ================================================================
   FOOTER CTA SECTION
   ================================================================ */
.footer-cta-section {
    background: #0f172a;
    padding: 96px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.18) 0%, transparent 65%);
    pointer-events: none;
}

.footer-cta-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.footer-cta-title {
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.footer-cta-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.btn-footer-cta {
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    padding: 1.1rem 2.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(99,102,241,0.4);
    letter-spacing: -0.01em;
}

.btn-footer-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(99,102,241,0.55);
}

.footer-cta-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin-top: 4px;
}

/* ================================================================
   FIELD HINT MICROCOPY
   ================================================================ */
.field-hint {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 4px;
    display: block;
}
/* ================================================================
   MOBILE — CORREÇÕES GERAIS DE ESPAÇAMENTO E LAYOUT
   ================================================================ */

@media (max-width: 900px) {
    /* Navbar: reduzir padding lateral */
    .nav-container {
        padding: 0 1.25rem;
    }

    .nav-logo {
        gap: 10px;
    }

    .nav-logo img.nav-logo-image {
        width: 52px;
        height: 52px;
    }

    .nav-logo span {
        font-size: 18px;
    }

    /* Hero: não forçar 100vh em mobile — conteúdo empilhado precisa de mais altura */
    .hero-section {
        min-height: unset;
        padding: 90px 0 50px;
    }

    /* section-container: usado em TODAS as seções */
    .section-container {
        padding: 0 1.5rem;
    }

    /* Stats strip */
    .stats-strip {
        padding: 36px 1.5rem;
    }

    /* Footer */
    .footer-container {
        padding: 0 1.5rem 36px;
        flex-direction: column;
        gap: 2rem;
    }
}

/* ================================================================
   MOBILE LOGIN — exibe só o formulário, oculta landing page
   ================================================================ */
@media (max-width: 768px) {
    /* Esconde todo conteúdo de marketing */
    .hero-content,
    .stats-strip,
    #features,
    #ia-showcase,
    #avaliacoes,
    #como-funciona,
    .landing-footer {
        display: none !important;
    }

    /* Hero vira container simples centralizado */
    .hero-section {
        min-height: 100dvh;
        padding: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-container {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1.5rem !important;
        gap: 0 !important;
        width: 100%;
    }

    /* Card de login ocupa toda a largura */
    .hero-login {
        width: 100%;
        max-width: 420px;
    }

    .hero-login .login-card {
        border-radius: 16px;
        padding: 2rem 1.5rem;
    }

    /* Navbar simplificada — só logo */
    .landing-nav .nav-links,
    .landing-nav .nav-cta {
        display: none !important;
    }
}

@media (max-width: 600px) {
    /* Navbar ainda mais compacta */
    .nav-container {
        padding: 0 1rem;
    }

    .nav-logo img.nav-logo-image {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .nav-logo span {
        font-size: 16px;
    }

    /* section-container ainda mais estreito */
    .section-container {
        padding: 0 1rem;
    }

    /* Stats strip */
    .stats-strip {
        padding: 28px 1rem;
    }

    /* Footer */
    .footer-container {
        padding: 0 1rem 28px;
    }

    /* Hero features list: texto alinhado à esquerda para não parecer estranho centralizado */
    .hero-features-list {
        text-align: left;
    }

    .hero-feature-item {
        justify-content: flex-start;
    }

    /* CTA principal ocupa toda a largura */
    .btn-hero-cta {
        width: 100%;
        text-align: center;
    }

    /* Seções com padding vertical excessivo */
    .features-section,
    .ia-section,
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    /* Footer CTA */
    .footer-cta-section {
        padding: 60px 1rem;
    }

    .footer-cta-container {
        padding: 0 1rem;
    }

