* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-primary: "Italiana", serif;
    --font-secondary: "Italianno", cursive;
    --color-primary: #444242;
    --color: #e6dede;
    --italian-green: #009246;
    --italian-white: #F1F2F1;
    --italian-red: #CE2B37;
}


html {
    background-color: rgb(255, 255, 255);
    scroll-behavior: smooth;
}

body {
    padding-bottom: 80px;
}

header {
    position: fixed;
    top: 6px;
    /* EspaÃ§amento do topo */
    left: 50%;
    transform: translateX(-50%);
    /* Centraliza o header */
    width: 75%;
    /* Largura um pouco menor que a tela */

    display: flex;
    justify-content: space-between;
    align-items: center;

    background-color: rgb(36, 35, 35);
    /* Fundo preto sÃ³lido */
    padding: 10px 25px;
    /* Padding interno */
    border-radius: 50px;
    /* Bordas bem arredondadas */

    z-index: 1000;
    transition: top 0.3s ease;
}

/* AnimaÃ§Ã£o suave ao alterar a posiÃ§Ã£o do header */


.logo {
    font-size: 2rem;
    font-family: var(--font-primary);
    font-weight: 600;
    text-decoration: none;
    color: white;
}

/* Nova barra de navegaÃ§Ã£o com Ã­cones */
.icon-nav {
    display: flex;
    gap: 15px;
    padding: 10px 25px;
    border-radius: 30px;
}

.icon-item {
    position: relative;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.icon-item .tooltip {
    position: absolute;
    bottom: -45px;
    /* PosiÃ§Ã£o abaixo do Ã­cone */
    background-color: #2c2c2c;
    color: white;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-primary);

    /* AnimaÃ§Ã£o */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    /* Para nÃ£o interferir no hover do Ã­cone */
}

.icon-item:hover .tooltip {
    opacity: 1;
    transform: translateY(0);
}

header nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-free-class {
    color: rgb(201, 201, 201);
    background-color: transparent;
    padding: 10px 20px;
    border: 1px solid rgb(223, 220, 220);
    border-radius: 8px;
    /* Bordas mais suaves */
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}



.btn-free-class:hover {
    background-color: white;
    color: black;
}

.menu-icon {
    cursor: pointer;
}

/* ... (restante do cÃ³digo) ... */

/* Media Queries para Responsividade */
@media (max-width: 900px) {
        .civitas-content-cta {
            max-width: 98vw;
            padding: 32px 8px 28px 8px;
            border-radius: 32px;
        }
        .civitas-content-cta h3 {
            font-size: 2.2rem;
        }
        .btn-cta-civitas {
            font-size: 1.1rem;
            padding: 14px 10vw;
            min-width: 0;
            width: 100%;
            border-radius: 10px;
        }
    .icon-nav {
        position: fixed;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        z-index: 100;
    }

    header {
        padding: 15px 20px;
    }
}

@media (max-width: 500px) {
    header {
        width: 90%;
        padding: 6px 15px;
    }

    .logo {
        font-size: 1rem;
    }

    .btn-free-class {
        display: none;
        /* Esconde o botÃ£o em telas muito pequenas */
    }

    .icon-nav {
        gap: 10px;
        padding: 8px 15px;
    }
}


.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 2000;
    /* Acima de tudo */

    /* Escondido por padrÃ£o fora da tela */
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    /* AnimaÃ§Ã£o sutil */

    display: flex;
    flex-direction: column;
    padding: 20px 5%;
}

/* Classe para ativar o menu via JS */
.mobile-menu.is-active {
    transform: translateX(0);
}

/* CabeÃ§alho do menu (logo e botÃ£o de fechar) */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-mobile {
    font-size: 1.5rem;
    font-family: var(--font-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.close-menu-icon {
    cursor: pointer;
}

/* ConteÃºdo principal do menu */
.mobile-menu-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Links de navegaÃ§Ã£o principais */
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Alinha Ã  esquerda */
    gap: 15px;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-family: var(--font-secondary);
    font-size: 6rem;
    /* Bem grande */
    font-weight: 600;
    position: relative;
    transition: transform 0.4s ease;
}

/* AnimaÃ§Ã£o de sublinhado */
.mobile-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.mobile-nav a:hover {
    transform: translateX(10px);
    /* Deslocamento para a direita */
}

.mobile-nav a:hover::after {
    transform: scaleX(1);
}

/* Divisor */
.menu-divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 40px 0;
}

