/* ==========================================================================
   midi. — cercle.css
   Styles et mises en page propres à la page « Le Cercle »
   ========================================================================== */

/* ---------------------------------- Hero ---------------------------------- */

.lc-hero {
    position: relative;
    height: 88vh;
    height: 88dvh;
    height: 88svh;
    min-height: 560px;
    overflow: hidden;
}

.lc-hero__media {
    position: absolute;
    inset: 0;
}

.lc-hero__media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.lc-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.lc-hero__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 15, 12, 0.78) 0%, rgba(14, 15, 12, 0.25) 40%, rgba(14, 15, 12, 0.85) 100%);
}

.lc-hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    padding-inline: var(--pad-inline);
    max-width: 42rem;
    margin-inline: auto;
    text-align: center;
    align-items: center;
}

.lc-hero__title {
    font-family: var(--f-display);
    font-weight: 300;
    font-size: var(--fs-hero);
    line-height: 1.05;
}

.lc-hero__sub {
    max-width: 30rem;
    color: var(--c-text-dim);
}

/* ---------------------------------- Manifeste ---------------------------------- */

.lc-manifeste {
    padding: var(--space-section) var(--pad-inline);
    max-width: 50rem;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

.lc-manifeste__text {
    font-family: var(--f-display);
    font-weight: 300;
    font-size: var(--fs-xl);
    line-height: 1.35;
    color: var(--c-solaire-dim);
}

.lc-manifeste__text em {
    color: var(--c-or);
    font-style: italic;
}

/* ---------------------------------- Bénéfices ---------------------------------- */

.lc-benefits {
    padding: var(--space-section) var(--pad-inline);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align: center;
}

.lc-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(14rem, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    max-width: 68rem;
    perspective: 1400px;
}

.lc-benefit {
    padding: 2.25rem 1.75rem;
    border: 1px solid var(--c-line);
    border-radius: 2px;
    transform-style: preserve-3d;
}

.lc-benefit__num {
    font-size: var(--fs-caption);
    letter-spacing: 0.14em;
    color: var(--c-or);
}

.lc-benefit__title {
    font-family: var(--f-display);
    font-weight: 300;
    font-style: italic;
    font-size: var(--fs-lg);
    margin: 0.6rem 0 0.75rem;
}

.lc-benefit__text {
    color: var(--c-text-dim);
}

@media (max-width: 780px) {
    .lc-benefits__grid {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------- L'Invitation — enveloppe 3D ---------------------------------- */

.lc-invite {
    position: relative;
}

.lc-invite__pin {
    height: 100vh;
    height: 100dvh;
    height: 100svh;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    overflow: hidden;
}

.lc-invite__eyebrow {
    text-align: center;
}

.lc-invite__stage {
    perspective: 1800px;
    perspective-origin: 50% 30%;
}

.lc-invite__envelope {
    position: relative;
    width: clamp(16rem, 36vw, 23rem);
    aspect-ratio: 3 / 2;
    transform-style: preserve-3d;
}

.lc-invite__body {
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, var(--c-ombre-soft) 55%, var(--c-ombre) 100%);
    border: 1px solid var(--c-line);
    border-radius: 2px;
    box-shadow: 0 40px 70px -35px rgba(0, 0, 0, 0.75);
}

.lc-invite__flap {
    position: absolute;
    inset: 0 0 auto 0;
    height: 62%;
    background: linear-gradient(160deg, var(--c-ombre-soft) 45%, var(--c-ombre) 100%);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    border: 1px solid var(--c-line);
    transform-origin: 50% 0%;
    transform-style: preserve-3d;
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lc-invite__seal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: var(--c-or);
    color: var(--c-ombre);
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.1rem;
    transform: translateY(-18%);
    box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.6);
    will-change: transform, opacity;
}

.lc-invite__card {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -6%;
    padding: 1.5rem 1.5rem 1.75rem;
    background: var(--c-solaire);
    color: var(--c-ombre);
    border-radius: 2px;
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.8);
    text-align: center;
    will-change: transform, opacity;
}

.lc-invite__card-eyebrow {
    font-size: var(--fs-caption);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-or);
    margin: 0 0 0.5rem;
}

.lc-invite__card-text {
    margin: 0;
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

/* ---------------------------------- Formulaire ---------------------------------- */

.lc-form {
    padding: var(--space-section) var(--pad-inline) calc(var(--space-section) * 1.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    background: var(--c-ombre-soft);
}

.lc-form__title {
    font-family: var(--f-display);
    font-weight: 300;
    font-size: var(--fs-xl);
    max-width: 34rem;
}

.lc-form__form {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: min(100%, 26rem);
}

.lc-form__input {
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--c-line);
    text-align: center;
    transition: border-color 0.3s var(--ease-out);
}

.lc-form__input:focus {
    border-color: var(--c-or);
}

.lc-form__input::placeholder {
    color: var(--c-text-dim);
}

.lc-form__submit {
    margin-top: 0.5rem;
    padding: 0.95rem 1.5rem;
    border: 1px solid var(--c-or);
    border-radius: 999px;
    font-size: var(--fs-caption);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-or);
    cursor: pointer;
    transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.lc-form__submit:hover {
    background: var(--c-or);
    color: var(--c-ombre);
}

.lc-form__legal {
    max-width: 24rem;
    color: var(--c-text-dim);
    font-size: var(--fs-caption);
    letter-spacing: 0.02em;
}

.lc-form__link {
    margin-top: 1rem;
}

@media (max-width: 680px) {
    .lc-invite__envelope {
        width: clamp(14rem, 62vw, 20rem);
    }
}