/* ===== VARIÁVEIS & RESET ===== */
:root {
    --purple-900: #0a1f3d;
    --purple-800: #0f2d5e;
    --purple-700: #1a5276;
    --purple-600: #2183a8;
    --purple-500: #2fa8cc;
    --lilac-400: #56c5e0;
    --lilac-300: #8edaef;
    --pink-500: #00acc1;
    --pink-400: #26c6da;
    --pink-300: #80deea;
    --rose-100: #e8f8fa;
    --lilac-50: #eef7fb;
    --white: #ffffff;
    --ink: #1a2a3a;
    --ink-soft: #5a6e7f;
    --shadow-sm: 0 4px 16px rgba(10, 60, 100, .08);
    --shadow-md: 0 12px 40px rgba(10, 60, 100, .14);
    --shadow-lg: 0 24px 60px rgba(10, 60, 100, .22);
    --grad-brand: linear-gradient(120deg, #1a5276 0%, #2183a8 45%, #00acc1 100%);
    --grad-soft: linear-gradient(135deg, #eef7fb 0%, #e8f8fa 100%);
    --radius: 18px;
    --radius-sm: 12px;
    --container: 1180px;
    --transition: .35s cubic-bezier(.2,.7,.3,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 600; }

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

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: .95rem;
    padding: 13px 28px;
    border-radius: 50px;
    background: var(--grad-brand);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 26px rgba(214, 71, 143, .35);
    letter-spacing: .2px;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(214, 71, 143, .45); }
.btn--lg { padding: 17px 40px; font-size: 1.05rem; }
.btn--sm { padding: 10px 22px; font-size: .85rem; }
.btn--ghost {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.7);
    box-shadow: none;
    color: var(--white);
}
.btn--ghost:hover { background: rgba(255,255,255,.14); box-shadow: none; }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0);
    transition: var(--transition);
    padding: 18px 0;
}
.header.scrolled {
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
    backdrop-filter: blur(10px);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header__logo img { height: 46px; filter: brightness(0) invert(1); transition: var(--transition); }
.header.scrolled .header__logo img { filter: none; }

.nav__list { display: flex; gap: 28px; }
.nav__link {
    font-size: .92rem;
    font-weight: 500;
    color: rgba(255,255,255,.92);
    position: relative;
    transition: var(--transition);
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--pink-400);
    transition: var(--transition);
}
.nav__link:hover::after { width: 100%; }
.header.scrolled .nav__link { color: var(--ink); }
.header.scrolled .nav__link:hover { color: var(--purple-700); }

.header__cta { flex-shrink: 0; }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
}
.nav__toggle span {
    width: 26px; height: 2.5px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}
.header.scrolled .nav__toggle span { background: var(--ink); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 80px;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    z-index: 0;
    transform: scale(1.05);
}
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, rgb(17, 4, 26) 0%, rgba(3, 5, 94, 0.26) 40%, rgba(42, 4, 255, 0.42) 70%, rgba(45, 23, 235, 0.25) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 720px; color: var(--white); }
.hero__badge {
    display: inline-block;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.3);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .5px;
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
}
.hero__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 22px;
    letter-spacing: -.5px;
}
.hero__title span {
    background: linear-gradient(100deg, #80deea, #8edaef);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.hero__subtitle {
    font-size: clamp(1.02rem, 2vw, 1.22rem);
    font-weight: 300;
    color: rgba(255,255,255,.9);
    max-width: 600px;
    margin-bottom: 38px;
}
.hero__facts {
    display: flex;
    gap: 40px;
    margin-bottom: 42px;
    flex-wrap: wrap;
}
.hero__fact { display: flex; flex-direction: column; }
.hero__fact-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--pink-300);
    line-height: 1.1;
}
.hero__fact-label { font-size: .82rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: 1px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== SEÇÕES GENÉRICAS ===== */
.section { padding: 100px 0; }
.section--alt { background: var(--grad-soft); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.eyebrow {
    display: inline-block;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pink-500);
    margin-bottom: 14px;
    position: relative;
    padding: 0 16px;
}
.eyebrow::before, .eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px; height: 1.5px;
    background: linear-gradient(90deg, var(--pink-400), transparent);
}
.eyebrow::before { right: 100%; transform: scaleX(-1); }
.eyebrow::after { left: 100%; }
.section__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 700;
    color: var(--purple-800);
    letter-spacing: -.5px;
}
.section__desc { color: var(--ink-soft); margin-top: 16px; font-weight: 300; font-size: 1.05rem; }

