/* ============================================================
   COLÉGIO METAVERSO - ESTILOS ESPECÍFICOS DA PÁGINA
   Arquivo: assets/css/unidades.css
   ============================================================ */


/* ---------- Card do hero ----------------------------------- */
.hero-card {
    max-width: 620px;
    width: 100%;
}

/* ---------- Grupo de CTAs ---------------------------------- */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

/* ---------- Botão WhatsApp --------------------------------- */
.btn-whatsapp {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: #fff !important;
}

.btn-whatsapp:hover {
    background-color: #1EBE57 !important;
    border-color: #1EBE57 !important;
    color: #fff !important;
}

.btn-whatsapp i {
    margin-left: 6px;
}

/* ---------- Microcopy -------------------------------------- */
.hero-microcopy {
    margin-top: 14px;
    font-size: 14px;
    color: #ffffff;
    opacity: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
}

/* ---------- Mapa ------------------------------------------- */
.map-wrapper {
    width: 100%;
    height: 600px;
    position: relative;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


/* ============================================================
   HERO
   ============================================================ */

.hero-banner.hero-style-11 {
    position: relative !important;
    overflow: hidden !important;
    min-height: 560px;
    width: 100%;
}

.hero-banner.hero-style-11 .hero-video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    z-index: 0;
}

.hero-banner.hero-style-11 .hero-video video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    transform: translate(-50%, -50%) !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: #022340;
    display: block !important;
    max-width: none !important;
    max-height: none !important;
}

.hero-banner.hero-style-11 .hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background: linear-gradient(
        90deg,
        rgba(2, 35, 65, .94) 0%,
        rgba(2, 35, 65, .76) 36%,
        rgba(2, 35, 65, .28) 68%,
        rgba(2, 35, 65, .12) 100%
    ) !important;
}

.hero-banner.hero-style-11 > .container {
    position: relative !important;
    z-index: 2 !important;
}

.hero-banner.hero-style-11 .hero-card {
    padding: 38px 42px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .16);
}

.hero-banner.hero-style-11 .hero-card .title,
.hero-banner.hero-style-11 .hero-card p {
    color: #fff;
}

.hero-banner.hero-style-11 .hero-card .color-primary {
    color: #50c6db;
}


/* ============================================================
   DEPOIMENTOS
   ============================================================ */

.metaverso-testimonials {
    padding: 85px 0;
    background: linear-gradient(115deg, #0b355d 0%, #0b5278 48%, #28b978 100%);
    overflow: hidden;
}

.metaverso-testimonials .pre-title,
.metaverso-testimonials .title,
.metaverso-testimonials .section-text {
    color: #fff;
}

.metaverso-testimonials .title {
    margin-bottom: 12px;
}

.metaverso-testimonials .section-text {
    max-width: 600px;
    opacity: .9;
}

.testimonial-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 8px 4px 20px;
    scrollbar-width: none;
}

.testimonial-scroll::-webkit-scrollbar {
    height: 7px;
}

.testimonial-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .45);
    border-radius: 20px;
}

.testimonial-card-wrap {
    flex: 0 0 calc((100% - 40px) / 3);
    scroll-snap-align: start;
}

.testimonial-card {
    min-height: 320px;
    height: 100%;
    padding: 30px 28px 26px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
    position: relative;
}

.testimonial-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .12);
    margin-bottom: 18px;
}

.testimonial-quote {
    position: absolute;
    top: 24px;
    right: 25px;
    font-size: 42px;
    line-height: 1;
    color: #28a96f;
    font-weight: 700;
}

.testimonial-text {
    min-height: 118px;
    margin-bottom: 18px;
    color: #5b6570;
    font-size: 14px;
    line-height: 1.75;
}

.testimonial-name {
    margin-bottom: 3px;
    color: #12385d;
    font-size: 16px;
    font-weight: 700;
}

.testimonial-role {
    display: block;
    color: #5a6673;
    font-size: 12px;
}

.testimonial-stars {
    margin-top: 12px;
    color: #20a86b;
    letter-spacing: 2px;
    font-size: 14px;
}

.testimonial-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: -55px;
    position: relative;
    z-index: 2;
}

