/* ============================================================
   Ohana — Surcouche v2 (page /v2 uniquement)
   Charge APRÈS css/style.css. Ne modifie que la page v2.
   ============================================================ */

/* ====================== HERO SPLIT (texte + vidéo) ====================== */
.hero-content.hero-v2-grid {
    max-width: 1240px;
    align-items: center;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 130px 24px 110px;
}

@media (min-width: 900px) {
    .hero-content.hero-v2-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 56px;
    }
}

.hero-v2-text { width: 100%; }

/* Sur desktop le texte est aligné à gauche ; mobile reste centré */
@media (max-width: 899px) {
    .hero-content.hero-v2-grid { text-align: center; }
    .hero-v2-text .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-v2-text .hero-cta { align-items: center; }
}

@media (min-width: 900px) {
    .hero-v2-text .hero-title { margin-bottom: 28px; }
    .hero-v2-text .hero-subtitle { margin-left: 0; margin-right: 0; max-width: 560px; }
    .hero-v2-text .hero-cta { justify-content: flex-start; }
}

.hero-v2-text .hero-subtitle strong {
    color: var(--terra-light);
    font-weight: 700;
}

/* Cadre vidéo hero */
.hero-v2-video { width: 100%; display: flex; justify-content: center; }

.hero-video-frame {
    position: relative;
    width: 100%;
    max-width: 520px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #000;
    aspect-ratio: 16 / 10;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-video-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: var(--radius-full);
    background: rgba(20, 16, 12, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-video-badge::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ff4d4d;
    box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7);
    animation: heroLiveDot 1.6s infinite;
}

