@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap');

:root {
    --bg: #fbf5f1;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: #ffffff;
    --text: #251816;
    --muted: #715f59;
    --line: rgba(112, 71, 59, 0.12);
    --primary: #b11515;
    --primary-dark: #6f0a0a;
    --accent: #f1c85f;
    --shadow: 0 22px 52px rgba(78, 18, 10, 0.12);
    --shadow-soft: 0 16px 34px rgba(78, 18, 10, 0.08);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: min(1180px, calc(100% - 32px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(241, 200, 95, 0.18), transparent 24%),
        linear-gradient(180deg, #fcf7f4 0%, #faf3ef 48%, #fffaf8 100%);
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.moura-band {
    background: linear-gradient(120deg, #1c0605 0%, #3a0d0b 55%, #55110f 100%);
    color: #fff;
    border-bottom: 1px solid rgba(241, 200, 95, 0.35);
}

.moura-band__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
}

.moura-band__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--accent);
    color: #3a0d0b;
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 18px rgba(241, 200, 95, 0.28);
}

.moura-band__text {
    font-size: 0.94rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
}

.moura-band__text strong {
    color: var(--accent);
    font-weight: 700;
}

.top-strip {
    background: #2c0f0d;
    color: rgba(255, 255, 255, 0.84);
}

.top-strip__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    font-size: 0.92rem;
}

.top-strip__inner a {
    color: var(--accent);
    font-weight: 800;
}

.hero-area {
    position: relative;
    overflow: clip;
    background:
        radial-gradient(circle at 82% 14%, rgba(241, 200, 95, 0.26), transparent 14%),
        linear-gradient(135deg, #450808 0%, #7d1010 48%, #b51f1f 100%);
    color: #fff;
}

.hero-area::before {
    content: "";
    position: absolute;
    inset: auto auto -120px -80px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
    pointer-events: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.header-scrolled {
    background: rgba(79, 8, 8, 0.9);
    box-shadow: 0 16px 28px rgba(28, 5, 5, 0.22);
    backdrop-filter: blur(14px);
}

.site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(241, 200, 95, 0.28));
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--accent);
    font-family: "Sora", sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-text strong {
    font-family: "Sora", sans-serif;
    font-size: 1rem;
}

.brand-text small {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.82rem;
}

.site-nav,
.nav-links,
.hero-actions,
.hero-pills,
.tag-list,
.course-meta,
.cta-band__actions,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.nav-links a {
    position: relative;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0.94));
    transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--accent), #ffd97c);
    color: #341b12;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(241, 200, 95, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(241, 200, 95, 0.26);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.button-ghost {
    width: 100%;
    background: linear-gradient(135deg, #760c0c 0%, #be2424 100%);
    color: #fff;
    box-shadow: none;
}

.hero-section,
.course-hero {
    padding: clamp(44px, 7vw, 88px) 0 clamp(60px, 8vw, 92px);
}

.hero-grid,
.split-layout,
.course-hero__grid,
.course-content-grid,
.cta-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
    gap: 26px;
    align-items: center;
}

.split-layout,
.course-hero__grid,
.course-content-grid {
    align-items: start;
}

.hero-copy h1,
.section-title,
.cta-band h2,
.course-hero__copy h1,
.course-summary h2,
.course-detail-card h2,
.audience-panel h3 {
    margin: 18px 0 0;
    font-family: "Sora", sans-serif;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.hero-copy h1 {
    max-width: 11.8ch;
    font-size: clamp(2.4rem, 4.8vw, 4.6rem);
}

.hero-copy h1 span {
    color: var(--accent);
}

.hero-copy p,
.section-copy,
.course-hero__copy p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.04rem;
    line-height: 1.75;
}

.eyebrow,
.card-eyebrow,
.screen-pill {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow,
.card-eyebrow {
    background: rgba(177, 21, 21, 0.08);
    color: var(--primary);
}

.eyebrow--gold,
.screen-pill {
    background: rgba(241, 200, 95, 0.14);
    color: var(--accent);
}

.hero-pills {
    margin-top: 28px;
}

.hero-pills span,
.tag-list span,
.course-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
}

.hero-pills span {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
}

.hero-visual {
    position: relative;
    min-height: 540px;
}

.hero-card,
.highlight-card,
.service-card,
.workflow-card,
.audience-panel,
.academy-showcase,
.resource-card,
.course-card,
.faq-card,
.course-summary,
.course-detail-card,
.cta-band {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.hero-card {
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)), rgba(53, 9, 9, 0.56);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 62px rgba(28, 6, 6, 0.28);
    backdrop-filter: blur(14px);
}

.hero-card__head,
.hero-card__footer {
    display: grid;
    gap: 14px;
}

.hero-card__head {
    color: rgba(255, 255, 255, 0.8);
}

