/* ==========================================================================
   Lacroix Landing Promo — front-end (design Figma « Landing Promo ISPL »)
   Styles isolés sous .llp-landing. Référence desktop : 1920 px.
   ========================================================================== */

.llp-landing {
    --llp-bordeaux: #6d1821;
    --llp-bordeaux-light: #915259;
    --llp-bordeaux-75: rgba(109, 24, 33, 0.75);
    --llp-cream: #f9f7f4;
    --llp-beige: #f2f0eb;
    --llp-beige-text: #dedad1;
    --llp-dark: #1d1d1b;
    --llp-border: rgba(29, 29, 27, 0.13);

    font-family: 'Montserrat', sans-serif;
    color: var(--llp-dark);
    background: var(--llp-cream);
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;

    /* Pleine largeur même dans un conteneur de thème (Elementor, etc.) */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Évite un défilement horizontal de ~15 px quand 100vw inclut la barre de défilement */
body:has(.llp-landing) {
    overflow-x: hidden;
}

/* Neutralise les styles du thème qui fuient dans la landing */
.llp-landing h1,
.llp-landing h2,
.llp-landing h3 {
    font-family: 'Montserrat', sans-serif;
    text-transform: none;
    letter-spacing: normal;
    border: 0;
}

.llp-landing p {
    text-transform: none;
    letter-spacing: normal;
}

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

.llp-landing img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.llp-landing p,
.llp-landing h1,
.llp-landing h2,
.llp-landing h3,
.llp-landing ul {
    margin: 0;
    padding: 0;
}

.llp-landing a {
    text-decoration: none;
    color: inherit;
}

.llp-container {
    max-width: 1248px; /* grille intérieure 1200 px + gouttières */
    margin: 0 auto;
    padding: 0 24px;
}

/* Surtitres */
.llp-surtitle {
    font-size: clamp(15px, 1.1vw, 21px);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
}

.llp-surtitle-light { color: var(--llp-beige); }
.llp-surtitle-dark { color: var(--llp-dark); }
.llp-surtitle-bordeaux { color: var(--llp-bordeaux); }
.llp-surtitle-beige { color: var(--llp-beige-text); }

/* Titres de section */
.llp-h2 {
    font-size: clamp(30px, 2.8vw, 54px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--llp-dark);
}

.llp-h2-light { color: #fff; }

/* Boutons */
.llp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: var(--llp-bordeaux);
    color: #fff;
    border: 0;
    border-radius: 50px;
    min-height: 60px;
    padding: 12px 34px;
    font-family: inherit;
    font-size: clamp(15px, 0.95vw, 18px);
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.llp-btn:hover {
    background: #581319;
}

.llp-btn-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    border-radius: 50%;
    background: #fff;
    flex: 0 0 auto;
}

.llp-btn-circle img {
    width: 25px;
    height: 26px;
}

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

.llp-hero {
    position: relative;
    background-color: var(--llp-dark);
    background-size: cover;
    background-position: center top;
}

.llp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(29, 29, 27, 0.55) 0%, rgba(29, 29, 27, 0.15) 55%, rgba(29, 29, 27, 0) 100%);
    pointer-events: none;
}

.llp-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(32px, 3vw, 48px);
    max-width: 1248px;
    margin: 0 auto;
    padding: clamp(72px, 9vw, 170px) 24px clamp(36px, 2.8vw, 56px);
}

.llp-hero-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.llp-hero-title {
    font-size: clamp(38px, 3.6vw, 68px);
    font-weight: 600;
    line-height: 1.02;
    color: var(--llp-beige);
    margin: 20px 0 clamp(28px, 2.2vw, 42px);
}

.llp-hero-text {
    font-size: clamp(18px, 1.35vw, 26px);
    font-weight: 500;
    color: var(--llp-beige);
    max-width: 828px;
    margin-bottom: clamp(28px, 2.4vw, 46px);
}

.llp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: var(--llp-beige);
    border-radius: 13px;
    padding: 17px 44px 17px 20px;
    color: var(--llp-bordeaux);
    font-size: clamp(14px, 0.95vw, 18px);
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
}

.llp-hero-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    border-radius: 50%;
    background: var(--llp-bordeaux);
    flex: 0 0 auto;
}