/* SeÃ§Ã£o inferior (localizaÃ§Ã£o e social) */
.mobile-menu-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: var(--font-primary);
    font-size: 1.2rem;
    text-decoration: none;
    /* Adicionado para remover o sublinhado */
    cursor: pointer;
}

/* Links de redes sociais */
.social-links {
    display: flex;
    align-items: center;
    /* Alinha verticalmente */
    gap: 25px;
    /* EspaÃ§o entre os links */
    padding: 10px 0;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    position: relative;
}

/* AnimaÃ§Ã£o de sublinhado para social */
.social-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: white;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.social-links a:hover::after {
    transform: scaleX(1);
}


/* ================== AJUSTES DE RESPONSIVIDADE ================== */
.menu-icon {
    display: none;
    /* Esconde o Ã­cone de menu por padrÃ£o */
}

@media (max-width: 1200px) {

    /* Esconde a navegaÃ§Ã£o do desktop */
    .icon-nav,
    .btn-free-class {
        display: none;
    }

    /* Mostra o Ã­cone de menu (hamburger) */
    .menu-icon {
        display: block;
        cursor: pointer;
    }
}

/* Ajustes para tablets e telas menores (768px) */
@media (max-width: 768px) {
            .carousel-track {
                  padding-left: 16vw;
                padding-right: 4vw;
            }
        .civitas-content-cta {
            max-width: 99vw;
            padding: 20px 2vw 16px 2vw;
            border-radius: 18px;
        }
        .civitas-content-cta h3 {
            font-size: 1.3rem;
        }
        .btn-cta-civitas {
            font-size: 1rem;
            padding: 10px 2vw;
            width: 100%;
            min-width: 0;
            border-radius: 8px;
            box-sizing: border-box;
        }
    .mobile-nav a {
        font-size: 3.6rem;
        /* Fonte um pouco menor */
    }

    .mobile-menu-bottom {
        flex-direction: column;
        /* Empilha a localizaÃ§Ã£o e os links sociais */
        align-items: flex-start;
        /* Alinha tudo Ã  esquerda */
        gap: 30px;
        /* EspaÃ§o entre os blocos */
    }

    .menu-icon lord-icon {
        width: 40px !important;
        height: 40px !important;
    }

    /* Reordenando os elementos */
    .social-links {
        order: 1;
        /* AparecerÃ¡ primeiro */
        flex-direction: row;
        gap: 20px;
    }

    .location-info {
        order: 2;
        /* AparecerÃ¡ em segundo */
    }

    .location-info lord-icon {
        width: 30px !important;
        height: 30px !important;
    }
}


main {
    position: relative;
    height: 100vh;
    /* Altura da seÃ§Ã£o principal */
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    /* Garante que nada saia dos limites */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    /* Fica atrÃ¡s de tudo */
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cobre toda a Ã¡rea sem distorcer */
    display: none;
    /* Esconde todos os vÃ­deos por padrÃ£o */
}

.video-background .video-active {
    display: block;
    /* Mostra apenas o vÃ­deo ativo */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(0, 0, 0, 0.2);
    /* Sombra escura para melhorar a legibilidade */
}

.main-content {
    padding: 0 5%;
    /* Alinha com o padding do header */
    max-width: 900px;
    /* Limita a largura do texto */
}

.main-content h1 {
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-family: var(--font-secondary);
    font-size: 5.7rem;
    /* Tamanho bem grande */
    font-weight: 100;
    line-height: 1.1;
    margin-bottom: 20px;
}

.main-content p {
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    line-height: 1.5;
}

