﻿:root {
    --primary-color: #E30016;
    --secondary-color: #1B1918;
    --tertiary-color: #E6E6E6;
    --hover-color: #8E000E;
    --header-h: 80px;
    --circle-size: 150px; /* tamanho padrão do círculo */
    --circle-gap: 24px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.text-justify {
    text-align: justify;
}

.no-style-p {
    margin: 0;
    padding: 0;
}
/* -------------------------------------- GERAL -------------------------------------- */
/* corta qualquer overflow horizontal criado pelas animações */
html, body {
    overflow-x: clip;
}

::-webkit-scrollbar {
    width: 8px;
    background-color: var(--secondary-color);
    opacity: 60%;
}

::-webkit-scrollbar-thumb {
    background-color: var(--tertiary-color);
    opacity: 0.7;
    border-radius: 6px;
    border: 2px solid var(--tertiary-color);
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: var(--hover-color);
    }

::-webkit-scrollbar-button {
    display: none; /* remove setas, deixa mais limpo */
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--tertiary-color) var(--secondary-color);
}

/* Base do modal */
#msgModal .modal-dialog {
    margin: 0;
}
/* você posiciona via inline, mantemos */
#msgModal .modal-content {
    background: linear-gradient(180deg, rgba(27,25,24,0.98), rgba(27,25,24,0.96));
    color: var(--tertiary-color);
    border-radius: 14px;
    border: 1px solid rgba(230,230,230,0.12);
    box-shadow: 0 18px 42px rgba(0,0,0,0.55);
    overflow: hidden;
    backdrop-filter: blur(4px);
}

/* Header + botão fechar */
#msgModal .modal-header {
    padding: 10px 14px;
    border: none;
    align-items: center;
    gap: 10px;
}

#msgModal .modal-title {
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .02em;
}

#msgModal .btn-close {
    filter: invert(1);
    opacity: .85;
    transition: opacity .15s ease;
}

    #msgModal .btn-close:hover {
        opacity: 1;
    }

/* Corpo */
#msgModal .modal-body {
    padding: 12px 14px;
    font-size: .92rem;
    line-height: 1.45;
}

/* ---------- VARIAÇÕES POR TIPO (usando suas classes já existentes) ---------- */
/* Header com a cor do tipo */
#msgModal .bg-success {
    background: var(--tertiary-color) !important;
    color: var(--secondary-color) !important;
}

#msgModal .bg-warning {
    background: var(--hover-color) !important;
    color: #fff !important;
}

#msgModal .bg-danger {
    background: var(--primary-color) !important;
    color: #fff !important;
}

#msgModal .bg-info {
    background: linear-gradient(90deg, var(--secondary-color), #141312) !important;
    color: var(--tertiary-color) !important;
}

/* Borda/acento do card (um “accent bar” lateral) */
#msgModal .modal-content.border-success {
    box-shadow: inset 4px 0 0 0 var(--tertiary-color);
    border-color: rgba(230,230,230,0.35) !important;
}

#msgModal .modal-content.border-warning {
    box-shadow: inset 4px 0 0 0 var(--hover-color);
    border-color: rgba(142,0,14,0.45) !important;
}

#msgModal .modal-content.border-danger {
    box-shadow: inset 4px 0 0 0 var(--primary-color);
    border-color: rgba(227,0,22,0.45) !important;
}

#msgModal .modal-content.border-info {
    box-shadow: inset 4px 0 0 0 var(--tertiary-color);
    border-color: rgba(230,230,230,0.2) !important;
}

/* Micro-toque nos textos do header claro (success) */
#msgModal .bg-success .btn-close {
    filter: none;
    opacity: .7;
}

    #msgModal .bg-success .btn-close:hover {
        opacity: 1;
    }

/* Acessibilidade: foco visível no botão fechar */
#msgModal .btn-close:focus {
    outline: 2px solid var(--tertiary-color);
    outline-offset: 2px;
}
/* fallback pra navegadores antigos */
@supports not (overflow-x: clip) {
    html, body {
        overflow-x: hidden;
    }
}

body {
    padding: 0px;
    margin: 0px;
    padding-top: var(--header-h);
    background-color: var(--secondary-color) !important
}

