/* =============================================================
   ESCOLA MULTI — Design Tokens
   Fonte de título: Chewy | Fonte de texto: Poppins
============================================================= */

:root {
    /* Paleta extraída da identidade visual */
    --yellow: #FEC732;
    --yellow-light: #FFE399;
    --blue: #01A2D2;
    --blue-deep: #027A9D;
    --blue-dark: #004E65;
    --blue-baby: #99E7FF;
    --brown: #654A00;

    --ink: #16323F;
    --white: #FFFFFF;
    --off-white: #F7FBFD;

    --font-display: 'Chewy', 'Poppins', cursive;
    --font-body: 'Poppins', sans-serif;

    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 10px;

    --shadow-soft: 0 14px 30px rgba(0, 78, 101, 0.12);
    --shadow-card: 0 10px 24px rgba(1, 162, 210, 0.18);

    --container-width: 1180px;
}

/* =============================================================
   RESET
============================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.page-loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--white); transition: opacity 0.45s ease, visibility 0.45s ease; }
.page-loader img {
    width: clamp(200px, 90vw, 1000px);
    height: auto;
    max-height: 1000px;
    object-fit: contain;
    animation: loader-logo 1.1s ease both;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loader-logo { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
body.is-loading main, body.is-loading footer { opacity: 0; }
body.is-ready main, body.is-ready footer { animation: page-reveal 0.7s ease both; }
@keyframes page-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

main#topo { display: flex; flex-direction: column; }
main#topo > section { width: 100%; }
main#topo > .hero { order: 1; }
main#topo > .sobre { order: 2; }
main#topo > .modalidades { order: 3; }
main#topo > .enrollment-banner { order: 4; }
main#topo > .diferenciais { order: 5; }
main#topo > .galeria { order: 6; }
main#topo > .cursos { order: 7; }
main#topo > .uniforme { order: 8; }
main#topo > .contato-section { order: 9; }

main > section.reveal-on-scroll {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

main > section.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.3px;
    color: var(--blue-dark);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.desktop-only { display: block; }
.mobile-only { display: none; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =============================================================
   BUTTONS
============================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--yellow);
    color: var(--blue-dark);
    box-shadow: 0 8px 20px rgba(254, 199, 50, 0.45);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(254, 199, 50, 0.55);
}

.btn-outline {
    background: transparent;
    color: var(--blue-dark);
    border: 2px solid var(--blue-dark);
}

.btn-outline:hover {
    background: var(--blue-dark);
    color: var(--white);
}

/* =============================================================
   HEADER
============================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--white);
    box-shadow: 0 2px 14px rgba(0, 78, 101, 0.08);
}

.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo img { height: 56px; width: auto; }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--blue-dark);
    position: relative;
    padding: 6px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--yellow);
    transition: width 0.25s ease;
}

.main-nav a:hover::after { width: 100%; }

.portal-menu { position: relative; }
.portal-trigger { position: relative; display: inline-block; color: var(--blue-dark); font: 600 0.95rem var(--font-body); line-height: 1.6; padding: 6px 0; }
.portal-trigger::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; border-radius: 3px; background: var(--yellow); transition: width 0.25s ease; }
.portal-trigger:hover::after, .portal-menu:focus-within .portal-trigger::after { width: 100%; }
.portal-trigger span { font-size: 0.7em; margin-left: 4px; }
.portal-dropdown { position: absolute; top: 100%; right: 0; min-width: 210px; padding: 10px; border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow-soft); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease; }
.portal-menu:hover .portal-dropdown, .portal-menu:focus-within .portal-dropdown, .portal-menu.is-open .portal-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.portal-dropdown a { display: block; padding: 10px 12px; color: var(--blue-dark); font-size: 0.88rem; border-radius: 6px; }
.portal-dropdown a:hover { background: var(--yellow-light); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.btn-menu-toggle {
    width: 40px;
    height: 32px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.btn-menu-toggle span {
    display: block;
    height: 4px;
    border-radius: 4px;
    background: var(--blue-dark);
}

/* =============================================================
   MOBILE MENU
============================================================= */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    max-width: 100vw;
    height: 100%;
    background: var(--blue-dark);
    color: var(--white);
    z-index: 400;
    padding: 30px 28px;
    clip-path: inset(0 0 0 100%);
    transition: clip-path 0.35s ease;
    overflow-y: auto;
}