.learn-more-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;

    /* Efeito de Vidro */
    background: rgba(255, 255, 255, 0);
    /* Fundo branco bem transparente */
    backdrop-filter: blur(5px);
    /* Desfoque do fundo */
    -webkit-backdrop-filter: blur(5px);
    /* Para compatibilidade com Safari */
    border: 1px solid rgba(230, 227, 227, 0.2);
    /* Borda sutil */
    border-radius: 50px;
    /* Bordas arredondadas */
    padding: 10px 25px;
    /* Padding interno para dar corpo ao botÃ£o */

    color: white;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;

    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.learn-more-button:hover {
    background: rgba(255, 255, 255, 0.2);
    /* Fica um pouco mais "sÃ³lido" no hover */
    transform: translateY(-3px);
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .main-content {
        text-align: center;
        /* Centraliza todo o texto e elementos inline */
        max-width: 100%;
        /* Permite que o conteÃºdo ocupe a largura */
        height: 50vh;
    }

    .main-content h1 {
        font-size: 3rem;
    }

    .main-content p {
        font-size: 1.1rem;
    }
}


/* Novo BotÃ£o Flutuante do WhatsApp */
.whatsapp-float-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;

    background-color: #25D366;
    /* Cor verde do WhatsApp */
    width: 70px;
    /* Largura e altura iguais para formar um cÃ­rculo */
    height: 70px;
    border-radius: 50%;
    /* Deixa o botÃ£o redondo */

    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.whatsapp-float-button:hover {
    transform: scale(1.1);
    /* Aumenta um pouco o Ã­cone no hover */
}

@media (max-width: 768px) {
    .whatsapp-float-button {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
}


/* ================== SEÃ‡ÃƒO DE INTRODUÃ‡ÃƒO (H2) ================== */
.intro-text-section {
    padding: clamp(30px, 6vw, 80px) clamp(15px, 4vw, 40px);
    /* Padding fluido */
    background-color: #ffffff;
    width: 100%;
    min-height: 100vh;
    display: none;
}

.intro-text-section h2 {
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: clamp(1.3rem, 2.5vw, 2.5rem);
    /* Fluido: de 1.3rem a 2.5rem */
    line-height: 1.4;
    text-align: center;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 clamp(10px, 2vw, 20px);
    /* Padding lateral fluido */
}

.intro-text-section .video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: clamp(15px, 3vw, 30px) auto clamp(20px, 4vw, 40px) auto;
    border-radius: clamp(8px, 1.5vw, 20px);
    overflow: hidden;
    cursor: pointer;
}

.intro-text-section .video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.video-play-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.contact-wrapper {
    max-width: 1400px;
    /* Mesma largura do vÃ­deo */
    margin: 40px auto 0 auto;
    /* Adiciona espaÃ§o acima */
    display: flex;
    flex-direction: column;
    /* Empilha os itens verticalmente */
    align-items: center;
    /* Centraliza horizontalmente */
    gap: 25px;
    /* EspaÃ§o entre o parÃ¡grafo e o botÃ£o */
    text-align: left;
}

.contact-wrapper p {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    /* Fluido */
    font-weight: 700;
    color: #333;
    line-height: 1.6;
    text-align: center;
    max-width: 1400px;
}

.whatsapp-button-subtle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: transparent;
    /* Verde WhatsApp */
    color: var(--italian-green);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 800;
    border-bottom: 4px solid rgb(41, 39, 39);
    border-right: 1px solid rgb(41, 39, 39);
    transition: all 0.3s ease;
}

.whatsapp-button-subtle:hover {
    background-color: var(--italian-green);
    color: white;
    transform: translateY(-3px);
}

/* Ajustes de responsividade */
@media (max-width: 768px) {
    .contact-wrapper p {
        font-size: 1.2rem;
    }

    .whatsapp-button-subtle {
        font-size: 1rem;
        padding: 10px 20px;
        gap: 8px;
        white-space: nowrap;
    }
}


/* ================== SEÃ‡ÃƒO COMPARATIVA ================== */
.comparison-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 60px);
}

.comparison-container {
    background-color: var(--italian-green);
    border-radius: clamp(16px, 2vw, 30px);
    padding: clamp(40px, 6vw, 80px) clamp(25px, 4vw, 60px);
    width: 100%;
    max-width: 1600px;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.comparison-section h2 {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 5vw, 5rem);
    color: white;
    text-align: center;
    line-height: 1.1;
    font-weight: 100;
}

.comparison-subtitle {
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    max-width: 900px;
}