.testimonial-control {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.testimonial-control:hover {
    background: rgba(255, 255, 255, .12);
}


/* ============================================================
   GALERIA
   ============================================================ */

.metaverso-gallery {
    padding: 85px 0;
    background: #fff;
}

.gallery-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.gallery-heading .section-text {
    max-width: 620px;
    margin-top: 10px;
    color: #697586;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    display: block;
    height: 210px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    background: #eef2f5;
    cursor: pointer;
}

/* Ícone de câmera ao passar o mouse (Unicode do FA) */
.gallery-item::after {
    content: "\f030";
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(1, 45, 80, .48);
    opacity: 0;
    transition: opacity .25s ease;
    font-size: 25px;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


/* ============================================================
   LIGHTBOX
   ============================================================ */

.gallery-modal {
    background: rgba(0, 20, 40, .94);
    overflow: hidden !important;
}

.gallery-modal .modal-dialog {
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.gallery-modal .modal-content {
    width: 100%;
    height: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: hidden !important;
}

.gallery-modal .modal-body {
    width: 100%;
    height: 100vh;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
}

.gallery-modal img {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100vw - 140px);
    max-height: calc(100vh - 100px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    background: transparent;
}

.gallery-modal .btn-close {
    position: fixed;
    top: 22px;
    right: 25px;
    z-index: 30;
    filter: invert(1);
    opacity: 1;
    width: 32px;
    height: 32px;
}

.gallery-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    background: rgba(0, 38, 68, .7);
    color: #fff;
    z-index: 30;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all .2s ease;
}

.gallery-nav:hover {
    background: rgba(0, 38, 68, .95);
    transform: translateY(-50%) scale(1.05);
}

.gallery-prev {
    left: 18px;
}

.gallery-next {
    right: 18px;
}

.gallery-counter {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    color: #fff;
    font-size: 13px;
    background: rgba(0, 38, 68, .65);
    padding: 7px 13px;
    border-radius: 20px;
}

body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}

.gallery-modal,
.gallery-modal .modal-dialog,
.gallery-modal .modal-content,
.gallery-modal .modal-body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.gallery-modal::-webkit-scrollbar,
.gallery-modal .modal-dialog::-webkit-scrollbar,
.gallery-modal .modal-content::-webkit-scrollbar,
.gallery-modal .modal-body::-webkit-scrollbar {
    display: none !important;
}


/* ============================================================
   LOCALIZAÇÃO / ENDEREÇO
   ============================================================ */

.metaverso-location {
    padding: 0;
    background: linear-gradient(135deg, #f4f8fb 0%, #ffffff 100%);
}

.metaverso-location-card {
    max-width: 100%;
    margin: 0 auto;
    padding: 38px 45px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(2, 46, 80, .08);
    box-shadow: 0 15px 45px rgba(2, 46, 80, .08);
    display: flex;
    align-items: center;
    gap: 28px;
}

.metaverso-location-icon {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #022e50;
    color: #fff;
    font-size: 27px;
    box-shadow: 0 8px 20px rgba(2, 46, 80, .18);
}

.metaverso-location-content {
    flex: 1;
}

.metaverso-location-content .pre-title {
    display: block;
    margin-bottom: 6px;
}

.metaverso-location-content h2 {
    margin-bottom: 8px;
    color: #022e50;
}

.metaverso-location-content p {
    margin: 0;
    color: #5d6975;
    font-size: 16px;
    line-height: 1.7;
}

.metaverso-location-content strong {
    color: #022e50;
}


/* ============================================================
   ACESSIBILIDADE
   ============================================================ */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
    background: #022e50;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

a:focus-visible,
button:focus-visible,
.edu-btn:focus-visible {
    outline: 3px solid #50c6db;
    outline-offset: 2px;
    border-radius: 4px;
}


/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (max-width: 991px) {

    .testimonial-card-wrap {
        flex: 0 0 calc((100% - 20px) / 2);
    }

    .testimonial-controls {
        margin-top: 25px;
        justify-content: flex-start;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .hero-card {
        max-width: 100%;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-group .edu-btn {
        justify-content: center;
        width: 100%;
    }

    .map-wrapper {
        height: 450px;
    }

    .hero-banner.hero-style-11 {
        min-height: 480px;
    }

    .hero-banner.hero-style-11 .hero-card {
        padding: 28px 24px;
    }

    .testimonial-card-wrap {
        flex: 0 0 86%;
    }

    .gallery-modal img {
        max-width: calc(100vw - 80px);
        max-height: calc(100vh - 100px);
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }

    .gallery-prev {
        left: 8px;
    }

    .gallery-next {
        right: 8px;
    }

    .gallery-modal .btn-close {
        top: 15px;
        right: 15px;
    }

    .metaverso-location {
        padding: 55px 15px 35px;
    }

    .metaverso-location-card {
        padding: 30px 24px;
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .metaverso-location-icon {
        flex-basis: 60px;
        width: 60px;
        height: 60px;
        font-size: 23px;
    }

    .metaverso-location-content h2 {
        font-size: 26px;
    }

    .metaverso-location-content p {
        font-size: 15px;
    }
}

@media (max-width: 575px) {

    .gallery-heading {
        display: block;
    }

    .gallery-heading .edu-btn {
        margin-top: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 230px;
    }

    .testimonial-card {
        padding: 25px 22px;
    }
}