/* ============================================================
   Ohana — LP /lp-val1 (Meta Ads, angle Expérience voyageur HDG)
   Charge après style.css + v2.css. Surcouche propre à la LP.
   ============================================================ */

/* Bénéfices : seulement 2, centrés et aérés */
.lp-benefits .benefits-grid { max-width: 1000px; }
/* Plus d'air entre la section sombre du dessus et "Une arrivée qui marque les esprits" */
.lp-benefits { padding-top: 110px; }
@media (max-width: 767px) { .lp-benefits { padding-top: 72px; } }

/* Preuve fondateur — case study image-forward (location de Benjamin) */
.lp-case {
    max-width: 980px;
    margin: 12px auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
    background: linear-gradient(160deg, var(--cream, #f6f1e8) 0%, #fff 100%);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow-lg, 0 30px 60px rgba(40,30,20,.12));
    padding: 30px;
}
@media (min-width: 760px) { .lp-case { grid-template-columns: 300px 1fr; gap: 44px; padding: 40px 44px; } }

/* Visuel : portrait hôte + capture Airbnb en superposition (preuve) */
.lp-case-visual { position: relative; width: 100%; max-width: 300px; margin: 0 auto; }
.lp-case-host {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top;
    border-radius: 22px;
    box-shadow: var(--shadow-lg, 0 24px 48px rgba(40,30,20,.18));
    display: block;
}
/* (reco 35) .lp-case-proof / .lp-case-shot retires : le case study n'utilise plus de capture superposee */
.lp-case-logo { position: absolute; top: -14px; left: -14px; width: 46px; height: 46px; z-index: 2; filter: drop-shadow(0 4px 8px rgba(0,0,0,.18)); }

/* Corps : avant/après chiffré + citation */
.lp-case-body { min-width: 0; }
/* (reco 35) .lp-case-tag retire : le label "LE CAS REEL" n'existe plus dans le markup */
.lp-case-score {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}
.lp-case-from, .lp-case-to {
    display: inline-flex;
    align-items: baseline;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1;
}
.lp-case-from { font-size: 2rem; color: var(--zinc); opacity: 0.7; }
.lp-case-to { font-size: 2.9rem; color: var(--sienna); }
.lp-case-star { font-size: 0.5em; margin-left: 3px; color: #f4b740; -webkit-text-stroke: 0; }
.lp-case-to .lp-case-star { color: #f4b740; }
.lp-case-arrow { width: 30px; height: 30px; color: var(--sienna); flex-shrink: 0; }
.lp-case-delta {
    background: rgba(185, 74, 47, 0.1);
    color: var(--sienna);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 6px 12px;
    border-radius: 999px;
}
.lp-case-quote {
    font-family: var(--font-body, var(--font-heading));
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.55;
    color: var(--anthracite);
    font-weight: 500;
    font-style: normal;
}
.lp-case-quote strong { color: var(--sienna); font-style: normal; }
.lp-case-by { display: block; margin-top: 14px; font-size: 0.92rem; font-weight: 600; color: var(--zinc); }
@media (max-width: 759px) {
    .lp-case-score { justify-content: flex-start; }
    /* mobile : le texte (note + citation + "Benjamin, fondateur") d'abord, l'image de preuve en dessous */
    .lp-case-body { order: 1; }
    .lp-case-visual { order: 2; }
}

/* WhatsApp mockup — illustre la réception de la démo */
.wa-section { display: flex; justify-content: center; margin-top: 48px; }

.wa-phone {
    width: 100%;
    max-width: 300px;            /* format mobile (plus un format tablette) */
    background: #0b141a;
    border-radius: 30px;
    padding: 12px;
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(0, 0, 0, 0.4);
}

.wa-screen {
    border-radius: 22px;
    overflow: hidden;
    background: #e5ddd5;
    background-image:
        linear-gradient(rgba(229, 221, 213, 0.92), rgba(229, 221, 213, 0.92)),
        url("../assets/images/bali-deco-bg.webp");
    background-size: cover;
}

.wa-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #075E54;
    color: #fff;
    padding: 14px 16px;
}
.wa-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: #25D366; color: #075E54;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.95rem; flex-shrink: 0;
}
.wa-contact { display: flex; flex-direction: column; line-height: 1.2; }
.wa-name { font-weight: 700; font-size: 0.95rem; }
.wa-status { font-size: 0.72rem; opacity: 0.8; }

.wa-body { padding: 18px 14px 20px; display: flex; flex-direction: column; gap: 10px; }

.wa-msg {
    max-width: 86%;
    padding: 8px 10px 6px;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #111b21;
    position: relative;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}
.wa-in { align-self: flex-start; background: #ffffff; border-top-left-radius: 2px; }
.wa-out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.wa-time { display: block; text-align: right; font-size: 0.64rem; color: #667781; margin-top: 3px; }
.wa-out .wa-tick { color: #53bdeb; font-weight: 700; }

/* Carte aperçu de lien (OG preview) dans une bulle WhatsApp */
.wa-link {
    align-self: flex-start;
    max-width: 86%;
    background: #fff;
    border-radius: 10px;
    border-top-left-radius: 2px;
    overflow: hidden;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}
.wa-link-card {
    background: #f0f2f5;
    border-left: 4px solid var(--sienna);
    margin: 4px 4px 0;
    border-radius: 8px;
    overflow: hidden;
}
.wa-link-img { width: 100%; height: 130px; object-fit: cover; display: block; }
.wa-link-meta { padding: 8px 10px; }
.wa-link-title { font-weight: 700; font-size: 0.86rem; color: #111b21; }
.wa-link-sub { font-size: 0.74rem; color: #667781; margin-top: 2px; }
.wa-link-url { font-size: 0.72rem; color: #8696a0; margin-top: 4px; }
.wa-link-text { padding: 6px 10px 8px; font-size: 0.9rem; color: #111b21; }
.wa-link-text .wa-time { margin-top: 2px; }

/* Note de réassurance sous le process */
.lp-step-note {
    margin-top: 36px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--zinc);
}

/* FAQ rapide : un peu plus compacte */
.lp-faq .faq-container { margin-top: 8px; }

/* Hint téléphone plus visible (vs .lead-opt discret) */
.lead-hint-strong {
    color: var(--sienna);
    font-weight: 600;
    font-size: 0.92em;
}

/* Process : 2 colonnes (contenu | iPhone démo live) */
.lp-process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
}
@media (min-width: 920px) {
    .lp-process-grid {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: start;
        gap: 60px;
    }
    .lp-process-phone { position: sticky; top: 100px; }
}
.lp-process-left { min-width: 0; }
.lp-process-left .wa-section { margin-top: 36px; }
.lp-process-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lp-process-phone .guide-phone-frame-live { width: 280px; max-width: 80vw; }
.lp-phone-cap {
    margin-top: 18px;
    text-align: center;
    color: var(--zinc);
    font-size: 0.95rem;
    max-width: 280px;
}

/* ============================================================
   ITÉRATION 6 — démo guide auto-portée + correctifs LP
   ============================================================ */

/* Process : titre à côté du téléphone WhatsApp (desktop) */
.lp-process-header { margin-bottom: 36px; }
@media (min-width: 920px) {
    .lp-process-header { text-align: left; }
    .lp-process-header .section-subtitle { margin-left: 0; margin-right: 0; max-width: none; }
}
/* On garde le label "Étape N" (comme /v2), on masque le numéro filigrane redondant */
.lp-process-left .step-watermark-num { display: none; }

/* Témoignages : tablette ByOhana en superposition (montre la perso) */
.testimonial-card .tcard-photo { position: relative; overflow: hidden; }
.tcard-tablet {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 46%;
    max-width: 188px;
    z-index: 2;
    filter: drop-shadow(0 14px 28px rgba(0,0,0,.32));
}
.tct-frame {
    display: block;
    background: #14110e;
    border-radius: 13px;
    padding: 6px;
    border: 1px solid rgba(0,0,0,.4);
}
.tct-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 7px;
}
@media (max-width: 600px) { .tcard-tablet { max-width: 150px; right: 10px; bottom: 10px; } }

/* Footer minimaliste (surtout sur mobile) */
.lp-footer { padding: 32px 0; }
.lp-footer .footer-copy { opacity: 0.72; }
@media (max-width: 767px) {
    .lp-footer { padding: 20px 0; }
    .lp-footer .footer-inner { flex-direction: column; gap: 9px; text-align: center; }
    .lp-footer .footer-brand { font-size: 1.05rem; }
    .lp-footer .footer-links { gap: 4px 14px; flex-wrap: wrap; justify-content: center; row-gap: 2px; }
    .lp-footer .footer-links a { font-size: 0.8rem; padding: 6px 4px; }
    .lp-footer .footer-copy { font-size: 0.7rem; }
}

/* Modal légal (mentions / confidentialité en popup, sans changer de page) */
.legal-modal { position: fixed; inset: 0; z-index: 1200; display: none; align-items: center; justify-content: center; padding: 20px; }
.legal-modal.is-open { display: flex; }
.legal-backdrop { position: absolute; inset: 0; background: rgba(15,11,8,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.legal-card { position: relative; z-index: 1; width: min(760px, 100%); height: min(82vh, 820px); background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 90px rgba(0,0,0,.45); }
.legal-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.legal-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(20,16,12,.82); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; }
.legal-close svg { width: 20px; height: 20px; }
