/* css/index.css */
:root {
    --primary: #0d6efd;
    --dark: #222;
    --text: #555;
    --bg: #f4f7f6;
}

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

body {
    font-family: "Segoe UI", Arial, sans-serif; /* Fonte mais moderna */
    background-color: var(--bg);
    color: var(--dark);
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

/* Links Desktop */
.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 1.4rem;
    text-decoration: none;
    font-weight: 600;
    color: var(--text);
    transition: 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff !important;
    padding: 0.7rem 1.3rem;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    opacity: 1;
}

/* Botão Mobile */
.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--dark);
}

/* RESPONSIVIDADE NAV */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        width: 100%;
        display: none;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }

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

    .nav-links a {
        margin: 0.7rem 0;
        text-align: center;
    }
}

/* HERO */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 1.5rem;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #f4f7f6);
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    max-width: 900px;
    line-height: 1.2;
    color: #111;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    margin: 1.5rem 0 2.5rem;
    color: var(--text);
    max-width: 750px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.cta-buttons a {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.cta-register {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 6px rgba(13, 110, 253, 0.2);
}

.cta-register:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
}

.cta-login {
    background-color: white;
    color: var(--dark);
    border: 1px solid #ddd;
}

.cta-login:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
}

/* FEATURES SECTION */
.features {
    padding: 4rem 2rem;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: auto;
}

.feature-box {
    background: #f8f9fa;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.feature-box h3 {
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
    color: #333;
}

.feature-box p {
    color: #666;
    line-height: 1.6rem;
    font-size: 0.95rem;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .hero { padding: 3rem 1.5rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .feature-grid { gap: 1.5rem; }
}
