/* CSS of HERO SECTIONS=========================================== */
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

/*Fontes para usar no site*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Lato:wght@300;400;500&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #00198f;
    --secondary: #ff9740;
    --text-light: #6c757d;
    --font-heading: "Montserrat", sans-serif;
    --radius-xl: 50px;
}

/* ===== SECTION LAYOUT ===== */
.section {
    padding: 80px 0;
}

.section-lg {
    padding: 100px 0;
}

/* remover espaço entre "Níveis de Ensino" e a seção "Sobre" */
.nivel-ensino {
    padding-bottom: 0;
}

.nivel-ensino + .about-section {
    padding-top: 0;
}

.bg-light-custom {
    background-color: #f0f6ff;
}

.bg-warm {
    background-color: #fff8f0;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.animacao {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.animacao {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.animacao {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ===== HERO SHAPES (decorative) ===== */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: var(--primary);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -80px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -60px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 10%;
}

/* ===== VALUE ITEMS (About section) ===== */
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.value-item h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.value-item p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
}

.value-icon {
    border-radius: 50%;
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* ===== NEWS CARDS ===== */
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #0021b3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.news-meta .badge {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.3em 0.6em;
}

.news-body h5 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.news-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    flex: 1;
}

.news-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--secondary);
}

.news-link i {
    transition: transform 0.3s ease;
}

.news-link:hover i {
    transform: translateX(4px);
}

/* ===== EVENT CARDS (Home) ===== */
.event-card-home {
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary);
}

.event-card-home:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.event-date-badge {
    background: linear-gradient(135deg, var(--primary) 0%, #0021b3 100%);
    color: #fff;
    border-radius: 10px;
    min-width: 58px;
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
}

.event-date-badge .day {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.1;
    font-family: var(--font-heading);
}

.event-date-badge .month {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #001170 0%, var(--primary) 60%, #0021b3 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.cta-title span {
    color: var(--secondary);
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 520px;
}

/* ===== OUTLINE BUTTONS ===== */
.btn-outline-primary-custom {
    color: var(--primary);
    border: 2px solid var(--primary);
    background: transparent;
    font-weight: 600;
    border-radius: 25px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 25, 143, 0.3);
}

/* ===== LEVEL TAGLINE ===== */
.level-tagline {
    font-style: italic;
    font-size: 1.1rem;
    color: #377CC4;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-overlay-header .school-name {
    color: #ff9740;
}

/* ===== LEVELS GRID ===== */
.nivel-ensino {
    overflow: hidden;
}

.header-nivel-wrapper {
    margin-bottom: 0;
}

.levels-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.level-item {
    width: 100%;
}



/* limit hero carousel height to avoid overly large videos */
.hero-section {
    margin-bottom: 0;
}

#heroCarousel,
#heroCarousel .carousel-item,
#heroCarousel video {
    max-height: 620px;
    /* adjust as needed */
    overflow: hidden;
}

#heroCarousel video {
    object-fit: cover;
}

/* darken video background with semi-transparent overlay */
#heroCarousel .carousel-item {
    position: relative;
}

#heroCarousel .carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* adjust darkness */
    pointer-events: none;
}

/* overlay buttons on carousel */
.hero-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    /* allow clicks to pass through if needed */
}

.hero-overlay-header h2{
        font-size: 2.2rem;

    }



.hero-btn-overlay .btn {
    pointer-events: auto;
}