.mobile-menu.is-open { clip-path: inset(0); }

.btn-close-menu {
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 30px;
}

.mobile-menu nav ul { display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }

.mobile-menu a {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--white);
}

.mobile-menu .btn-primary { color: var(--blue-dark); width: 100%; }

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 20, 26, 0.55);
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-overlay.is-visible { opacity: 1; pointer-events: auto; }

/* =============================================================
   HERO
============================================================= */
.hero {
    position: relative;
    min-height: clamp(520px, 55vw, 700px);
    overflow: hidden;
    background: var(--blue-dark);
}

.hero-slides, .hero-slide, .hero-background {
    position: absolute;
    inset: 0;
}

.hero-slide {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
    visibility: visible;
    opacity: 1;
    z-index: 1;
}

.hero-background {
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.hero-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 42, 56, 0.88) 0%, rgba(0, 78, 101, 0.62) 45%, rgba(0, 78, 101, 0.1) 100%);
}

.hero-slide:nth-child(2) .hero-background { background-position: 58% center; }
.hero-slide:nth-child(3) .hero-background { background-position: 42% center; }

.hero-content {
    position: relative;
    z-index: 2;
    width: min(100% - 48px, var(--container-width));
    min-height: clamp(520px, 55vw, 700px);
    margin: 0 auto;
    padding: clamp(90px, 11vw, 150px) 40px 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.eyebrow {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    color: var(--blue-deep);
    margin-bottom: 12px;
}

.eyebrow-light { color: var(--yellow); }

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 18px;
}

.hero h1 span, .hero h2 span { color: var(--yellow); }

.hero h2 {
    max-width: 650px;
    font-size: clamp(2.3rem, 5vw, 4.3rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 18px;
}

.hero-description {
    font-size: 1.05rem;
    max-width: 480px;
    margin-bottom: 30px;
    color: var(--white);
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

.hero .eyebrow { color: var(--yellow-light); }
.hero .btn-outline { color: var(--white); border-color: var(--white); }
.hero .btn-outline:hover { background: var(--white); color: var(--blue-dark); }

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    color: var(--white);
    background: rgba(0, 42, 56, 0.28);
    font-size: 1rem;
    transform: translateY(-50%);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-arrow:hover, .hero-arrow:focus-visible { background: rgba(0, 42, 56, 0.72); border-color: var(--yellow); }
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

.hero-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 88px;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 10px;
    height: 10px;
    border: 1px solid var(--white);
    border-radius: 50%;
    background: transparent;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active { background: var(--yellow); transform: scale(1.3); }
.hero-slide:not(.is-active) .hero-content { pointer-events: none; }

.enrollment-banner { order: 4; padding: 28px 24px; background: var(--yellow); }
.enrollment-banner-link { position: relative; isolation: isolate; overflow: hidden; max-width: var(--container-width); min-height: 270px; margin: 0 auto; padding: 30px 44px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-radius: var(--radius-md); color: var(--white); background: var(--blue-dark); box-shadow: var(--shadow-card); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.enrollment-banner-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.enrollment-banner-link::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 42, 56, 0.9), rgba(0, 78, 101, 0.42)); }
.enrollment-banner-content { position: relative; z-index: 1; }
.enrollment-banner-link:hover, .enrollment-banner-link:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(101, 74, 0, 0.2); }
.enrollment-banner h2 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; margin-bottom: 8px; }
.enrollment-banner p:last-child { font-size: 1rem; }
.enrollment-banner-link > .btn { position: absolute; right: 44px; bottom: 30px; z-index: 2; }