@keyframes heroLiveDot {
    0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
    70% { box-shadow: 0 0 0 7px rgba(255, 77, 77, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

/* ====================== SCROLL INDICATOR (flèche agrandie) ====================== */
/* Plus grosse + cartouche, pour signaler clairement qu'il faut scroller */
.scroll-indicator-xl {
    bottom: 26px;
    opacity: 0.95;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.scroll-indicator-xl svg {
    width: 30px;
    height: 30px;
    stroke-width: 2.4;
}

@media (max-width: 767px) {
    .scroll-indicator-xl { width: 54px; height: 54px; bottom: 18px; }
    .scroll-indicator-xl svg { width: 26px; height: 26px; }
}

/* ====================== PAIN : note qui chute (plus painful) ====================== */
.v2 .rating-card { transition: box-shadow 0.3s ease, transform 0.2s ease; }

.v2 .rating-num {
    font-size: 2.7rem;
    transition: color 0.25s ease, transform 0.25s ease;
}

.v2 .rating-overall { position: relative; }

/* Pendant la chute : rouge + secousse + flash */
.v2 .rating-card.dropping {
    box-shadow: 0 26px 50px rgba(196, 30, 22, 0.45);
    animation: ratingShake 0.5s ease-in-out;
}

.v2 .rating-card.dropping .rating-num {
    color: #d63125;
    transform: scale(1.18);
}

.v2 .ro-trend {
    color: #d63125;
    transition: transform 0.25s ease;
}

.v2 .rating-card.dropping .ro-trend {
    transform: translateY(3px) scale(1.35);
    animation: trendBob 0.6s ease-in-out infinite;
}

/* Étoile qui s'éteint à la chute */
.v2 .review-stars .rs { transition: color 0.3s ease, transform 0.3s ease; }
.v2 .rating-card.dropping .review-stars .rs.on:nth-of-type(4) {
    color: #d8d2c8;
    transform: scale(0.86);
}

/* Badge -0,3 qui apparaît */
.v2 .rating-delta {
    position: absolute;
    top: -6px;
    right: -4px;
    background: #d63125;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.82rem;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    opacity: 0;
    transform: translateY(6px) scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 6px 16px rgba(214, 49, 37, 0.45);
    pointer-events: none;
}

.v2 .rating-card.dropping .rating-delta {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@keyframes ratingShake {
    0%, 100% { transform: rotate(-1deg) translateX(0); }
    20% { transform: rotate(-1deg) translateX(-5px); }
    40% { transform: rotate(-1deg) translateX(5px); }
    60% { transform: rotate(-1deg) translateX(-3px); }
    80% { transform: rotate(-1deg) translateX(3px); }
}

@keyframes trendBob {
    0%, 100% { transform: translateY(3px) scale(1.35); }
    50% { transform: translateY(6px) scale(1.35); }
}

/* ====================== FEATURES v2 : bénéfices en colonnes + avis Airbnb ====================== */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 56px;
}

@media (min-width: 680px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (min-width: 1080px) {
    .benefits-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
}

.benefit-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-head { padding: 4px 0 0; }

.benefit-head .feature-icon { margin-bottom: 18px; }
.benefit-head .feature-title {
    font-size: 1.18rem;
    line-height: 1.3;
    margin-bottom: 10px;
}
.benefit-head .feature-desc {
    font-size: 0.97rem;
    line-height: 1.55;
    color: var(--zinc);
}

/* Carte avis style Airbnb */
.abnb-review {
    margin-top: auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 18px 20px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.abnb-top {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 12px;
}

.abnb-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--terra-doux), var(--sienna));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.abnb-meta { display: flex; flex-direction: column; line-height: 1.2; }
.abnb-name { font-weight: 700; font-size: 0.92rem; color: var(--anthracite); }
.abnb-date { font-size: 0.78rem; color: var(--zinc); }

.abnb-logo { margin-left: auto; display: inline-flex; }

.abnb-stars {
    color: #FF385C;
    font-size: 0.82rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.abnb-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--anthracite);
}

/* ====================== DÉMO TABLETTE (iframe live) ====================== */
.tablet-demo-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.tablet-mockup { display: flex; flex-direction: column; align-items: center; }

.tablet-bezel {
    position: relative;
    width: 100%;
    max-width: 980px;
    background: #14110e;
    border-radius: 30px;
    padding: 22px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.4);
}

.tablet-cam {
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #322c26;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.tablet-screen {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.tablet-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.tablet-hint {
    margin-top: 22px;
    font-size: 0.92rem;
    color: var(--zinc);
    font-weight: 500;
    text-align: center;
}

@media (max-width: 600px) {
    .tablet-bezel { padding: 12px; border-radius: 20px; }
    .tablet-screen { aspect-ratio: 3 / 4; }
}

/* ====================== TESTIMONIALS v2 (photo de lieu) ====================== */
.testimonials-v2 .testimonial-card {
    padding: 0;
    overflow: hidden;
}

.testimonials-v2 .tcard-photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.testimonials-v2 .tcard-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.testimonials-v2 .testimonial-card:hover .tcard-photo img { transform: scale(1.05); }

.testimonials-v2 .tcard-body {
    padding: 26px 28px 28px;
    display: flex;
    flex-direction: column;
}

.testimonials-v2 .tcard-body .stars { margin-bottom: 16px; }

.testimonials-v2 .testimonial-text {
    font-size: 1.08rem;
    margin-bottom: 22px;
}

.testimonials-v2 .testimonial-author { margin-top: auto; }

/* ====================== PRIX (bloc lisible) ====================== */
.price-block {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 18px;
    margin: 4px 0 28px;
    padding: 20px 22px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.price-line { display: flex; flex-direction: column; }

.price-amount {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.65rem;
    color: var(--anthracite);
    line-height: 1.1;
    white-space: nowrap;
}

.price-per { font-size: 1rem; font-weight: 600; color: var(--zinc); }

.price-label {
    font-size: 0.82rem;
    color: var(--zinc);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 3px;
}

.price-plus {
    font-size: 0.95rem;
    color: var(--sienna);
    font-weight: 700;
    align-self: center;
}

/* ====================== PROCESS note ====================== */
.process-note {
    margin-top: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--sage-dark);
    background: rgba(107, 127, 107, 0.10);
    border: 1px solid rgba(107, 127, 107, 0.22);
    border-radius: var(--radius-lg);
    padding: 16px 22px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.process-note svg { flex-shrink: 0; color: var(--sage-dark); }

/* ====================== CORRECTIFS REVUE ====================== */
/* Hero : restaure le padding mobile de la base (la surcouche v2 le surchargeait) */
@media (max-width: 767px) {
    .hero-content.hero-v2-grid { padding: 100px 16px 60px; }
}

/* reduce-motion : pas de secousse, mais on garde l'état final rouge + badge + 4,6 */
@media (prefers-reduced-motion: reduce) {
    .v2 .rating-card.dropping { animation: none; }
    .v2 .rating-card.dropping .ro-trend { animation: none; }
    .hero-video-badge::before { animation: none; }
}

/* ============================================================
   ITÉRATION 2 — surcharge (chargée après, gagne sur les règles ci-dessus)
   ============================================================ */

/* --- HERO : cadre vidéo au format mobile (vidéo 720x1280, portrait 9:16) --- */
.hero-video-frame {
    aspect-ratio: 9 / 16;
    max-width: 400px;
    border-radius: 22px; /* reco 25 : moins "story Instagram", registre plus sobre */
    margin: 0 auto;
}
.hero-video { object-fit: cover; }
@media (max-width: 899px) {
    .hero-video-frame { max-width: 300px; }
}

/* --- HERO : lisibilité & design (scrim + typo renforcée) --- */
/* Voile global un peu plus dense sous le texte, pour garantir le contraste. */
.hero-v2 .hero-bg::after {
    background: linear-gradient(105deg,
            rgba(20, 15, 11, 0.60) 0%,
            rgba(20, 15, 11, 0.45) 40%,
            rgba(20, 15, 11, 0.34) 65%,
            rgba(28, 22, 17, 0.70) 100%);
}
.hero-v2 .hero-title {
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.55);
    letter-spacing: -0.015em;
}
.hero-v2 .hero-subtitle {
    color: #fff;
    font-size: clamp(1.18rem, 2.4vw, 1.4rem);
    line-height: 1.6;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.hero-v2 .hero-note { color: rgba(255, 255, 255, 0.92); }
/* Sur desktop, léger panneau flou derrière le texte = contraste constant */
@media (min-width: 900px) {
    .hero-v2-text {
        background: linear-gradient(100deg, rgba(18, 13, 9, 0.42), rgba(18, 13, 9, 0));
        padding: 30px 34px 30px 30px;
        margin-left: -30px;
        border-radius: 22px;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }
}

/* --- FEATURES : bénéfices en colonne (vertical), rangées alternées, aérées --- */
.features-v2 .benefits-grid {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 1000px;
    margin: 56px auto 0;
}
.features-v2 .benefit-col {
    gap: 0;
    padding: 44px 0;
    border-bottom: 1px solid var(--border);
}
.features-v2 .benefit-col:last-child { border-bottom: 0; }

@media (min-width: 820px) {
    .features-v2 .benefit-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 56px;
        padding: 56px 0;
    }
    /* alternance gauche/droite */
    .features-v2 .benefit-col:nth-child(even) .benefit-head { order: 2; }
}

.features-v2 .benefit-head { padding: 0; }
.features-v2 .benefit-head .feature-icon { margin-bottom: 20px; }
.features-v2 .benefit-head .feature-title {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    line-height: 1.2;
    margin-bottom: 14px;
    color: var(--anthracite);
}
.features-v2 .benefit-head .feature-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--zinc);
    max-width: 460px;
}
.features-v2 .abnb-review {
    margin: 24px 0 0;
    max-width: 440px;
    padding: 20px 22px 22px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}
