/* ==========================================
   VARIÁVEIS DE CORES (PALETA SAAS)
========================================== */

:root {
    --primary: #0f172a;
    /* Navy Profundo */
    --accent: #10b981;
    /* Emerald Green */
    --accent-hover: #059669;
    --text-main: #1e293b;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --white: #ffffff;
}


/* ==========================================
   RESET E ESTILOS GERAIS
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ==========================================
   CABEÇALHO E NAVEGAÇÃO
========================================== */

header {
    background-color: var(--primary);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--white);
}


/* HIERARQUIA DE BOTÕES DO MENU */

.btn-login {
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 8px;
}

.btn-signup {
    background-color: var(--accent);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}


/* ==========================================
   BOTÃO DE LOGIN MOBILE
========================================== */

.btn-login-mobile {
    display: none;
    /* Escondido no PC por padrão */
    color: var(--white);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn-login-mobile:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* ==========================================
   HERO SECTION (ÁREA PRINCIPAL)
========================================== */

.hero {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--primary) 0%, #1e293b 100%);
    color: var(--white);
    text-align: left;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 500px;
}

.btn-hero {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 18px 40px;
    /* Botão com bom respiro */
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.btn-hero:hover {
    transform: translateY(-3px);
    background-color: var(--accent-hover);
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}


/* ==========================================
   SEÇÃO DE FUNCIONALIDADES
========================================== */

.features {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    transition: 0.4s;
    border: 1px solid #e2e8f0;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--primary);
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
}


/* ==========================================
   RESPONSIVIDADE (CELULARES E TABLETS)
========================================== */

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        margin: 0 auto 40px;
    }
    .nav-links {
        display: none;
    }
    /* Oculta o menu longo no celular */
    /* Aparece o botão de login no celular */
    .btn-login-mobile {
        display: block;
    }
}