/* ============================================
   RESET E CONFIGURAÇÕES GLOBAIS
   ============================================ */
:root {
    --primary-color: #03292D;
    --primary-dark: #021e21;
    --primary-light: #7ED9C4;
    --secondary-color: #52504F;
    --accent-color: #7ED9C4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
    /* Altura do header fixo */
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul,
ol {
    list-style: none;
}

button,
input,
textarea {
    font-family: inherit;
    font-size: inherit;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

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

/* ============================================
   BOTÕES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   SESSÃO 1: CABEÇALHO
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 6px 0;
}

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

.logo-img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--gray-700);
    padding: 8px 16px;
    border-radius: var(--radius-md);
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: var(--gray-100);
}

.nav-icon {
    font-size: 18px;
}

.btn-login-nav {
    background-color: var(--primary-light);
    color: white !important;
    padding: 10px 24px;
}

.btn-login-nav:hover {
    background-color: var(--primary-dark);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
}

/* ============================================
   SESSÃO 2: BANNER
   ============================================ */
.banner {
    padding: 100px 0 80px;
    background:
        linear-gradient(
            rgba(0,0,40,0.55),
            rgba(0,0,70,0.65)
        ),
    /*background: linear-gradient(135deg, rgba(3, 41, 45, 0.9) 0%, rgba(3, 41, 45, 0.7) 100%),*/
        /*url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');*/
        url('../images/background_banner.jpg') center / cover no-repeat;

    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(126, 217, 196, 0.2) 0%, transparent 50%);
}

.banner .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.banner-content {
    max-width: 800px;
    margin-bottom: 60px;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.banner-text {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.banner-preview {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.dashboard-preview {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255,255,255,0.05);
}

.dashboard-img {
    width: 100%;
    height: auto;
    display: block;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(3, 41, 45, 0.3) 0%, transparent 30%);
}

/* Estilo para o QR Code */
.qrcode-img {
    max-width: 280px !important;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

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

.qrcode-text {
    text-align: center;
    margin-top: 15px;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .qrcode-img {
        max-width: 220px !important;
    }
}
/* ============================================
   PWA SHOWCASE - QR CODE E INSTRUÇÕES
============================================ */
.pwa-showcase {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 30px;
    margin-top: 20px;
}

.qrcode-box {
    display: flex;
    flex-direction: column;
    align-items: center;   /* centraliza horizontal */
    text-align: center;    /* centraliza o texto */;
    animation: pulse 2s infinite;
}

.qrcode-img-main {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: white;
    padding: 10px;
    transition: transform 0.3s ease;
}

.qrcode-img-main:hover {
    transform: scale(1.05);
}

.qrcode-caption {
    color: white;
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.qrcode-caption i {
    margin-right: 5px;
}

.pwa-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 280px;
}

.step-card {
    background: white;
    padding: 18px 25px;
    border-radius: 60px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-text {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.4;
}

.step-text i {
    color: var(--primary-color);
    margin-left: 5px;
}

/* Banner de instalação PWA */
.pwa-install-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: white;
    border-radius: 60px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: slideUp 0.5s ease;
}

.install-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
}

.install-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.install-text {
    flex: 1;
}

.install-text h4 {
    margin: 0 0 3px;
    color: var(--gray-800);
    font-size: 1rem;
}

.install-text p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.85rem;
}

.install-button {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.install-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(3, 41, 45, 0.3);
}

.install-close {
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.install-close:hover {
    color: var(--gray-700);
}

/* Dark Mode */
[data-theme="dark"] .step-card {
    background: var(--surface-dark);
    color: var(--text-primary-dark);
    border: 2px solid var(--border-dark);
}

[data-theme="dark"] .step-text {
    color: var(--gray-300);
}

[data-theme="dark"] .pwa-install-banner {
    background: var(--surface-dark);
    border: 1px solid var(--border-dark);
}

[data-theme="dark"] .install-text h4 {
    color: white;
}

[data-theme="dark"] .install-text p {
    color: var(--gray-400);
}

/* Animações */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .pwa-showcase {
        padding: 20px;
        gap: 20px;
    }
    
    .qrcode-img-main {
        width: 160px;
        height: 160px;
    }
    
    .pwa-steps {
        min-width: 240px;
    }
    
    .step-card {
        padding: 12px 18px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .install-content {
        padding: 10px 15px;
    }
    
    .install-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .install-button {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .pwa-showcase {
        flex-direction: column;
    }
    
    .pwa-steps {
        width: 100%;
    }
    
    .pwa-install-banner {
        width: 95%;
        border-radius: 30px;
    }
    
    .install-content {
        flex-wrap: wrap;
    }
    
    .install-text {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   SESSÃO 3: RECURSOS
   ============================================ */
.recursos {
    padding: 100px 0;
    background-color: white;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.recurso-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.recurso-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.recurso-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(126, 217, 196, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-color);
    font-size: 28px;
}

.recurso-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.recurso-desc {
    color: var(--gray-600);
    line-height: 1.6;
    flex-grow: 1;
}

/* ============================================
   SESSÃO 4: EXPERIMENTE
   ============================================ */
.experimente {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.experimente-content {
    max-width: 800px;
    margin: 0 auto;
}

.experimente-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.experimente-text {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.btn-experimente {
    background-color: white;
    color: var(--primary-color);
    font-size: 1.25rem;
    padding: 18px 40px;
}

.btn-experimente:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px) scale(1.05);
}

/* ============================================
   SESSÃO 5: CONTATO
   ============================================ */
.contato-section {
    padding: 100px 0;
    background-color: var(--gray-100);
}

.contato-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background-color: white;
    border-radius: var(--radius-xl);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contato-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(126, 217, 196, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.contato-details {
    flex-grow: 1;
}

.contato-info-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contato-info-text {
    color: var(--gray-600);
}

.contato-social {
    margin-top: 20px;
}

.social-title {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    font-size: 18px;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Formulário */
.contato-form .form-group {
    margin-bottom: 24px;
}

.contato-form label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.contato-form input,
.contato-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(126, 217, 196, 0.3);
}

.contato-form textarea {
    resize: vertical;
    min-height: 120px;
}
/* Alertas */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 14px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-danger ul {
    margin: 0;
    padding-left: 20px;
}

/* Campos com erro */
.is-invalid {
    border-color: #dc3545 !important;
}

.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}
/* Custom Popup */
.custom-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
    animation: slideIn 0.3s ease-out;
}

.custom-popup-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.custom-popup-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.popup-content {
    padding: 15px 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popup-message {
    flex: 1;
    margin-right: 10px;
}

.popup-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.popup-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
/* ============================================
   SESSÃO MANUTENÇÃO
   ============================================ */
.manutencao {
    padding: 100px 0;
    background-color: var(--gray-100);
    /*display: none; /* Oculto por padrão */
}

.manutencao-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.manutencao-icon {
    font-size: 80px;
    color: var(--gray-400);
    margin-bottom: 30px;
}

.manutencao-title {
    font-size: 2.5rem;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.manutencao-text {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 30px;
}

/* ============================================
   SESSÃO 6: RODAPÉ
   ============================================ */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col-1 {
    max-width: 300px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-desc {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--primary-light);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.footer-social-link:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-dev {
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.copyright {
    opacity: 0.8;
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 1024px) {
    .banner-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .recursos-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .contato-container {
        gap: 40px;
        padding: 40px;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-col-1 {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .header {
        padding: 12px 0;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        color: var(--primary-color);
        font-size: 24px;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: var(--shadow-lg);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        max-height: 500px;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .nav-link {
        padding: 15px;
        justify-content: flex-start;
        width: 100%;
        border-radius: var(--radius-md);
        border: 1px solid var(--gray-200);
        margin-bottom: 5px;
    }

    .nav-link:hover {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

    .btn-login-nav {
        background-color: var(--primary-color);
        color: white !important;
        border-color: var(--primary-color) !important;
    }

    .btn-login-nav:hover {
        background-color: var(--primary-dark) !important;
        border-color: var(--primary-dark) !important;
    }

    .banner {
        padding: 80px 0 60px;
    }

    .banner-title {
        font-size: 2.5rem;
    }

    .banner-text {
        font-size: 1.125rem;
    }

    .banner-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        max-width: 300px;
    }

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

    .recursos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contato-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .contato-container {
        padding: 20px;
    }

    .contato-section {
        padding: 60px 0;
    }

    .recursos,
    .experimente {
        padding: 60px 0;
    }

    .nav {
        top: 60px;
        padding: 15px;
    }

    .nav-link {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

/* ============================================
   MELHORIAS ESPECÍFICAS PARA MENU MOBILE
   ============================================ */
@media (max-width: 768px) {

    /* Garantir que o menu tenha boa aparência */
    .nav-item {
        margin-bottom: 8px;
    }

    .nav-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px 20px;
        color: var(--gray-800);
        font-weight: 500;
        transition: all 0.2s ease;
    }

    .nav-link .nav-icon {
        width: 20px;
        text-align: center;
        font-size: 18px;
        color: var(--primary-color);
    }

    .nav-link:hover .nav-icon {
        color: white;
    }

    /* Botão de login destacado no mobile */
    .btn-login-nav {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: white !important;
        border: none !important;
        font-weight: 600;
    }

    .btn-login-nav .nav-icon {
        color: white !important;
    }

    /* Overlay de fundo quando menu está aberto */
    .nav::before {
        content: '';
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav.active::before {
        opacity: 1;
    }

    /* Header mais compacto no mobile */
    .header {
        height: 70px;
        display: flex;
        align-items: center;
    }

    .header .container {
        height: 100%;
    }

    .logo-img {
        height: 40px;
    }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.recurso-card,
.contato-item,
.banner-content {
    opacity: 1;
    /* Altere de 0 para 1 */
}

/* Animações de hover para cards */
.recurso-card:hover .recurso-icon {
    transform: scale(1.1) rotate(5deg);
}

.recurso-icon {
    transition: transform 0.3s ease;
}

/* Efeito de digitação para o título do banner */
@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink {
    50% {
        border-color: transparent
    }
}

/* Responsividade adicional */
@media (max-width: 360px) {
    .banner-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .contato-container {
        padding: 15px;
    }
}

/* ============================================
   DEBUG - REMOVA DEPOIS DE TESTAR
   ============================================ */
@media (max-width: 768px) {

    /* Forçar visibilidade para debug */
    .menu-toggle {
        background-color: #f0f0f0;
        border: 2px solid var(--primary-color);
        border-radius: 5px;
    }

    /* Indicar que o menu está funcionando */
    .nav {
        border: 2px solid red;
        /* Remova depois */
        background-color: white !important;
    }

    .nav.active {
        border: 2px solid green;
        /* Remova depois */
    }

    /* Garantir que todos os links sejam visíveis */
    .nav-list {
        display: flex !important;
        flex-direction: column !important;
    }

    .nav-item {
        display: block !important;
        width: 100% !important;
    }

    .nav-link {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* ============================================
   CORREÇÕES ESPECÍFICAS PARA O MENU MOBILE
   ============================================ */

/* Garantir que o nav seja flex no desktop e bloco no mobile */
.nav {
    display: flex;
}

@media (max-width: 768px) {

    /* IMPORTANTE: Sobrescrever o display flex para block no mobile */
    .nav {
        display: block !important;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: var(--shadow-lg);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        overflow-y: auto;
    }

    /* Garantir que o botão do menu seja visível */
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: none;
        border: 2px solid var(--primary-color);
        border-radius: var(--radius-sm);
        cursor: pointer;
        z-index: 1001;
        color: var(--primary-color);
        font-size: 24px;
        padding: 0;
    }

    /* Forçar o header a ter uma altura fixa */
    .header {
        height: 70px;
        min-height: 70px;
    }

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

    /* Logo ajustado */
    .logo {
        z-index: 1002;
    }

    .logo-img {
        max-height: 40px;
        width: auto;
    }

    /* Lista do menu com largura total */
    .nav-list {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        width: 100%;
        border-radius: var(--radius-md);
        border: 1px solid var(--gray-200);
        background-color: white;
        color: var(--gray-800);
        font-weight: 500;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-link:hover {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

    .nav-icon {
        font-size: 18px;
        color: var(--primary-color);
        width: 20px;
        text-align: center;
    }

    .nav-link:hover .nav-icon {
        color: white;
    }

    /* Botão de login destacado */
    .btn-login-nav {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: white !important;
        border: none !important;
        font-weight: 600;
    }

    .btn-login-nav .nav-icon {
        color: white !important;
    }

    /* Overlay escuro quando menu está aberto */
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
}

/* ============================================
   DARK MODE VARIABLES
   ============================================ */
:root {
    /* Variáveis existentes... mantenha-as */

    /* Novas variáveis para Dark Mode */
    --bg-primary-light: #f8fafc;
    --bg-primary-dark: #0f172a;

    --text-primary-light: #0f172a;
    --text-primary-dark: #f1f5f9;

    --surface-light: #ffffff;
    --surface-dark: #1e293b;

    --border-light: #e2e8f0;
    --border-dark: #334155;

    --card-bg-light: #ffffff;
    --card-bg-dark: #1e293b;

    --footer-bg-light: #03292D;
    /* Mantém a cor original no light */
    --footer-bg-dark: #02181b;
    /* Versão mais escura para dark */
}

/* Dark Mode Ativo */
[data-theme="dark"] {
    --light-color: var(--bg-primary-dark);
    --dark-color: var(--text-primary-dark);
    --surface-color: var(--surface-dark);
    --border-color: var(--border-dark);
    --gray-100: #1e293b;
    --gray-200: #334155;
    --gray-300: #475569;
    --gray-400: #64748b;
    --gray-500: #94a3b8;
    --gray-600: #cbd5e1;
    --gray-700: #e2e8f0;
    --gray-800: #f1f5f9;
}

/* ============================================
   DARK MODE TOGGLE STYLES
   ============================================ */
.dark-mode-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.dark-mode-toggle:hover {
    background-color: rgba(126, 217, 196, 0.1);
}

.dark-mode-switch {
    position: relative;
    width: 60px;
    height: 30px;
    border-radius: 50px;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    box-shadow: inset 2px 2px 4px #d1d1d1,
        inset -2px -2px 4px #ffffff;
    transition: all 0.4s ease;
}

[data-theme="dark"] .dark-mode-switch {
    background: linear-gradient(145deg, #334155, #475569);
    box-shadow: inset 2px 2px 4px #1e293b,
        inset -2px -2px 4px #475569;
}

.dark-mode-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    box-shadow: 2px 2px 4px #c1c1c1,
        -2px -2px 4px #ffffff;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

[data-theme="dark"] .dark-mode-slider {
    transform: translateX(30px);
    background: linear-gradient(145deg, #94a3b8, #64748b);
    box-shadow: 2px 2px 4px #1e293b,
        -2px -2px 4px #475569;
}

.dark-mode-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #f59e0b;
    transition: all 0.4s ease;
    opacity: 0.8;
}

.dark-mode-icon.sun {
    left: 8px;
}

[data-theme="dark"] .dark-mode-icon.sun {
    opacity: 0;
    transform: translateY(-50%) scale(0.5);
}

.dark-mode-icon.moon {
    right: 8px;
    color: #cbd5e1;
}

[data-theme="dark"] .dark-mode-icon.moon {
    opacity: 0.9;
    transform: translateY(-50%) scale(1.1);
}

:root:not([data-theme="dark"]) .dark-mode-icon.moon {
    opacity: 0;
    transform: translateY(-50%) scale(0.5);
}

/* ============================================
   DARK MODE GLOBAL STYLES
   ============================================ */
[data-theme="dark"] {
    background-color: var(--bg-primary-dark);
    color: var(--text-primary-dark);
}

[data-theme="dark"] .header {
    background-color: var(--surface-dark);
    border-bottom: 1px solid var(--border-dark);
}

[data-theme="dark"] .banner {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%),
        url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

[data-theme="dark"] .banner::before {
    background: radial-gradient(circle at 30% 50%, rgba(126, 217, 196, 0.15) 0%, transparent 50%);
}

[data-theme="dark"] .recursos {
    background-color: var(--bg-primary-dark);
}

[data-theme="dark"] .recurso-card {
    background-color: var(--surface-dark);
    border-color: var(--border-dark);
    color: var(--text-primary-dark);
}

[data-theme="dark"] .recurso-title {
    color: var(--primary-light);
}

[data-theme="dark"] .recurso-desc {
    color: var(--gray-500);
}

[data-theme="dark"] .recurso-icon {
    background-color: rgba(126, 217, 196, 0.15);
    color: var(--primary-light);
}

[data-theme="dark"] .experimente {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #021215 100%);
}

[data-theme="dark"] .contato-section {
    background-color: var(--gray-100);
}

[data-theme="dark"] .contato-container {
    background-color: var(--surface-dark);
    color: var(--text-primary-dark);
    border: 1px solid var(--border-dark);
}

[data-theme="dark"] .contato-info-title {
    color: var(--primary-light);
}

[data-theme="dark"] .contato-info-text {
    color: var(--gray-500);
}

[data-theme="dark"] .contato-icon {
    background-color: rgba(126, 217, 196, 0.15);
    color: var(--primary-light);
}

[data-theme="dark"] .social-title {
    color: var(--gray-400);
}

[data-theme="dark"] .social-link {
    background-color: var(--gray-200);
    color: var(--gray-600);
}

[data-theme="dark"] .social-link:hover {
    background-color: var(--primary-color);
    color: white;
}

[data-theme="dark"] .contato-form label {
    color: var(--gray-400);
}

[data-theme="dark"] .contato-form input,
[data-theme="dark"] .contato-form textarea {
    background-color: var(--gray-100);
    border-color: var(--border-dark);
    color: var(--text-primary-dark);
}

[data-theme="dark"] .contato-form input:focus,
[data-theme="dark"] .contato-form textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(126, 217, 196, 0.2);
}

[data-theme="dark"] .manutencao {
    background-color: var(--gray-100);
}

[data-theme="dark"] .manutencao-title {
    color: var(--gray-300);
}

[data-theme="dark"] .manutencao-text {
    color: var(--gray-500);
}

[data-theme="dark"] .footer {
    background-color: var(--footer-bg-dark);
}

[data-theme="dark"] .footer-title {
    color: var(--primary-light);
}

[data-theme="dark"] .footer-links a:hover {
    color: var(--primary-light);
}

[data-theme="dark"] .footer-social-link {
    background-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .footer-social-link:hover {
    background-color: var(--primary-light);
}

/* ============================================
   RESPONSIVIDADE DO DARK MODE TOGGLE
   ============================================ */
@media (max-width: 768px) {
    .dark-mode-toggle {
        margin-left: 0;
        margin-top: 10px;
        align-self: center;
    }

    .dark-mode-item {
        display: flex;
        justify-content: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid var(--border-light);
    }

    [data-theme="dark"] .dark-mode-item {
        border-top-color: var(--border-dark);
    }
}

/* Ajuste para desktop - alinhar com outros itens do menu */
@media (min-width: 769px) {
    .dark-mode-item {
        display: flex;
        align-items: center;
    }
}

/* ============================================
   ANIMAÇÕES E TRANSIÇÕES DO DARK MODE
   ============================================ */
* {
    transition: background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Exceções - elementos que não devem ter transição */
.dark-mode-slider,
.dark-mode-icon,
.menu-toggle i,
.btn:hover,
.recurso-card:hover {
    transition: all 0.3s ease !important;
}

/* Override para elementos específicos durante transição */
.theme-transitioning .dark-mode-slider {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
}

.theme-transitioning .dark-mode-icon {
    transition: all 0.4s ease !important;
}

/* ============================================
   MELHORIAS VISUAIS PARA DARK MODE
   ============================================ */
[data-theme="dark"] .nav-link {
    color: var(--gray-300);
}

[data-theme="dark"] .nav-link:hover {
    color: white;
    background-color: rgba(126, 217, 196, 0.15);
}

[data-theme="dark"] .nav-icon {
    color: var(--primary-light);
}

[data-theme="dark"] .section-title,
[data-theme="dark"] .section-subtitle {
    color: var(--text-primary-dark);
}

[data-theme="dark"] .section-title {
    color: var(--primary-light);
}

[data-theme="dark"] .highlight {
    color: var(--accent-color);
}

[data-theme="dark"] .btn-secondary {
    background-color: transparent;
    color: var(--primary-light);
    border-color: var(--primary-light);
}

[data-theme="dark"] .btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

[data-theme="dark"] .btn-experimente {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

[data-theme="dark"] .btn-experimente:hover {
    background-color: white;
    color: var(--primary-dark);
}

/* Banner no dark mode */
[data-theme="dark"] .banner-title {
    color: white;
}

[data-theme="dark"] .banner-text {
    color: rgba(255, 255, 255, 0.9);
}

/* Dashboard preview no dark mode */
[data-theme="dark"] .dashboard-preview {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .preview-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.5) 0%, transparent 30%);
}
/* ============================================
   MENU MOBILE CORRIGIDO
   ============================================ */
@media (max-width: 768px) {
    /* Botão hamburger */
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: var(--primary-color);
        border: none;
        border-radius: 8px;
        cursor: pointer;
        z-index: 1002;
        color: white;
        font-size: 24px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    /* Menu (inicialmente oculto) */
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        z-index: 1001;
        display: none !important;
    }

    .nav.active {
        display: block !important;
    }

    /* Lista do menu */
    .nav-list {
        flex-direction: column;
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 8px;
        color: #333;
        font-weight: 500;
        border: 1px solid #e0e0e0;
    }

    .nav-link i {
        width: 20px;
        color: var(--primary-color);
    }

    .btn-login-nav {
        background: var(--primary-color) !important;
        color: white !important;
        border: none !important;
    }

    .btn-login-nav i {
        color: white !important;
    }

    /* Dark mode */
    [data-theme="dark"] .nav {
        background: #1a1a1a;
    }

    [data-theme="dark"] .nav-link {
        background: #2d2d2d;
        color: #fff;
        border-color: #404040;
    }

    [data-theme="dark"] .nav-link i {
        color: #60a5fa;
    }
}