.hero-card__head strong,
.hero-card__footer strong,
.screen-stats strong,
.summary-grid strong {
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: 0.98rem;
}

.hero-card__media {
    display: grid;
    place-items: center;
    min-height: 320px;
    margin-block: 20px;
    padding: 24px;
    border-radius: 26px;
    background: radial-gradient(circle at 50% 30%, rgba(241, 200, 95, 0.28), transparent 58%), rgba(255, 255, 255, 0.06);
}

.hero-card__footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-card__footer div {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.hero-card__footer p,
.screen-stats span,
.summary-grid span {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.55;
    font-size: 0.92rem;
}

.section {
    padding: clamp(64px, 8vw, 108px) 0;
}

.section-tight {
    padding: clamp(42px, 6vw, 72px) 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.8));
    border-top: 1px solid rgba(112, 71, 59, 0.08);
    border-bottom: 1px solid rgba(112, 71, 59, 0.08);
}

.section-head {
    max-width: 860px;
    margin-bottom: 34px;
}

.section-title,
.cta-band h2,
.course-hero__copy h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--text);
}

.section-copy {
    color: var(--muted);
}

.highlight-grid,
.service-grid,
.course-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.highlight-card,
.service-card,
.faq-card,
.workflow-card,
.resource-card,
.course-card,
.course-summary,
.course-detail-card,
.audience-panel {
    padding: 28px;
}

.highlight-card {
    grid-column: span 3;
}

.service-card,
.course-card {
    grid-column: span 6;
}

.faq-card {
    grid-column: span 6;
}

.highlight-card h2,
.service-card h3,
.workflow-card h3,
.resource-card h4,
.course-card h3,
.faq-card h3,
.course-summary h2,
.course-detail-card h2,
.audience-panel h3 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1.16rem;
    line-height: 1.35;
}

.highlight-card p,
.service-card p,
.workflow-card p,
.resource-card p,
.course-card p,
.faq-card p,
.audience-panel p,
.course-detail-card p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.72;
}

.tag-list {
    margin-top: 18px;
}

.tag-list span,
.course-meta span,
.tag-list--large span {
    background: rgba(177, 21, 21, 0.05);
    color: var(--primary-dark);
}

.workflow-grid,
.resource-grid,
.screen-stats,
.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.workflow-step {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #8f1010, #cd3333);
    color: #fff;
    font-family: "Sora", sans-serif;
    font-weight: 800;
}

.audience-list,
.detail-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.audience-list li,
.detail-list li {
    position: relative;
    padding-left: 22px;
    line-height: 1.65;
}

.audience-list li::before,
.detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ffd985);
    box-shadow: 0 0 0 6px rgba(241, 200, 95, 0.16);
}

.academy-showcase {
    margin-bottom: 22px;
    padding: 28px;
    background: linear-gradient(135deg, #6f0a0a 0%, #b61c1c 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 56px rgba(90, 12, 12, 0.22);
}

.academy-screen {
    padding: 28px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
}

.academy-screen h3 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    line-height: 1.16;
}

.academy-screen p {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.72;
}

.screen-stats {
    margin-top: 24px;
}

.screen-stats div,
.summary-grid div {
    padding: 18px;
    border-radius: 18px;
}

.screen-stats div {
    background: rgba(255, 255, 255, 0.08);
}

.resource-grid {
    margin-top: 18px;
}

.resource-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.resource-card h4 {
    color: #fff;
}

.resource-card p {
    color: rgba(255, 255, 255, 0.74);
}

.course-card {
    overflow: hidden;
}