.comparison-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: var(--font-primary);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.comparison-table thead th {
    padding: 22px 28px;
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.comparison-table thead th.highlight-col {
    color: white;
}

.comparison-table tbody td {
    padding: 20px 28px;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: middle;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody td.highlight-col {
    color: white;
    font-weight: 700;
}

.comparison-table tbody td.highlight-col strong {
    font-weight: 800;
}

.comparison-table tbody tr {
    transition: background 0.2s ease;
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* Responsividade tabela */
@media (max-width: 768px) {
    .comparison-section {
        padding: 20px 15px;
    }

    .comparison-container {
        padding: clamp(30px, 5vw, 50px) clamp(15px, 3vw, 25px);
        border-radius: 16px;
        min-height: auto;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 14px 14px;
        font-size: 0.85rem;
    }
}


/* ================== SEÃ‡ÃƒO METODOLOGIA ================== */
.metodologia-section {
    min-height: 100vh;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 80px);
}

.metodologia-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 5vw, 60px);
}

.metodologia-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.metodologia-label {
    font-family: var(--font-primary);
    font-size: clamp(0.85rem, 1vw, 1rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--italian-green);
    font-weight: 700;
}

.metodologia-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.8rem, 5vw, 5.5rem);
    color: var(--color-primary);
    line-height: 1.1;
    max-width: 800px;
}

.metodologia-intro {
    font-family: var(--font-primary);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    color: #777;
    line-height: 1.7;
    font-weight: 600;
    max-width: 650px;
}

.metodologia-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.metodologia-card {
    background: white;
    border-radius: 18px;
    padding: clamp(30px, 3vw, 45px) clamp(24px, 2.5vw, 35px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid rgba(0, 0, 0, 0.185);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.metodologia-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.432);
}

.metodologia-number {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 3.5vw, 3.5rem);
    color: var(--italian-green);
    line-height: 1;
    opacity: 0.5;
}

.metodologia-card h3 {
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 1.3vw, 1.3rem);
    font-weight: 800;
    color: var(--color-primary);
}

.metodologia-card p {
    font-family: var(--font-primary);
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    color: #666;
    line-height: 1.7;
    font-weight: 600;
}

.metodologia-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.metodologia-vagas {
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: var(--color-primary);
    font-weight: 700;
    max-width: 700px;
    line-height: 1.6;
}

.btn-metodologia-vaga {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background-color: var(--italian-red);
    padding: 16px 48px;
    border-radius: 5px;
    border: 2px solid transparent;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 146, 70, 0.3);
}

.btn-metodologia-vaga:hover {
    color: var(--italian-red);
    background-color: #e9e9e9;
    transform: scale(1.05);
    border: 2px solid var(--italian-red);
}

.metodologia-horarios {
    font-family: var(--font-primary);
    font-size: clamp(0.85rem, 1.1vw, 2rem);
    color: #888;
    font-weight: 900;
    max-width: 600px;
    line-height: 1.6;
    font-style: italic;
}

/* Responsividade Metodologia */
@media (max-width: 900px) {
    .metodologia-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .metodologia-grid {
        grid-template-columns: 1fr;
    }
}



/* eventos */
.civitas-content-section {
    background: #ffffff;
    padding: 100px 0 80px 0;
    text-align: center;
    min-height: 900px;
}


.civitas-content-header h2 {
    font-family: var(--font-secondary);
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--italian-green);
    letter-spacing: 1px;
    line-height: 1.1;
    padding-left: 2vw;
    padding-right: 2vw;
}


.civitas-content-header p {
    font-size: 1.5rem;
    color: #444;
    max-width: 900px;
    margin: 0 auto 60px auto;
}


.carousel {
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    display: block;
    padding-left: 0;
    box-sizing: border-box;
}


.carousel-title {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    color: #b22222;
    margin-bottom: 32px;
    text-align: left;
    margin-left: 40px;
    letter-spacing: 0.5px;
}


.carousel-track {
    display: flex;
    gap: 32px;
    scroll-snap-type: x mandatory;
    padding: 0 16px 40px 16px;
    box-sizing: border-box;
    overflow-x: visible;
}


.carousel-card {
    background: #fff;
    border-radius: 28px;
    min-width: 340px;
    max-width: 420px;
    border: 1px solid rgba(0, 0, 0, 0.438);
    width: 100%;
    aspect-ratio: 3/4;
    margin-bottom: 20px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: transform 0.2s;
}