@media (min-width: 820px) {
    .features-v2 .abnb-review { margin: 0; }
}
.features-v2 .abnb-text { font-size: 1rem; }

/* --- PAIN : messages téléphone — arrivée propre (glisse + fondu), étalée ~11s --- */
/* On évite tout halo carré : juste une translation douce + opacité, ombre naturelle de la bulle. */
.v2 .js-on .pain-phone .pp-msg {
    transform: translateY(14px);
    will-change: transform, opacity;
}
.v2 .js-on .pain-phone.is-visible .pp-msg {
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 0.9, 0.3, 1);
}
.v2 .js-on .pain-phone .pp-msg p {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10); /* ombre douce, pas de carré dur */
}
.v2 .pain-phone.is-visible .pp-msg:nth-child(1) { transition-delay: 0.7s; }
.v2 .pain-phone.is-visible .pp-msg:nth-child(2) { transition-delay: 1.9s; }
.v2 .pain-phone.is-visible .pp-msg:nth-child(3) { transition-delay: 3.1s; }
.v2 .pain-phone.is-visible .pp-msg:nth-child(4) { transition-delay: 4.3s; }
.v2 .pain-phone.is-visible .pp-msg:nth-child(5) { transition-delay: 5.5s; }

/* --- PAIN : post-it, respire puis écrit plus lentement --- */
.v2 .js-on .postit.is-writing .ln { transition: clip-path 0.9s ease, opacity 0.35s ease; }
.v2 .postit.is-writing .ln:nth-child(2) { transition-delay: 1.0s; }
.v2 .postit.is-writing .ln:nth-child(3) { transition-delay: 2.2s; }
.v2 .postit.is-writing .ln:nth-child(4) { transition-delay: 3.4s; }
.v2 .postit.is-writing .ln:nth-child(5) { transition-delay: 4.6s; }

