/* =========================================================================
   MB Code Academy — páginas públicas (landing + institucionais)
   Referência visual: docs/design/ + docs/LandingRedesign.md
   Ordem: tokens → reset → base → componentes → header → hero → stage →
          seções → footer → páginas institucionais → motion → responsivo
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
    --lp-navy-950: #030E1C;
    --lp-navy-900: #071321;
    --lp-navy-850: #0A1728;
    --lp-navy-800: #0D1B2A;
    --lp-navy-700: #172333;

    --lp-gold-200: #F3D797;
    --lp-gold-300: #E8C57F;
    --lp-gold-400: #E0B96C;
    --lp-gold-500: #C6A15B;
    --lp-gold-600: #B98A45;
    --lp-gold-700: #8A6A2E;

    --lp-paper: #F7F5F3;
    --lp-card: #FFFFFF;
    --lp-line: #ECE7DE;
    --lp-muted: #5B6472;
    --lp-on-dark: rgba(255, 255, 255, 0.92);
    --lp-on-dark-muted: rgba(255, 255, 255, 0.62);

    --lp-font-display: "Bodoni Moda", Georgia, serif;
    --lp-font-text: "Lora", Georgia, serif;
    --lp-font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

    --lp-gutter: clamp(1.25rem, 8vw, 8.5rem);
    --lp-header-h: 74px;
    --lp-wave-h: 30px;

    --lp-shadow-card: 0 1px 2px rgba(13, 27, 42, 0.04), 0 10px 30px rgba(13, 27, 42, 0.06);
    --lp-shadow-card-hover: 0 2px 4px rgba(13, 27, 42, 0.05), 0 22px 44px rgba(13, 27, 42, 0.12);

    /* Ondas medidas nos protótipos (viewBox 1440×32). Hero: navy desce, mais fundo em ~36%.
       Footer: a seção clara desce sobre o navy, mais fundo em ~29%. São máscaras: a área
       transparente revela o fundo do body (--lp-paper). */
    --lp-wave-hero: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 32' preserveAspectRatio='none'%3E%3Cpath d='M0,0H1440V11C1400,7 1330,0 1206,0C1100,1 950,10 775,20C650,26 480,26 344,24C200,21 90,11 0,4Z'/%3E%3C/svg%3E");
    --lp-wave-footer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 32' preserveAspectRatio='none'%3E%3Cpath d='M0,2C80,6 200,22 317,27.5C400,30 520,31 635,25.5C780,18 900,4 1058,1.5C1300,0 1420,1 1440,5V32H0Z'/%3E%3C/svg%3E");
}

/* ---------- 2. Reset (a landing não carrega Bootstrap) ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--lp-header-h) + 1rem);
}

body,
h1, h2, h3, h4, p, figure, blockquote, ul, ol {
    margin: 0;
}

ul, ol {
    padding: 0;
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
}

/* ---------- 3. Base ---------- */
body.lp {
    background: var(--lp-paper);
    color: var(--lp-navy-800);
    font-family: var(--lp-font-text);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.lp h1,
.lp h2 {
    font-family: var(--lp-font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--lp-navy-800);
}

.lp-container {
    width: min(100% - 2 * var(--lp-gutter), 1400px);
    margin-inline: auto;
}

.svg-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    vertical-align: -0.15em;
}

.lp :focus-visible {
    outline: 2px solid var(--lp-gold-400);
    outline-offset: 3px;
    border-radius: 4px;
}

.lp-skip-link {
    position: fixed;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    background: var(--lp-gold-400);
    color: var(--lp-navy-800);
    font-weight: 600;
    transition: top 0.2s ease;
}

.lp-skip-link:focus {
    top: 1rem;
}

/* ---------- 4. Componentes ---------- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    border: 1px solid transparent;
    border-radius: 6px;
    font-family: var(--lp-font-text);
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lp-btn .svg-icon {
    width: 1.1em;
    height: 1.1em;
    transition: transform 0.2s ease;
}

.lp-btn:hover .svg-icon {
    transform: translateX(3px);
}

.lp-btn--sm {
    height: 42px;
    padding: 0 16px;
    font-size: 13.5px;
}

.lp-btn--lg {
    height: 52px;
    padding: 0 32px;
    font-size: 17px;
}

.lp-btn--gold {
    background: linear-gradient(180deg, var(--lp-gold-300) 0%, #D2A95E 100%);
    color: var(--lp-navy-800);
}

.lp-btn--gold:hover {
    transform: translateY(-1px);
}

.lp-btn--ghost {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
}

.lp-btn--ghost:hover {
    border-color: var(--lp-gold-400);
    color: var(--lp-gold-300);
}

.lp-btn--outline-gold {
    border-color: rgba(214, 176, 110, 0.75);
    color: #fff;
}

.lp-btn--outline-navy {
    border-color: rgba(13, 27, 42, 0.35);
    color: var(--lp-navy-800);
}

.lp-btn--outline-navy:hover {
    border-color: var(--lp-gold-500);
    color: var(--lp-gold-700);
}

.lp-catalogo-chamada {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0 0;
}

.lp-btn--outline-gold:hover {
    background: rgba(224, 185, 108, 0.1);
    border-color: var(--lp-gold-300);
}

.lp-rule {
    display: block;
    width: 37px;
    height: 2px;
    margin-bottom: 22px;
    background: #E0C182;
}

.lp-link-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    color: var(--lp-gold-700);
    font-size: 13.5px;
    font-weight: 600;
}

.lp-link-gold .svg-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.lp-link-gold:hover .svg-icon {
    transform: translateX(3px);
}

.lp-feature-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #E6C27A 0%, #D6AC5F 100%);
    color: var(--lp-navy-800);
}

.lp-feature-icon .svg-icon {
    width: 28px;
    height: 28px;
}

.lp-feature-icon--sm {
    width: 40px;
    height: 40px;
}

.lp-feature-icon--sm .svg-icon {
    width: 22px;
    height: 22px;
}

.lp-node {
    position: absolute;
    width: 1.1em;
    height: 1.1em;
    margin: -0.55em 0 0 -0.55em;
    border-radius: 50%;
    background: radial-gradient(circle, #FFF8E6 0 32%, rgba(242, 208, 138, 0.9) 44%, rgba(242, 208, 138, 0) 72%);
    box-shadow: 0 0 1.4em 0.25em rgba(242, 208, 138, 0.5);
    z-index: 7;
    pointer-events: none;
}

.lp-node--sm {
    width: 0.6em;
    height: 0.6em;
    margin: -0.3em 0 0 -0.3em;
    box-shadow: 0 0 0.8em 0.15em rgba(242, 208, 138, 0.45);
}

/* ---------- 5. Header ---------- */
.lp-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--lp-header-h);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.lp-header.is-scrolled {
    background: rgba(3, 14, 28, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.lp-header-inner {
    display: flex;
    align-items: center;
    height: 100%;
}

.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: #fff;
}

.lp-brand img {
    width: auto;
    height: 42px;
}

.lp-brand-name {
    font-family: var(--lp-font-display);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1;
}

.lp-nav {
    display: none;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3.1rem);
    margin-left: clamp(2rem, 7.4vw, 7.8rem);
    font-size: 15px;
}

