/* ESTILO GERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Carvingsoft', sans-serif;
}
    
body {
    background-color: #f8f9fa;
    height: 100vh;
    overflow-x: hidden; /* Impede o scroll horizontal */
    margin: 0; /* Garante que não haja margens externas */
}
    
.interface{
    max-width: 100vw;
}
    
.flex {
    display: flex;
}
    
    
/* ESTILO DO CABEÇALHO */
    
.logo img{
    width: 250px;
    height: auto; /* Maintains the aspect ratio */
}
    
header {
    background-color: #f8f9fa;
    margin-left: 40px;
    margin-right: 40px;
}
    
header > .interface {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
    
header a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}
    
header .menu-desktop {
    display: flex;
    justify-content: center;
    font-size: 20px;
    font-family: 'Roboto';
}
    
header .menu-desktop ul li {
    margin: 0 30px; /* Ajuste o valor conforme necessário */
}
    
header a {
    text-decoration: none;
    color: #000000;
    font-size: 20px;
    padding: 10px;
    position: relative;
}
    
header a:hover {
    color: black;
    transform: scale(1.05);
}
    
header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}
    
header nav li {
    margin: 0 15px;
}
    
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px; /* Espaçamento entre os itens do menu */
}
    
nav ul li {
    display: inline-block;
}
    
nav ul li a i {
    margin-right: 10px; /* Espaço entre o ícone e o texto */
}
    
.menu-desktop a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #000000; /* Cor do underline */
    bottom: 0;
    left: 0;
}
    
header .matricula button{
    display: flex;
    justify-content: space-between;
    padding: 12px 22px;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 30px;
    background-color: #FFABF9;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Roboto';
    cursor: pointer;
}
    
header .matricula button:hover{
    box-shadow: 0px 0px 8px #849ea1;
}

/* ESTILO DA PÁGINA DE PRIVACIDADE */

main {
    padding: 40px 10px;
    background: #21489d; /* Fundo diferenciado */
}

.refund {
    padding: 20px;
    background-color: #ffffff;
    margin: 40px auto;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

main h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #333333;
}

main h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333333;
}

main p, main ul {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555555;
}

main ul {
    margin-left: 20px;
    list-style-type: disc;
}

main a {
    color: #3498db;
    text-decoration: underline;
}

main a:hover {
    color: #000000;
}

/* estilo rodape*/

.footer img {
    width: 140px;
    height: auto;
    margin-left: 20px;
}

section{
    padding: 40px 5% 20px;
}

.footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    gap: 10.8rem;
    box-shadow: 0px -4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave na parte superior */
}

h3 {
    color: black;
    margin-bottom: 1.5rem;
}

#contato strong {
    color: black; /* Escolha a cor desejada */
}

.footer-content h4 {
    color: black;
    margin-bottom: 1.5rem;
    font-size: 20px;
}

.footer a{
    color:black;
}

.footer-content {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px; /* Ajuste o gap para uma distância mais uniforme entre os itens */
}

.footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    transition: all 0.4s;
    color: black;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); /* Sombra suave */
}

.icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.icons a{
    color: white;
}

#instagram {
    background: linear-gradient(#7f37c9, #ff2992, #ff9807);
}

#tiktok {
    background-color: #000000;
}

#youtube{
    background-color: #ff0000;
}

#footer-copyright {
    display: flex;
    justify-content: center;
    color: black;
    background-color: #f8f9fa;
    font-size: 0.9rem;
    padding: 40px 10.5% 20px;
    font-weight: 100;
}

/* AJUSTES DE RESPONSIVIDADE */
/* Ajuste básico para telas menores */
@media (max-width: 1200px) {
    .header .menu-desktop ul li {
        margin: 0 15px; /* Reduz espaçamento entre os itens */
    }

    header .matricula button {
        font-size: 14px;
        padding: 10px 18px; /* Ajusta o botão para telas menores */
    }
}

/* Para tablets (largura menor que 768px) */
@media (max-width: 768px) {
    /* Ajusta o layout do cabeçalho */
    header > .interface {
        flex-direction: column; /* Coloca os elementos em coluna */
        align-items: center;
    }

    .logo img {
        width: 200px; /* Reduz o tamanho do logo */
    }

    .menu-desktop ul {
        flex-direction: column; /* Coloca os itens do menu em coluna */
        gap: 10px; /* Ajusta o espaçamento entre os itens */
    }

    .matricula-box {
        width: 90%; /* Reduz a largura da caixa de matrícula */
    }
}

@media (max-width: 768px) {
    header > .interface {
        flex-direction: column; /* Alinha elementos verticalmente */
        gap: 15px;
    }

    header .menu-desktop {
        flex-direction: column; /* Menu vertical */
        gap: 10px;
    }

    .footer {
        grid-template-columns: 1fr; /* Apenas uma coluna no rodapé */
    }

    .footer-content {
        gap: 5px; /* Textos mais próximos */
    }

    main {
        padding: 20px;
    }

    main h1 {
        font-size: 24px;
    }
}

    /* Ajuste no rodapé */
    /* Para dispositivos móveis (largura menor que 480px) */
    @media (max-width: 480px) {
        .footer {
            display: flex; /* Muda para flexbox para facilitar centralização */
            flex-direction: column; /* Organiza os itens em coluna */
            align-items: center; /* Centraliza os itens horizontalmente */
            text-align: center; /* Alinha o texto no centro */
        }
    
        .footer-content {
            align-items: center; /* Centraliza os itens internos */
        }
    
        .footer-content h4 {
            text-align: center; /* Centraliza os títulos */
        }
    
        .footer a {
            text-align: center; /* Centraliza os links */
        }
    
        #footer-copyright {
            text-align: center; /* Centraliza o texto do copyright */
        }
    
        .icons {
            justify-content: center; /* Alinha os ícones no centro */
        }
    }