/* =========================================================
   CORSO.CSS (versione semplificata)
   Solo hero + sezioni di testo/immagini in sequenza.
   Variabili, font, .rituale-button, .corso-list/.corso-item,
   .corso-fade ecc. arrivano da style.css, già linkato.
   ========================================================= */


/* =========================================================
   BADGE FLOTTANTE "SCRIVIMI PER / INFO E ISCRIZIONI"
   ========================================================= */

.cp-float-cta {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 20;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;

    padding: 12px 20px;

    border-radius: 40px;

    background: rgba(5, 4, 3, 0.6);
    backdrop-filter: blur(8px);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);

    text-decoration: none;

    transition:
        box-shadow 0.5s ease,
        background 0.5s ease,
        transform 0.4s ease;
}

.cp-float-cta:hover {
    background: rgba(5, 4, 3, 0.8);
    box-shadow: 0 10px 40px rgba(228, 205, 143, 0.15);
    transform: translateY(-2px);
}

.cp-float-cta-small {
    font-family: 'Allrounder Monument', sans-serif;
    font-size: 8px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(228, 205, 143, 0.55);
}

.cp-float-cta-big {
    font-family: 'Allrounder Monument', sans-serif;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}


/* =========================================================
   HERO
   ========================================================= */

.cp-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    isolation: isolate;

    padding: 120px 24px 90px;

    text-align: center;
}

.cp-hero::before {
    content: '';

    position: absolute;
    top: -15%;
    left: 0;

    width: 100%;
    height: 130%;

    z-index: -1;

    pointer-events: none;
    will-change: transform;

    background-image:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.55) 45%,
            rgba(0, 0, 0, 0.75) 80%,
            rgba(0, 0, 0, 0.92) 100%
        ),
        var(--bg);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: translate3d(0, var(--parallax-y, 0px), 0);
}

.cp-hero-inner {
    width: min(720px, 100%);
}

.cp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 22px;

    font-family: 'Allrounder Monument', sans-serif;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;

    color: rgba(228, 205, 143, 0.55);
}

.cp-hero-title {
    margin: 0 0 20px;

    font-family: 'IM Fell English-italic', serif;
    font-size: clamp(38px, 6vw, 68px);
    font-weight: normal;
    line-height: 1.05;

    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.02em;

    text-shadow: 0 0 40px rgba(228, 205, 143, 0.2);
}

.cp-hero-tagline {
    margin: 0 0 30px;

    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 2.2vw, 24px);

    color: rgba(228, 205, 143, 0.8);
}

.cp-hero-hook {
    max-width: 560px;
    margin: 0 auto 40px;

    font-family: 'IM Fell English-Italic', serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.85);
}

.cp-hero .rituale-button {
    margin: 0 auto;
}


/* =========================================================
   SEZIONI DI TESTO
   ========================================================= */

.cp-section {
    position: relative;
    width: 100%;

    padding: 100px 24px;

    display: flex;
    justify-content: center;

    background: rgba(0, 0, 0, 0.45);
}

.cp-section-inner > .corso-fade {
    margin-bottom: 64px;
}

.cp-section-inner > .corso-fade:last-child {
    margin-bottom: 0;
}

.corso-fade.is-visible {
    opacity: 1;
    transform: scale(1);
}

.cp-section-inner {
    width: min(680px, 100%);
    text-align: center;
}

.cp-section-title {
    margin: 0 0 20px;

    font-family: 'IM Fell English-italic';
    font-size: clamp(20px, 3.2vw, 30px);
    font-weight: normal;

    color: var(--gold);

    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}

.cp-section-text {
    max-width: 600px;
    margin: 0 auto;

    font-family: 'IM Fell English', serif;
    font-size: 17px;
    line-height: 1.85;

    color: rgba(255, 255, 255, 0.85);

    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
}

.cp-section-text + .cp-section-text {
    margin-top: 20px;
}


/* =========================================================
   LISTA "NEL PORTALE TROVERAI"
   Riusa .corso-list/.corso-item già definite in style.css,
   qui solo un piccolo margine per allinearla al resto.
   ========================================================= */

.cp-list-wrap {
    margin-top: 30px;
    text-align: left;
}


/* =========================================================
   IMMAGINI INLINE
   ========================================================= */

.cp-image-section {
    position: relative;
    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    background: #050403;
}

.cp-image-section picture {
    display: flex;
    width: 100%;
    height: 100%;
}

.cp-image-full {
    display: block;
    width: 100%;
    height: 100vh;

    object-fit: cover;
    object-position: center;
}


/* =========================================================
   PREZZO
   Due riquadri affiancati (standard / follower), numeri
   grandi, quello con lo sconto evidenziato per farlo
   risaltare come opzione consigliata.
   ========================================================= */

.cp-price-tiers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 24px;

    margin-top: 36px;
}

.cp-price-tile {
    flex: 1 1 220px;
    max-width: 280px;

    padding: 32px 24px;
    border-radius: 16px;

    background: rgba(228, 205, 143, 0.04);

    display: flex;
    flex-direction: column;
    align-items: center;
}

.cp-price-tile--highlight {
    background:
        radial-gradient(
            circle at top,
            rgba(228, 205, 143, 0.14),
            rgba(228, 205, 143, 0.04) 70%
        );

    box-shadow: 0 25px 70px rgba(228, 205, 143, 0.12);

    transform: scale(1.06);
}

.cp-price-tag {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 16px;

    border-radius: 20px;
    background: rgba(228, 205, 143, 0.1);

    font-family: 'Allrounder Monument', sans-serif;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: var(--gold-dim);
}

.cp-price-tag--highlight {
    background: var(--gold);
    color: #100c07;
    font-weight: bold;
}

.cp-price-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    line-height: 1;

    color: var(--gold);

    text-shadow: 0 0 30px rgba(228, 205, 143, 0.2);
}

.cp-price-amount--highlight {
    font-size: 80px;
    text-shadow: 0 0 50px rgba(228, 205, 143, 0.45);
}

.cp-price-caption {
    max-width: 200px;
    margin: 14px 0 0;

    font-family: 'IM Fell English-Italic', serif;
    font-size: 13px;
    font-style: italic;
    line-height: 1.5;

    color: rgba(255, 255, 255, 0.65);
}

.cp-price-cta {
    margin-top: 40px;
    transform: scale(1.1);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .corso-fade {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 600px) {

    .cp-float-cta {
        top: 14px;
        right: 14px;
        padding: 10px 16px;
    }

    .cp-hero {
        padding: 100px 20px 70px;
        min-height: 92vh;
    }

    .cp-hero-hook {
        font-size: 16px;
    }

    .cp-section {
        padding: 60px 20px;
    }

    .cp-section-text {
        font-size: 16px;
    }

    .cp-image-section picture {
        height: auto;
    }

    .cp-image-full {
        height: auto;
        object-fit: contain;
    }

    .cp-price-tiers {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .cp-price-tile {
        max-width: 280px;
        width: 100%;
        padding: 26px 20px;
    }

    .cp-price-tile--highlight {
        transform: none;
        order: -1;
    }

    .cp-price-amount {
        font-size: 46px;
    }

    .cp-price-amount--highlight {
        font-size: 60px;
    }

    .cp-price-cta {
        transform: none;
    }
}