.btn-identidade {
    color: var(--tertiary-color);
    background: var(--primary-color);
    padding: 10px 2rem;
    border: 0px;
    box-shadow: 0px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

    .btn-identidade:hover {
        color: var(--tertiary-color);
        background: var(--hover-color);
    }

.btn-identidade-light {
    color: var(--secondary-color);
    background: var(--tertiary-color);
    padding: 10px 2rem;
    border: 0px;
    box-shadow: 0px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

    .btn-identidade-light:hover {
        color: var(--secondary-color);
        background: rgb(170, 157, 157);
    }



.btn-identidade-dark {
    color: var(--tertiary-color);
    background: var(--secondary-color);
    padding: 10px 2rem;
    border: 0px;
    box-shadow: 0px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

    .btn-identidade-dark:hover {
        color: var(--tertiary-color);
        background: rgb(44, 39, 39);
    }


h2 {
    font-size: 3rem !important;
    font-weight: 600 !important;
}

@media (max-width: 992px) {
    h2 {
        font-size: 2rem !important;
        font-weight: 600 !important;
    }
}


header {
    color: var(--tertiary-color);
    background-color: var(--secondary-color);
    opacity: 0.95;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    transition: top 0.5s ease, opacity 0.5s ease; /* mais suave */
}

    header.hide {
        top: calc(-1 * var(--header-h));
        opacity: 0; /* além de subir, vai esmaecendo */
    }

    header .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        list-style: bol;
        gap: 20px;
    }

        header .navbar a {
            color: var(--tertiary-color);
            list-style: none;
        }

            header .navbar a:hover {
                color: var(--primary-color);
            }

/* CIRCULO */
.circle-header {
    width: 40px;
    height: 40px;
    background-color: var(--tertiary-color);
    border-radius: 50%;
    border: 1px solid var(--tertiary-color);
    z-index: 2;
}

    .circle-header img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

header .navbar .dropdown-menu {
    background-color: var(--secondary-color);
}

    header .navbar .dropdown-menu .dropdown-item:hover,
    header .navbar .dropdown-menu .dropdown-item:focus,
    header .navbar .dropdown-menu .dropdown-item:active,
    header .navbar .dropdown-menu .dropdown-item.active {
        background-color: var(--hover-color) !important; /* força a cor */
        color: var(--tertiary-color) !important; /* evita texto azul ou branco indesejado */
    }

header .navbar .nav-link:focus {
    color: var(--primary-color);
}

header .navbar .navbar-toggler {
    border: 0px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Espaço entre itens do menu – só no desktop */
@media (min-width: 992px) {
    .primary-nav > li + li {
        margin-left: 20px; /* ajuste fino aqui */
    }
}


.bg-identitade-light {
    background-color: var(--tertiary-color) !important;
}

.bg-identitade-dark {
    background-color: var(--secondary-color) !important;
}

.text-identidade {
    color: var(--primary-color) !important;
}

.text-identidade-light {
    color: var(--tertiary-color) !important;
}

.text-identidade-dark {
    color: var(--secondary-color) !important;
}

/* -------------------------------------- HOME -------------------------------------- */

#banner-home {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-container-home {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

    .banner-container-home iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100vw;
        height: 56.25vw; /* 16:9 */
        min-height: 100vh;
        min-width: 177.77vh;
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

#sound-toggle {
    position: absolute;
    top: 40px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 4;
}

    #sound-toggle::before {
        content: "🔇";
        font-size: 30px;
        color: #fff;
    }

    #sound-toggle.active::before {
        content: "🔊";
    }

/* Por padrão: desktop visível, mobile oculto */
.video-desktop {
    display: block;
}

.video-mobile {
    display: none;
}

/* Mobile 9:16 — 100vh centralizado */
@media (max-width: 768px) {
    .video-desktop {
        display: none;
    }

    .video-mobile {
        display: block;
        position: relative;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }

        .video-mobile iframe {
            position: absolute;
            top: 50%;
            left: 50%;
            height: 100vh;
            width: 56.25vh; /* 9:16 */
            transform: translate(-50%, -50%);
            border: 0;
            object-fit: cover;
        }

    #sound-toggle {
        top: 16px;
        right: 12px;
        width: 44px;
        height: 44px;
    }
}
/* --------- SECTION SOBRE --------- */
#sobre-home {
    position: relative;
    min-height: 100vh;
    /* reservamos 15vh no bottom p/ o círculo entre sections */
    padding: 4rem 0 15vh;
    width: 100%;
    box-sizing: border-box;
}

#sobre-container-home {
    width: 100%;
    height: 100%;
}

/* --------- GRID: imagem esquerda / conteúdo direita --------- */
.sobre-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
    gap: 2rem;
    align-items: start; /* imagem fica no topo */
}

/* --------- ESQUERDA (IMAGEM) --------- */
.pane-left {
    height: 85vh; /* ocupa exatamente os 85% superiores */
    display: flex;
    align-items: flex-start; /* topo */
    justify-content: flex-start; /* esquerda */
}

#sobre-imagem-home img {
    width: 100%;
    height: 55%;
    object-fit: cover; /* cobre a área sem distorcer */
    border-radius: 15px;
}

/* --------- DIREITA (TÍTULO / TEXTO / BOTÃO) --------- */
.pane-right {
    color: var(--tertiary-color);
    display: flex;
    flex-direction: column;
    height: 85vh; /* conteúdo limitado a 85vh */
}