/* Ícone de play centralizado sobre vídeo do card */
.card-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-video-wrapper .card-video {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 28px 28px 0 0;
}

.card-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border-radius: 50%;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #01040a;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
    pointer-events: none;
}

.card-video-wrapper:hover .card-play-icon {
    background: rgba(255, 255, 255, 0.28);
    transform: translate(-50%, -50%) scale(1.08);
}

.card-video {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 28px 28px 0 0;
    display: block;
}



@media (max-width: 900px) {
    .card-video {
        height: 180px;
        border-radius: 16px 16px 0 0;
    }
}

@media (max-width: 700px) {
    .card-video {
        height: 32vw;
        min-height: 120px;
        max-height: 180px;
        border-radius: 16px 16px 0 0;
    }
}

@media (max-width: 480px) {
    .card-video {
        height: 38vw;
        min-height: 90px;
        max-height: 120px;
        border-radius: 10px 10px 0 0;
    }
}


.carousel-card img,
.carousel-card video {
    width: 100%;
    aspect-ratio: 3/4;
    height: auto;
    max-height: 100%;
    object-fit: cover;
    border-radius: 28px 28px 0 0;
    cursor: pointer;
    pointer-events: auto;
}

/* Modal para vídeo ampliado */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal video {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 18px;
    background: #000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.video-modal .close-modal {
    position: absolute;
    top: 32px;
    right: 48px;
    font-size: 3rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s;
}

.video-modal .close-modal:hover {
    color: #b22222;
}


.card-content {
    padding: 32px 28px 32px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.event-card .event-date {
    font-size: 2rem;
    font-family: var(--font-secondary);
    color: var(--italian-green);
    font-weight: bold;
    margin-bottom: 12px;
    display: block;
}


.carousel-card h4 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 400;
    margin: 16px 0 16px 0;
    color: #222;
}


.carousel-card p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 24px;
}


.btn-card {
    background: transparent;
    color: var(--color-primary);
    padding: 8px 0;
    border-bottom: 5px solid var(--color-primary);
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: background 0.2s;
    display: inline-block;
    margin-top: auto;
    width: auto;
    min-width: 160px;
    max-width: none;
    text-align: center;
    align-self: center;
    letter-spacing: 0.5px;
    transition: all 0.6s ease;
}


.btn-card:hover {
    color: var(--italian-green);
    border-bottom: 5px solid var(--italian-green);
}


.civitas-content-cta {
    font-family: var(--font-secondary);
    margin-top: 80px;
    color: rgb(0, 0, 0);
    border: 1px solid rgba(0, 0, 0, 0.514);
    padding: 56px 24px 48px 24px;
    border-radius: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


.civitas-content-cta h3 {
    font-size: 4rem;
    margin-bottom: 32px;
}


.btn-cta-civitas {
    background: #000000;
    color: #ffffff;
    padding: 20px 60px;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid transparent;
    text-decoration: none;
    font-size: 2rem;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.5px;
}


.btn-cta-civitas:hover {
    color: #000000;
    border: 2px solid #000000;
    background: white;
}


/* Responsivo */

@media (max-width: 1200px) {
    .carousel-track {
        gap: 24px;
        padding: 0 12px 24px 12px;
    }

    .carousel-card {
        min-width: 320px;
        max-width: 340px;
    }
}

@media (max-width: 900px) {
    .civitas-content-header h2 {
        font-size: 3.2rem;
    }
    .carousel-title {
        font-size: 1.6rem;
        margin-left: 12px;
    }
}

@media (max-width: 768px) {
    .civitas-content-header h2 {
        font-size: 2.2rem !important;
        line-height: 0.8 !important;
        padding-left: 4vw;
        padding-right: 4vw;
    }

    .civitas-content-header p {
        font-size: 1rem !important;
        padding-left: 4vw;
        padding-right: 4vw;
    }

    .carousel-title {
        font-size: 2rem !important;
        margin-left: 8px;
    }

    .civitas-content-cta {
        max-width: 90vw !important;
        padding: 28px 4vw 24px 4vw !important;
        border-radius: 20px !important;
    }

    .civitas-content-cta h3 {
        font-size: 2rem !important;
    }

    .btn-cta-civitas {
        font-size: 1.6rem !important;
    }
}

@media (max-width: 480px) {
    .btn-cta-civitas {
        font-size: 0.95rem;
        padding: 10px 2vw;
        width: 100%;
        min-width: 0;
        border-radius: 6px;
        box-sizing: border-box;
    }

    .civitas-content-header h2 {
        font-size: 1.1rem;
    }

    .carousel-title {
        font-size: 0.95rem;
        margin-left: 2px;
    }

    .carousel-card {
        min-width: 90vw;
        max-width: 92vw;
        border-radius: 10px;
    }

    .carousel-card img {
        height: 38vw;
        min-height: 90px;
        max-height: 120px;
        border-radius: 10px 10px 0 0;
    }

    .card-content {
        padding: 8px 2vw 10px 2vw;
    }

    .civitas-content-cta {
        max-width: 96vw;
        padding: 14px 2vw 14px 2vw;
        border-radius: 8px;
        margin-left: auto;
        margin-right: auto;
    }

    .civitas-content-cta h3 {
        font-size: 0.95rem;
    }
}


/* ================== SEÃ‡ÃƒO PROFESSOR ================== */
.professor-section {
    padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 80px);
    background-color: #ffffff;
}