.course-card__media {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    min-height: 118px;
    padding: 24px;
    color: #fff;
    background: radial-gradient(circle at top right, rgba(241, 200, 95, 0.24), transparent 28%), linear-gradient(135deg, #6f0a0a 0%, #be2323 100%);
}

.course-card__media span {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.course-card__media strong {
    font-family: "Sora", sans-serif;
    font-size: 1.08rem;
}

.course-card__body {
    padding: 24px;
}

.course-meta {
    margin: 18px 0 22px;
}

.cta-band {
    padding: 34px;
    grid-template-columns: minmax(0, 1fr) auto;
    background: linear-gradient(135deg, #691010 0%, #a41717 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 56px rgba(90, 12, 12, 0.24);
}

.cta-band h2 {
    margin-top: 18px;
    color: #fff;
}

.cta-band p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.72;
}

.site-footer {
    padding: 30px 0 24px;
    background: #1f0b0b;
    color: rgba(255, 255, 255, 0.74);
}

.site-footer__inner,
.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.site-footer__inner {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-family: "Sora", sans-serif;
}

.site-footer p {
    margin: 0;
    max-width: 62ch;
    line-height: 1.65;
}

.inner-page .hero-area {
    background: radial-gradient(circle at 82% 14%, rgba(241, 200, 95, 0.22), transparent 14%), linear-gradient(135deg, #400808 0%, #761111 48%, #a91b1b 100%);
}

.hero-area--compact .course-hero {
    padding-bottom: clamp(48px, 7vw, 76px);
}

.crumb-link {
    display: inline-flex;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.course-hero__copy h1 {
    color: #fff;
}

.course-summary,
.course-detail-card {
    background: var(--surface-strong);
}

.summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 22px 0 24px;
}

.summary-grid div {
    background: rgba(177, 21, 21, 0.05);
}

.summary-grid strong {
    color: var(--primary-dark);
}

.summary-grid span {
    color: var(--muted);
}

/* Resumo do curso: cartões mais arejados, rótulo em cima e valor em destaque. */
.course-summary .summary-grid {
    gap: 12px;
    margin: 20px 0 22px;
}
.course-summary .summary-grid div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px 16px;
    background: rgba(177, 21, 21, 0.05);
    border: 1px solid rgba(177, 21, 21, 0.08);
    border-radius: 14px;
}
.course-summary .summary-grid strong {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: var(--muted);
}
.course-summary .summary-grid span {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--primary-dark);
}

.tag-list--large {
    margin-top: 24px;
}

[data-reveal] {
    opacity: 1;
    transform: translateY(0);
}

body.js-ready [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

body.js-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

section[id] {
    scroll-margin-top: 92px;
}

body.nav-open {
    overflow: hidden;
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1080px) {
    .hero-grid,
    .split-layout,
    .course-hero__grid,
    .course-content-grid,
    .cta-band {
        grid-template-columns: minmax(0, 1fr);
    }

    .highlight-card,
    .service-card,
    .course-card,
    .faq-card {
        grid-column: span 6;
    }

    .hero-visual {
        min-height: auto;
    }

}

@media (max-width: 860px) {
    .moura-band__inner,
    .top-strip__inner,
    .site-footer__inner,
    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .moura-band__text {
        font-size: 0.88rem;
    }

    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 10px);
        display: grid;
        gap: 18px;
        padding: 18px;
        border-radius: 24px;
        background: rgba(69, 8, 8, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 24px 48px rgba(22, 4, 4, 0.28);
        transform: scaleY(0.92);
        transform-origin: top;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    body.nav-open .site-nav {
        opacity: 1;
        transform: scaleY(1);
        pointer-events: auto;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-button {
        width: 100%;
    }

    .workflow-grid,
    .resource-grid,
    .screen-stats,
    .summary-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-copy h1 {
        max-width: none;
    }

    .highlight-grid,
    .service-grid,
    .course-grid,
    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .highlight-card,
    .service-card,
    .course-card,
    .faq-card {
        grid-column: auto;
    }

    .hero-card__footer,
    .hero-actions,
    .cta-band__actions,
    .hero-pills,
    .tag-list,
    .course-meta,
    .footer-links {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-card__footer {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        padding-bottom: 0;
    }

    .course-card__media {
        flex-direction: column;
    }
}

/* =====================================================
   Acréscimos: vitrine de cursos, vídeos e aulas (v2)
   ===================================================== */

/* Estado vazio */
.empty-state {
    padding: 48px 28px;
    text-align: center;
    border-radius: var(--radius-lg);
    border: 1px dashed var(--line);
    background: var(--surface);
}
.empty-state h3 { font-family: "Sora", sans-serif; font-size: 1.3rem; }
.empty-state p { margin-top: 10px; color: var(--muted); }
.empty-state a { color: var(--primary); font-weight: 800; }

/* Card de curso: garante leitura do preço/nível sobre a capa */
.course-card__media span,
.course-card__media strong { position: relative; z-index: 1; }

/* Grade de vídeos do YouTube */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.video-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}
.video-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #2c0f0d;
    box-shadow: var(--shadow-soft);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(177, 21, 21, 0.92);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}
.video-card:hover .video-play { transform: scale(1.1); }
.video-title {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Lightbox de vídeo */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.video-modal.is-open { display: flex; }
.video-modal__backdrop { position: absolute; inset: 0; background: rgba(20, 4, 4, 0.82); backdrop-filter: blur(4px); }
.video-modal__frame { position: relative; width: min(960px, 100%); }
.video-modal__player {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.video-modal__player iframe { width: 100%; height: 100%; border: 0; }
.video-modal__close {
    position: absolute;
    top: -14px;
    right: -10px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #2c0f0d;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Capa no resumo do curso */
.course-summary__cover {
    height: 150px;
    margin: -28px -28px 18px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background-size: cover;
    background-position: center;
}

/* Lista de aulas */
.lesson-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.lesson {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(177, 21, 21, 0.03);
}
.lesson.is-playable { cursor: pointer; transition: border-color 0.18s ease, background 0.18s ease; }
.lesson.is-playable:hover { border-color: var(--primary); background: rgba(177, 21, 21, 0.07); }
.lesson-num {
    flex-shrink: 0;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #8f1010, #cd3333);
    color: #fff;
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
}
.lesson-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lesson-info strong { font-size: 0.98rem; line-height: 1.3; }
.lesson-info small { color: var(--muted); font-size: 0.82rem; }
.lesson-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
}
.lesson-badge.play { background: rgba(30, 132, 73, 0.12); color: #1e8449; }
.lesson-badge.lock { background: rgba(112, 71, 59, 0.1); color: var(--muted); }

@media (max-width: 1080px) {
    .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .video-grid { grid-template-columns: minmax(0, 1fr); }
    .video-modal__close { top: -48px; right: 0; }
}

/* =====================================================
   Refinamento do hero / logotipo (v3) - mais premium
   ===================================================== */

/* Logotipo mais sólido e elegante */
.brand-mark {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: linear-gradient(145deg, #ffe9a8 0%, var(--accent) 52%, #d9a52e 100%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #4a0d0d;
    font-size: 1.06rem;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 22px rgba(241, 200, 95, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.brand-text strong { letter-spacing: -0.01em; }

/* Brilho suave atrás do cartão do hero */
.hero-visual { isolation: isolate; }
.hero-visual::after {
    content: "";
    position: absolute;
    inset: 8% -6% -6% 6%;
    z-index: -1;
    border-radius: 40px;
    background: radial-gradient(circle at 70% 30%, rgba(241, 200, 95, 0.30), transparent 62%);
    filter: blur(12px);
    pointer-events: none;
}

/* Cartão do hero: vidro com profundidade */
.hero-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
        rgba(40, 7, 7, 0.5);
    box-shadow: 0 40px 84px rgba(18, 3, 3, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(18px);
}
.hero-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

/* Barra superior do cartão */
.hero-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.hc-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    color: #fff;
}
.hc-status i {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #37d67a;
    box-shadow: 0 0 0 4px rgba(55, 214, 122, 0.18);
    animation: hcPulse 2.2s ease-in-out infinite;
}
@keyframes hcPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hc-tag {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    background: rgba(241, 200, 95, 0.14);
    border: 1px solid rgba(241, 200, 95, 0.22);
    padding: 6px 11px;
    border-radius: 999px;
}

/* Palco do produto (impressora) */
.hero-card__media {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 300px;
    margin: 18px 0;
    padding: 26px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background:
        radial-gradient(circle at 50% 32%, rgba(241, 200, 95, 0.32), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 -34px 60px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}
.hero-card__media::after { /* reflexo/sombra no chão */
    content: "";
    position: absolute;
    bottom: 26px; left: 50%;
    width: 62%; height: 26px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.45), transparent 70%);
    filter: blur(6px);
}
.hero-card__media img {
    position: relative;
    z-index: 1;
    max-width: 76%;
    height: auto;
    filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.45));
    animation: hcFloat 6s ease-in-out infinite;
}
@keyframes hcFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Mini-cards do rodapé do cartão */
.hero-card__footer div {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
}
.hc-ico {
    display: inline-grid;
    place-items: center;
    width: 36px; height: 36px;
    margin-bottom: 10px;
    border-radius: 11px;
    background: rgba(241, 200, 95, 0.16);
    border: 1px solid rgba(241, 200, 95, 0.20);
    font-size: 1.05rem;
}

/* Acessibilidade: reduz animações se o usuário preferir */
@media (prefers-reduced-motion: reduce) {
    .hero-card__media img { animation: none; }
    .hc-status i { animation: none; }
}

/* =====================================================
   Formulário de contato (v4)
   ===================================================== */
.contact-wrap { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.contact-wrap.has-form { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr); }
.contact-intro .section-title { margin-top: 14px; }
.contact-intro .section-copy { margin-top: 16px; max-width: 46ch; }

.contact-form {
    padding: 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--surface-strong);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 16px;
}
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: flex; flex-direction: column; gap: 7px; }
.cf-field > span { font-size: 0.86rem; font-weight: 700; color: var(--text); }
.cf-field input,
.cf-field textarea {
    width: 100%;
    font: inherit;
    color: var(--text);
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.cf-field textarea { resize: vertical; min-height: 110px; }
.cf-field input:focus,
.cf-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(177, 21, 21, 0.12);
}
.contact-form .button { width: 100%; margin-top: 2px; }
.cf-note { color: var(--muted); font-size: 0.8rem; text-align: center; }

@media (max-width: 1080px) {
    .contact-wrap.has-form { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .cf-grid { grid-template-columns: 1fr; }
}