.lp-nav a {
    position: relative;
    padding: 0.25rem 0;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.lp-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: var(--lp-gold-400);
    transition: width 0.2s ease;
}

.lp-nav a:hover::after,
.lp-nav a:focus-visible::after,
.lp-nav a.is-active::after {
    width: 100%;
}

.lp-nav a.is-active {
    color: #fff;
}

.lp-nav a.is-active::after {
    height: 2px;
    background: var(--lp-gold-300);
}

.lp-mobile-nav-links a.is-active {
    color: var(--lp-gold-300);
}

.lp-header-actions {
    display: none;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

/* Quem já está logado navegando pelo site: nome curto antes do botão do painel. */
.lp-header-saudacao {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
}

.lp-menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.lp-menu-toggle .svg-icon {
    width: 26px;
    height: 26px;
}

.lp-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 9999; /* Aumentado para garantir prioridade absoluta */
    display: flex;
    flex-direction: column;
    padding: 0 var(--lp-gutter) 2rem;
    background:
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(198, 150, 70, 0.3), transparent 70%),
        var(--lp-navy-950);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    visibility: hidden; /* IMPORTANTE: Adicionado para evitar cliques fantasma quando fechado */
}

.lp-mobile-nav.is-open {
    opacity: 1;
    transform: none;
    visibility: visible; /* Torna visível e interativo ao abrir */
}

.lp-mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--lp-header-h);
    margin-bottom: 2rem;
}

.lp-mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.lp-mobile-nav-links a {
    font-family: var(--lp-font-display);
    font-size: 1.6rem;
    color: #fff;
}

.lp-mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.lp-mobile-nav-actions .lp-btn {
    height: 50px;
    font-size: 16px;
}

