/* --- DESIGN SYSTEM & VARIÁVEIS --- */
:root {
    --deep-purple: #2D1B33;
    --card-purple: #3D2B43;
    --safe-gold: #C5A059;
    --emergency-red: #DC2626;
    --gray-bg: #A394A7;
    --white: #FFFFFF;
    --black-gradient: #150A18;
    --transition-fast: 0.3s ease;
}

/* --- RESETS GERAIS & ACESSIBILIDADE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    background-color: var(--deep-purple);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

/* --- COMPONENTES DE LAYOUT (HEADER) --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(45, 27, 51, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--white);
    text-decoration: none;
}

.logo span {
    color: var(--safe-gold);
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-links a {
    color: var(--gray-bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: color var(--transition-fast);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--safe-gold);
}

.btn-header {
    background-color: transparent;
    border: 2px solid var(--safe-gold);
    color: var(--safe-gold);
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-header:hover {
    background-color: var(--safe-gold);
    color: var(--deep-purple);
}

/* --- HERO BANNER --- */
.hero {
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, var(--deep-purple) 0%, var(--black-gradient) 100%);
    text-align: center;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-text h1 {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-text h1 span {
    color: var(--safe-gold);
}

.hero-text p {
    font-size: 1rem;
    color: var(--gray-bg);
    margin-bottom: 32px;
    margin-left: auto;
    margin-right: auto;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
}

.btn-primary {
    background-color: var(--safe-gold);
    color: var(--deep-purple);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.2);
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(197, 160, 89, 0.3);
}

.btn-primary svg, .badge-launch svg, .platform-badges svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
    stroke-width: 2px !important;
    fill: none !important;
    display: inline-block;
    vertical-align: middle;
}

.hero-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.phone-mockup-img {
    max-width: 100%;
    width: 480px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* --- FEATURES GRID --- */
.features {
    padding: 60px 0;
    background-color: var(--black-gradient);
}

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

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray-bg);
    font-size: 1rem;
    max-width: 540px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature-card {
    background-color: var(--card-purple);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 24px;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 160, 89, 0.2);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background-color: rgba(197, 160, 89, 0.08);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

/* CORREÇÃO CRÍTICA: Força a estilização tanto de SVGs puros quanto de elementos injetados pelo Lucide */
.icon-wrapper svg, 
.icon-wrapper i, 
.icon-wrapper [data-lucide] {
    width: 24px !important;
    height: 24px !important;
    stroke: var(--safe-gold) !important;
    stroke-width: 2px !important;
    fill: none !important;
    display: block !important;
    color: var(--safe-gold) !important;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--gray-bg);
    font-size: 0.9rem;
}

/* --- DEMO / LANÇAMENTO --- */
.demo-section {
    padding: 60px 0;
    background-color: var(--deep-purple);
}

.demo-card {
    background: linear-gradient(135deg, var(--card-purple) 0%, #211525 100%);
    border-radius: 24px;
    padding: 32px 20px;
    border: 1px solid rgba(197, 160, 89, 0.1);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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

.demo-text h2 {
    font-size: 1.65rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.demo-text p {
    color: var(--gray-bg);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.credentials-box {
    text-align: left;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    border-left: 4px solid var(--safe-gold);
}

.credentials-box h4 {
    color: var(--safe-gold);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.credentials-box p {
    margin-bottom: 4px;
    font-size: 0.9rem;
}

/* --- SEÇÃO EQUIPE --- */
.team-section {
    padding: 60px 0;
    background-color: var(--black-gradient);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.team-card {
    background-color: var(--card-purple);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.team-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-card p {
    color: var(--safe-gold);
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- MEDIA QUERIES (RESPONSIVIDADE COMPLETA) --- */
@media (min-width: 768px) {
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .btn-header {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero {
        text-align: left;
        padding-top: 160px;
        padding-bottom: 100px;
    }

    .hero-grid {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .hero-text {
        flex: 1;
    }

    .hero-text h1 {
        font-size: 3.2rem;
    }

    .hero-text p {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-mockup {
        flex: 1;
        justify-content: flex-end;
    }

    /* AJUSTE DE GRID: Exibe em 2 colunas em tablets */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    /* AJUSTE DE GRID: Exibe em 3 colunas perfeitamente distribuídas em desktops */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Ajuste o espaçamento como preferir */
}

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

/* --- ESTILOS DA MODAL (IGUAL AO ANEXO) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-container {
    background-color: #211333; /* Roxo escuro do container */
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: scale(0.95);
    transition: transform var(--transition-fast);
}
.modal-overlay.active .modal-container {
    transform: scale(1);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.modal-title {
    color: var(--safe-gold);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #b3a1c2;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}
.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    color: #b3a1c2;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-control {
    width: 100%;
    background-color: #140a21; /* Input escuro */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--white);
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: border-color var(--transition-fast);
}
.form-control:focus {
    outline: none;
    border-color: var(--safe-gold);
}
textarea.form-control {
    resize: none;
    min-height: 90px;
}
.form-control::placeholder {
    color: rgba(179, 161, 194, 0.35);
}
.btn-submit-modal {
    width: 100%;
    background-color: var(--safe-gold);
    color: #1a0b2e;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 8px;
    transition: opacity var(--transition-fast);
}
.btn-submit-modal:hover {
    opacity: 0.9;
}
/* --- ALINHAMENTO DOS CAMPOS DE TELEFONE --- */
.form-row-telefones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 576px) {
    .form-row-telefones {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