.llp-hero-badge-icon img {
    width: 21px;
    height: 28px;
}

/* Carte formulaire */
.llp-form-card {
    background: var(--llp-beige);
    border-radius: 35px;
    padding: clamp(28px, 2.1vw, 41px) clamp(24px, 2vw, 39px) clamp(28px, 2.2vw, 42px);
    width: min(580px, 100%);
    flex: 0 0 auto;
    scroll-margin-top: 40px;
}

.llp-form-title {
    font-size: clamp(28px, 2.3vw, 44px);
    font-weight: 600;
    line-height: 1.06;
    color: var(--llp-bordeaux);
    margin-bottom: clamp(16px, 1.6vw, 30px);
}

.llp-form-text {
    font-size: clamp(14px, 0.95vw, 18px);
    line-height: 1.36;
    color: var(--llp-bordeaux-75);
    margin-bottom: clamp(24px, 2.4vw, 46px);
}

.llp-form-row {
    margin-bottom: 11px;
}

.llp-form-row-2 {
    display: flex;
    gap: 10px;
}

.llp-form-row-2 input {
    width: 50%;
}

.llp-form input[type="text"],
.llp-form input[type="email"],
.llp-form input[type="tel"],
.llp-form select {
    width: 100%;
    height: 45px;
    border: 0.5px solid var(--llp-bordeaux-light);
    border-radius: 10px;
    background: var(--llp-cream);
    padding: 0 21px;
    font-family: inherit;
    font-size: clamp(14px, 0.9vw, 17px);
    color: var(--llp-dark);
    appearance: none;
    -webkit-appearance: none;
}

.llp-form input::placeholder {
    color: var(--llp-dark);
    opacity: 1;
}

.llp-form select:invalid {
    color: var(--llp-dark);
}

.llp-form-row-select {
    position: relative;
}

.llp-form-row-select select {
    padding-right: 44px;
    text-overflow: ellipsis;
}

.llp-form-row-select::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    width: 14px;
    height: 8px;
    transform: translateY(-50%);
    background: url('../img/icon-select-arrow.svg') no-repeat center / contain;
    pointer-events: none;
}

.llp-form input:focus,
.llp-form select:focus {
    outline: 2px solid var(--llp-bordeaux-light);
    outline-offset: -1px;
}

/* Pot de miel : hors écran */
.llp-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.llp-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: clamp(13px, 0.85vw, 16px);
    color: var(--llp-dark);
    margin: 14px 0 20px;
    cursor: pointer;
}

.llp-consent input {
    margin-top: 3px;
    accent-color: var(--llp-bordeaux);
}

.llp-form-submit {
    width: 100%;
}

.llp-form-submit[disabled] {
    opacity: 0.6;
    cursor: wait;
}

.llp-form-message {
    display: none;
    margin-top: 14px;
    font-size: clamp(14px, 1vw, 18px);
    font-weight: 500;
    text-align: center;
}

.llp-form-message.is-success {
    display: block;
    color: #1d5c2d;
}

.llp-form-message.is-error {
    display: block;
    color: #8a1f21;
}

.llp-form-note {
    margin-top: 16px;
    font-size: clamp(12px, 0.8vw, 15px);
    line-height: 1.3;
    text-align: center;
    color: var(--llp-dark);
}

/* --------------------------------------------------------------------------
   Tarifs
   -------------------------------------------------------------------------- */

.llp-pricing {
    background: var(--llp-cream);
    padding: clamp(56px, 5.7vw, 110px) 0 clamp(56px, 5.5vw, 106px);
}

.llp-pricing .llp-h2 {
    max-width: 1315px;
}

.llp-pricing-text {
    font-size: clamp(17px, 1.25vw, 24px);
    font-weight: 500;
    max-width: 945px;
    margin-top: clamp(20px, 2vw, 38px);
}

.llp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: clamp(32px, 3.6vw, 70px);
}

.llp-price-card {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--llp-border);
    border-radius: 35px;
    padding: clamp(24px, 1.8vw, 34px) clamp(18px, 1.7vw, 32px) clamp(14px, 1vw, 18px);
    display: flex;
    flex-direction: column;
}