/* ---------- 6. Hero ---------- */
.lp-hero {
    position: relative;
    z-index: 1;
    padding: calc(var(--lp-header-h) + 52px) 0 99px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse 30% 26% at 60% 96%, rgba(226, 178, 92, 0.5), transparent 70%),
        radial-gradient(ellipse 46% 40% at 72% 88%, rgba(206, 158, 78, 0.28), transparent 72%),
        radial-gradient(ellipse 26% 44% at 95% 74%, rgba(198, 150, 70, 0.22), transparent 70%),
        radial-gradient(ellipse 50% 60% at 16% 38%, rgba(20, 42, 72, 0.55), transparent 70%),
        linear-gradient(180deg, #020C19 0%, #03111F 55%, #081A2C 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) top / 100% calc(100% - var(--lp-wave-h) + 1px) no-repeat,
        var(--lp-wave-hero) bottom / 100% var(--lp-wave-h) no-repeat;
    mask:
        linear-gradient(#000 0 0) top / 100% calc(100% - var(--lp-wave-h) + 1px) no-repeat,
        var(--lp-wave-hero) bottom / 100% var(--lp-wave-h) no-repeat;
}

.lp-hero-sky {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    font-size: 10px;
}

.lp-hero-sky::after {
    content: "";
    position: absolute;
    inset: 0 0 0 45%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 60% 55% at 80% 30%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 55% at 80% 30%, #000, transparent 75%);
}

.lp-hero-stars,
.lp-footer-stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.lp-hero-orbit-left {
    position: absolute;
    left: 0;
    bottom: 5%;
    width: 48%;
    height: 22%;
    overflow: visible;
}

.lp-hero-orbit-left path {
    fill: none;
    stroke: rgba(224, 185, 108, 0.4);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.lp-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.lp-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 21px;
    color: #C2C9D0;
    font-size: 11.5px;
    letter-spacing: 0.22em;
    line-height: 14px;
    text-transform: uppercase;
}

.lp-eyebrow::before {
    content: "";
    width: 36px;
    height: 2px;
    background: #D4AE66;
}

.lp .lp-hero-title {
    margin-bottom: 20px;
    color: #F6F4EF;
    font-size: clamp(2.35rem, 4.3vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.lp-line {
    display: block;
}

.lp-gold-text {
    display: inline-block;
    background: linear-gradient(180deg, var(--lp-gold-200) 8%, #DDB266 55%, var(--lp-gold-600) 96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

@media (forced-colors: active) {
    .lp-gold-text {
        background: none;
        color: CanvasText;
        -webkit-text-fill-color: CanvasText;
    }
}

.lp-hero-lead {
    max-width: 520px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 26px;
}

.lp-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 19px;
    margin-bottom: 25px;
}

.lp-proof {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lp-proof-avatars {
    display: flex;
}

.lp-proof-avatars li {
    width: 44px;
    height: 44px;
    overflow: hidden;
    border: 2px solid #06121F;
    border-radius: 50%;
    background: #242938;
}

.lp-proof-avatars li + li {
    margin-left: -6px;
}

.lp-proof-avatars .svg-icon {
    width: 124%;
    height: 124%;
    margin: -12%;
}

.lp-proof-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lp-proof-text strong {
    color: var(--lp-gold-400);
    font-size: 15px;
    font-weight: 600;
}

.lp-proof-text span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

/* Torna o stage e suas camadas inertes a cliques, permitindo que atravessem para o fundo/botões */
.lp-stage,
.lp-stage-mountains,
.lp-stage-orbits,
.lp-layer,
.lp-window,
.lp-course {
    pointer-events: none;
}

/* Garante que os elementos interativos de fato dentro das janelas ou botões voltem a ser clicáveis caso necessário */
.lp-player-footer,
.lp-btn {
    pointer-events: auto;
}

/* O stage é absoluto: a coluna visual não define a altura do hero (quem define é o texto,
   como no protótipo, onde a composição invade a área da onda). */
.lp-hero-visual {
    position: relative;
    container-type: inline-size;
    margin-top: 2.5rem;
    aspect-ratio: 922 / 560;
}

.lp-hero-tagline {
    position: absolute;
    left: calc(var(--lp-gutter) - 36px);
    bottom: 36px;
    z-index: 2;
    display: none;
    width: 210px;
    height: auto;
    overflow: visible;
}

.lp-hero-tagline text {
    fill: rgba(255, 255, 255, 0.34);
    font-family: var(--lp-font-text);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.38em;
}

.lp-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 27px;
    z-index: 3;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.lp-scroll-hint-mouse {
    width: 26px;
    height: 26px;
    color: rgba(255, 255, 255, 0.72);
}

.lp-scroll-hint-arrow {
    width: 18px;
    height: 18px;
}

.lp-scroll-hint:hover {
    color: var(--lp-gold-300);
}

/* ---------- 7. Stage (composição 3D do hero) ----------
   1em = 1/92,2 da largura da coluna visual (10 px no frame de 1672 px). Posições em %
   do stage (922×560 de referência), tamanhos em em. */
.lp-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 92.2em;
    height: 56em;
    font-size: calc(100cqi / 92.2);
    font-family: var(--lp-font-text);
    line-height: 1.3;
    --px: 0em;
    --py: 0em;
}

/* A serra fica no céu do hero (não no stage) para descer por baixo da onda: a máscara
   do .lp-hero corta a base dela, como no protótipo. */
.lp-hero-mountains {
    position: absolute;
    right: -2%;
    bottom: -14px;
    z-index: 0;
    width: clamp(680px, 62vw, 1200px);
    height: auto;
    opacity: 0.9;
    /* Escurecida para o contraste do protótipo: no original a serra é bem mais discreta. */
    filter: brightness(0.62) contrast(1.04) saturate(0.95);
    transform: rotate(1.2deg);
    transform-origin: 100% 100%;
}

.lp-stage-orbits {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.lp-orbit {
    fill: none;
    stroke-width: 1;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

.lp-orbit--thin {
    stroke-width: 0.8;
    opacity: 0.55;
}

.lp-layer {
    position: absolute;
    translate: calc(var(--px) * var(--depth, 0)) calc(var(--py) * var(--depth, 0));
}

.lp-layer--back { left: 9.8%; top: 7.5%; z-index: 2; width: 45em; height: 40em; }
.lp-layer--player { left: 1.7%; top: 17.5%; z-index: 3; width: 46em; }
.lp-layer--python { left: 36.9%; top: 36.4%; z-index: 4; width: 26em; }
.lp-layer--web { left: 36.7%; top: 54.3%; z-index: 4; width: 26.2em; }
.lp-layer--progress { left: 67%; top: 30.7%; z-index: 3; width: 16em; }
.lp-layer--highlight { left: 33.1%; top: 15%; z-index: 5; width: 31em; }
.lp-layer--cap { left: 69.6%; top: 6.3%; z-index: 6; width: 10.8em; }

.lp-window {
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 1.4em;
    background: linear-gradient(180deg, rgba(28, 38, 54, 0.97) 0%, rgba(12, 19, 31, 0.98) 100%);
    box-shadow: 0 3em 6em rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.lp-window--back {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(30, 42, 60, 0.55) 0%, rgba(10, 17, 28, 0.25) 100%);
    opacity: 0.75;
    transform: perspective(160em) rotateY(-16deg) rotateZ(-5deg);
}

.lp-player {
    overflow: hidden;
    color: #DCE4EC;
    transform: perspective(160em) rotateY(-12deg) rotateZ(3deg);
    transform-origin: 0 50%;
}

.lp-player-bar {
    display: flex;
    align-items: center;
    gap: 0.7em;
    height: 3.4em;
    padding: 0 1.6em;
}

.lp-dot {
    width: 1.1em;
    height: 1.1em;
    border-radius: 50%;
}

.lp-dot--red { background: #E5675F; }
.lp-dot--yellow { background: #E7B84B; }
.lp-dot--green { background: #59C46A; }

.lp-player-tab {
    display: flex;
    align-items: center;
    gap: 1em;
    height: 3.1em;
    padding: 0 1.6em;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.035);
}

.lp-player-tab .svg-icon {
    width: 1.5em;
    height: 1.5em;
    color: rgba(255, 255, 255, 0.7);
}

.lp-player-tab span {
    font-size: 1.25em;
}

.lp-player-code {
    display: grid;
    grid-template-columns: 3.6em minmax(0, 1fr);
    padding: 1em 0 1.3em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.lp-gutter {
    color: #4A5668;
    font-family: var(--lp-font-mono);
    font-size: 1.05em;
    line-height: 1.524;
    text-align: center;
}

.lp-gutter .is-active {
    margin: 0 0.45em;
    border-radius: 0.2em;
    background: rgba(255, 255, 255, 0.08);
    color: #C8D0DA;
}

.lp-player-code pre {
    margin: 0;
    padding-left: 1em;
    overflow: hidden;
    font-family: var(--lp-font-mono);
    font-size: 1.2em;
    line-height: 1.3333;
    white-space: pre;
}

.tk-kw { color: #A78BFA; }
.tk-ns { color: #6CB6FF; }
.tk-type { color: #7BD88F; }
.tk-member { color: #E28BD9; }
.tk-str { color: #F0A860; }

.lp-player-footer {
    display: flex;
    align-items: center;
    gap: 1.4em;
    padding: 1.6em 2em 1.9em;
}

.lp-player-play {
    display: grid;
    place-items: center;
    width: 3.8em;
    height: 3.8em;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #EBC77F, #CFA45C);
    color: var(--lp-navy-800);
    box-shadow: 0 0 2em rgba(224, 185, 108, 0.45);
}

.lp-player-play .svg-icon {
    width: 2.4em;
    height: 2.4em;
}

.lp-player-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1.2em;
    min-width: 0;
}

.lp-player-title {
    color: #E6EBF0;
    font-size: 1.25em;
    white-space: nowrap;
}

.lp-player-track {
    height: 0.35em;
    overflow: hidden;
    border-radius: 1em;
    background: rgba(255, 255, 255, 0.14);
}

.lp-player-track span {
    display: block;
    width: 36%;
    height: 100%;
    background: linear-gradient(90deg, #D9AE62, var(--lp-gold-300));
}

.lp-player-time {
    align-self: flex-end;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05em;
    white-space: nowrap;
}

.lp-player-ctrl {
    align-self: flex-end;
    width: 1.8em;
    height: 1.8em;
    color: rgba(255, 255, 255, 0.75);
}

.lp-course {
    display: flex;
    align-items: center;
    gap: 1.4em;
    border-radius: 1.2em;
    padding: 1.4em 1.6em;
}

.lp-course-tile {
    display: block;
    width: 5.8em;
    height: 5.8em;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 1.3em;
    box-shadow: 0 0.6em 1.4em rgba(0, 0, 0, 0.28);
}

.lp-course-tile > .svg-icon {
    width: 100%;
    height: 100%;
    vertical-align: top;
}

.lp-course-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.45em;
    min-width: 0;
}

.lp-course-title {
    font-size: 1.55em;
    font-weight: 700;
    line-height: 1.2;
}

.lp-course-status {
    font-size: 1.3em;
}

.lp-course-progress {
    display: flex;
    align-items: center;
    gap: 1.2em;
    margin-top: 0.35em;
}

.lp-course-bar {
    flex: 1;
    height: 0.75em;
    overflow: hidden;
    border-radius: 1em;
    background: #E4DFD4;
}

.lp-course-bar span {
    display: block;
    width: 60%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #D6AA5E, var(--lp-gold-300));
}

.lp-course-progress strong {
    font-size: 1.35em;
}

.lp-course-chevron {
    width: 2.6em;
    height: 2.6em;
}

.lp-course--light {
    min-height: 11em;
    background: linear-gradient(180deg, #FFFDF8 0%, #F1EADB 100%);
    color: var(--lp-navy-800);
    box-shadow: 0 0 0 1px rgba(224, 185, 108, 0.6), 0 0 3.6em rgba(224, 185, 108, 0.55), 0 2em 4em rgba(0, 0, 0, 0.35);
    transform: perspective(160em) rotateY(-10deg) rotateZ(-3deg);
}

.lp-course--light .lp-course-status {
    color: #6B7280;
}

.lp-course--light .lp-course-chevron {
    color: #3B4250;
}

.lp-course--dark {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(36, 46, 62, 0.96) 0%, rgba(20, 28, 42, 0.97) 100%);
    color: #EEF1F4;
    box-shadow: 0 2em 4em rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: perspective(160em) rotateY(-8deg);
}

.lp-layer--python .lp-course { min-height: 9.2em; }
.lp-layer--web .lp-course { min-height: 9.8em; }

.lp-course--dark .lp-course-tile {
    width: 4.8em;
    height: 4.8em;
    border-radius: 1em;
}

.lp-course--dark .lp-course-title {
    font-size: 1.3em;
    font-weight: 500;
}

.lp-course--dark .lp-course-status {
    color: rgba(255, 255, 255, 0.62);
    font-size: 1.15em;
}

.lp-course--dark .lp-course-chevron {
    width: 2.2em;
    height: 2.2em;
    color: rgba(255, 255, 255, 0.75);
}

.lp-course-tile--csharp {
    display: grid;
    place-items: center;
    background: linear-gradient(160deg, #26306A 0%, #151B45 100%);
}

.lp-course-tile--csharp > .svg-icon {
    width: 70%;
    height: 70%;
}

.lp-layer--web .lp-course-title {
    white-space: nowrap;
}

.lp-course-tile--globe {
    display: grid;
    place-items: center;
    background: #1B2536;
    color: #4F8EF7;
}

.lp-course-tile--globe > .svg-icon {
    width: 64%;
    height: 64%;
}

.lp-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 22.5em;
    padding: 2em 1em 2.2em;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.2em;
    background: linear-gradient(180deg, rgba(32, 42, 58, 0.92) 0%, rgba(17, 25, 38, 0.94) 100%);
    color: #E9EDF2;
    text-align: center;
    box-shadow: 0 2em 4em rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: perspective(160em) rotateY(-6deg);
}

.lp-progress-title {
    font-size: 1.35em;
}

.lp-progress-ring {
    position: relative;
    width: 9.6em;
    height: 9.6em;
}

.lp-progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.lp-progress-ring circle {
    fill: none;
    stroke-width: 9;
}

.lp-progress-ring-track {
    stroke: rgba(255, 255, 255, 0.1);
}

.lp-progress-ring-value {
    stroke: var(--lp-gold-400);
    stroke-linecap: round;
    stroke-dasharray: 60 100;
}

.lp-progress-ring > span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 2.5em;
    font-weight: 600;
}

.lp-progress-caption {
    font-size: 1.2em;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.82);
}

.lp-cap {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 1.2em 1.6em rgba(0, 0, 0, 0.55)) drop-shadow(0.4em -0.2em 1.2em rgba(224, 185, 108, 0.25));
    transform: rotate(6deg);
}

.lp-note {
    position: absolute;
    z-index: 6;
    color: rgba(255, 255, 255, 0.62);
    font-family: var(--lp-font-mono);
    line-height: 1.5;
    white-space: nowrap;
    pointer-events: none;
}

.lp-note--brace { left: 1.8%; top: 5.4%; color: var(--lp-gold-400); font-size: 2.6em; letter-spacing: 0.05em; }
.lp-note--possibilidades { left: 9.2%; top: 3.9%; font-size: 1.4em; transform: rotate(-11deg); transform-origin: 0 100%; }
.lp-note--glyph { left: 88.9%; top: 39.3%; color: var(--lp-gold-400); font-size: 2.3em; }
.lp-note--ideias { left: 88.7%; top: 45.5%; font-size: 1.1em; color: rgba(255, 255, 255, 0.55); transform: rotate(-12deg); transform-origin: 0 100%; }
.lp-note--aprender { left: 60.5%; top: 71.5%; color: #D9B06A; font-size: 1.5em; line-height: 1.45; transform: rotate(-14deg); transform-origin: 0 100%; }

.lp-note-arrow {
    position: absolute;
    z-index: 6;
    overflow: visible;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.lp-note-arrow--possibilidades { left: 26.6%; top: 5.4%; width: 9em; height: 5em; stroke: rgba(255, 255, 255, 0.55); }
.lp-note-arrow--aprender { left: 69.5%; top: 70%; width: 6em; height: 8.5em; stroke: #D9B06A; }

/* ---------- 8. Seção "Tudo o que você precisa" ---------- */
.lp-features {
    position: relative;
    padding: 28px 0 64px;
}

.lp-features-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    /* stretch: os três cards têm sempre a mesma altura, independente do tamanho do texto. */
    align-items: stretch;
}

.lp-features-head {
    align-self: center;
}

.lp-features-head h2 {
    margin-bottom: 12px;
    font-size: 30px;
    line-height: 36px;
}

.lp-features-head p {
    max-width: 380px;
    color: var(--lp-muted);
    font-size: 16px;
    line-height: 24px;
}

.lp-feature-card {
    display: flex;
    flex-direction: column;
    min-height: 217px;
    padding: 22px 22px 22px;
    border-radius: 10px;
    background: var(--lp-card);
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(3, 14, 28, 0.04);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mesmo hover dos cards de "O que você pode aprender". O !important no transform é
   necessário porque o GSAP deixa um transform inline nos elementos que ele anima. */
.lp-feature-card:hover,
.lp-step:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--lp-shadow-card-hover);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-feature-card .lp-feature-icon {
    margin-bottom: 12px;
}

.lp-feature-card h3 {
    margin-bottom: 6px;
    font-size: 21px;
    line-height: 1.2;
}

.lp-feature-card p {
    flex-grow: 1;
    margin-bottom: 14px;
    color: var(--lp-muted);
    font-size: 13.5px;
    line-height: 19px;
}

/* ---------- 9. Seções intermediárias ---------- */
.lp-section {
    padding: clamp(4rem, 7vw, 6rem) 0;
    background: var(--lp-paper);
}

.lp-section--white {
    background: #fff;
}

.lp-section--creme {
    background: linear-gradient(180deg, #FBF9F5 0%, #F5F1E9 100%);
}

.lp-section--last {
    padding-bottom: calc(clamp(4rem, 7vw, 6rem) + var(--lp-wave-h));
}

.lp-section-head {
    max-width: 660px;
    margin-bottom: 3rem;
}

.lp-section-head--center {
    margin-inline: auto;
    text-align: center;
}

.lp-section-head--center .lp-rule {
    margin-inline: auto;
}

.lp-section-head h2,
.lp .lp-h2 {
    margin-bottom: 0.85rem;
    font-size: clamp(1.75rem, 2.6vw, 2.35rem);
    line-height: 1.15;
}

.lp-section-head p {
    color: var(--lp-muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.lp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.lp-topic-card,
.lp-track-card,
.lp-step {
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    background: var(--lp-card);
    box-shadow: var(--lp-shadow-card);
}

.lp-topic-card {
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(3, 14, 28, 0.04); /* Sombra padrão leve (ajuste conforme seu design) */
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-topic-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--lp-shadow-card-hover);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1)
}

.lp-topic-icons {
    display: flex;
    margin-bottom: 1.1rem;
}

.lp-topic-icons .svg-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    box-shadow: 0 0 0 3px #fff;
}

.lp-topic-icons .svg-icon + .svg-icon {
    margin-left: -8px;
}

.lp-topic-card h3 {
    margin-bottom: 0.45rem;
    font-size: 1.22rem;
}

.lp-topic-card p {
    flex-grow: 1;
    margin-bottom: 1rem;
    color: var(--lp-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.lp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
}

.lp-tags li {
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: var(--lp-paper);
    color: var(--lp-navy-800);
    font-size: 0.74rem;
    font-weight: 600;
}

.lp-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.lp-step {
    position: relative;
    padding: 1.6rem;
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(3, 14, 28, 0.04);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-step-number {
    position: absolute;
    top: 1.1rem;
    right: 1.4rem;
    color: rgba(198, 161, 91, 0.35);
    font-family: var(--lp-font-text);
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1;
}

.lp-step-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: linear-gradient(180deg, #E6C27A 0%, #D6AC5F 100%);
    color: var(--lp-navy-800);
}

.lp-step-icon .svg-icon {
    width: 28px;
    height: 28px;
}

.lp-step h3 {
    margin-bottom: 0.45rem;
    font-size: 1.15rem;
}

.lp-step p {
    color: var(--lp-muted);
    font-size: 0.93rem;
    line-height: 1.55;
}

/* ---------- Trilhas ---------- */
.lp-gold-ink {
    background: linear-gradient(90deg, #C9A257 0%, #A87F35 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: #A87F35;
    -webkit-text-fill-color: transparent;
}

@media (forced-colors: active) {
    .lp-gold-ink {
        background: none;
        color: CanvasText;
        -webkit-text-fill-color: CanvasText;
    }
}

.lp-trilhas {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
    align-items: stretch;
}

.lp-trilha {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 49%);
    align-items: center;
    gap: 0.4rem;
    min-height: 232px;
    padding: 1.85rem 1.9rem;
    overflow: hidden;
    border: 1px solid rgba(198, 161, 91, 0.16);
    border-radius: 14px;
    background: linear-gradient(135deg, #FDFBF7 0%, #F6F2EA 55%, #F1ECE2 100%);
    transform: translateY(0);
    box-shadow: 0 6px 22px rgba(13, 27, 42, 0.05);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Brilho quente atrás da ilustração, como no protótipo. */
.lp-trilha::after {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -30%;
    width: 55%;
    height: 110%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 172, 96, 0.16), transparent 68%);
    pointer-events: none;
}

.lp-trilha:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--lp-shadow-card-hover);
}

.lp-trilha-texto {
    position: relative;
    z-index: 1;
}

.lp-trilha h3 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.3rem, 1.9vw, 1.65rem);
    line-height: 1.15;
}

.lp-trilha p {
    max-width: 26ch;
    margin-bottom: 1.35rem;
    color: var(--lp-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.lp-trilha .lp-btn {
    border-radius: 8px;
}

/* A ilustração sangra até as bordas do card, como na referência. */
.lp-trilha-img {
    position: relative;
    z-index: 1;
    align-self: end;
    justify-self: end;
    width: calc(100% + 3.2rem);
    max-width: none;
    margin: 0 -1.9rem -1.85rem 0;
    pointer-events: none;
}

.lp-about {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.lp-lead-dark {
    margin-bottom: 1.5rem;
    color: var(--lp-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.lp-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
    color: var(--lp-navy-800);
}

.lp-checklist .svg-icon {
    width: 21px;
    height: 21px;
    margin-top: 1px;
    color: var(--lp-gold-600);
}

.lp-quote {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 300px;
    padding: clamp(1.75rem, 3vw, 2.75rem);
    overflow: hidden;
    border-radius: 14px;
    background:
        radial-gradient(ellipse 60% 55% at 90% 0%, rgba(224, 185, 108, 0.28), transparent 70%),
        linear-gradient(160deg, var(--lp-navy-800) 0%, #050E1A 100%);
    color: #fff;
    box-shadow: 0 30px 60px rgba(13, 27, 42, 0.22);
}

.lp-quote img {
    position: absolute;
    top: clamp(1.75rem, 3vw, 2.75rem);
    left: clamp(1.75rem, 3vw, 2.75rem);
    width: auto;
    height: 52px;
}

.lp-quote blockquote {
    margin-bottom: 1rem;
    font-family: var(--lp-font-display);
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 500;
    line-height: 1.3;
}

.lp-quote figcaption {
    color: var(--lp-gold-400);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.lp-community {
    margin-top: clamp(4rem, 7vw, 6rem);
}

.lp-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.75rem, 4vw, 3rem);
    border-radius: 14px;
    background:
        radial-gradient(ellipse 50% 90% at 100% 0%, rgba(224, 185, 108, 0.3), transparent 70%),
        linear-gradient(135deg, var(--lp-navy-800) 0%, #050E1A 100%);
    color: #fff;
    box-shadow: 0 30px 60px rgba(13, 27, 42, 0.22);
}

.lp .lp-cta h2 {
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.lp-cta p {
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- Formulário de contato ---------- */
.lp-contato {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    background: var(--lp-card);
    box-shadow: var(--lp-shadow-card);
}

.lp-form-linha {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.lp-campo {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.lp-campo label {
    color: var(--lp-navy-800);
    font-size: 0.88rem;
    font-weight: 600;
}

.lp-campo input,
.lp-campo textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid #DFD9CD;
    border-radius: 8px;
    background: #FCFBF9;
    color: var(--lp-navy-800);
    font-family: var(--lp-font-text);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-campo textarea {
    resize: vertical;
    min-height: 92px;
}

.lp-campo input::placeholder,
.lp-campo textarea::placeholder {
    color: #9AA1AC;
}

.lp-campo input:focus,
.lp-campo textarea:focus {
    outline: none;
    border-color: var(--lp-gold-400);
    box-shadow: 0 0 0 3px rgba(224, 185, 108, 0.18);
}

.lp-form-acoes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.lp-form-acoes span {
    color: var(--lp-muted);
    font-size: 0.85rem;
}

/* Honeypot: fora da tela, invisível para gente e para leitores de tela. */
.lp-form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lp-form-aviso {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.lp-form-aviso .svg-icon {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.lp-form-aviso--sucesso {
    background: rgba(47, 125, 91, 0.1);
    color: #1F6146;
}

.lp-form-aviso--erro {
    background: rgba(190, 70, 60, 0.1);
    color: #9C3A32;
}

@media (min-width: 640px) {
    .lp-form-linha {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- 10. Footer ---------- */
.lp-footer {
    position: relative;
    z-index: 1;
    margin-top: calc(-1 * var(--lp-wave-h));
    padding: 92px 0 28px;
    overflow: hidden;
    color: var(--lp-on-dark-muted);
    background:
        radial-gradient(ellipse 48% 55% at 10% 0%, rgba(58, 98, 152, 0.2), transparent 72%),
        radial-gradient(ellipse 40% 60% at 94% 100%, rgba(198, 161, 91, 0.1), transparent 74%),
        linear-gradient(180deg, #081524 0%, var(--lp-navy-850) 100%);
    -webkit-mask:
        var(--lp-wave-footer) top / 100% var(--lp-wave-h) no-repeat,
        linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--lp-wave-h) + 1px) no-repeat;
    mask:
        var(--lp-wave-footer) top / 100% var(--lp-wave-h) no-repeat,
        linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--lp-wave-h) + 1px) no-repeat;
}

/* Malha fina de fundo: leitura de produto/tecnologia, sem o brilho de holofote. */
.lp-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 0%, #000 25%, transparent 78%);
    mask-image: radial-gradient(ellipse 75% 85% at 50% 0%, #000 25%, transparent 78%);
    pointer-events: none;
}

.lp-footer-sky {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.lp-footer-sky::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 42%;
    height: 48%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.3px);
    background-size: 14px 14px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 100% 0%, #000, transparent 70%);
    mask-image: radial-gradient(ellipse 80% 80% at 100% 0%, #000, transparent 70%);
}

.lp-footer-constellation {
    position: absolute;
    top: 22%;
    right: 0;
    width: auto;
    height: 72%;
    overflow: visible;
}

.lp-footer-constellation path {
    fill: none;
    stroke: rgba(224, 185, 108, 0.4);
    stroke-width: 1;
}

.lp-footer-constellation circle {
    fill: #F2D08A;
    filter: drop-shadow(0 0 6px rgba(242, 208, 138, 0.8));
}

.lp-footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
}

.lp-footer-brand {
    padding-top: 14px;
}

.lp-brand--footer img {
    height: 42px;
}

.lp-brand--footer .lp-brand-name {
    font-size: 24px;
}

.lp-footer-brand p {
    max-width: 300px;
    margin: 26px 0 24px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 15px;
    line-height: 23px;
}

.lp-social {
    display: flex;
    gap: 18px;
}

.lp-social a,
.lp-social span {
    display: inline-flex;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s ease;
}

.lp-social a:hover {
    color: var(--lp-gold-300);
}

.lp-social .svg-icon {
    width: 19px;
    height: 19px;
}

.lp-footer-card {
    position: relative;
    padding: 28px 25px 30px;
    overflow: hidden;
}

.lp .lp-footer-heading {
    position: relative;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--lp-font-text);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1.2;
    text-transform: uppercase;
}

.lp-footer-card ul {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.lp-footer-card a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 22px;
    transition: color 0.2s ease;
}

.lp-footer-card a:hover {
    color: var(--lp-gold-300);
}

.lp-footer-email {
    display: inline-block;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.lp-footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-top: 56px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.52);
    font-size: 13.5px;
}

.lp-footer-bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 28px;
}

.lp-footer-bottom a {
    color: rgba(255, 255, 255, 0.85);
}

.lp-footer-bottom a:hover {
    color: var(--lp-gold-300);
}

/* ---------- 11. Páginas institucionais ---------- */
.lp-page-hero {
    position: relative;
    padding: calc(var(--lp-header-h) + 64px) 0 96px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse 40% 60% at 90% 100%, rgba(214, 168, 88, 0.3), transparent 72%),
        linear-gradient(180deg, #020C19 0%, #081A2C 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) top / 100% calc(100% - var(--lp-wave-h) + 1px) no-repeat,
        var(--lp-wave-hero) bottom / 100% var(--lp-wave-h) no-repeat;
    mask:
        linear-gradient(#000 0 0) top / 100% calc(100% - var(--lp-wave-h) + 1px) no-repeat,
        var(--lp-wave-hero) bottom / 100% var(--lp-wave-h) no-repeat;
}

.lp .lp-page-hero h1 {
    max-width: 820px;
    color: #F6F4EF;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.lp-page-hero p {
    max-width: 640px;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.6;
}

.lp-doc {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    padding: 3.5rem 0 calc(5rem + var(--lp-wave-h));
}

.lp-doc-nav {
    align-self: start;
}

.lp-doc-nav p {
    margin-bottom: 0.75rem;
    color: var(--lp-muted);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.lp-doc-nav ol {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding-left: 1.1rem;
    list-style: decimal;
    color: var(--lp-muted);
    font-size: 0.92rem;
}

.lp-doc-nav a:hover {
    color: var(--lp-gold-700);
}

.lp-doc-body {
    max-width: 780px;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--lp-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--lp-shadow-card);
    color: #2A3441;
    font-size: 1.02rem;
    line-height: 1.75;
}

.lp-doc-body h2 {
    margin: 2.25rem 0 0.75rem;
    font-size: 1.45rem;
    line-height: 1.25;
}

.lp-doc-body h2:first-child {
    margin-top: 0;
}

.lp-doc-body h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.12rem;
}

.lp-doc-body p,
.lp-doc-body ul {
    margin-bottom: 1rem;
}

.lp-doc-body ul {
    padding-left: 1.2rem;
    list-style: disc;
}

.lp-doc-body li + li {
    margin-top: 0.35rem;
}

.lp-doc-body a {
    color: var(--lp-gold-700);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lp-doc-meta {
    margin-bottom: 2rem;
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--lp-gold-400);
    border-radius: 0 8px 8px 0;
    background: var(--lp-paper);
    color: var(--lp-muted);
    font-size: 0.92rem;
}

.lp-faq {
    border-top: 1px solid var(--lp-line);
}

.lp-faq details {
    border-bottom: 1px solid var(--lp-line);
}

.lp-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
    color: var(--lp-navy-800);
    font-family: var(--lp-font-display);
    font-size: 1.12rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.lp-faq summary::-webkit-details-marker {
    display: none;
}

.lp-faq summary .svg-icon {
    width: 22px;
    height: 22px;
    color: var(--lp-gold-600);
    transition: transform 0.2s ease;
}

.lp-faq details[open] summary .svg-icon {
    transform: rotate(90deg);
}

.lp-faq details > div {
    padding: 0 0 1.2rem;
}

/* ---------- 12. Motion ---------- */
@keyframes lp-fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes lp-draw {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
}

@keyframes lp-twinkle {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; }
}

@keyframes lp-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.75; }
}

/* fill "backwards" (e não "both"): o elemento fica escondido antes de começar, mas ao
   terminar devolve o controle ao CSS. Com "both" a animação continua preenchendo o
   transform para sempre e suprime a transição do hover -- o card subia sem suavidade. */
.lp-anim {
    animation: lp-fade-up 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
    animation-delay: calc(var(--i, 0) * 80ms);
}

.lp-orbit {
    animation: lp-draw 2.2s 0.5s cubic-bezier(0.6, 0, 0.3, 1) both;
}

.lp-star--glow {
    animation: lp-twinkle 3.6s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}

.lp-node {
    animation: lp-pulse 3.2s ease-in-out infinite;
}

.lp-reveal {
    opacity: 0;
    transform: translateY(24px);
    visibility: hidden;
}

.lp-reveal.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* ?freeze=1: estado final estático para captura de tela determinística (QA visual). */
.lp-frozen *,
.lp-frozen *::before,
.lp-frozen *::after {
    animation: none !important;
    transition: none !important;
}

.lp-frozen .lp-reveal {
    opacity: 1;
    transform: none;
    visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .lp-anim,
    .lp-orbit,
    .lp-star--glow,
    .lp-node {
        animation: none;
    }
}

/* ---------- 13. Responsivo ---------- */
@media (min-width: 640px) {
    .lp-grid--3,
    .lp-grid--2,
    .lp-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-features-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lp-features-head {
        grid-column: 1 / -1;
        margin-bottom: 1.5rem;
    }

    .lp-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-footer-brand,
    .lp-footer-card--contact {
        grid-column: 1 / -1;
    }
}

@media (min-width: 900px) {
    .lp-trilhas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 559.98px) {
    .lp-trilha {
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
        text-align: left;
    }

    .lp-trilha-img {
        justify-self: center;
        width: min(100%, 260px);
        margin: 0.5rem 0 -1.9rem;
    }
}

@media (min-width: 992px) {
    .lp-nav,
    .lp-header-actions {
        display: flex;
    }

    .lp-menu-toggle {
        display: none;
    }

    .lp-hero-grid {
        grid-template-columns: minmax(0, 36rem) minmax(0, 1fr);
        column-gap: clamp(1.5rem, 2.4vw, 2.5rem);
    }

    .lp-hero-visual {
        margin-top: 0;
        margin-right: calc(-1 * var(--lp-gutter));
        aspect-ratio: auto;
    }

    .lp-stage {
        top: -36px;
    }

    .lp-hero-tagline,
    .lp-scroll-hint {
        display: flex;
    }

    .lp-hero-tagline {
        display: block;
    }

    .lp-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lp-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lp-about {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 4rem;
    }

    .lp-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lp-footer-brand {
        grid-column: 1 / -1;
    }

    .lp-footer-card--contact {
        grid-column: auto;
    }

    .lp-doc {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 3.5rem;
    }

    .lp-doc-nav {
        position: sticky;
        top: calc(var(--lp-header-h) + 1.5rem);
    }
}

@media (min-width: 992px) and (max-width: 1279.98px) {
    .lp-nav {
        margin-left: clamp(1.25rem, 4vw, 3rem);
        gap: clamp(1rem, 2vw, 1.75rem);
        font-size: 14px;
    }
}

@media (min-width: 1200px) {
    .lp-features-grid {
        grid-template-columns: minmax(0, 1.9fr) repeat(3, minmax(0, 1fr));
    }

    .lp-features-head {
        grid-column: auto;
        margin-bottom: 0;
    }

    .lp-footer-grid {
        grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.28fr);
    }

    .lp-footer-brand {
        grid-column: auto;
        padding-right: 16px;
    }

    .lp-footer-card {
        min-height: 282px;
    }
}

@media (max-width: 991.98px) {
    .lp-hero {
        padding-top: calc(var(--lp-header-h) + 32px);
        padding-bottom: 72px;
    }

    .lp-hero-visual {
        max-width: 760px;
    }
}

/* Celular: composição simplificada. O stage fica ampliado (1em = 1/62 da coluna) e só a
   parte esquerda (player + cards) aparece; o resto é recortado e oculto. */
@media (max-width: 767.98px) {
    :root {
        --lp-wave-h: 20px;
    }

    .lp-hero-visual {
        aspect-ratio: 62 / 50;
    }

    .lp-stage {
        font-size: calc(100cqi / 62);
        height: 50em;
    }

    .lp-layer--back,
    .lp-layer--progress,
    .lp-layer--cap,
    .lp-note,
    .lp-note-arrow,
    .lp-stage-orbits,
    .lp-stage .lp-node {
        display: none;
    }

    .lp-hero-ctas .lp-btn {
        flex: 1 1 100%;
    }

    .lp-footer-card {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}


.lp-hero-sky,
.lp-footer-sky {
    display: none !important;
}

/* ===== Toasts (Toastify) — canto inferior direito ===== */
.toastify.mb-toast {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 380px;
    padding: 0.85rem 2.4rem 0.85rem 1rem;
    border-radius: 10px;
    background: #12233A;
    box-shadow: 0 12px 32px rgba(13, 27, 42, 0.28);
    color: #fff;
    font-family: "Lora", Georgia, serif;
    font-size: 0.92rem;
    line-height: 1.45;
}

.mb-toast .mb-toast-icone {
    display: inline-flex;
    flex-shrink: 0;
}

.toastify.mb-toast--sucesso { background: #1F6146; }
.toastify.mb-toast--erro { background: #8E3229; }
.toastify.mb-toast--aviso { background: #8A6A2E; }

.mb-toast-conteudo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.toastify.mb-toast .toast-close {
    position: absolute;
    top: 0.35rem;
    right: 0.5rem;
    padding: 0.2rem;
    opacity: 0.75;
    color: #fff;
    font-size: 1.15rem;
    background: transparent;
}

.toastify.mb-toast .toast-close:hover {
    opacity: 1;
}