/* --- DÉMO : iPad aux vraies proportions (4:3), élargi pour ne plus couper à droite --- */
.tablet-screen { aspect-ratio: 4 / 3; }
.tablet-bezel { max-width: 1080px; }
@media (max-width: 600px) { .tablet-screen { aspect-ratio: 3 / 4; } }

/* Bloc "version mobile" : photo du guide dans un cadre de téléphone */
.guide-phone-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
}
.guide-phone-eyebrow {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--zinc);
    margin-bottom: 22px;
    text-align: center;
    max-width: 460px;
}
.guide-phone-frame {
    position: relative;
    width: 232px;
    aspect-ratio: 412 / 892;
    background: #14110e;
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 34px 70px rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(0, 0, 0, 0.45);
}
.guide-phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 27px;
    display: block;
}
.guide-phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 20px;
    background: #14110e;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}
/* Variante "live" : vraie démo mobile en iframe dans le cadre téléphone */
.guide-phone-frame-live { width: 260px; }
.guide-phone-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 27px;
    display: block;
    background: #fff;
}

/* --- ITÉRATION 3 — corrections ciblées --- */
/* Surbrillance des mots-clés dans les témoignages */
.t-hl { color: var(--sienna); font-weight: 700; }

/* Hint de champ rendu visible (ex : "pour vous envoyer votre démo") */
.lead-hint-strong { color: var(--sienna); font-weight: 600; font-size: 0.92em; }

/* --- ITÉRATION 4 --- */

/* Process : libellé "Étape N" lisible (remplace le watermark caché) */
.step-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage-dark); /* reco 21/33 : eyebrow neutre, coherent avec .section-label */
    margin-bottom: 10px;
}

/* Démo tablette : bulle "Testez-moi !" qui bouge, masquée à l'interaction */
.tablet-mockup { position: relative; }
.tablet-poke {
    position: absolute;
    top: -20px;
    left: 50%;
    z-index: 6;
    background: var(--sienna);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 24px rgba(185, 74, 47, 0.42);
    white-space: nowrap;
    transform: translateX(-50%);
    animation: pokeBob 1.4s ease-in-out infinite;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.tablet-poke::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--sienna);
    transform: translateX(-50%) rotate(45deg);
}
.tablet-poke.is-hidden { opacity: 0; transform: translateX(-50%) scale(0.5); pointer-events: none; }
@keyframes pokeBob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) { .tablet-poke { animation: none; } }

/* Version mobile : sous-titre agrandi */
.guide-phone-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.8vw, 1.75rem);
    color: var(--anthracite);
    line-height: 1.3;
    margin-bottom: 28px;
    text-align: center;
    max-width: 640px;
}

