@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Great+Vibes&family=Nunito:wght@400;500;600&display=swap");

/* Temática editorial em TODO o site — céu, serifa, soft. Psicologia na frente. */

:root {
    --bg-primary: #f6f1ea;
    --bg-secondary: #efe8de;
    --surface: #fffdf9;
    --sky: #dfe4d4;
    --sky-deep: #cdd6c1;
    --primary: #2c2a28;
    --primary-dark: #1a1918;
    --secondary: #d4c5b5;
    --accent: #c98b94;
    --accent-pink: #efd3d6;
    --accent-green: #cfd8c4;
    --accent-lavender: #eadcc0;
    --accent-pink-soft: #f7e8e9;
    --accent-green-soft: #edf1e7;
    --accent-lavender-soft: #f5eedd;
    --text: #1f1d1b;
    --text-secondary: #5c574f;
    --text-light: #8a847c;
    --border: #e4ddd4;
    --shadow: rgba(40, 36, 32, 0.08);
    --shadow-hover: rgba(40, 36, 32, 0.14);
    --white: #fffdf9;
    --on-brand: #fffdf9;
    --paper: #f6f1ea;
    --paper-elevated: #fffdf9;
    --paper-mid: #efe8de;
    --paper-edge: #e4ddd4;
    --paper-border: #e4ddd4;
    --ink: #1f1d1b;
    --ink-muted: #5c574f;
    --premium: #2c2a28;
    --premium-soft: #efe8de;
    --font-heading: "Cormorant Garamond", Georgia, serif;
    --font-body: "Nunito", "Segoe UI", sans-serif;
    --font-script: "Great Vibes", cursive;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --radius-pill: 999px;
}

html[data-theme="dark"] {
    --bg-primary: #1c1a18;
    --bg-secondary: #2a2622;
    --surface: #322e2a;
    --sky: #2f3a2e;
    --primary: #f4efe8;
    --text: #f4efe8;
    --text-secondary: #c4bdb4;
    --border: #4a443c;
    --white: #322e2a;
    --paper: #1c1a18;
    --paper-elevated: #322e2a;
    --ink: #f4efe8;
    --on-brand: #1c1a18;
}

html { background: var(--bg-primary); }
body {
    background:
        radial-gradient(ellipse 70% 40% at 10% 0%, rgba(207, 216, 193, 0.45), transparent 55%),
        radial-gradient(ellipse 50% 30% at 90% 5%, rgba(226, 190, 195, 0.25), transparent 50%),
        var(--bg-primary) !important;
    background-attachment: fixed !important;
    color: var(--text);
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
.section-title,
.about-heading,
.slide-title,
.page-header-title,
.biblioteca-hero-title,
.logo-text,
.paywall-title,
.edu-hub .section-title {
    font-family: var(--font-heading) !important;
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* ===== Nav global ===== */
.navbar {
    background: rgba(246, 241, 234, 0.9) !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: none !important;
    backdrop-filter: blur(10px);
}
.navbar.scrolled {
    background: rgba(255, 253, 249, 0.95) !important;
}
.page-home .navbar {
    background: transparent !important;
    border-bottom: none !important;
    position: absolute !important;
}
.page-home .navbar.scrolled {
    background: rgba(246, 241, 234, 0.92) !important;
    position: fixed !important;
    box-shadow: 0 8px 24px var(--shadow) !important;
}

.nav-logo { flex-direction: column; align-items: flex-start; }
.logo-text {
    font-family: var(--font-script) !important;
    font-size: 1.85rem !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--text) !important;
}
.logo-subtitle { display: none !important; }

.nav-link, .mobile-nav-link {
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    color: var(--text) !important;
    opacity: 0.85;
}
.nav-link.active, .nav-link:hover {
    color: var(--text) !important;
    opacity: 1;
    border-bottom-color: var(--accent) !important;
}

.mobile-nav {
    background: var(--bg-primary) !important;
}

/* ===== Botões ===== */
.btn-primary,
.btn-retro-primary,
.btn-download,
.wa-group-footer-btn {
    background: var(--text) !important;
    color: var(--bg-primary) !important;
    border: none !important;
    border-radius: var(--radius-pill) !important;
    box-shadow: none !important;
}
.btn-secondary,
.btn-retro-outline,
.sky-outline,
.page-back-link {
    background: transparent !important;
    color: var(--text) !important;
    border: 1.5px solid var(--text) !important;
    border-radius: var(--radius-pill) !important;
    box-shadow: none !important;
}
.sky-outline {
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.page-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1rem;
    margin-bottom: 1rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== Heroes internos (todas as páginas) ===== */
.page-header,
.sub-page-hero,
.biblioteca-hero {
    background:
        radial-gradient(ellipse 80% 50% at 20% 0%, rgba(255,255,255,0.65), transparent 55%),
        linear-gradient(180deg, #d4e6f0 0%, #c5dbe8 40%, #f6f1ea 100%) !important;
    border-radius: 0 0 40px 40px !important;
    overflow: hidden;
}
.page-header-bg,
.sub-page-hero-bg,
.biblioteca-hero-bg {
    opacity: 0.25 !important;
}
.page-header-overlay,
.sub-page-hero-overlay,
.biblioteca-hero-overlay {
    background: linear-gradient(180deg, transparent, rgba(246, 241, 234, 0.75)) !important;
}
.page-header-title,
.biblioteca-hero-title {
    color: var(--text) !important;
    text-shadow: none !important;
}
.page-header-subtitle,
.biblioteca-hero-subtitle {
    color: var(--text-secondary) !important;
}

.museum-body,
.waitlist-page,
.biblioteca-page,
.sub-biblioteca-page,
.acolhimento-page {
    background: transparent !important;
}

/* ===== Cards globais ===== */
.home-path-card,
.resource-card,
.book-card,
.folder-card,
.form-card,
.service-card,
.acolhimento-card,
.verify-fieldset,
.edu-hub .cassette,
.premium-gate {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    box-shadow: none !important;
    border-radius: 22px !important;
}

.pill-badge {
    border-radius: var(--radius-pill) !important;
    font-weight: 600 !important;
}

/* ===== Footer ===== */
.footer {
    background: transparent !important;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}
.footer-divider { display: none !important; }
.footer-name {
    font-family: var(--font-heading) !important;
    font-size: 1.35rem;
}

/* ===== WhatsApp FAB ===== */
.wa-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1100;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    text-decoration: none;
}
.wa-fab:hover { color: #fff; }
.page-home .wa-fab { display: none !important; }
.faq-fab-container,
.back-to-top,
.care-toast-container,
#site-aurora,
#site-aurora-veil {
    display: none !important;
}

/* ===== Home: sem chrome fixo ===== */
.page-home--immersive .navbar,
.page-home--immersive .mobile-nav,
.page-home--immersive .footer {
    display: none !important;
}

.home-menu-fab {
    position: fixed;
    top: 1.15rem;
    right: 1.15rem;
    z-index: 80;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 253, 249, 0.92);
    color: var(--text);
    box-shadow: 0 10px 28px rgba(40, 36, 32, 0.16);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform 0.2s ease, background 0.2s ease;
}
.home-menu-fab:hover { transform: scale(1.05); }
.home-menu-fab .material-icons-outlined { font-size: 1.4rem; }

.home-menu[hidden] { display: none !important; }
.home-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
}
.home-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 24, 20, 0.35);
    backdrop-filter: blur(2px);
}
.home-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(360px, 92vw);
    background:
        radial-gradient(ellipse 80% 40% at 100% 0%, rgba(207, 216, 193, 0.45), transparent 55%),
        var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: -16px 0 48px rgba(40, 36, 32, 0.18);
    padding: 1.25rem 1.4rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: home-menu-in 0.28s ease;
}
@keyframes home-menu-in {
    from { transform: translateX(18px); opacity: 0.6; }
    to { transform: translateX(0); opacity: 1; }
}
.home-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.home-menu-brand {
    margin: 0;
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--text);
    line-height: 1;
}
.home-menu-close {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text);
    cursor: pointer;
    display: grid;
    place-items: center;
}
.home-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}
.home-menu-link {
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 500;
    padding: 0.55rem 0.35rem;
    border-radius: 12px;
    transition: background 0.15s ease;
}
.home-menu-link:hover { background: var(--bg-secondary); color: var(--text); }
.home-menu-link--soft {
    color: var(--text-secondary);
    font-size: 1.25rem;
}
.home-menu-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
}
.home-menu-foot a {
    color: var(--text-secondary);
    text-decoration: none;
}
.home-menu-foot a:hover { color: var(--text); }

