/* style.css */

/* Estilo Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

::-webkit-scrollbar {
    display: none;
}

html {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 62.5%;
}

body {
    background-color: #ffffff;
    color: #000;
    font-size: 1.6rem;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
}

/* Hero Section */
.hero {
    background-image: url('../img/fundo-meio.png');
    background-size: auto 40rem;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #0a0a0a;
}

.hero .box {
    padding: 4rem 2rem 28rem 2rem;
    max-width: 60rem;
}

.hero h1 {
    font-family: 'Fredoka One', sans-serif;
    font-weight: bold;
    letter-spacing: -0.1rem;
    font-size: 5rem;
    color: #ff9f00; /* Cor do título em tom de dourado */
}

.hero h2 {
    font-size: 2rem;
    font-weight: normal;
    color: #00000; /* Cor suave para subtítulo */
    margin: 3rem 0;
}

.button {
    display: inline-block;
    background-color: #ff9f00; /* Cor de fundo do botão */
    border: 2px solid #ff9f00;
    color: #fff;
    padding: 2rem 4rem;
    font-size: 2rem;
    text-decoration: none;
    border-radius: 15px;
}

.button:hover {
    background-color: #fff;
    color: #ff9f00;
    transition: 500ms;
}

/* Seções de Tópicos */
.topics {
    padding: 5rem 3rem;
    margin-top: 50px;
}

.topics .topic {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    margin-bottom: 4rem;
}

.topics .topic.reverse {
    flex-direction: row-reverse;
}

.topics .topic .left,
.topics .topic .right,
.topics .topic .center {
    flex: 1;
}

.topics .topic .left img {
    max-width: 65%;
}

.topics li {
    font-family: 'Fredoka One', sans-serif;
    font-weight: bold;
    letter-spacing: -0.1rem;
    font-size: 6rem;
    line-height: 6rem;
}

.topics .right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.topics .center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    gap: 2rem;
}

/* Media Queries */
@media (width >900px) {
    .hero .box {
        padding: 15rem 2rem;
    }

    .hero {
        background-image: url('../img/fundo.png');
        background-size: auto 55rem;
    }
}

@media (max-width: 900px) {
    .header .container,
    .hero .box,
    .topics {
        padding: 1rem;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    header nav li {
        padding: 0.5rem 1rem;
    }

    .hero {
        background: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .hero .box {
        order: 1;
        z-index: 2;
    }

    .hero::after {
        content: "";
        display: flex;
        width: 100%;
        height: 200px;
        background-image: url('../img/fundo-meio.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        order: 2;
        z-index: 1;
    }

    .hero h1 {
        font-size: 4rem;
        line-height: 5rem;
    }

    .hero h2 {
        font-size: 1.8rem;
        margin: 2rem 0;
    }

    .topics .topic {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .topics .topic .left,
    .topics .topic .right {
        flex: none;
        width: 100%;
    }

    .topics .topic .left img {
        max-width: 45%;
        margin: auto;
    }

    .topics .topic.reverse {
        flex-direction: column;
    }

    .topics .topic.reverse .left,
    .topics .topic.reverse .right {
        order: unset;
    }
}

@media (max-width: 600px) {
    header nav ul {
        gap: 0.5rem;
    }

    .hero::after {
        height: 150px;
    }

    .hero h1 {
        font-size: 3rem;
        line-height: 4rem;
    }

    .hero h2 {
        font-size: 1.6rem;
        margin: 1.5rem 0;
    }

    .button {
        padding: 1.5rem 3rem;
        font-size: 1.8rem;
    }

    .topics .topic .left img {
        max-width: 70%;
    }

    .topics {
        padding: 3rem 1rem;
    }

    .topics li {
        font-size: 4rem;
        line-height: 4.5rem;
    }

    .topics .topic .right,
    .topics .topic .center {
        gap: 1rem;
    }

    footer .row ul li {
        margin: 5px 0;
        text-align: center;
    }
}