.professor-top {
    display: flex;
    align-items: flex-start;
    gap: clamp(40px, 5vw, 80px);
    max-width: 1600px;
    margin: 0 auto;
}

.professor-photo-col {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.professor-photo-col img {
    width: clamp(320px, 30vw, 500px);
    height: clamp(420px, 38vw, 650px);
    object-fit: cover;
    border-radius: 16px;
}

.btn-conhecer-professor {
    display: inline-block;
    padding: 16px 40px;
    background-color: transparent;
    color: var(--italian-red);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    border-bottom: 3px solid var(--italian-red);
    border-radius: 30px;
    transition: all 0.4s ease;
}

.btn-conhecer-professor:hover {
    color: var(--italian-green);
    transform: translateY(-3px);
    border-bottom: 3px solid var(--italian-green);
}

.professor-text-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    padding-top: 30px;
}

.professor-text-col h2 {
    font-family: var(--font-secondary);
    font-size: clamp(3rem, 5vw, 5.5rem);
    color: var(--color-primary);
    line-height: 1.1;
}

.professor-text-col p {
    font-family: var(--font-primary);
    font-size: clamp(1.2rem, 1.6vw, 1.3rem);
    color: #555;
    line-height: 1.6;
    font-weight: 600;
    max-width: 1000px;
}

.professor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 5px;
}

.tag-red {
    display: inline-block;
    padding: 8px 20px;
    border: 1.5px solid var(--italian-red);
    color: var(--italian-red);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.tag-red:hover {
    background-color: var(--italian-red);
    color: white;
}

/* Blocos "Por que escolher a Civitas" */
.why-civitas-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: clamp(50px, 6vw, 80px) auto 0 auto;
}

.why-block {
    background-color: transparent;
    border-radius: 80px;
    border-right: 6px solid var(--italian-red);
    border-top: 6px solid var(--italian-red);
    padding: clamp(25px, 3vw, 40px);
    transition: transform 0.3s ease;
}

.why-block:hover {
    transform: translateY(-5px);
    border-right: 6px solid var(--italian-green);
    border-top: 6px solid var(--italian-green);
}

.why-block h3 {
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.why-block p {
    font-family: var(--font-primary);
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    color: var(--color-primary);
    line-height: 1.6;
    font-weight: 600;
}

/* Responsividade Professor */
@media (max-width: 900px) {
    .professor-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .professor-text-col {
        align-items: center;
        padding-top: 0;
    }

    .professor-text-col p {
        text-align: center;
    }

    .professor-tags {
        justify-content: center;
    }

    .why-civitas-blocks {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .why-civitas-blocks {
        grid-template-columns: 1fr;
    }

    .professor-photo-col img {
        width: 100%;
        height: auto;
        aspect-ratio: 3/4;
    }
}


/* ==========================================
   SEÃ‡ÃƒO DEPOIMENTOS / GOOGLE
   ========================================== */
.depoimentos-section {
    padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
    background-color: #fff;
}

.depoimentos-container {
    max-width: 1200px;
    margin: 0 auto;
}

.depoimentos-header {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.depoimentos-label {
    font-family: var(--font-primary);
    font-size: clamp(0.8rem, 1vw, 0.95rem);
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--italian-green);
    font-weight: 700;
}

.depoimentos-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.5rem, 4.5vw, 5rem);
    color: var(--color-primary);
    line-height: 1.1;
}

