/**
 * landing.css - Estilos da Landing Page Vonimki
 *
 * Paleta: Azul Oceânico + Coral (definida em 14/10/2025)
 * Variáveis CSS sincronizadas com conversor.html
 */

/* ========== VARIAVEIS CSS ========== */

:root {
    /* Azul Oceânico - Base Profissional (70%) */
    --azul-profundo: #0A4D68;
    --azul-medio: #088395;
    --azul-claro: #05BFDB;
    --azul-suave: #E8F6F8;

    /* Coral/Laranja - Energia e Ação (20%) */
    --coral-vibrante: #FF6B6B;
    --coral-medio: #FF8E53;
    --coral-suave: #FFF4E6;

    /* Roxo - Identidade Premium (10%) */
    --roxo-vibrante: #7C3AED;
    --roxo-medio: #A78BFA;
    --roxo-suave: #DDD6FE;

    /* Tema claro (padrão) */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;

    /* Gradientes */
    --gradient-hero: linear-gradient(135deg, var(--azul-profundo) 0%, var(--azul-medio) 50%, var(--azul-claro) 100%);
    --gradient-cta: linear-gradient(135deg, var(--azul-profundo) 0%, var(--roxo-vibrante) 100%);
    --gradient-coral: linear-gradient(135deg, var(--coral-medio) 0%, var(--coral-vibrante) 100%);

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-coral: 0 4px 14px rgba(255, 107, 107, 0.4);
    --shadow-azul: 0 4px 14px rgba(8, 131, 149, 0.3);

    /* Transições */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Tema escuro */
body.dark-mode {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: #334155;
    --shadow-md: 0 4px 6px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.4);

    /* Cores ajustadas para dark */
    --azul-suave: #1a3a4d;
    --coral-suave: #3d2a1a;
}

/* ========== RESET E BASE ========== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ========== HEADER ========== */

.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: transparent;
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.landing-header.scrolled {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

/* Subtitle agora visível */
.logo-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: var(--azul-medio);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 2px;
}

body.dark-mode .logo-subtitle {
    color: var(--azul-claro);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-theme {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    color: var(--text-primary);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-theme:hover {
    background: var(--border-color);
    transform: rotate(15deg);
}

.btn-theme .icon-svg {
    width: 22px;
    height: 22px;
}

.btn-login {
    padding: 10px 18px;
    color: var(--text-primary);
    font-weight: 500;
    border-radius: 10px;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.btn-login:hover {
    background: var(--azul-suave);
    color: var(--azul-profundo);
}

.btn-cta {
    padding: 10px 22px;
    background: var(--gradient-coral);
    color: white;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: var(--shadow-coral);
    transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

.btn-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

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

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: var(--gradient-hero);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    margin-bottom: 28px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-badge .icon-svg {
    width: 18px;
    height: 18px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: white;
    max-width: 800px;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero p {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-bottom: 36px;
    line-height: 1.7;
}

/* Hero Nav Strip */
.hero-nav-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    max-width: 900px;
    width: 100%;
}

.nav-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.12);
    color: white;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.nav-strip-item:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.nav-strip-item i {
    width: 16px;
    height: 16px;
}

.nav-strip-cta {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    padding: 16px 32px;
    background: white;
    color: var(--azul-profundo);
    font-weight: 700;
    font-size: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.btn-secondary {
    padding: 16px 32px;
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-2px);
}

/* (chat-box removido — substituído por hero-nav-strip) */

/* ========== DEMO SECTION ========== */

.demo-section {
    padding: 100px 24px;
    background: var(--bg-secondary);
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--azul-profundo);
    letter-spacing: -0.5px;
}

body.dark-mode .section-title {
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
    line-height: 1.6;
}

.demo-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-primary);
    aspect-ratio: 16/9;
    border: 1px solid var(--border-color);
}

.demo-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#demo-iframe-container {
    width: 100%;
    height: 100%;
}

/* ========== VIDEO SECTION ========== */

.video-section {
    padding: 100px 24px;
    background: var(--bg-primary);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
    border: 1px solid var(--border-color);
}

.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

.features-section {
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--azul-suave) 0%, var(--coral-suave) 100%);
}

body.dark-mode .features-section {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 36px;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    margin-bottom: 20px;
    color: var(--azul-medio);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--azul-profundo);
}

body.dark-mode .feature-card h3 {
    color: var(--text-primary);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== GALLERY SECTION ========== */

.gallery-section {
    padding: 100px 24px;
    background: var(--bg-primary);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.gallery-link {
    color: var(--coral-vibrante);
    font-weight: 600;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.gallery-link:hover {
    color: var(--coral-medio);
    transform: translateX(4px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-card-image {
    height: 200px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-card-content {
    padding: 24px;
}

.gallery-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--azul-profundo);
}

body.dark-mode .gallery-card h3 {
    color: var(--text-primary);
}

.gallery-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.cta-section {
    text-align: center;
    padding: 100px 24px;
    background: var(--gradient-cta);
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
}

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

.landing-footer {
    padding: 48px 24px;
    background: var(--bg-secondary);
    text-align: center;
    border-top: 2px solid var(--azul-claro);
}

body.dark-mode .landing-footer {
    border-top-color: var(--border-color);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--azul-medio);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--coral-vibrante);
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========== MODAL GALERIA ========== */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 24px;
    backdrop-filter: blur(8px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    padding: 8px;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.modal-close:hover {
    transform: scale(1.2) rotate(90deg);
    color: var(--coral-vibrante);
}

.modal-image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

/* ========== MOBILE NAV ========== */

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 16px 24px;
    gap: 12px;
    z-index: 1001;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
}

.mobile-nav .btn-cta {
    text-align: center;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
}

/* ========== RESPONSIVO ========== */

@media (max-width: 768px) {
    .landing-header {
        padding: 12px 16px;
    }

    .header-nav {
        gap: 8px;
    }

    .hamburger-btn {
        display: flex;
    }

    .btn-login {
        display: none;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-subtitle {
        font-size: 11px;
    }

    .hero {
        padding: 100px 16px 60px;
    }

    .hero-nav-strip {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 16px 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .hero-nav-strip::-webkit-scrollbar { display: none; }
    .nav-strip-item { font-size: 13px; padding: 8px 14px; }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .persona-grid,
    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-header {
        flex-direction: column;
        gap: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .demo-section,
    .video-section,
    .features-section,
    .gallery-section,
    .cta-section {
        padding: 60px 16px;
    }
}

/* ========== ANIMAÇÕES ========== */

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

.hero-badge {
    animation: float 4s ease-in-out infinite;
}