/* Version mobile : aperçu cliquable -> popup */
.guide-phone-frame-live#openMobileDemo { cursor: pointer; }
.guide-phone-clickcatch { position: absolute; inset: 0; z-index: 3; border-radius: 27px; }
.guide-phone-cta {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    background: rgba(20, 16, 12, 0.82);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 15px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    white-space: nowrap;
    pointer-events: none;
    transition: background 0.2s ease;
}
.guide-phone-frame-live#openMobileDemo:hover .guide-phone-cta,
.guide-phone-frame-live#openMobileDemo:active .guide-phone-cta,
.guide-phone-frame-live#openMobileDemo:focus-visible .guide-phone-cta { background: var(--sienna); }
/* Mobile : pas de hover, on affiche la pastille en sienna par defaut (affordance tap) */
@media (max-width: 767px) { .guide-phone-cta { background: var(--sienna); } }

/* Popup démo mobile (taille proche d'un vrai téléphone) */
.mdemo-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mdemo-modal.is-open { display: flex; }
.mdemo-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 11, 8, 0.84);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.mdemo-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mdemo-close svg { width: 22px; height: 22px; }
.mdemo-phone {
    position: relative;
    z-index: 1;
    width: min(360px, 86vw);
    aspect-ratio: 412 / 892;
    max-height: 92vh;
    background: #14110e;
    border-radius: 44px;
    padding: 12px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}
.mdemo-phone iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 32px;
    background: #fff;
    display: block;
}
.mdemo-phone .guide-phone-notch { width: 120px; height: 24px; top: 12px; }

/* Story : preuve Airbnb en SUPERPOSITION (revert), légèrement agrandie */
.v2 .story-proof-image-wrapper { width: 246px; }
.v2 .annotation-text { font-size: 1.02rem; }

/* --- STORY : preuve Airbnb + annotation agrandies, AU-DESSUS de Benjamin --- */
.v2-proof-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-end;
}
.v2-proof-annotation {
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.45;
    color: var(--anthracite);
    text-align: right;
    background: rgba(255, 255, 255, 0.96);
    padding: 18px 20px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 420px;
}
.v2-proof-annotation strong { color: var(--sienna); }
.v2-proof-img-wrap {
    position: relative;
    width: 400px;
    max-width: 100%;
    background: #fff;
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    transform: rotate(-2deg);
}
.v2-proof-img { width: 100%; height: auto; display: block; border-radius: 10px; }
.v2-proof-badge {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 60px;
    height: 60px;
    z-index: 3;
}
@media (max-width: 767px) {
    .v2-proof-block { align-items: center; margin-bottom: 20px; }
    .v2-proof-annotation { text-align: center; font-size: 1.2rem; }
    .v2-proof-img-wrap { width: 300px; }
}

/* --- TÉMOIGNAGES : mockup Ohana (téléphone) posé sur la photo d'ambiance --- */
.testimonials-v2 .tcard-photo { position: relative; }
.tcard-device {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 78px;
    aspect-ratio: 412 / 892;
    background: #14110e;
    border-radius: 13px;
    padding: 4px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(0, 0, 0, 0.5);
    z-index: 2;
}
.tcard-device img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px;
    display: block;
}
.testimonials-v2 .tcard-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.28) 100%);
    pointer-events: none;
}

/* ============================================================
   ITÉRATION 5 — correctifs audit UX/mobile
   ============================================================ */

/* --- DÉMOS : guide ByOhana auto-porté (demo-guide.html), sans bandeau à rogner.
   L'iframe remplit proprement chaque cadre. --- */
.tablet-iframe { top: 0; height: 100%; }

/* Écran téléphone (aperçu + popup) : wrapper aux coins arrondis */
.guide-phone-screen {
    position: absolute;
    inset: 10px;
    border-radius: 27px;
    overflow: hidden;
    background: #fff;
}
.guide-phone-iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
}
.mdemo-screen {
    position: absolute;
    inset: 12px;
    border-radius: 32px;
    overflow: hidden;
    background: #fff;
}
.mdemo-phone iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