.llp-price-surtitle {
    font-size: clamp(15px, 1.05vw, 20px);
    color: var(--llp-bordeaux-75);
    margin-bottom: clamp(10px, 1vw, 20px);
}

.llp-price-title {
    font-size: clamp(22px, 1.6vw, 30px);
    font-weight: 500;
    color: var(--llp-dark);
    margin-bottom: clamp(10px, 1vw, 20px);
}

.llp-price-subtitle {
    font-size: clamp(17px, 1.2vw, 22px);
    font-weight: 500;
    color: var(--llp-dark);
    min-height: 2.6em;
    margin-bottom: clamp(24px, 2.4vw, 46px);
}

.llp-price-box {
    margin-top: auto;
    background: var(--llp-bordeaux);
    border: 1px solid var(--llp-border);
    border-radius: 23px;
    padding: clamp(20px, 1.5vw, 28px) clamp(18px, 1.4vw, 26px) clamp(16px, 1.2vw, 22px);
}

.llp-price-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 50px;
    padding: 6px 20px;
    border-radius: 50px;
    background: var(--llp-bordeaux-light);
    color: var(--llp-beige);
    font-size: clamp(20px, 1.5vw, 28px);
    font-weight: 500;
}

.llp-price-amounts {
    display: flex;
    align-items: flex-start;
    gap: clamp(14px, 1vw, 20px);
    margin-top: clamp(12px, 1vw, 18px);
}

.llp-price-main {
    font-size: clamp(38px, 2.8vw, 54px);
    font-weight: 600;
    line-height: 1;
    color: var(--llp-beige);
}

.llp-price-old-wrap {
    display: flex;
    flex-direction: column;
    padding-top: 2px;
}

.llp-price-old {
    font-size: clamp(20px, 1.5vw, 28px);
    font-weight: 500;
    color: var(--llp-beige);
    text-decoration: line-through;
    line-height: 1.1;
}

.llp-price-savings {
    font-size: clamp(14px, 0.95vw, 18px);
    color: var(--llp-beige);
    line-height: 1.4;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Avantages
   -------------------------------------------------------------------------- */

.llp-benefits {
    background: var(--llp-beige);
    padding: clamp(36px, 2.3vw, 44px) 0;
}

.llp-benefits-grid {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: clamp(16px, 1.5vw, 28px);
}

.llp-benefit {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(14px, 1.2vw, 22px);
    padding: clamp(8px, 1vw, 18px) clamp(8px, 1vw, 20px);
}

.llp-benefit-icon {
    width: clamp(40px, 2.5vw, 48px);
    height: clamp(40px, 2.5vw, 48px);
    object-fit: contain;
}

.llp-benefit p {
    font-size: clamp(16px, 1.15vw, 22px);
    font-weight: 500;
    line-height: 1.11;
    max-width: 387px;
}

.llp-benefit-divider {
    width: 1px;
    background: rgba(29, 29, 27, 0.25);
    align-self: center;
    height: clamp(120px, 9.8vw, 189px);
    flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Section clinique (bordeaux)
   -------------------------------------------------------------------------- */

.llp-about {
    position: relative;
    background-color: var(--llp-bordeaux);
    padding: clamp(56px, 6.9vw, 132px) 0 clamp(56px, 6vw, 115px);
    overflow: hidden;
}

.llp-about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/texture-footer.png') center / cover no-repeat;
    opacity: 0.2;
    pointer-events: none;
}

.llp-about-grid {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: clamp(32px, 4vw, 80px);
}

.llp-about-copy {
    max-width: 920px;
}

.llp-about .llp-h2 {
    margin-bottom: clamp(28px, 4vw, 76px);
    max-width: 920px;
}

.llp-about-text {
    max-width: 750px;
}

.llp-about-text p {
    font-size: clamp(15px, 1.05vw, 20px);
    line-height: 1.42;
    color: #fff;
    margin-bottom: 1em;
}

.llp-about-bullets {
    list-style: none;
    margin-top: clamp(32px, 4.5vw, 86px);
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 1.15vw, 22px);
}

.llp-about-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    font-size: clamp(16px, 1.15vw, 22px);
    font-weight: 600;
    line-height: 1.11;
    color: var(--llp-beige);
}

.llp-about-bullets img {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
}

