
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'Premiero';
    src: url('premiero.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-green: #01A25F;
    --txt-white: #fff;
    --accent: #CB2072;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--bg-green);
    background-image: url("./img/bg_sm.webp");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: scroll;
    color: var(--txt-white);
}

main {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}

.hero {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 3rem 20px 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Logos */
.logo-gov,
.logo-flip {
    display: block;
    flex: 0 0 auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.2s ease-in-out;

}

.logo-gov {
    width: 190px;
    margin-bottom: 3.2rem;
}

.logo-flip {
    width: 165px;
    margin-bottom: 2rem;
}

/* Data e endereço */
.info-text {
    width: 100%;
    min-width: 0;
    margin-top: 0;
    padding: 0;
    text-align: center;
    font-family: 'Oswald', sans-serif;
}

.info-text h2,
.info-text p {
    display: block;
    width: 100%;
    white-space: nowrap;
    text-align: center;
    line-height: 1.35;
    overflow: visible;
}

.info-text h2 {
    font-size: clamp(0.85rem, 4.2vw, 1.15rem);
    font-weight: 700;
}

.info-text p {
    font-size: clamp(0.58rem, 2.8vw, 0.8rem);
    font-weight: 500;
}

/* Inscrições e botões */
.buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-family: 'Oswald', sans-serif;
}

.buttons p {
    max-width: 100%;
    margin: 0 0 1.2rem;
    font-size: 1.2rem;
    line-height: 1.3;
    text-align: center;
}

button {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 360px;
    min-height: 64px;
    height: auto;
    padding: 1rem 1.2rem;
    margin: 0 0 0.8rem;
    border: 0;
    border-radius: 0;
    background: var(--accent);
    color: var(--txt-white);
    font-family: 'Premiero', 'Oswald', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.12rem;
    text-align: left;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
button:hover {
    background: var(--txt-white);
    color: var(--accent);
    transform: scale(1.05);
}

button i {
    flex: 0 0 28px;
    font-size: 1.5rem;
    text-align: center;
}

.social {
    display: none;
}

/* Telas baixas */
@media (max-height: 760px) {
    .hero {
        justify-content: flex-start;
        padding-top: 3rem;
        padding-bottom: 2.5rem;
    }

    .logo-gov {
        margin-bottom: 2.5rem;
    }

    .logo-flip {
        margin-bottom: 1.5rem;
    }

    .buttons {
        margin-top: 3rem;
    }
}

/* Telas médias: tablets */
@media (min-width: 600px) {
    body {
        background-image: url("./img/bg_md.webp");
    }

    .hero {
        max-width: 620px;
        margin-inline: auto;
        padding-inline: 2rem;
    }

    .logo-gov {
        width: 240px;
        margin-bottom: 3.5rem;
    }

    .logo-flip {
        width: 320px;
        margin-bottom: 2.2rem;
    }

    .info-text h2 {
        font-size: 1.5rem;
    }

    .info-text p {
        font-size: 0.9rem;
    }

    .buttons {
        margin-top: 4rem;
    }

    button {
        max-width: 360px;
        font-size: 1.8rem;
    }
}

/* Telas grandes: desktops */
@media (min-width: 1024px) {
    body {
        background: url("./img/bg_xl.webp");
        background-size: cover;
    }
}