/* --- DÉMO tablette desktop : hauteur scrollable plutôt qu'un 4:3 qui coupe --- */
@media (min-width: 601px) {
    .tablet-screen { aspect-ratio: 4 / 3; height: auto; max-height: 80vh; } /* reco 22 : silhouette iPad credible */
}
/* Sur mobile : on masque la tablette (guide pensé desktop, rétréci/coupé + iframe lourde
   redondante avec l'aperçu téléphone qui devient la démo principale). */
@media (max-width: 600px) {
    .tablet-mockup { display: none; }
    .tablet-poke { display: none; }
}

/* --- Sticky CTA mobile : réserver l'espace en bas pour ne pas masquer la fin de page --- */
@media (max-width: 767px) {
    body.v2 { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
}

/* --- Cibles tactiles : liens footer + softlink (≥44px) --- */
@media (max-width: 767px) {
    .footer-links { gap: 4px 20px; flex-wrap: wrap; }
    .footer-links a { display: inline-block; padding: 11px 8px; min-height: 44px; line-height: 22px; }
    .lead-softlink { display: inline-block; padding: 11px 0; min-height: 44px; line-height: 1.4; }
}

/* --- Popup lead : scroll interne fiable sur petit écran (clavier ouvert) --- */
@media (max-width: 767px) {
    .lead-modal-card { overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
    .lead-field { margin-bottom: 12px; }
}

/* --- Focus visible sur l'aperçu mobile cliquable --- */
.guide-phone-frame-live#openMobileDemo:focus-visible {
    outline: 2px solid var(--sienna);
    outline-offset: 4px;
}

/* --- prefers-reduced-motion : couper les boucles CSS résiduelles --- */
@media (prefers-reduced-motion: reduce) {
    .scroll-indicator, .scroll-indicator-xl { animation: none; }
    .pulse-ring { animation: none !important; opacity: 1; }
    .tablet-poke { animation: none; }
}

/* ============================================================
   ITÉRATION 7 — offre hero evidente + etats CTA
   ============================================================ */
/* reco S1 : l'offre en note manuscrite + fleche dessinee (au lieu d'une bulle qui doublonne le CTA) */
.hero-offer-hand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    margin-left: 54px; /* decale a droite : la fleche retombe sous le CTA */
}
.hero-offer-arrow {
    width: 52px;
    height: 42px;
    flex-shrink: 0;
    color: #fff;
    transform: rotate(-6deg);
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: heroArrowDraw 0.9s ease 0.35s forwards;
}
.hero-offer-hand-text {
    font-family: 'Caveat', 'Segoe Script', cursive;
    font-size: 1.7rem;
    line-height: 1.05;
    font-weight: 700;
    color: #fff;
    transform: rotate(-2deg);
    opacity: 0;
    animation: heroHandIn 0.6s ease 0.2s forwards, heroHandWiggle 3.4s ease-in-out 1.1s infinite;
}
@keyframes heroArrowDraw { to { stroke-dashoffset: 0; } }
@keyframes heroHandIn { to { opacity: 1; transform: rotate(-2deg) translateY(0); } }
@keyframes heroHandWiggle {
    0%, 100% { transform: rotate(-2deg) translateY(0); }
    50% { transform: rotate(-3.5deg) translateY(-2px); }
}
@media (max-width: 899px) {
    /* mobile : note centree sous le CTA, fleche AU-DESSUS pointant vers le bouton (plus dans le vide) */
    .hero-offer-hand { flex-direction: column; align-items: center; gap: 0; margin-left: 0; }
    .hero-offer-arrow { transform: rotate(48deg); width: 42px; height: 42px; margin-bottom: -4px; }
    .hero-offer-hand-text { font-size: 1.45rem; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-offer-arrow { animation: none; stroke-dashoffset: 0; }
    .hero-offer-hand-text { animation: none; opacity: 1; }
}

/* Etats CTA enrichis (reco 27 / DES-11) */
.btn-primary:active { transform: translateY(0) scale(0.985); }
.btn:focus-visible, .btn-primary:focus-visible {
    outline: 2px solid var(--sienna);
    outline-offset: 3px;
}


/* ============================================================
   ITÉRATION 8 — bloc "Recevez votre démo 48h" (WhatsApp) importé de lp-val1
   pour /v2 (reco c). Classes wa-* et lp-process-*.
   ============================================================ */
/* 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);
}

/* 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; }

/* reco 20 : token de chassis device unifie (un seul noir pour tous les mockups) */
:root { --device-frame: #14110e; --device-radius: 14px; }

/* reco 24 : mini-template du guide Ohana dans les tablettes temoignages
   (photo du lieu + barre titre "Villa/Loft..." + onglets, pas juste la photo) */
.testimonial-card .tcard-photo { position: relative; overflow: hidden; }
/* Aperçu de la VRAIE UX du guide (photo du lieu en hero), device portrait ancré en bas */
.tcard-uxshot {
    position: absolute;
    right: 18px;
    bottom: 0;
    width: 42%;
    max-width: 158px;
    z-index: 2;
    filter: drop-shadow(0 18px 32px rgba(0,0,0,.42));
}
.tux-frame {
    display: block;
    background: var(--device-frame);
    border-radius: 20px 20px 0 0;
    padding: 5px 5px 0;
    border: 1px solid rgba(0,0,0,.4);
    border-bottom: none;
}
.tux-frame img { display: block; width: 100%; border-radius: 15px 15px 0 0; }
@media (max-width: 600px) { .tcard-uxshot { max-width: 128px; right: 12px; } }

/* S12/A : desktop = vraie demo tablette live ; mobile = screenshots (tablette paysage + mobile superpose) */
.demo-mobile { display: none; }
@media (max-width: 768px) {
    .demo-desktop { display: none; }
    .demo-mobile { display: block; }
    .demo-mobile .tablet-mockup { display: flex !important; }
    .demo-mobile .tablet-screen { aspect-ratio: 4 / 3 !important; height: auto !important; } /* tablette PAYSAGE (pas verticale) */
}
.demo-shot-mockup { cursor: pointer; }
.tablet-shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.demo-phone-overlay {
    position: absolute;
    right: -6px;
    bottom: -24px;
    width: clamp(120px, 18%, 190px);
    aspect-ratio: 390 / 800;
    background: var(--device-frame, #14110e);
    border-radius: 26px;
    padding: 7px;
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.42);
    z-index: 6;
    border: 1px solid rgba(0, 0, 0, 0.45);
}
.demo-phone-overlay .guide-phone-notch { width: 60px; height: 13px; top: 7px; }
.demo-phone-shot { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 20px; display: block; }
.demo-open-cta {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 7;
    background: rgba(20, 16, 12, 0.82);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-full, 999px);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    pointer-events: none;
    transition: background 0.2s ease;
}
.demo-shot-mockup:hover .demo-open-cta,
.demo-shot-mockup:focus-visible .demo-open-cta { background: var(--sienna); }
.demo-shot-mockup:focus-visible { outline: 2px solid var(--sienna); outline-offset: 6px; }
/* la composition demo s'affiche a toutes les tailles (remplace l'ancien aperçu separe) */
@media (max-width: 600px) {
    .demo-shot-mockup.tablet-mockup { display: flex !important; }
    .demo-shot-mockup .tablet-poke { display: block; }
    .demo-phone-overlay { right: 4px; bottom: -14px; width: 30%; }
    .demo-open-cta { font-size: 0.76rem; bottom: 10px; }
}

/* S11 : sur mobile, les 2 CTA du bloc story passent en pleine largeur, taille egale */
@media (max-width: 600px) {
    .story-cta-row { flex-direction: column; align-items: stretch; }
    .story-cta-row .btn { width: 100%; justify-content: center; }
}

/* reco 9 : message d'erreur d'envoi du formulaire, inline (remplace alert()) */
.lead-error {
    margin-top: 14px;
    color: var(--sienna);
    font-weight: 600;
    font-size: 0.92rem;
    text-align: center;
    line-height: 1.45;
}
.lead-error a { color: var(--sienna); text-decoration: underline; }