.google-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.google-star {
    filter: drop-shadow(0 1px 2px rgba(251, 188, 4, 0.4));
}

.google-rating {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.google-text {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--color-primary);
    font-weight: 900;
}

.btn-avaliar {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--italian-green);
    border: 1.5px solid var(--italian-green);
    padding: 8px 24px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.btn-avaliar:hover {
    background: var(--italian-green);
    color: #fff;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
}

.depoimento-card {
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f5;
}

.depoimento-video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
}

.depoimento-video-wrapper video {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}



.depoimento-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.depoimento-play-btn:hover {
    background: rgba(0, 0, 0, 0.65);
    transform: translate(-50%, -50%) scale(1.1);
}

.depoimento-play-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 900px) {
    .depoimentos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .depoimentos-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
}


/* ================== SEÃ‡ÃƒO PORTAL CULTURAL ================== */
.portal-section {
    min-height: 100vh;
    width: 100%;
    background-color: var(--italian-green);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 80px);
    gap: clamp(50px, 6vw, 80px);
}

.portal-content {
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.portal-label {
    font-family: var(--font-primary);
    font-size: clamp(0.85rem, 1vw, 1.7rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.589);
    font-weight: 900;
}

.portal-title {
    font-family: var(--font-secondary);
    font-size: clamp(3rem, 5.5vw, 7rem);
    color: white;
    line-height: 1.1;
    font-weight: 500;
}

.portal-description {
    font-family: var(--font-primary);
    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    font-weight: 900;
    max-width: 950px;
}

.btn-portal {
    display: inline-block;
    margin-top: 10px;
    padding: 16px 44px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: all 0.4s ease;
}

.btn-portal:hover {
    background: white;
    color: #0a0a0a;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

/* Cards do Portal */
.portal-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px, 1.5vw, 20px);
    width: 100%;
    max-width: 1800px;
}

.portal-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.portal-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portal-card:hover img {
    transform: scale(1.06);
}

.portal-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease;
}


.portal-card-overlay span {
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-family: var(--font-primary);
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.4s ease;
}

.portal-card:hover .portal-card-overlay span {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}

/* Responsividade Portal */
@media (max-width: 900px) {
    .portal-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .portal-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .portal-card {
        aspect-ratio: 4/6;
    }
}



/* ================== SEÃ‡ÃƒO VIAGEM ITÃLIA ================== */
.viagem-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #ffffff;
}

.viagem-scattered {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.scattered-img {
    position: absolute;
    width: clamp(120px, 14vw, 200px);
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    opacity: 1;
}

/* Lado esquerdo - distÃ¢ncias variadas */
.si-1 {
    top: 3%;
    left: 4%;
    transform: rotate(-4deg);
}

.si-3 {
    top: 22%;
    left: 16%;
    transform: rotate(2deg);
}

.si-9 {
    top: 46%;
    left: 6%;
    transform: rotate(3deg);
}

.si-6 {
    top: 65%;
    left: 18%;
    transform: rotate(-2deg);
}

.si-10 {
    top: 85%;
    left: 8%;
    transform: rotate(1deg);
}

/* Lado direito - distÃ¢ncias variadas */
.si-7 {
    top: 5%;
    right: 16%;
    transform: rotate(2deg);
}

.si-2 {
    top: 25%;
    right: 5%;
    transform: rotate(3deg);
}

.si-5 {
    top: 48%;
    right: 18%;
    transform: rotate(5deg);
}

.si-8 {
    top: 67%;
    right: 6%;
    transform: rotate(-4deg);
}

.si-4 {
    top: 87%;
    right: 15%;
    transform: rotate(-3deg);
}

.viagem-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 40px);
}

