html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    font-family: Arial, sans-serif;
}

/* HEADER */

header {
    padding: 1rem 3rem;
    background-color: var(--bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.brand {
    max-width: 140px;
    width: 100%;
    height: auto;
}

/* HERO */

.hero {
    text-align: center;
    padding: 6rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-900);
    line-height: 1.2;
}

.hero p {
    max-width: 650px;
    margin: auto;
    font-size: 1.15rem;
    color: var(--muted);
}

/* BUTTONS */

.btn-primary-custom,
.btn-outline-dark-custom {
    padding: .75rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: .25s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom {
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: var(--text-inv);
}

.btn-primary-custom:hover {
    background-color: var(--primary-2);
}

.btn-outline-dark-custom {
    border: 1px solid var(--color-900);
    color: var(--color-900);
}

.btn-outline-dark-custom:hover {
    background-color: var(--color-900);
    color: var(--text-inv);
}

/* LISTAS */

.list-group-item {
    font-size: 1.05rem;
    padding: 1rem;
}

hr {
    color: var(--primary-2);
}

.about img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;

}

.about h2 {
    color: var(--primary);
    text-decoration: underline;
}

/* RESPONSIVIDADE */

/* Tablets */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    header {
        padding: 1rem 1.5rem;
    }

    .btn-header {
        display: none;
    }
}

/* Smartphones */
@media (max-width: 576px) {

    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 1rem;
        max-width: 90%;
    }

    .btn-primary-custom,
    .btn-outline-dark-custom {
        width: 80%;
        padding: .9rem;
        margin-bottom: .7rem;
    }

    .btn-header {
        display: none;
    }

    header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .brand {
        max-width: 120px;
    }

    .container {
        max-width: 80%;
    }
}