/* título */
#sobre-texto-home h1 {
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

/* área rolável do texto para nunca empurrar o botão pra fora */
.copy-area {
    flex: 1 1 auto;
    min-height: 0; /* necessário p/ overflow funcionar em flex container */
    overflow-y: auto;
    overflow-x: hidden; /* se o texto for grande, vira scroll */
    padding-right: .5rem; /* espaço p/ não colar na borda */
}

/* texto com clamp + responsivo */
#sobre-texto-home .copy-area {
    font-size: 18px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 12; /* mais linhas em desktop */
    overflow: hidden;
}

@media (min-width: 1800px) {
    #sobre-texto-home .copy-area {
        font-size: 18px;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 20; /* mais linhas em desktop */
        overflow: hidden;
    }
}

/* botão gruda no fim do painel, mas dentro dos 85vh */
#sobre-texto-home .group-button {
    margin-top: 2rem;
}

.group-button button {
    width: 100%;
}
/* --------- CÍRCULO ENTRE SECTIONS --------- */

.section-separator {
    position: relative;
    height: 0; /* não ocupa altura visível */
}

.circle-between {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%); /* metade pra cima */
    width: var(--circle-size);
    height: var(--circle-size);
    background: var(--tertiary-color);
    border: 6px solid var(--tertiary-color);
    border-radius: 50%;
    z-index: 2; /* fica acima do separador */
    display: grid;
    place-items: center;
}

    .circle-between img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }

/* --------- RESPONSIVO --------- */
@media (max-width: 992px) {
    #sobre-home {
        padding-top: 2rem !important;
    }

    .sobre-grid {
        grid-template-columns: 1fr; /* empilha */
    }

    .pane-left,
    .pane-right {
        height: auto; /* deixa fluir no mobile */
    }

    #sobre-home {
        padding-bottom: 12vh; /* círculo um pouco menor no mobile */
    }

    #sobre-imagem-home img {
        border-radius: 11px;
    }

    #sobre-texto-home p {
        -webkit-line-clamp: 10;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    #sobre-imagem-home img {
        border-radius: 8px;
    }

    #sobre-texto-home p {
        -webkit-line-clamp: 14;
        font-size: 14px;
    }
}

/* 3) Reserva espaço nas duas sections pra o semicírculo + folga */
#sobre-home {
    padding-bottom: calc(var(--circle-size) / 1.5 + var(--circle-gap));
}

#cursos-home {
    padding-top: calc(var(--circle-size) / 3 + var(--circle-gap));
}

/* 5) Responsivo: reduz o círculo e as reservas */
@media (max-width: 992px) {
    :root {
        --circle-size: 120px;
    }
}

@media (max-width: 576px) {
    :root {
        --circle-size: 96px;
    }
}

/* CURSOS */

#cursos-home {
    width: 100%;
    background-color: var(--tertiary-color);
    display: flex;
    flex-direction: column;
    padding-block: clamp(8px, 2vh, 24px);
    overflow: hidden;
}

    #cursos-home h2 {
        margin: 0;
        padding-top: 5vh;
        line-height: 1.1;
        letter-spacing: 0.3px;
    }



    #cursos-home .container {
        padding: 0 20px;
        flex: 1;
        min-height: 0; /* importante para que o swiper não force overflow */
        display: flex;
    }

    #cursos-home .swiper {
        padding-top: 30px;
        overflow: hidden;
    }

.cursos-home .mySwiper {
    width: 100%;
    padding-block: clamp(8px, 1.2vh, 16px);
}

#cursos-home .swiper-slide {
    background: linear-gradient(0deg,rgba(27, 25, 24, 1) 51%, rgba(27, 25, 24, 0) 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    width: 100%;
    height: 26rem;
}

    
#cursos-home .swiper-slide {
    transition: opacity 0.2s, filter 0.2s, transform 0.2s;
}

    #cursos-home .swiper-slide img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

#cursos-home .card-content {
    height: 57%;
    padding: 5px 20px 15px 20px;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    align-content: space-between;
}

    #cursos-home .card-content h3 {
        margin-top: 0;
        font-size: 1.2rem;
        color: #fff;
    }

    #cursos-home .card-content p {
        color: #f5f5f5;
        font-size: 0.95rem;
        margin-bottom: 20px;
        display: -webkit-box;
        -webkit-line-clamp: 3; /* limita a 3 linhas */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #cursos-home .card-content a {
        width: 100%;
        text-align: center;
        text-decoration: none;
        color: white;
        display: inline-block;
    }

#cursos-home .swiper-button-prev,
#cursos-home .swiper-button-next {
    color: #e30016;
}

.cursos-home .button-container {
    margin-top: auto;
    padding-bottom: env(safe-area-inset-bottom);
}