/* ===== SOBRE ===== */
.about {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
}
.about__text p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.05rem; font-weight: 300; }
.about__text p:first-child { color: var(--ink); font-size: 1.15rem; font-weight: 400; }
.about__cards { display: grid; gap: 20px; }
.stat-card {
    background: var(--white);
    border: 1px solid var(--lilac-300);
    border-radius: var(--radius);
    padding: 26px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    background: var(--grad-brand);
}
.stat-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.stat-card__value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--purple-700);
    line-height: 1;
}
.stat-card__label { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }

/* ===== GRIDS ===== */
.grid { display: grid; gap: 26px; }
.grid--cards { grid-template-columns: repeat(3, 1fr); }
.grid--info { grid-template-columns: repeat(4, 1fr); }

/* ===== PÚBLICO CARDS ===== */
.pub-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(155,89,196,.12);
    transition: var(--transition);
    text-align: center;
}
.pub-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--lilac-400); }
.pub-card__icon {
    width: 68px; height: 68px;
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem;
    background: var(--grad-soft);
    border-radius: 50%;
    border: 1px solid var(--lilac-300);
}
.pub-card h3 { color: var(--purple-700); font-size: 1.18rem; margin-bottom: 10px; }
.pub-card p { color: var(--ink-soft); font-size: .95rem; font-weight: 300; }

/* ===== GRADE ===== */
.grade__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 26px;
    counter-reset: none;
}
.grade__item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border: 1px solid rgba(155,89,196,.14);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.grade__item:hover { transform: translateX(5px); border-color: var(--lilac-400); box-shadow: var(--shadow-md); }
.grade__num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    background: var(--grad-brand);
    min-width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.grade__name { flex: 1; font-size: .95rem; font-weight: 400; color: var(--ink); }
.grade__hours {
    font-weight: 600;
    color: var(--pink-500);
    font-size: .9rem;
    background: var(--rose-100);
    padding: 5px 12px;
    border-radius: 50px;
    flex-shrink: 0;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(155,89,196,.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-card__icon { font-size: 2.4rem; margin-bottom: 18px; }
.feature-card h3 { color: var(--purple-700); font-size: 1.2rem; margin-bottom: 12px; }
.feature-card p { color: var(--ink-soft); font-size: .96rem; font-weight: 300; }

/* ===== INFO CARDS ===== */
.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(155,89,196,.1);
    transition: var(--transition);
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.info-card__icon { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.info-card h4 { color: var(--purple-700); font-size: 1.02rem; margin-bottom: 6px; }
.info-card p { color: var(--ink-soft); font-size: .95rem; font-weight: 300; }
.info-card--cta {
    background: var(--grad-brand);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
}
.info-card--cta h4 { color: var(--white); font-size: 1.15rem; }
.info-card--cta p { color: rgba(255,255,255,.9); margin-bottom: 10px; }
.info-card--cta .btn { background: var(--white); color: var(--purple-700); box-shadow: none; }
.info-card--cta .btn:hover { transform: translateY(-2px); }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(155,89,196,.14);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.faq__item.active { border-color: var(--lilac-400); box-shadow: var(--shadow-md); }
.faq__question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 22px 26px;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--purple-800);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.faq__icon {
    position: relative;
    width: 20px; height: 20px;
    flex-shrink: 0;
}
.faq__icon::before, .faq__icon::after {
    content: '';
    position: absolute;
    background: var(--pink-500);
    border-radius: 2px;
    transition: var(--transition);
}
.faq__icon::before { top: 9px; left: 0; width: 20px; height: 2.5px; }
.faq__icon::after { left: 9px; top: 0; width: 2.5px; height: 20px; }
.faq__item.active .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}
.faq__answer p { padding: 0 26px 24px; color: var(--ink-soft); font-weight: 300; }

/* ===== CTA FINAL ===== */
.cta-final {
    background: var(--purple-900);
    background-image: var(--grad-brand);
    padding: 90px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.cta-final::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
    border-radius: 50%;
}
.cta-final .container { position: relative; z-index: 2; }
.cta-final h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 14px;
}
.cta-final p { font-weight: 300; font-size: 1.1rem; margin-bottom: 32px; opacity: .95; }
.cta-final .btn { background: var(--white); color: var(--purple-700); box-shadow: 0 14px 34px rgba(0,0,0,.25); }