/* CSS dos botões: /*



/* hero button original styles */
.btn-matricula {
    background-color: #59C9EE;
    border-color: #59C9EE;
    color: #fff;
    font-weight: 600;
    border-radius: 25px;
    padding: 10px 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* overlay header text */
.hero-overlay-header h2,
.hero-overlay-subtitle {
    color: #fff;
}

.btn-matricula:hover {
    background-color: #11198F;
    transform: translateY(-2px);
    color: white;
}

.btn-visita {
    background-color: #F19641;
    border-color: #F19641;
    color: #fff;
    font-weight: 600;
    border-radius: 25px;
    padding: 10px 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-visita:hover {
    background-color: #F19641;
    transform: translateY(-2px);
    color: white;
}

/* custom primary button used in about section */
.btn-primary-custom {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    font-weight: 600;
    border-radius: 25px;
    padding: 10px 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #218838;
    transform: translateY(-2px);
    color: white;
}




/* CSS QUick Acess =============================== */

/* quick access unique classes (no styles yet) */
.quick-access {
    margin-bottom: 90px;

}

.quick-access .cards {
    display: flex;
    flex-wrap: nowrap;
    max-width: 300px;
    height: 100px;
    gap: 40px;
}



.quick-access-card {
    flex: 1;
    min-width: 0;
    color: white;

}

.cards i {
    font-weight: 22px;
}

.cards h6 {
    font-size: 20px;
}

.card-aluno {
    background: linear-gradient(135deg, #0fbff5 0%, #0a88c9 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
}



.card-aluno:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.card-aluno .quick-aluno {
    width: 100%;
    display: flex;
    gap: 0.25rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;

}


.card-aluno .qa-icon i {
    font-size: 1.75rem;
}

.card-aluno h6 {
    color: white;
    font-weight: 600;
    margin: 0;
}

.card-aluno p {
    display: none;
}



.card-professor {
    background: linear-gradient(135deg, #f6bf8e 0%, #f2994c 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
}

.card-professor:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.card-professor .quick-professor {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.card-professor .qa-icon {
    color: white;
}

.card-professor h6 {
    color: white;
    font-weight: 600;
    margin: 0;
}

.card-professor .qa-icon i {
    font-size: 1.75rem;
}


.card-matricula {
    background: linear-gradient(135deg, #93f8bb 0%, #35d15f 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
}

.card-matricula:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.card-matricula .quick-matricula {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.card-matricula h6 {
    color: white;
    font-weight: 600;
    margin: 0;
}

.card-matricula .qa-icon i {
    font-size: 1.75rem;
}

.card-financeiro {
    background: linear-gradient(135deg, #a594fb 0%, #846af5 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
}

.card-financeiro:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.card-financeiro .quick-financeiro {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.card-financeiro h6 {
    color: white;
    font-weight: 600;
    margin: 0;
}

.card-financeiro .qa-icon i {
    font-size: 1.75rem;
}


/*<!-- ===== NÍVEIS DE ENSINO (inspired by Diocesano/Maristas) ===== -->*/


.header-nivel {
    background: linear-gradient(135deg, #44cdef 0%, #1097b9 100%);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 300px;
    gap: 2rem;
}

.header-nivel .section-title,
.header-nivel .section-subtitle {
    color: #fff;
}

.section-label {
    background-color: #377CC4;
    color: #fff;
    display: inline-block;
    padding: 5px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: "Montserrat", sans-serif;
    color: var(--primary);
    margin-bottom: 0.5rem;
}


/* about section (quem somos) */
.about-section {
    background-color: #ffffff;
    color: #4a4a4a;
    margin: 0;
    padding: 60px 0;
    font-family: "Lato", sans-serif;
}

/* remove gap between About and the next section */
.about-section + .section-lg {
    padding-top: 0;
}

/* specifically remove top padding on Níveis de Ensino when following About */
.about-section + .nivel-ensino {
    padding-top: 0;
}

.about-section .section-label {
    background-color: transparent;
    background-color: #10198A;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    font-size: 30px;
}

.about-section .section-title {
    font-family: "Montserrat", sans-serif;
    color: #000000;
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.about-section p {
    color: #4a4a4a;
}

.about-logo {
    max-width: 80%;
    margin: auto;
}

.about-years {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #4a4a4a;
}

.about-section .btn-primary-custom {
    background-color: #F1963F;
    border-color: #F1963F;
    color: #ffffff;
}

.about-section .btn-primary-custom:hover {
    background-color: #d17b34;
    border-color: #d17b34;
}

/* faint colored backgrounds for icons inside about section */
.about-section .value-icon {
    border-radius: 50%;
    padding: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
}

/* optional colour overrides if you want different hues per item */
.about-section .value-item:nth-child(1) .value-icon {
    background-color: rgba(0, 25, 143, 0.08);
}

.about-section .value-item:nth-child(2) .value-icon {
    background-color: rgba(255, 151, 64, 0.1);
}

.about-section .value-item:nth-child(3) .value-icon {
    background-color: rgba(25, 135, 84, 0.08);
}

.about-section .value-item:nth-child(4) .value-icon {
    background-color: rgba(111, 66, 193, 0.08);
}

/* CSS Infantiç */
.childs {
    background: #ffffff;
    display: flex;
    gap: 80px;
    padding: 20px;
    height: 650px;
}

.info-childs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 50px 0px 0px 80px;
    color: #4a4a4a;
}

.info-childs p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: #4a4a4a;
}

.info-childs h2 {
    background-color: transparent;
    text-align: center;
    border-radius: 10px;
    background-color: #10198A;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
}

.info-childs a {
    text-decoration: none;
    background-color: #F1963F;
    font-size: 20px;
    border-radius: 5px;
    color: white;
    padding: 10px;
    max-width: 180px;
    transform: translateY(-5px);
}

/* elevacao vertical do botao saiba mais */
.level-link {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.level-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.crianca-infantil img,
.level-image img {
    width: 600px;
    height: 530px;
    padding-top: 90px;

}

/* generic image container for all level cards */
.level-image img {
    width: 600px;
    height: 530px;
    padding-top: 90px;
}

/* foundations for additional level cards reuse same flex rules */
.level-card.fundamental1,
.level-card.fundamental2,
.level-card.medio {
    display: flex;
    gap: 80px;
    padding: 20px;
    height: 650px;
}

.level-card.fundamental1 {
    background: rgb(239, 244, 247);
    /* reverse so image appears on left */
    flex-direction: row-reverse;
}

.level-card.fundamental2 {
    background: white;
}

.level-card.medio {
    background: #EFF4F7;
    flex-direction: row-reverse;
}

/* floating animation for level images to add gentle vertical movement */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* apply to all level images */
.level-image img {
    animation: float 5s ease-in-out infinite;
}



/* DIFERENCIAIS #6c757d;*/

.secao-diferencial {
    padding-top: 90px;
    padding-bottom: 90px;
}

/* subtle icon background gradient: slightly darker at start fading to lighter */
.diff-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #E3A782;
}

/* cards are handled via Bootstrap grid now; previous custom flex removed */

.diff-card {

    margin-top: 20px;
    /* allow card to fill its bootstrap column */
    background: #a0cff9;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* card elevation and transition */


.diff-card h5 {
    font-family: "Montserrat", sans-serif;
    color: #10198A;
}

.diff-card p {
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    ;
}

.diff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.header-diferente {
    display: flex;
    justify-content: center;
    background-color: #111B8A;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
    /* left align content */
    justify-content: center;
    color: black;
    margin-bottom: 80px;
    /* background removed as requested */
    text-align: left;
    padding: 40px;
    /* lift header upwards */
}

.header-diferente h2 {
    color: white;
    padding: 10px;
    border-radius: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
}

.header-diferente p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}


/*DEPOIMENTOS DE FAMILIARES*/
.secao-depoimentos {
    padding-top: 30px;
    padding-bottom: 60px;
    background-color: #F8FAFC;

}

/* header background blue center - same as header-diferente */
.secao-depoimentos > div > .reveal {
    display: flex;
    flex-direction: column;
    background-color: #111B8A;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    padding: 40px;
    margin-bottom: 80px;
}

/* card row layout */
.secao-depoimentos > div > div {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

/* individual testimonial card styling */
.testimonial-card {
    margin-top: 60px;
    background-color: #A0CFF9;
    color: black;
    max-width: 450px;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: left;
    font-family: Montserrat, sans-serif;
    /* headings etc inherit */
}

/* typography within depoimentos */
.secao-depoimentos h2 {
    background-color: #111B8A;
    color: white;
    font-family: Montserrat, sans-serif;
    font-size: 40px;
}

.secao-depoimentos p,
.secao-depoimentos strong,
.secao-depoimentos span {
    font-family: Arial, sans-serif;
    font-size: 18px;
}

/* ensure span info stacks below strong in testimonials */
.secao-depoimentos .testimonial-author .author-info {
    display: flex;
    flex-direction: column;
}

/* avatar highlight color */
.secao-depoimentos .author-avatar {
    /* destaque amarelo */
    color: #001f3f;
    background-color: #E3A782;
    font-weight: bold;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}


/* STATISTICS COUNTER */

/* layout for stats section */
.stats-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    /* allow cards to wrap on smaller screens */
}

.stats-section {
    margin-top: 0;
    margin-bottom: 0;
    padding: 60px 0;
    text-align: center;
    /* center contents of each card */
}

.stats-section h2,
.stats-section .section-title {
    color: var(--primary);
    margin-bottom: 2rem;
}

.stats-section .stat-item {
    background-color: #0056b3;
    /* deeper, more vibrant blue */
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;

    width: 300px;
    font-family: Montserrat, sans-serif;
    text-align: center;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-section .stat-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

/* ensure number and label sit side-by-side with a little gap */
.stats-section .stat-number,
.stats-section .stat-label {
    display: inline-block;
    vertical-align: middle;
}

/* highlight the number with green background */
.stats-section .stat-number {
    background-color: #28a745;
    /* green tone */
    padding: 0.25rem 0.6rem;
    border-radius: 0.5rem;
}

.stats-section .stat-label {
    margin-left: 0.5rem;
}

/* description should appear below with some spacing */
.stats-section .stat-desc {
    margin-top: 0.5rem;
}