.enrollment-modal { position: fixed; inset: 0; z-index: 800; display: grid; place-items: center; padding: 24px; background: rgba(0, 20, 26, 0.58); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.enrollment-modal.is-visible { opacity: 1; visibility: visible; }
.enrollment-modal-card { position: relative; overflow: hidden; width: min(100%, 470px); padding: 24px 30px 36px; border-radius: var(--radius-md); text-align: center; background: var(--white); box-shadow: 0 18px 50px rgba(0, 30, 40, 0.25); transform: translateY(14px) scale(0.98); transition: transform 0.3s ease; }
.enrollment-modal-image { display: block; width: 100%; height: 190px; margin: 0 0 28px; object-fit: cover; object-position: center; border-radius: var(--radius-sm); }
.enrollment-modal.is-visible .enrollment-modal-card { transform: translateY(0) scale(1); }
.enrollment-modal-card h2 { font-size: clamp(2.2rem, 7vw, 3.3rem); color: var(--blue-dark); margin-bottom: 10px; }
.enrollment-modal-card > p:not(.eyebrow) { margin: 0 auto 24px; max-width: 330px; }
.modal-close { position: absolute; top: 12px; right: 16px; width: 36px; height: 36px; border-radius: 50%; color: var(--blue-dark); font-size: 1.7rem; line-height: 1; }
.modal-close:hover, .modal-close:focus-visible { background: var(--yellow-light); }

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    aspect-ratio: 7 / 6;
    object-fit: cover;
    width: 100%;
    background: var(--blue-baby);
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 90px;
}

.hero-wave path { fill: var(--white); }

/* =============================================================
   SOBRE
============================================================= */
.sobre { padding: 90px 0; }

.sobre-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.sobre-image img {
    border-radius: var(--radius-lg);
    aspect-ratio: 5 / 4;
    object-fit: cover;
    background: var(--yellow-light);
    box-shadow: var(--shadow-card);
}

.sobre-text h2 { font-size: 2.1rem; margin-bottom: 18px; }
.sobre-text p { font-size: 1.02rem; max-width: 520px; }

/* =============================================================
   SECTION HEADER (generic)
============================================================= */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-header h2 { font-size: 2.2rem; }

/* =============================================================
   DIFERENCIAIS CAROUSEL
============================================================= */
.diferenciais { padding: 90px 0 70px; background: var(--off-white); }

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    gap: 16px;
}

.carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 4px 20px;
    flex: 1;
    min-width: 0;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar { display: none; }

.dif-card {
    scroll-snap-align: start;
    flex: 0 0 300px;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dif-card:has(.dif-link) { cursor: pointer; }

.dif-card-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--blue-baby);
}

.dif-card-body { padding: 22px; }

.dif-card-body h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--blue-dark);
    margin-bottom: 10px;
}