/* ===== FOOTER ===== */
.footer { background: var(--purple-900); color: rgba(255,255,255,.85); padding-top: 56px; }
.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding-bottom: 40px;
}
.footer__brand img { height: 50px; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer__brand p { font-weight: 300; font-size: .95rem; color: rgba(255,255,255,.7); }
.footer__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--white);
    padding: 14px 26px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;
    transition: var(--transition);
}
.footer__whatsapp:hover { background: rgba(255,255,255,.1); border-color: var(--pink-400); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 22px 0;
    text-align: center;
}
.footer__bottom p { font-size: .85rem; color: rgba(255,255,255,.55); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 26px; right: 26px;
    width: 58px; height: 58px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,.5);
    z-index: 900;
    transition: var(--transition);
    animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse {
    0% { box-shadow: 0 8px 24px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.5); }
    70% { box-shadow: 0 8px 24px rgba(37,211,102,.5), 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 8px 24px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== ANIMAÇÕES DE SCROLL ===== */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVO ===== */
@media (max-width: 992px) {
    .grid--cards { grid-template-columns: repeat(2, 1fr); }
    .grid--info { grid-template-columns: repeat(2, 1fr); }
    .about { grid-template-columns: 1fr; gap: 40px; }
    .grade__list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header__cta { display: none; }
    .nav__toggle { display: flex; }
    .nav {
        position: fixed;
        top: 0; right: -100%;
        width: 78%; max-width: 320px;
        height: 100vh;
        background: var(--white);
        box-shadow: -10px 0 40px rgba(43,11,63,.2);
        padding: 100px 34px 40px;
        transition: right .4s cubic-bezier(.2,.7,.3,1);
        z-index: 1050;
    }
    .nav.open { right: 0; }
    .nav__list { flex-direction: column; gap: 8px; }
    .nav__link { color: var(--ink); display: block; padding: 12px 0; border-bottom: 1px solid var(--lilac-50); font-size: 1.05rem; }
    .header.scrolled .nav__link { color: var(--ink); }
    .nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: var(--ink); }
    .nav__toggle.open span:nth-child(2) { opacity: 0; }
    .nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: var(--ink); }
    body.nav-open { overflow: hidden; }
    .nav-backdrop {
        position: fixed; inset: 0;
        background: rgba(43,11,63,.5);
        backdrop-filter: blur(3px);
        z-index: 1040;
        opacity: 0; visibility: hidden;
        transition: var(--transition);
    }
    .nav-backdrop.show { opacity: 1; visibility: visible; }

    .section { padding: 70px 0; }
    .hero { padding: 120px 0 70px; }
    .hero__facts { gap: 26px; }
    .hero__actions { width: 100%; }
    .hero__actions .btn { flex: 1; justify-content: center; }
}

@media (max-width: 520px) {
    .grid--cards, .grid--info { grid-template-columns: 1fr; }
    .container { padding: 0 18px; }
    .hero__fact-value { font-size: 1.7rem; }
    .footer__inner { flex-direction: column; text-align: center; align-items: center; }
}
