/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f9fafc;
    color: #333;
    overflow-x: hidden;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HERO */
.hero {
    min-height: 100vh;
    background: url('../images/hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 80px 0;
    color: white;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
}

.hero p {
    margin: 20px 0;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* BOTÕES */
.btn-primary {
    background: #2563eb;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
}

.btn-outline {
    border: 2px solid white;
    padding: 12px 25px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

/* SEÇÕES */
.section {
    padding: 100px 0;
}

.dark {
    background: #0f172a;
    color: white;
}

/* GRID 2 COLUNAS */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* IMAGENS */
.rounded-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.dark .card {
    background: #1e293b;
}

/* ICONES */
.icon {
    width: 40px;
    height: auto;
    margin-bottom: 15px;
}

/* CHECK LIST */
.check-list {
    margin-top: 20px;
    list-style: none;
}

.check-list li {
    margin-bottom: 10px;
}

/* TEXTO CENTRAL */
.center {
    text-align: center;
}

/* ============================= */
/* 📱 RESPONSIVIDADE REAL */
/* ============================= */

@media (max-width: 1024px) {

    .hero h1 {
        font-size: 36px;
    }

    .grid-2 {
        gap: 30px;
    }
}

@media (max-width: 768px) {

    .hero {
        text-align: center;
        padding: 140px 0 60px 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section {
        padding: 70px 0;
    }

    .card {
        padding: 20px;
    }
}

@media (max-width: 480px) {

    .hero h1 {
        font-size: 22px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }

}

/* ============================= */
/* MENU DESKTOP */
/* ============================= */

.nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* ============================= */
/* HAMBURGER */
/* ============================= */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* ============================= */
/* OVERLAY */
/* ============================= */

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 900;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 768px) {

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 260px;
        background: white;
        padding-top: 100px;
        transition: 0.4s;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }

    .nav ul {
        flex-direction: column;
        gap: 25px;
        padding-left: 30px;
    }

    .nav.active {
        right: 0;
    }

}