html { font-size: 62.5%; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    scroll-behavior: smooth;
}

:root {
    --font-large: 3.6rem;
    --font-sec: 2rem;
    --font-medium: 1.6rem;
    --font-small: 1.2rem;
}

a { text-decoration: none; color: white; }
li { list-style: none; }
button { cursor: pointer; }
h1 { font-family: "Inter", sans-serif; font-size: var(--font-large); }
h2 { font-size: var(--font-sec); }
h3, p { font-size: var(--font-medium); }
h4, h5, span { font-size: var(--font-small); }

@media ( max-width: 760px ) {
    h1 { font-size: var(--font-sec) !important; }
    h2 { font-size: var(--font-medium) !important; }
    h3, p { font-size: var(--font-small) !important; }
    h4, h5, span { font-size: var(--font-small) !important; }
}

.home::before, .relatos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #131e3dcb;
    z-index: 1;
}

.home > *, .relatos > * { position: relative; z-index: 2; }

.fale-conosco { 
    width: 16rem;
    height: 4rem;

    border: none; 
    border-radius: 3.2rem; 
    background-color: white; 

    color: #131e3d; 
    font-weight: bold; 

    transition: ease all 0.3s; 
}

.fale-conosco:hover { background-color: #131e3d; color: white; }

header {
    display: flex;
    justify-content: space-evenly;
    align-items: center;

    position: fixed;
    z-index: 9999;

    width: 100%;
    height: 7.2rem;
    padding: 0 3.2rem;


    box-shadow: 0 0.4rem 0.8rem rgba(192, 192, 192, 0.100);
    background-color: rgb(245, 245, 245);

    p { font-size: calc( var(--font-sec) * 1.5 ); font-weight: 850; }
}

header .logo {
    display: flex;
    align-items: center;

    img { width: 6.4rem; height: 3.6rem; }
}

header .menu {
    display: flex;
    align-items: center;
    gap: 1.6rem;

    a {
        color: #131e3d;
        font-size: calc( var(--font-small) + 0.2rem );
        font-weight: 400;

        transition: ease all 0.3s;
    }

    a:hover { color: #d39a15; }

    .consulta-processo {
        padding: 0.8rem 1.6rem;

        border-radius: 3.2rem;
        border: 0.1rem solid #131e3d;

        transition: ease-in-out all 0.5s;
    }

    .consulta-processo:hover {
        color: white;
        background-color: #131e3d;

        a { color: white; }
    }
}

.menu-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    display: none;
    font-size: 2.4rem;
    background: none;
    color: #131e3d;
    border: none;
}

@media (max-width: 1100px) {
    header {
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-mobile {
        width: 100%;
        min-height: 7.2rem;
        padding: 0 3.2rem;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .menu {
        display: none;
        flex-direction: column;

        width: 100%;
        opacity: 0;

        pointer-events: none;
        transition: opacity 0.3s ease-in-out;
        background-color: rgb(245, 245, 245);
    }

    .menu.show {
        display: flex;
        padding: 3.2rem;

        opacity: 1;
        pointer-events: auto;
    }

    .menu > a {
        padding: 0.8rem 0;
        display: block;
    }
}

.home {
    position: relative;
    height: 100dvh;
    background-image: url(images/background-home.jpg);
    background-position: top;
    background-size: cover;
    overflow: hidden; 

    padding: 3.2rem;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.6rem;

    color: white; 

    h1 { 
        color: #d39a15; 
        font-size: calc( var(--font-large) * 2 ); 
        font-family: "Libre Baskerville", serif;
        
        line-height: 6.4rem;
    }

    h2 { font-size: var(--font-medium); font-family: "Libre Baskerville", serif; }
}

@media ( max-width: 1100px ) { .home h1 { font-size: calc( var(--font-large) * 1.5 ); line-height: 4.8rem; } }
@media ( max-width: 760px ) { .home h1 { font-size: var(--font-large) !important; line-height: 3.2rem; } }

.sobre h1, .carousel-section h1, .relatos h1, .relatos h2 { font-family: "Libre Baskerville", serif; } 
.carousel-section h1, .relatos h1 { color: white; }

.sobre {
    display: flex;
    justify-content: space-evenly;
    gap: 3.2rem;

    padding: 8dvh 3.2rem;

    background-color: rgb(245, 245, 245);

    img, video { 
        width: 40%; 
        aspect-ratio: 1 / 0.6; 

        border-radius: 3.2rem; 
        box-shadow: 0 0.8rem 1.6rem rgb(192, 192, 192);
    }

    video {
        transform-origin: center center;
        object-fit: cover;
    }

    .text { 
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1.6rem;

        width: 40%;
    }

    .fale-conosco { background-color: #131e3d; color: white }
    .fale-conosco:hover { background-color: #d39a15; }
}

.podcast { flex-direction: row-reverse; padding: 0 3.2rem 8dvh 3.2rem; }

@media ( max-width: 1100px ) {
    .sobre { flex-direction: column; }
    .podcast { flex-direction: column-reverse; }
    .sobre, .podcast { 
        align-items: center; 

        .text { display: flex; flex-direction: column; align-items: center; text-align: center; }
        .text, img, video { width: 75%; }
    }
}

@media ( max-width: 760px ) {
    .sobre, .podcast { .text, img, video { width: 100%; border-radius: 1.6rem; } }
}

.carousel-section {
    position: relative;

    display: flex;
    flex-direction: column;
    gap: 3.2rem;

    padding: 12dvh 0 0 12dvh;

    background-color: #131e3d;

    .card {
        width: 36rem;
        aspect-ratio: 1 / 1.2;

        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        gap: 1.6rem;

        padding: 3.2rem;

        flex: 0 0 auto;
        scroll-snap-align: start;

        background-color: white;

        h3 { margin-top: 0; font-size: var(--font-medium); }

        .text {
            display: flex;
            flex-direction: column;
            gap: 1.6rem;
        }
    }

    .card:nth-child(even) { color: white; background-color: #0c1533; }
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none; 
    -ms-overflow-style: none;  
}

.carousel::-webkit-scrollbar { display: none; }

.arrow {
    position: absolute;
    top: 50%;
    z-index: 10;

    padding: 0.8rem;

    border: none;
    border-radius: 45%;
    background-color: #131e3d;

    cursor: pointer;
    transform: translateY(-50%);
}

.arrow svg {
    width: 16px;
    height: 12px;
    fill: white;
}

.arrow-left { left: 0.8rem; display: none; }
.arrow-right { right: 0.8rem; }

@media ( max-width: 760px ) {
    .carousel-section { padding: 8dvh 0 0 8dvh; }
    .carousel-section .card { width: 28rem; }
} 

.noticias {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;

    padding: 8dvh 3.2rem;

    position: relative;

    .carousel { gap: 1.6rem; }

    .title {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;

        h3 {
            color: #d39a15;
            padding: 0.4rem 0.8rem;
            position: relative;
        }

        h3::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 24.4rem;
            height: 0.15rem;
            background-color: #d39a15;
        }
    }

    .noticia {
        display: flex;
        flex-direction: column;
        gap: 3.2rem;

        max-width: 36rem;
        aspect-ratio: 1 / 1.2;
        flex: 0 0 auto;
        scroll-snap-align: start;

        border-radius: 1.6rem;
        border: 0.1rem solid rgb(192, 192, 192);
        background-color: white;

        img {
            width: 100%;
            height: 45%;
            border-radius: 1.6rem 1.6rem 0 0;
        }

        .content {
            padding: 0 3.2rem;
            display: flex;
            flex-direction: column;
            gap: 0.8rem;

            a { color: black; }
            h4 { color: #d39a15 }
        } 
    }
}

@media ( max-width: 760px ) {
    .noticias .title h3::after { width: 19.2rem; }
    .noticias .noticia { max-width: 28rem; gap: 1.6rem; }
    .noticias .noticia .content { padding-bottom: 1.6rem; }
}

.relatos {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3.2rem;

    padding: 8dvh 3.2rem;

    background-image: url(images/relatos.png);
    background-position: center;
    background-size: cover;

    .title { text-align: center; }
    h2 { color: #d39a15; font-weight: 300; }

    .container-relatos {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 3.2rem;

        .relato {
            max-width: 32rem;

            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 3.2rem;

            padding: 8dvh 3.2rem;
            
            color: white;
            border: 0.2rem solid white;
        }

        span { color: #d39a15; font-family: "Libre Baskerville", serif; }
    }
}

.relatos::before { background: #131e3dd5; }

footer {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 1.6rem;
    
    padding: 8dvh 3.2rem;

    .container-footer {
        display: flex;
        flex-direction: column;
        gap: 1.6rem;

        width: 32rem;

        .container-infos {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;

            position: relative;

            a {
                color: black;
                font-size: var(--font-medium);
                font-weight: 450;
            }

            .info-footer {
                display: flex;
                align-items: center;
                gap: 0.8rem;
    
                img { width: 3.2rem; height: 3.2rem; }
                a { transition: ease all 0.5s; }
            }

            .saiba-mais { font-size: var(--font-medium); }
        }

        .images-footer {
            display: flex;
            gap: 0.8rem;

            a {
                padding: 0.75rem;

                display: flex;
                justify-content: center;
                align-items: center;

                background-color: white;
                border: 0.1rem solid #d39a15;
                border-radius: 40%;

                transition: ease all 0.3s;

                img { width: 2.4rem; height: 2.4rem; }
            }

            a:hover {
                transform: scale(1.1);
            }
        }
    }
}

@media ( max-width: 760px ) { footer { flex-direction: column; align-items: center; } }

.saiba-mais {
    display: flex;
    align-items: center;

    font-size: calc( var(--font-small) + 0.2rem );
    font-family: Arial, sans-serif;
    font-weight: 400;
    color: black;

    background: none;
    border: none;

    transition: ease all 0.5s;
}

.saiba-mais::before {
    content: '›'; 

    font-size: var(--font-sec);
    color: #d39a15;

    margin: -4px 6px 0 0;
}  

.saiba-mais:hover {
    margin-left: 1.6rem;
}