.llp-about-photo {
    flex: 0 0 auto;
    width: min(798px, 44%);
}

.llp-about-photo img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    border-radius: 35px;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.llp-faq {
    position: relative;
    background: var(--llp-cream);
    padding: clamp(56px, 7.6vw, 147px) 0 clamp(72px, 8vw, 155px);
    overflow: hidden;
}

.llp-faq-ambiance {
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(991px, 70%);
    aspect-ratio: 991 / 859;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.llp-faq-ambiance::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, #f9f7f4 0%, rgba(249, 247, 244, 0) 55%),
        linear-gradient(270deg, #f9f7f4 0%, rgba(249, 247, 244, 0) 70%);
}

.llp-faq-grid {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(32px, 4vw, 80px);
}

.llp-faq-copy {
    max-width: 420px;
    flex: 0 0 34%;
}

.llp-faq-text {
    font-size: clamp(15px, 1.05vw, 20px);
    line-height: 1.42;
    max-width: 531px;
    margin-top: clamp(20px, 2vw, 38px);
}

.llp-faq-items {
    flex: 1 1 auto;
    min-width: 0;
}

.llp-faq-item {
    border-bottom: 1px solid rgba(29, 29, 27, 0.25);
}

.llp-faq-item:first-child {
    border-top: 1px solid rgba(29, 29, 27, 0.25);
}

.llp-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    background: none;
    border: 0;
    padding: clamp(20px, 1.7vw, 32px) 0;
    font-family: inherit;
    font-size: clamp(16px, 1.1vw, 21px);
    font-weight: 500;
    color: var(--llp-dark);
    text-align: left;
    cursor: pointer;
}

.llp-faq-plus {
    width: clamp(30px, 1.9vw, 36px);
    height: clamp(30px, 1.9vw, 36px);
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}

.llp-faq-question[aria-expanded="true"] .llp-faq-plus {
    transform: rotate(45deg);
}

.llp-faq-answer {
    padding: 0 60px clamp(18px, 1.5vw, 28px) 0;
}

.llp-faq-answer p {
    font-size: clamp(14px, 0.95vw, 18px);
    line-height: 1.5;
    margin-bottom: 0.8em;
}

.llp-faq-cta {
    margin-top: clamp(36px, 3.7vw, 72px);
}

.llp-faq-cta-title {
    font-size: clamp(20px, 1.5vw, 28px);
    font-weight: 500;
    color: var(--llp-bordeaux);
    max-width: 529px;
    margin-bottom: clamp(20px, 2.4vw, 46px);
}

.llp-btn-icon {
    padding: 8px 10px 8px 34px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1280px) {
    .llp-hero-inner {
        flex-direction: column;
        align-items: stretch;
        padding-top: 150px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .llp-hero-copy {
        width: 100%;
        max-width: 764px;
        margin: 0 auto;
    }

    .llp-form-card {
        width: min(764px, 100%);
        align-self: center;
    }

    .llp-hero-title {
        margin-bottom: 40px;
    }

    .llp-hero-text {
        margin-bottom: 36px;
    }
}

@media (max-width: 1024px) {
    .llp-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }

    .llp-price-subtitle {
        min-height: 0;
    }

    .llp-benefits-grid {
        flex-wrap: wrap;
    }

    .llp-benefit {
        flex: 1 1 40%;
    }

    .llp-benefit-divider {
        display: none;
    }

    .llp-about-grid,
    .llp-faq-grid {
        flex-direction: column;
    }

    .llp-about-photo {
        width: 100%;
        max-width: 798px;
    }

    .llp-about-photo img {
        min-height: 0;
        aspect-ratio: 798 / 905;
        max-height: 70vw;
    }

    .llp-faq-ambiance {
        display: none;
    }
}

@media (max-width: 768px) {
    .llp-hero-inner {
        padding: 88px 20px 48px;
    }

    .llp-hero-badge {
        padding: 12px 20px 12px 14px;
        gap: 12px;
        text-align: left;
    }

    .llp-form-card {
        border-radius: 24px;
    }

    .llp-form-row-2 {
        flex-direction: column;
        gap: 11px;
    }

    .llp-form-row-2 input {
        width: 100%;
    }

    .llp-benefit {
        flex: 1 1 100%;
    }
}