/* TITULOS */
.titulos-home-container .card-titulo-image img {
    width: 100%;
    height: 320px;
    border-radius: 12px;
    object-fit: cover;
}

/* CONTATO */

.contato-home {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* ou o tamanho que quiser */
}

    .contato-home .box-contato {
        width: 1250px;
        min-height: 600px;
        border-radius: 20px;
        overflow: hidden; /* ajuda a manter layout limpo */
    }

@media (max-width: 991px) {
    .contato-home .box-contato {
        min-height: 500px;
        margin-left: 10px;
        margin-right: 10px;
        border-radius: 15px;
    }
}

.contato-home .box-contato input {
    border: none;
    border-bottom: 2px solid #fff;
    background: transparent;
    outline: none;
    padding: 8px 0px;
    width: 100%;
    color: #fff; /* para o texto ficar visível em fundo escuro */
}

    .contato-home .box-contato input::placeholder {
        color: rgba(255, 255, 255, 0.6); /* placeholder mais suave */
    }

.contato-home .box-contato input,
.contato-home .box-contato textarea {
    border: none;
    border-bottom: 2px solid #fff;
    background: transparent;
    outline: none;
    padding: 8px 0px;
    width: 100%;
    color: #fff;
    resize: none; /* evita que o usuário redimensione, opcional */
}

/* Ajuste específico para a caixinha de texto */
.contato-home .box-contato textarea {
    min-height: 120px; /* altura inicial da caixinha */
    padding: 0px 0px; /* mais espaçamento interno */
}

    .contato-home .box-contato input::placeholder,
    .contato-home .box-contato textarea::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

.linha-vertical {
    border-left: 4px solid var(--tertiary-color); /* cor e espessura da linha */
    height: 400px; /* precisa garantir que a altura esteja certa */
}

.contato-home .socials img {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

.contato-home .socials i {
    font-size: 50px;
    margin-right: 10px;
    color: var(--tertiary-color);
}


.contato-home .socials a {
    text-decoration: none;
    color: var(--tertiary-color)
}

@media (max-width: 991px) {
    /* Para todos os blocos */
    .titulos-home .card-titulo-image {
        padding: 0px 1.5 !important;
        order: -1; /* força a imagem a vir primeiro */
    }
}

/* ----------------------------------- FOOTER ----------------------------------- */
footer .lista-navgate {
    list-style: none;
    height: 100%;
    padding-left: 0px;
}

footer .socials img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

footer .socials a {
    text-decoration: none;
    color: var(--tertiary-color)
}

/* CIRCULO */
.circle-footer {
    width: 150px;
    height: 150px;
    background-color: var(--tertiary-color);
    border-radius: 50%;
    border: 6px solid var(--tertiary-color);
    z-index: 2;
}

    .circle-footer img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }


@media (max-width: 991px) {
    .copyright {
        font-size: 10px;
    }
}


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

    .whatsapp-float:hover {
        transform: scale(1.1);
        color: #fff;
    }


#academia .map-wrap iframe {
    width: 100%;
    height: 350px; /* ajuste conforme o layout */
    border: 0;
}

#cursos-home .swiper-slide {
   background: linear-gradient(0deg, rgba(27, 25, 24, 1) 51%, rgba(27, 25, 24, 0) 100%);
   border-radius: 10px;
   overflow: hidden;
   box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* shadow mais pronunciada */
   transition: transform 0.2s ease, box-shadow 0.2s ease; /* adiciona transição para a shadow */
   width: 100%;
   height: 28.5rem;
}

#cursos-home .swiper-slide:hover {
   transform: translateY(-5px); /* eleva o card ao passar o mouse */
   box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); /* aumenta a shadow no hover */
}

#cursos-home .swiper-slide img {
   width: 100%;
   height: 200px;
   object-fit: cover;
}

#cursos-home .card-content {
   height: 57%;
   padding: 5px 20px 15px 20px;
   display: flex;
   align-items: flex-end;
   flex-wrap: wrap;
   align-content: space-between;
}

#cursos-home .card-content h3 {
   margin-top: 0;
   font-size: 1.2rem;
   color: #fff;
}

#cursos-home .card-content p {
   color: #f5f5f5;
   font-size: 0.95rem;
   margin-bottom: 20px;
   display: -webkit-box;
   -webkit-line-clamp: 3; /* limita a 3 linhas */
   -webkit-box-orient: vertical;
   overflow: hidden;
   text-overflow: ellipsis;
}

#cursos-home .card-content a {
   width: 100%;
   text-align: center;
   text-decoration: none;
   color: white;
   display: inline-block;
   margin-bottom: 10px;
}

/* ================================ SOBRE ============================================ */
.sobre-titulo {
    font-size: 3rem;
}

.sobre-descricao {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .sobre-titulo {
        font-size: 2rem;
    }

    .sobre-descricao {
        font-size: 1rem;
    }
}