.dif-card-body p { font-size: 0.92rem; margin-bottom: 16px; color: #3a5361; }

.dif-link {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dif-link span { transition: transform 0.2s ease; }
.dif-link:hover span { transform: translateX(4px); }

.carousel-btn {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--blue-dark);
    color: var(--white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: background 0.2s ease;
}

.carousel-btn:hover { background: var(--blue); }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--blue-baby);
    transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dots button.is-active {
    background: var(--yellow);
    transform: scale(1.3);
}

/* =============================================================
   MODALIDADES E GALERIA
============================================================= */
.modalidades { padding: 90px 0; background: var(--white); }
.content-carousel, .gallery-carousel { position: relative; display: flex; align-items: center; gap: 18px; }
.content-carousel .carousel-btn, .gallery-carousel .carousel-btn { display: none; }
.content-carousel-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; flex: 1; }
.modalidade-card { overflow: hidden; background: var(--off-white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.modalidade-card img { width: 100%; height: 190px; object-fit: cover; }
.modalidade-card div { padding: 22px; }
.modalidade-card h3 { font-family: var(--font-body); color: var(--blue-dark); font-size: 1.1rem; margin-bottom: 8px; }
.modalidade-card p { color: #3a5361; font-size: 0.92rem; }
.galeria { padding: 90px 0; background: var(--off-white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; flex: 1; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); }

.whatsapp-float { position: fixed; right: 24px; bottom: 112px; z-index: 250; width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--white); background: #25D366; box-shadow: 0 8px 20px rgba(0, 80, 45, 0.25); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0, 80, 45, 0.35); }
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; }

.contato-section { padding: 90px 0; background: var(--yellow-light); margin-top: 60px; }
.legacy-anchor { display: none; }
.contato-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contato-intro h2 { font-size: 2.4rem; line-height: 1.15; margin-bottom: 16px; }
.contato-intro p:last-child { max-width: 440px; }
.contato-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 30px; border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-card); }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-wide { grid-column: 1 / -1; }
.contato-form label { font-weight: 600; font-size: 0.88rem; color: var(--blue-dark); }
.contato-form label span { color: #d34b3f; }
.contato-form input, .contato-form select, .contato-form textarea { width: 100%; border: 1px solid #c7e2ea; border-radius: var(--radius-sm); padding: 12px 14px; font: inherit; color: var(--ink); background: var(--off-white); }
.contato-form input:focus, .contato-form select:focus, .contato-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.contato-form .btn { justify-self: start; margin-top: 6px; }

/* =============================================================
   PAGINAS INSTITUCIONAIS
============================================================= */
.institutional-hero { padding: 90px 0; background: linear-gradient(120deg, var(--blue-dark), var(--blue-deep)); color: var(--white); }
.institutional-hero h1 { color: var(--white); font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.1; max-width: 700px; }
.institutional-hero .eyebrow { color: var(--yellow-light); }
.institutional-page .detail-section { min-height: 430px; }
.back-home { display: inline-flex; margin-top: 28px; color: var(--blue-dark); font-weight: 700; }

@media (max-width: 1070px) {
    .mobile-portal { display: block; }
    .mobile-portal .portal-trigger { width: 100%; text-align: left; color: var(--white); font-size: 1.1rem; }
    .mobile-portal .portal-dropdown { position: static; min-width: 0; padding: 6px 0 0 14px; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
    .mobile-portal.is-open .portal-dropdown { display: block; }
    .mobile-portal .portal-dropdown a { color: var(--blue-baby); padding: 8px 0; }
    .contato-grid { grid-template-columns: 1fr; gap: 30px; }
    .content-carousel .carousel-btn, .gallery-carousel .carousel-btn { display: flex; }
    .content-carousel-track { display: flex; overflow: hidden; scroll-behavior: smooth; scroll-snap-type: x mandatory; }
    .modalidade-card { flex: 0 0 calc((100% - 24px) / 2); scroll-snap-align: start; }
    .gallery-grid { display: flex; overflow: hidden; scroll-behavior: smooth; scroll-snap-type: x mandatory; }
    .gallery-grid img { flex: 0 0 calc((100% - 14px) / 2); scroll-snap-align: start; }
}

@media (max-width: 600px) {
    .enrollment-banner { padding: 18px 16px; }
    .enrollment-banner-link { min-height: 280px; padding: 26px 22px 88px; flex-direction: column; align-items: flex-start; gap: 18px; }
    .enrollment-banner-link > .btn { left: 22px; right: 22px; bottom: 22px; width: auto; }
    .modalidades, .galeria { padding: 60px 0; }
    .content-carousel, .gallery-carousel { gap: 8px; }
    .modalidade-card { flex-basis: 100%; }
    .gallery-grid img { flex-basis: 100%; }
    .content-carousel .carousel-btn, .gallery-carousel .carousel-btn { width: 34px; height: 34px; font-size: 0.8rem; }
    .whatsapp-float { right: 16px; bottom: 16px; width: 48px; height: 48px; }
    .whatsapp-float svg { width: 24px; height: 24px; }
    .mobile-portal { display: block; }
    .mobile-portal .portal-trigger { width: 100%; text-align: left; color: var(--white); font-size: 1.1rem; }
    .mobile-portal .portal-dropdown { position: static; min-width: 0; padding: 6px 0 0 14px; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
    .mobile-portal.is-open .portal-dropdown { display: block; }
    .mobile-portal .portal-dropdown a { color: var(--blue-baby); padding: 8px 0; }
    .contato-section { padding: 60px 0; }
    .contato-form { grid-template-columns: 1fr; padding: 22px; }
    .form-field-wide { grid-column: auto; }
    .contato-form .btn { width: 100%; }
}

/* =============================================================
   DETAIL SECTIONS (Alimentação, AVA, Financeira, Salas, Uniforme)
============================================================= */
.detail-section { padding: 80px 0; }
.detail-section.bg-baby { background: var(--blue-baby); }

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.detail-grid.reverse .detail-image { order: 2; }
.detail-grid.reverse .detail-text { order: 1; }

.detail-text h2 { font-size: 2rem; margin-bottom: 16px; }
.detail-text p { margin-bottom: 20px; max-width: 520px; }

.detail-image img {
    border-radius: var(--radius-lg);
    aspect-ratio: 6 / 5;
    object-fit: cover;
    background: var(--white);
    box-shadow: var(--shadow-card);
}

.check-list { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }

.check-list.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    font-size: 0.98rem;
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--white);
    background: var(--blue);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =============================================================
   NOSSOS VALORES — elemento de assinatura
============================================================= */
.valores {
    background: var(--blue-dark);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.valores::before,
.valores::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.valores::before {
    width: 340px; height: 340px;
    background: var(--yellow);
    top: -120px; left: -100px;
}

.valores::after {
    width: 260px; height: 260px;
    background: var(--blue-baby);
    bottom: -100px; right: -60px;
}

.valores-title {
    color: var(--white);
    font-size: 2.4rem;
    margin-bottom: 40px;
    position: relative;
}

.valores-mosaic {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 26px;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

.valores-mosaic .word {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    line-height: 1;
}

.word-etica { color: #FF7A6E; }
.word-excelencia { color: var(--blue-baby); }
.word-afetividade { color: #6EE7A0; }
.word-encantamento { color: var(--yellow); }

/* =============================================================
   CURSOS / HORÁRIOS / MATRÍCULAS — tabelas
============================================================= */
.cursos { padding: 90px 0; }
.matriculas { padding: 90px 0; background: var(--off-white); }

.tables-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 28px;
}

.table-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.table-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 18px;
    color: var(--blue-dark);
}

.table-card table th,
.table-card table td {
    padding: 12px 14px;
    text-align: left;
    font-size: 0.92rem;
    border-bottom: 1px solid #E7F3F7;
}

.table-card table th { color: var(--blue-dark); font-weight: 600; }

.table-card table thead th {
    background: var(--blue-baby);
    color: var(--blue-dark);
}

.table-card-wide { max-width: 820px; margin: 0 auto; }

.table-investimento thead th {
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-body);
}

.table-investimento tbody th { background: var(--yellow-light); }

/* Estilos responsivos para tabela de horários */
.horarios-table {
    font-size: 0.95rem;
}

.horarios-table th,
.horarios-table td {
    padding: 14px 12px;
    text-align: center;
}

.horarios-table th:first-child,
.horarios-table td:first-child {
    text-align: left;
    min-width: 80px;
}

.horarios-table thead th {
    background: var(--blue-baby);
    color: var(--blue-dark);
    font-weight: 700;
}

.horarios-table tbody th {
    background: rgba(1, 162, 210, 0.08);
    color: var(--blue-dark);
    font-weight: 600;
}

.integral-col {
    background: rgba(254, 199, 50, 0.12);
}

.horarios-table thead .integral-col {
    background: var(--yellow-light);
}

.observacoes { margin-top: 26px; }
.observacoes h4 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 10px; color: var(--blue-dark); }
.observacoes ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.observacoes li { list-style: decimal; }

/* =============================================================
   UNIFORME
============================================================= */
.uniforme-images {
    display: flex;
    gap: 16px;
}

.uniforme-images img {
    aspect-ratio: 3 / 5;
    background: var(--white);
}

/* =============================================================
   CTA BANNER — Matrículas Abertas
============================================================= */
.cta-banner {
    background: linear-gradient(120deg, var(--blue-dark), var(--blue-deep));
    padding: 80px 0;
    text-align: center;
}

.cta-inner h2 { color: var(--white); font-size: 2.4rem; margin-bottom: 14px; }
.cta-inner p { color: var(--blue-baby); max-width: 480px; margin: 0 auto 30px; }

/* =============================================================
   FOOTER
============================================================= */
.site-footer {
    background: var(--blue-dark);
    color: var(--white);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand img { height: 60px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { color: var(--blue-baby); font-size: 0.9rem; max-width: 220px; }

.footer-info h4, .footer-links h4, .footer-social h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--yellow);
    margin-bottom: 18px;
}

.footer-info ul, .footer-links ul { display: flex; flex-direction: column; gap: 12px; font-size: 0.9rem; }

.footer-link:hover { text-decoration: underline; }

.social-icons { display: flex; gap: 12px; }

.btn-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.btn-social:hover { background: var(--yellow); color: var(--blue-dark); }

.footer-bottom {
    padding: 22px 0;
    text-align: center;
    font-size: 0.82rem;
    color: var(--blue-baby);
}

/* =============================================================
   SCROLL TO TOP
============================================================= */
.btn-scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--blue-dark);
    font-size: 1.2rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 150;
}

.btn-scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 1070px) {
    .desktop-only { display: none; }
    .mobile-only { display: flex; }
}
@media (max-width: 900px) {
    .sobre-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-grid.reverse .detail-image,
    .detail-grid.reverse .detail-text { order: 0; }

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

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

@media (max-width: 768px) {
    .desktop-only { display: none; }
    .mobile-only { display: flex; }

    .hero { min-height: 620px; }
    .hero-content { min-height: 620px; padding: 90px 24px 120px; }
    .hero-arrow-prev { left: 12px; }
    .hero-arrow-next { right: 12px; }
    .sobre, .detail-section, .cursos, .matriculas, .valores, .cta-banner { padding: 60px 0; }

    .check-list.two-cols { grid-template-columns: 1fr; }

    .horarios-table th,
    .horarios-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }

    .horarios-table th:first-child,
    .horarios-table td:first-child {
        min-width: 70px;
    }

    .footer-grid { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 480px) {
    .hero { min-height: 610px; }
    .hero-content { width: 100%; min-height: 610px; padding: 80px 48px 105px; }
    .hero h1, .hero h2 { font-size: clamp(2.15rem, 11vw, 3rem); }
    .hero-description { font-size: 0.93rem; margin-bottom: 22px; }
    .hero-buttons { gap: 10px; }
    .hero-buttons .btn { width: 100%; padding: 12px 16px; font-size: 0.84rem; white-space: normal; text-align: center; }
    .hero-arrow { width: 32px; height: 32px; font-size: 0.8rem; }
    .hero-arrow-prev { left: 8px; }
    .hero-arrow-next { right: 8px; }
    .hero-dots { bottom: 70px; }
    .dif-card { flex-basis: 260px; }
    .uniforme-images { flex-direction: row; }
    .valores-title { font-size: 2rem; }

    .table-card {
        padding: 20px;
        overflow-x: auto;
    }

    .horarios-table {
        font-size: 0.8rem;
        min-width: 350px;
    }

    .horarios-table th,
    .horarios-table td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }

    .horarios-table th:first-child,
    .horarios-table td:first-child {
        min-width: 60px;
    }
}