/* Glassmorphism para viagem */
.viagem-glass {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 32px 28px 24px 28px;
    margin-bottom: 24px;
}


@media (max-width: 768px) {
    .viagem-glass {
        padding: 18px 8px 14px 8px;
    }
    .viagem-glass h4 {
        font-size: 1.1rem;
    }
    .viagem-glass p {
        font-size: 0.98rem;
    }

    .viagem-label{
        font-size: 0.7rem !important;
    }

    .viagem-title{
        font-size: 2.5rem !important;
    }
}

.viagem-label {
    font-family: var(--font-primary);
    font-size: clamp(0.85rem, 1vw, 1rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--italian-green);
    font-weight: 700;
    margin-bottom: 10px !important;
}

.viagem-title {
    font-family: var(--font-secondary);
    font-size: clamp(3rem, 5.5vw, 6.5rem);
    color: var(--color-primary);
    line-height: 1.08;
}

.viagem-text {
    font-family: var(--font-primary);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    color: #555;
    line-height: 1.8;
    font-weight: 600;
    max-width: 720px;
}

.btn-viagem {
    display: inline-block;
    margin-top: 10px;
    padding: 18px 48px;
    background: transparent;
    color: var(--color-primary);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    transition: all 0.4s ease;
}

.btn-viagem:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Responsividade Viagem */
@media (max-width: 768px) {
    .scattered-img {
        display: none;
    }

    .viagem-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .viagem-content {
        padding: clamp(30px, 5vw, 50px) clamp(15px, 3vw, 25px);
    }
}


/* ==========================================
   SEÃ‡ÃƒO COPY - AULAS ONLINE (vÃ­deo bg)
   ========================================== */
.copy-section {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.copy-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.copy-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.copy-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    padding: clamp(40px, 8vw, 100px) clamp(20px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.copy-tag {
    font-family: var(--font-primary);
    font-size: clamp(0.8rem, 1vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--color);
    font-weight: 900;
}

.copy-title {
    font-family: var(--font-secondary);
    font-size: clamp(2.8rem, 5vw, 5.5rem);
    color: #fff;
    line-height: 1.1;
    font-weight: 400;
}

.copy-text {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-weight: 600;
    max-width: 650px;
}

.btn-copy {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 14px 44px;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.4s ease;
}

.btn-copy:hover {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}


/* ==========================================
   FOOTER PERSONALIZADO
   ========================================== */
.footer-civitas {
    background: #ffffff;
    color: var(--color-primary);
    padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 60px) 0;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: clamp(40px, 5vw, 80px);
    padding-bottom: clamp(50px, 6vw, 80px);
    border-bottom: 1px solid rgb(128, 124, 124);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 3px;
    transition: color 0.3s ease;
}

.footer-logo:hover {
    color: var(--italian-green);
}

.footer-tagline {
    font-family: var(--font-secondary);
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    color: var(--italian-green);
    line-height: 1.3;
}

.footer-links-area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 48px);
}

.footer-col h4 {
    font-family: var(--font-primary);
    font-size: clamp(0.75rem, 0.9vw, 1.2rem);
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--italian-green);
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col ul li a {
    position: relative;
    font-family: var(--font-primary);
    font-size: clamp(1.1rem, 1.5vw, 1.6rem);
    color: rgba(68, 66, 66, 0.7);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    padding-bottom: 4px;
}

.footer-col ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1.5px;
    background-color: var(--italian-red);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-col ul li a:hover {
    color: var(--italian-red);
}

.footer-col ul li a:hover::after {
    width: 100%;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(24px, 3vw, 36px) 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-policies {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-policies a {
    font-family: var(--font-primary);
    font-size: clamp(0.7rem, 0.85vw, 0.8rem);
    color: rgb(68, 66, 66);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: var(--italian-green);
}

.footer-dot {
    color: rgba(68, 66, 66, 0.2);
    font-size: 0.6rem;
}

.footer-bottom p {
    font-family: var(--font-primary);
    font-size: clamp(0.75rem, 0.9vw, 2rem);
    color: var(--italian-green);
    letter-spacing: 2px;
    font-weight: 900;
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-links-area {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col ul {
        align-items: center;
    }

    .footer-col h4 {
        margin-bottom: 16px;
    }
}