.member-toast {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-width: calc(100vw - 2rem);
    padding: 0.75rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 10px 30px var(--shadow-hover);
    font-size: 0.92rem;
    opacity: 0;
    transform: translate(-50%, -12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}
.member-toast.is-on {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}
.member-toast .material-icons-outlined { color: #7a2e2e; font-size: 1.25rem; }
.member-toast a {
    color: #7a2e2e;
    font-weight: 600;
    white-space: nowrap;
}
html[data-theme="dark"] .member-toast .material-icons-outlined,
html[data-theme="dark"] .member-toast a { color: #e6a9b1; }
.home-menu-theme {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text);
    cursor: pointer;
    display: grid;
    place-items: center;
}
body.home-menu-open { overflow: hidden; }

/* ===== Home: hero com ondas ===== */
.sky-hero {
    min-height: 100vh;
    padding: 5.5rem 1.5rem 4rem;
    background:
        radial-gradient(ellipse 80% 50% at 20% 10%, rgba(255,255,255,0.7), transparent 50%),
        radial-gradient(ellipse 60% 40% at 90% 20%, rgba(255,255,255,0.55), transparent 46%),
        linear-gradient(180deg, #d4e6f0 0%, #c5dbe8 42%, #e7eef2 72%, #f6f1ea 100%);
    position: relative;
    overflow: hidden;
}
.sky-hero--waves {
    background-color: #f5eee3;
    background-image: url("images/hero-ondas-vinho.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.sky-hero--waves::before,
.sky-hero--waves::after { display: none; }
.sky-hero-veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(105deg, rgba(246, 241, 234, 0.88) 0%, rgba(246, 241, 234, 0.72) 38%, rgba(246, 241, 234, 0.18) 68%, transparent 100%),
        linear-gradient(180deg, rgba(20, 28, 36, 0.12) 0%, transparent 40%, rgba(246, 241, 234, 0.55) 100%);
    z-index: 0;
}
.sky-hero::before,
.sky-hero::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    pointer-events: none;
}
.sky-hero::before { width: 280px; height: 90px; top: 18%; left: -40px; }
.sky-hero::after { width: 220px; height: 70px; top: 28%; right: 8%; }
.sky-hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.sky-hero-copy {
    padding: 1.35rem 1.4rem 1.5rem;
    border-radius: 28px;
    background: rgba(255, 253, 249, 0.78);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px rgba(40, 36, 32, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.55);
}
html[data-theme="dark"] .sky-hero-copy {
    background: rgba(28, 26, 24, 0.78);
    border-color: rgba(244, 239, 232, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.sky-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}
.sky-outline--ghost {
    background: transparent;
    cursor: pointer;
    font: inherit;
}
.sky-hello {
    margin: 0 0 0.75rem;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.15rem;
}
.sky-title {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 0.95;
    margin: 0 0 1.1rem;
    color: var(--text);
    font-weight: 500;
}
.sky-title em {
    font-style: italic;
    font-weight: 400;
    display: block;
    font-size: 0.72em;
}
.sky-lead {
    max-width: 28rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0 0 1.6rem;
    font-size: 0.98rem;
}
.cloud-portrait {
    width: min(100%, 380px);
    margin: 0 auto;
    aspect-ratio: 1;
    background: #e8f0c9;
    border-radius: 58% 42% 48% 52% / 48% 52% 48% 52%;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(80, 100, 120, 0.12);
}
.cloud-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.arch-band { padding: 2.5rem 1rem 1rem; text-align: center; overflow: hidden; }
.arch-band svg { width: min(920px, 100%); height: auto; }
.arch-band text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-style: italic;
    fill: var(--text);
}
.dreams-kicker {
    text-align: center;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.35rem;
    margin: 0 0 1.75rem;
    color: var(--text);
}

/* ===== Bento: páginas em cards ===== */
.bento-section {
    padding: 0.5rem 1.25rem 4rem;
    max-width: 1120px;
    margin: 0 auto;
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(160px, auto);
    gap: 0.85rem;
}
.bento-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.35rem;
    min-height: 200px;
    padding: 1.15rem 1.2rem 1.2rem;
    border-radius: 26px;
    text-decoration: none;
    color: #fffdf9;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow: 0 12px 28px rgba(40, 36, 32, 0.1);
}
.bento-card:hover {
    transform: translateY(-4px);
    color: #fffdf9;
    box-shadow: 0 18px 36px rgba(40, 36, 32, 0.16);
}
.bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.28;
    background:
        radial-gradient(circle at 85% 15%, rgba(255,255,255,0.35), transparent 42%),
        repeating-linear-gradient(
            -18deg,
            transparent 0 10px,
            rgba(0,0,0,0.05) 10px 11px
        );
    pointer-events: none;
}
.bento-card--feature {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 420px;
    background: linear-gradient(155deg, #c45c6a 0%, #a84358 55%, #8f3a4c 100%);
}
.bento-card--feature::before {
    opacity: 0.35;
    background:
        radial-gradient(ellipse 70% 50% at 20% 80%, rgba(255,220,230,0.25), transparent 55%),
        repeating-radial-gradient(circle at 90% 10%, rgba(255,255,255,0.12) 0 2px, transparent 2px 14px);
}
.bento-card--feature .bento-title {
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
}
.bento-card--feature .bento-desc {
    max-width: 22rem;
    font-size: 1.05rem;
}
.bento-card--amber { background: linear-gradient(160deg, #d4a05a, #b87d3a); }
.bento-card--teal { background: linear-gradient(160deg, #5f9e96, #3f7a74); }
.bento-card--rose { background: linear-gradient(160deg, #d9899a, #b86175); }
.bento-card--ink { background: linear-gradient(160deg, #3a4a5c, #2a3542); }
.bento-card--sky { background: linear-gradient(160deg, #8a9a78, #66775a); }
.bento-card--wa { background: linear-gradient(160deg, #5c9e7e, #3f7a5f); }
.bento-card--soft {
    background: linear-gradient(160deg, #d5cde0, #b8adc8);
    color: #2c2a28;
}
.bento-card--soft:hover { color: #2c2a28; }
.bento-card--strip {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    column-gap: 1.25rem;
    min-height: 0;
    padding: 1.1rem 4.5rem 1.1rem 1.4rem;
}
.bento-card--strip .bento-badge { top: 50%; transform: translateY(-50%); }
.bento-card--strip .bento-title { font-size: 1.7rem; }
.bento-card--strip .bento-desc { margin: 0; }
@media (max-width: 700px) {
    .bento-card--strip {
        display: flex;
        align-items: flex-start;
        padding: 1.15rem 1.2rem 1.2rem;
    }
    .bento-card--strip .bento-badge { top: 0.9rem; transform: none; }
}
.bento-card--soft .bento-badge {
    background: rgba(255, 253, 249, 0.92);
    color: #5c574f;
}
.bento-badge {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 42px;
    height: 42px;
    border-radius: 40% 60% 45% 55% / 55% 40% 60% 45%;
    background: rgba(255, 253, 249, 0.95);
    color: #2c2a28;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.bento-badge .material-icons-outlined { font-size: 1.15rem; }
.bento-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 0.15rem;
}
.bento-title {
    margin: 0;
    font-family: var(--font-heading) !important;
    font-weight: 500;
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: inherit;
}
.bento-desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    opacity: 0.92;
    max-width: 18rem;
}
.bento-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.9;
}
.bento-meta .material-icons-outlined { font-size: 0.95rem; }

.lead-capture { padding: 0 1.25rem 3rem; }
.lead-card {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    background: none;
    border: none;
    box-shadow: none;
}
.lead-wa {
    background: #f8e4ea;
    border-radius: 48% 52% 45% 55% / 50% 45% 55% 50%;
    padding: 1.6rem 1.4rem;
    text-align: center;
}
.waitlist-isolate {
    max-width: 720px;
    margin: 1rem auto 3rem;
    text-align: center;
    padding: 2rem 1.25rem;
}
.waitlist-isolate h2 { font-size: 2.2rem; margin-bottom: 0.5rem; }

/* ===== Educação / cassetes ===== */
.cassette-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.cassette {
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, #5c534a, #3f3a36);
    border-radius: 14px;
    padding: 0.45rem 0.45rem 0.7rem;
    box-shadow: 0 10px 22px var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 170px;
    transition: transform 0.2s ease;
}
.cassette:hover { transform: translateY(-4px); color: inherit; }
.cassette-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.5rem;
    border-radius: 4px 4px 0 0;
    text-align: center;
}
.cassette-label--rose { background: #d4a5a0; color: #4a3f35; }
.cassette-label--mint { background: #9cbfb0; color: #24332e; }
.cassette-label--yellow { background: #e8c872; color: #4a3f35; }
.cassette-label--blue { background: #a8c4d4; color: #24323a; }
.cassette-window {
    flex: 1;
    background: var(--surface);
    margin-top: 0.35rem;
    border-radius: 6px;
    padding: 0.7rem 0.65rem;
}
.cassette-window h3 { margin: 0 0 0.25rem; font-size: 1.15rem; }
.cassette-window p { margin: 0; font-size: 0.82rem; color: var(--text-secondary); }

.edu-hub { padding-top: 7rem; }
.edu-hub-lead {
    max-width: 38rem;
    margin: 0 auto 2rem;
    text-align: center;
    color: var(--text-secondary);
}
.home-track--edu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    border: 1.5px dashed var(--border);
    border-radius: 22px;
    background: var(--accent-lavender-soft);
    margin: 1.5rem 0;
}

.home-paths-section,
.about-section,
.section-padding,
.sub-page-content,
.form-section { background: transparent !important; }

/* Forms */
.form-card input,
.form-card textarea,
.form-card select,
.verify-option,
.verify-check {
    border-radius: 14px !important;
    border-color: var(--border) !important;
}

@media (max-width: 900px) {
    .cassette-grid { grid-template-columns: 1fr 1fr; }
    .bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .bento-card--feature {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 280px;
    }
}
@media (max-width: 800px) {
    .sky-hero-inner,
    .lead-card { grid-template-columns: 1fr; }
    .sky-hero { text-align: center; min-height: auto; padding-top: 4.5rem; }
    .sky-hero--waves { min-height: 88vh; }
    .sky-hero-veil {
        background:
            linear-gradient(180deg, rgba(246, 241, 234, 0.55) 0%, rgba(246, 241, 234, 0.82) 55%, rgba(246, 241, 234, 0.92) 100%);
    }
    .sky-lead { margin-left: auto; margin-right: auto; }
    .sky-cta-row { justify-content: center; }
    .home-track--edu { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
    .cassette-grid { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card--feature {
        grid-column: span 1;
        min-height: 260px;
    }
}

/* ===== Área do Professor / Portal (mesma temática) ===== */
.ap-body {
    background:
        radial-gradient(ellipse 70% 40% at 10% 0%, rgba(207, 216, 193, 0.4), transparent 55%),
        radial-gradient(ellipse 50% 30% at 90% 5%, rgba(226, 190, 195, 0.22), transparent 50%),
        var(--bg-primary) !important;
}
.ap-topbar {
    background: rgba(255, 253, 249, 0.9) !important;
    border-bottom-color: var(--border) !important;
}
.ap-gate-card,
.ap-card,
.ap-panel,
.ap-stat,
.ap-modal {
    background: var(--surface) !important;
    border-color: var(--border) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 10px 28px var(--shadow) !important;
}
.ap-btn-primary,
.ap-btn--primary {
    background: var(--primary) !important;
    color: var(--on-brand) !important;
    border-radius: var(--radius-pill) !important;
}
.portal-body {
    background:
        radial-gradient(ellipse 70% 40% at 10% 0%, rgba(207, 216, 193, 0.45), transparent 55%),
        radial-gradient(ellipse 50% 30% at 90% 5%, rgba(226, 190, 195, 0.25), transparent 50%),
        var(--bg-primary) !important;
}
.portal-body .login-card {
    background: var(--surface) !important;
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px var(--shadow) !important;
}

/* ===== Tema museu (Minha conta, consultas) ===== */
.museum-page {
    --museum-cream: #f3ebe0;
    --museum-ink: #1f1a17;
    --museum-ox: #7a2e2e;
    --museum-ox-deep: #5c2222;
    --museum-gold: #b89a5a;
    background:
        radial-gradient(ellipse 60% 40% at 80% 10%, rgba(122, 46, 46, 0.08), transparent 55%),
        linear-gradient(180deg, #ebe2d4, var(--museum-cream)) !important;
    color: var(--museum-ink);
    font-family: "Nunito", sans-serif;
}
.museum-page .navbar,
.museum-page .mobile-nav,
.museum-page .footer { display: none !important; }

.museum-top {
    max-width: 920px;
    margin: 0 auto;
    padding: 1.25rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.museum-mark {
    font-family: "Great Vibes", cursive;
    font-size: 1.85rem;
    color: var(--museum-ink);
    text-decoration: none;
}
.museum-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}
.museum-nav a {
    color: var(--museum-ink);
    text-decoration: none;
    opacity: 0.7;
}
.museum-nav a[aria-current="page"],
.museum-nav a:hover { opacity: 1; }
.museum-back {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--museum-ink);
    background: rgba(255,255,255,0.45);
    text-decoration: none;
}

.museum-sheet {
    max-width: 760px;
    margin: 0 auto 3rem;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.012) 3px, rgba(0,0,0,0.012) 4px),
        #f7f1e8;
    box-shadow: 0 24px 60px rgba(40, 30, 24, 0.12);
    border: 1px solid rgba(80, 60, 40, 0.08);
}

.museum-hero {
    padding: 3rem 1.75rem 2.5rem;
    text-align: center;
}
.museum-script {
    font-family: "Great Vibes", cursive;
    font-size: 2rem;
    color: var(--museum-ox);
    margin: 0 0 0.35rem;
}
.museum-script--inline {
    display: block;
    margin: 1.25rem 0 0.5rem;
    font-size: 1.75rem;
}
.museum-display {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3rem, 9vw, 4.6rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
    line-height: 0.95;
}
.museum-lead {
    max-width: 28rem;
    margin: 0 auto 1.5rem;
    color: #5c534a;
    line-height: 1.65;
    font-size: 0.98rem;
}
.museum-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.15rem;
    border: 1px solid currentColor;
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: lowercase;
    transition: background 0.15s ease, color 0.15s ease;
}
.museum-btn--solid {
    background: var(--museum-ox);
    border-color: var(--museum-ox);
    color: #f7f1e8;
}
.museum-btn--solid:hover { background: var(--museum-ox-deep); color: #f7f1e8; }
.museum-btn--ghost {
    color: #f7f1e8;
    border-color: rgba(247, 241, 232, 0.75);
    flex: 1;
    text-align: center;
}
.museum-btn--ghost:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.museum-welcome {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    padding: 0 1.75rem 2.5rem;
    align-items: start;
}
.museum-italic {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}
.museum-italic--light { color: #f7f1e8; }
.museum-welcome-text p {
    color: #5c534a;
    line-height: 1.65;
    font-size: 0.95rem;
    margin: 0 0 0.75rem;
}
.museum-portrait { text-align: center; }
.museum-frame {
    border: 6px solid var(--museum-gold);
    box-shadow: 0 12px 28px rgba(40, 30, 24, 0.15);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: #ddd;
}
.museum-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: sepia(0.15) contrast(1.05);
}
.museum-frame--sm {
    aspect-ratio: 1;
    border-width: 4px;
    display: grid;
    place-items: center;
    background: #efe6da;
    color: var(--museum-ox);
    margin-bottom: 0.65rem;
}
.museum-caption {
    margin: 0.5rem 0 0;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a847c;
}

.museum-collection { padding: 0 1.75rem 2.75rem; }
.museum-sub {
    margin: -0.5rem 0 1.25rem;
    color: #8a847c;
    font-size: 0.9rem;
}
.museum-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.museum-gallery-item h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    margin: 0 0 0.25rem;
    font-weight: 600;
}
.museum-gallery-item p {
    margin: 0;
    font-size: 0.82rem;
    color: #5c534a;
    line-height: 1.45;
}
.museum-compare {
    border-top: 1px solid rgba(80, 60, 40, 0.15);
    padding-top: 1rem;
}
.museum-compare-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
}
.museum-compare-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px dashed rgba(80, 60, 40, 0.12);
    font-size: 0.88rem;
}
.museum-compare-row em {
    font-style: normal;
    color: var(--museum-ox);
    font-weight: 600;
    text-align: right;
}

.museum-tickets {
    position: relative;
    background: var(--museum-ox);
    color: #f7f1e8;
    padding: 2.5rem 1.75rem 2.75rem;
    overflow: hidden;
}
.museum-tickets-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background:
        radial-gradient(circle at 10% 20%, transparent 40%, rgba(255,255,255,0.15) 41%, transparent 42%),
        radial-gradient(circle at 90% 80%, transparent 38%, rgba(255,255,255,0.12) 39%, transparent 41%);
}
.museum-tickets-lead {
    margin: -0.35rem 0 1.5rem;
    font-size: 0.82rem;
    opacity: 0.85;
    letter-spacing: 0.04em;
}
.museum-ticket {
    border: 1px solid rgba(247, 241, 232, 0.65);
    padding: 1.35rem 1.25rem 1.15rem;
    position: relative;
    background: transparent;
    box-shadow: none;
}
.museum-ticket-name {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
}
.museum-butter {
    position: absolute;
    top: -0.55rem;
    right: 0.85rem;
    font-size: 1.25rem;
    opacity: 0.9;
}

.museum-contact { padding: 2.5rem 1.75rem 2.75rem; }
.museum-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 1rem 0 1.5rem;
}
.museum-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}
.museum-icon-blob {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #efe0d4;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.museum-contact-label {
    margin: 0;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a847c;
}
.museum-contact-item a {
    color: var(--museum-ink);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--museum-ox);
}
.museum-note {
    font-size: 0.88rem;
    color: #5c534a;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}
.museum-foot-mark {
    font-family: "Great Vibes", cursive;
    font-size: 1.5rem;
    margin: 0;
    color: var(--museum-ox);
}

@media (max-width: 720px) {
    .museum-welcome,
    .museum-gallery,
    .museum-contact-row { grid-template-columns: 1fr; }
    .museum-nav { display: none; }
}

/* ===== Educação: cream + rosa editorial ===== */
.edu-maven {
    --maven-cream: #f5f3e7;
    --maven-pink: #ff85b3;
    --maven-pink-deep: #f06a9c;
    --maven-ink: #1f1d1b;
    --maven-muted: #6b6560;
    background: var(--maven-cream) !important;
    color: var(--maven-ink);
    font-family: "Nunito", sans-serif;
    min-height: 100vh;
}
.edu-maven .navbar,
.edu-maven .mobile-nav,
.edu-maven .footer { display: none !important; }

.maven-nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.35rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.maven-logo {
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--maven-ink);
    text-decoration: none;
}
.maven-nav nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.35rem;
    font-size: 0.9rem;
}
.maven-nav a {
    color: var(--maven-ink);
    text-decoration: none;
    opacity: 0.75;
}
.maven-nav a[aria-current="page"] {
    opacity: 1;
    border-bottom: 2px solid var(--maven-ink);
    padding-bottom: 0.1rem;
}
.maven-nav a:hover { opacity: 1; color: var(--maven-ink); }

.maven-hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem 3rem;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2.5rem;
    align-items: center;
}
.maven-portrait {
    margin: 0;
    aspect-ratio: 1;
    overflow: hidden;
    background: #2a2a2a;
}
.maven-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
}
.maven-bubble {
    display: inline-block;
    background: var(--maven-pink);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}
.maven-headline {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
}
.maven-headline em,
.maven-script {
    font-family: "Great Vibes", cursive;
    font-style: normal;
    font-weight: 400;
    color: var(--maven-pink-deep);
}
.maven-headline em { font-size: 1.15em; }
.maven-headline--sm { font-size: clamp(2rem, 4vw, 2.8rem); }
.maven-body {
    max-width: 28rem;
    color: var(--maven-muted);
    line-height: 1.65;
    margin: 0 0 1.5rem;
    font-size: 0.98rem;
}
.maven-pill {
    display: inline-flex;
    align-items: center;
    background: var(--maven-pink);
    color: #1f1d1b;
    text-decoration: none;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-family: "Great Vibes", cursive;
    font-size: 1.35rem;
    line-height: 1;
    border: none;
    transition: transform 0.15s ease, background 0.15s ease;
}
.maven-pill:hover {
    background: var(--maven-pink-deep);
    color: #fff;
    transform: translateY(-2px);
}
.maven-pill--outline {
    background: transparent;
    border: 1.5px solid var(--maven-ink);
    color: var(--maven-ink);
    margin-top: 2rem;
}
.maven-pill--outline:hover {
    background: var(--maven-ink);
    color: var(--maven-cream);
}
.maven-pill--ghost {
    background: transparent;
    border: 1.5px solid var(--maven-pink);
    color: var(--maven-ink);
}

.maven-marquee {
    background: var(--maven-pink);
    color: #1f1d1b;
    overflow: hidden;
    padding: 0.55rem 0;
    white-space: nowrap;
}
.maven-marquee--alt { background: var(--maven-pink-deep); color: #fff; }
.maven-marquee-track {
    display: inline-block;
    padding-left: 100%;
    animation: maven-scroll 28s linear infinite;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
@keyframes maven-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.maven-work {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 3rem;
    text-align: center;
}
.maven-section-title {
    margin: 0 0 0.5rem;
    line-height: 1;
}
.maven-serif {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 600;
    display: inline-block;
    margin-right: 0.35rem;
}
.maven-script {
    font-size: clamp(3rem, 7vw, 4.8rem);
    display: inline-block;
    position: relative;
    z-index: 1;
}
.maven-work-lead {
    color: var(--maven-muted);
    margin: 0 auto 2.5rem;
    max-width: 26rem;
}

.maven-collage {
    display: grid;
    grid-template-columns: 1fr 1.1fr 0.9fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    text-align: left;
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}
.maven-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.25rem;
    padding: 1.25rem;
    border-radius: 18px;
    text-decoration: none;
    color: #fff;
    min-height: 200px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(40, 36, 32, 0.1);
    transition: transform 0.2s ease;
}
.maven-card:hover { transform: translateY(-4px); color: #fff; }
.maven-card--tall {
    grid-row: span 2;
    min-height: 420px;
    background: linear-gradient(160deg, #5c7a8a, #3a5564);
}
.maven-card--wide {
    background: linear-gradient(160deg, #e8a0b8, #d47898);
}
.maven-card--round {
    border-radius: 50%;
    aspect-ratio: 1;
    min-height: 0;
    align-items: center;
    text-align: center;
    justify-content: center;
    background: linear-gradient(145deg, #f5c4d4, #ff85b3);
    color: #1f1d1b;
}
.maven-card--round:hover { color: #1f1d1b; }
.maven-card--tool {
    background: linear-gradient(160deg, #c4b59a, #9a8a6e);
}
.maven-blob {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 133, 179, 0.45), transparent 70%);
    top: 35%;
    left: 42%;
    pointer-events: none;
    z-index: 0;
    filter: blur(8px);
}
.maven-card-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
}
.maven-card h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.65rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.1;
}
.maven-card p {
    margin: 0;
    font-size: 0.88rem;
    opacity: 0.9;
    line-height: 1.4;
}
.maven-card-cta {
    margin-top: 0.65rem;
    font-family: "Great Vibes", cursive;
    font-size: 1.25rem;
}

.maven-meet {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    text-align: center;
}
.maven-meet .maven-body { margin-left: auto; margin-right: auto; }
.maven-meet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.maven-foot {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--maven-muted);
    border-top: 1px solid rgba(0,0,0,0.06);
}
.maven-foot a {
    color: var(--maven-muted);
    text-decoration: none;
    margin-left: 1rem;
}
.maven-foot a:hover { color: var(--maven-ink); }

@media (max-width: 860px) {
    .maven-hero { grid-template-columns: 1fr; text-align: center; }
    .maven-portrait { max-width: 280px; margin: 0 auto; }
    .maven-body { margin-left: auto; margin-right: auto; }
    .maven-collage {
        grid-template-columns: 1fr;
    }
    .maven-card--tall { grid-row: auto; min-height: 260px; }
    .maven-card--round {
        border-radius: 18px;
        aspect-ratio: auto;
        min-height: 200px;
        text-align: left;
        align-items: flex-start;
        justify-content: flex-end;
    }
    .maven-blob { display: none; }
    .maven-nav nav { font-size: 0.8rem; gap: 0.65rem 0.9rem; }
}

/* ===== Educação: central compacta ===== */
.edu-central {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.25rem 1.5rem;
    text-align: center;
}
.edu-central .maven-work-lead { margin-bottom: 1.25rem; }
.edu-central .maven-pill--outline { margin-top: 1.5rem; }
.edu-portal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
}
.edu-portal-grid .maven-card {
    min-height: 148px;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    gap: 0.15rem;
    grid-row: auto;
    box-shadow: 0 8px 18px rgba(40, 36, 32, 0.08);
}
.edu-portal-grid .maven-card--tall,
.edu-portal-grid .maven-card--wide,
.edu-portal-grid .maven-card--tool {
    min-height: 148px;
}
.edu-portal-grid .maven-card h3 {
    font-size: 1.15rem;
}
.edu-portal-grid .maven-card p {
    font-size: 0.78rem;
    line-height: 1.35;
}
.edu-portal-grid .maven-card-label {
    font-size: 0.62rem;
}
.edu-portal-grid .maven-card-cta {
    margin-top: 0.35rem;
    font-size: 1.05rem;
}
.edu-portal-item .edu-portal-icon {
    font-size: 1.35rem !important;
    margin-bottom: 0.05rem;
    opacity: 0.95;
}
.edu-portal-item--pink {
    background: linear-gradient(145deg, #f06a9c, #ff85b3);
    color: #fff;
}
.edu-portal-item--pink:hover { color: #fff; }
.edu-portal-item--soon {
    opacity: 0.88;
    cursor: default;
    pointer-events: none;
}
@media (max-width: 960px) {
    .edu-portal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .edu-portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
    .edu-portal-grid .maven-card { min-height: 136px; }
}
@media (max-width: 420px) {
    .edu-portal-grid { grid-template-columns: 1fr; }
}

/* ===== Padrão global: shell proporcional ===== */
.site-shell {
    --shell-max: 960px;
    --shell-pad-x: 1.25rem;
    --shell-hero-pad-top: 6.5rem;
    --shell-hero-pad-bottom: 2.25rem;
}

.site-shell .navbar {
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-shell .nav-container {
    max-width: 1100px;
    margin: 0 auto;
}

.site-shell .nav-links {
    gap: 0.35rem 0.85rem;
}

.site-shell .nav-link {
    font-size: 0.8rem !important;
    white-space: nowrap;
}

/* Heroes compactos — fim das desproporções */
.site-shell .page-header,
.site-shell .sub-page-hero,
.site-shell .biblioteca-hero,
body.waitlist-page .page-header,
body.acolhimento-page .page-header,
body.biblioteca-page .biblioteca-hero,
body.sub-biblioteca-page .sub-page-hero,
body.reflexao-page .page-header {
    min-height: 0 !important;
    height: auto !important;
    padding: var(--shell-hero-pad-top, 6.5rem) var(--shell-pad-x, 1.25rem) var(--shell-hero-pad-bottom, 2.25rem) !important;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: left;
    border-radius: 0 0 28px 28px !important;
}

.site-shell .page-header-content,
.site-shell .biblioteca-hero-content,
.site-shell .sub-page-hero .biblioteca-hero-content,
body.waitlist-page .page-header-content,
body.acolhimento-page .page-header-content {
    max-width: var(--shell-max, 960px) !important;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.site-shell .page-header-title,
.site-shell .biblioteca-hero-title,
body.waitlist-page .page-header-title,
body.acolhimento-page .page-header-title,
body.sub-biblioteca-page .biblioteca-hero-title {
    font-size: clamp(2rem, 4.5vw, 2.85rem) !important;
    margin-bottom: 0.45rem !important;
    line-height: 1.05 !important;
}

.site-shell .page-header-subtitle,
.site-shell .biblioteca-hero-subtitle,
body.waitlist-page .page-header-subtitle {
    font-size: 1rem !important;
    margin: 0 !important;
    max-width: 36rem;
}

.site-shell .page-header-bg,
.site-shell .sub-page-hero-bg,
.site-shell .biblioteca-hero-bg {
    opacity: 0.18 !important;
}

.site-shell .page-back-link,
body.waitlist-page .page-back-link,
body.acolhimento-page .page-back-link,
body.sub-biblioteca-page .page-back-link {
    margin-bottom: 0.85rem !important;
}

/* Conteúdo alinhado */
.site-shell .sub-page-content,
.site-shell .acolhimento-description,
.site-shell .welcome-section,
.site-shell .waitlist-content,
.site-shell main > .container,
body.waitlist-page .waitlist-content,
body.acolhimento-page .acolhimento-description,
body.acolhimento-page main > .container,
body.sub-biblioteca-page .sub-page-content,
body.biblioteca-page .sub-page-content,
body.reflexao-page .sub-page-content {
    max-width: var(--shell-max, 960px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--shell-pad-x, 1.25rem);
    padding-right: var(--shell-pad-x, 1.25rem);
}

.site-shell .sub-page-content {
    padding-top: 1.75rem !important;
    padding-bottom: 3rem !important;
}

.site-shell .content-card {
    padding: 1.35rem 1.4rem !important;
    border-radius: 18px !important;
    margin-bottom: 1.25rem !important;
}

.site-shell .resources-grid,
body.sub-biblioteca-page .resources-grid,
body.biblioteca-page .resources-grid {
    gap: 0.85rem !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
}

.site-shell .resource-card {
    border-radius: 16px !important;
}

.site-shell .premium-gate {
    max-width: 520px;
    margin: 1.5rem auto 2.5rem;
    text-align: center;
    padding: 1.75rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 12px 28px var(--shadow);
}

.site-shell .footer,
body.waitlist-page .footer,
body.acolhimento-page .footer,
body.sub-biblioteca-page .footer,
body.biblioteca-page .footer {
    padding: 1.75rem 1.25rem !important;
    margin-top: 1rem;
}

.site-shell .footer-content {
    max-width: 960px;
    margin: 0 auto;
    gap: 0.75rem !important;
}

.site-shell .site-ad-section {
    max-width: 960px;
    margin: 0 auto 1.5rem;
    padding: 0 1.25rem;
}

/* Educação: mesmo shell, sotaque suave */
body.sub-biblioteca-page.site-shell .sub-page-hero,
body.biblioteca-page.site-shell .biblioteca-hero,
body.reflexao-page.site-shell .page-header {
    background:
        radial-gradient(ellipse 70% 50% at 80% 0%, rgba(255, 133, 179, 0.18), transparent 55%),
        linear-gradient(180deg, #f5f3e7 0%, #efe8de 55%, #f6f1ea 100%) !important;
}

/* Formulários / lista */
.site-shell .form-section,
body.waitlist-page .form-section {
    padding-top: 0.5rem !important;
    padding-bottom: 3rem !important;
}

.site-shell .form-card,
body.waitlist-page .form-card {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .site-shell {
        --shell-hero-pad-top: 5.5rem;
        --shell-hero-pad-bottom: 1.75rem;
    }
    .site-shell .nav-links { display: none; }
}

/* ===== Menu FAB em todo o site (substitui navbar clássica) ===== */
.site-menu-on .navbar,
.site-menu-on .mobile-nav,
.site-menu-on .menu-toggle,
.edu-maven.site-menu-on .maven-nav,
.museum-page.site-menu-on .museum-top {
    display: none !important;
}

.site-menu-on .home-menu-fab {
    display: grid !important;
}

/* ===== Redesign VISÍVEL das páginas de conteúdo ===== */
.site-menu-on.site-shell,
.site-menu-on.waitlist-page,
.site-menu-on.acolhimento-page,
.site-menu-on.sub-biblioteca-page,
.site-menu-on.biblioteca-page,
.site-menu-on.reflexao-page {
    background:
        radial-gradient(ellipse 70% 35% at 8% 0%, rgba(207, 216, 193, 0.55), transparent 55%),
        radial-gradient(ellipse 50% 30% at 92% 4%, rgba(226, 190, 195, 0.28), transparent 50%),
        #f6f1ea !important;
}

.site-menu-on .page-header,
.site-menu-on .sub-page-hero,
.site-menu-on .biblioteca-hero {
    position: relative;
    min-height: 0 !important;
    padding: 5.5rem 1.25rem 2.75rem !important;
    margin: 0 0 0.5rem;
    border-radius: 0 0 36px 36px !important;
    background:
        linear-gradient(135deg, rgba(255,253,249,0.92), rgba(246,241,234,0.75)),
        url("images/hero-ondas-vinho.jpg") center / cover no-repeat !important;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(40, 36, 32, 0.08);
}

.site-menu-on .page-header-bg,
.site-menu-on .sub-page-hero-bg,
.site-menu-on .biblioteca-hero-bg,
.site-menu-on .page-header-overlay,
.site-menu-on .sub-page-hero-overlay,
.site-menu-on .biblioteca-hero-overlay {
    display: none !important;
}

.site-menu-on .page-header-content,
.site-menu-on .biblioteca-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px !important;
    margin: 0 auto !important;
    text-align: left !important;
    padding: 1.5rem 1.6rem !important;
    background: rgba(255, 253, 249, 0.88);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 28px;
    box-shadow: 0 16px 36px rgba(40, 36, 32, 0.1);
}

.site-menu-on .page-header-title,
.site-menu-on .biblioteca-hero-title {
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(2.4rem, 6vw, 3.6rem) !important;
    font-weight: 500 !important;
    letter-spacing: -0.03em !important;
    line-height: 0.98 !important;
    margin: 0 0 0.55rem !important;
    color: #1f1d1b !important;
}

.site-menu-on .page-header-subtitle,
.site-menu-on .biblioteca-hero-subtitle {
    font-size: 1.05rem !important;
    color: #5c574f !important;
    line-height: 1.55 !important;
}

.site-menu-on .page-back-link {
    background: #1f1d1b !important;
    color: #f6f1ea !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.78rem !important;
    margin-bottom: 1rem !important;
}

.site-menu-on .page-back-link:hover {
    background: #3a3632 !important;
    color: #fff !important;
}

.site-menu-on .sub-page-content,
.site-menu-on .acolhimento-description,
.site-menu-on .welcome-section {
    max-width: 920px !important;
    margin: 0 auto !important;
    padding: 1.5rem 1.25rem 3.5rem !important;
}

.site-menu-on .content-card,
.site-menu-on .premium-gate,
.site-menu-on .form-card,
.site-menu-on .welcome-text {
    background: #fffdf9 !important;
    border: 1px solid #e4ddd4 !important;
    border-radius: 24px !important;
    box-shadow: 0 14px 32px rgba(40, 36, 32, 0.07) !important;
    padding: 1.5rem 1.55rem !important;
}

.site-menu-on .content-card h3,
.site-menu-on .premium-gate h2 {
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: 1.75rem !important;
    font-weight: 500 !important;
}

.site-menu-on .resources-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 0.75rem !important;
}

.site-menu-on .resource-card {
    border-radius: 20px !important;
    border: 1px solid #e4ddd4 !important;
    overflow: hidden !important;
    background: #fffdf9 !important;
    box-shadow: 0 10px 24px rgba(40, 36, 32, 0.06) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.site-menu-on .resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(40, 36, 32, 0.12) !important;
}

.site-menu-on .footer {
    background: transparent !important;
    border-top: 1px dashed #e4ddd4 !important;
    padding: 1.5rem 1.25rem 2.5rem !important;
}

.site-menu-on .footer-name {
    font-family: "Great Vibes", cursive !important;
    font-size: 1.6rem !important;
    font-weight: 400 !important;
}

/* Educação hub: esconde nav maven, mantém FAB */
.edu-maven.site-menu-on {
    padding-top: 0.5rem;
}
