/* ============================================
   UNITBASSE — Page iPad (ipad.html / ipad-en.html)
   Compléments aux composants de styles.css et index-extras.css.
   Créé le 01/10/2026.
   ============================================ */

/* Emplacement de capture en attente (à remplacer par les vraies captures iPad) */
.ipad-shot {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-2xl);
    border: 1px dashed var(--gold-dark);
    background: var(--gradient-glow), var(--dark);
    color: var(--cream-muted);
    font-size: var(--text-sm);
    text-align: center;
    padding: var(--space-6);
}

.ipad-shot__icon {
    width: 48px;
    height: 48px;
    color: var(--gold);
    opacity: 0.8;
}

.ipad-shot--hero {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

/* Chaîne du signal de l'ampli */
.signal-chain {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin: var(--space-8) 0 var(--space-4);
    font-size: var(--text-sm);
    color: var(--cream-muted);
}

.signal-chain__step {
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-800);
    background: var(--dark);
    color: var(--cream);
    font-weight: 600;
}

.signal-chain__step--amp {
    border-color: var(--gold-dark);
    color: var(--gold);
}

.signal-chain__arrow {
    color: var(--gold-dark);
}

/* Listes de détails (métronome, ampli) */
.detail-list {
    max-width: var(--content-width);
    margin: 0 auto;
    display: grid;
    gap: var(--space-4);
}

.detail-list__row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-lg);
    background: var(--dark);
    border: 1px solid var(--gray-900);
}

.detail-list__label {
    font-weight: 700;
    color: var(--gold);
    font-size: var(--text-sm);
}

.detail-list__value {
    color: var(--cream-soft);
    font-size: var(--text-sm);
    line-height: 1.65;
}

.section-subtitle {
    text-align: center;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--cream);
    margin: var(--space-12) 0 var(--space-6);
}

.pricing__note {
    margin-top: var(--space-6);
    font-size: var(--text-sm);
    color: var(--cream-muted);
}

.pricing__note a {
    color: var(--gold);
}

@media (max-width: 640px) {
    .detail-list__row {
        grid-template-columns: 1fr;
        gap: var(--space-1);
    }
}

/* ============================================
   v2 (01/10/2026) — identité visuelle iPad
   ============================================ */

/* Sélecteur de plateforme Mac | iPad */
.platform-switch {
    display: inline-flex;
    padding: 4px;
    margin-bottom: var(--space-5);
    border-radius: var(--radius-full);
    background: var(--dark);
    border: 1px solid var(--gray-800);
    font-size: var(--text-sm);
    font-weight: 600;
}

.platform-switch a,
.platform-switch span {
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    text-decoration: none;
}

.platform-switch a {
    color: var(--cream-muted);
    transition: color var(--duration-fast);
}

.platform-switch a:hover,
.platform-switch a:focus-visible {
    color: var(--cream);
}

.platform-switch span[aria-current] {
    background: var(--gradient-gold);
    color: var(--black);
}

/* Cadre d'iPad */
.ipad-device {
    position: relative;
    padding: 14px;
    border-radius: 30px;
    background: linear-gradient(145deg, #1c1c1c 0%, #0a0a0a 100%);
    border: 2px solid #333;
    box-shadow: var(--shadow-xl), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Caméra : sur le petit côté gauche en paysage, en haut en portrait */
.ipad-device::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2c2c2c;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
}

.ipad-device--portrait::before {
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
}

.ipad-device__screen {
    overflow: hidden;
    border-radius: 16px;
    background: var(--dark);
    aspect-ratio: 4 / 3;
}

.ipad-device--portrait .ipad-device__screen {
    aspect-ratio: 3 / 4;
}

.ipad-device__screen > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Emplacement de capture à l'intérieur d'un cadre */
.ipad-device .ipad-shot {
    height: 100%;
    aspect-ratio: auto;
    border: none;
    border-radius: 0;
}

/* Hero : un iPad en paysage, un autre en portrait devant */
.ipad-duo {
    position: relative;
    padding: 0 16% 10% 0;
}

.ipad-duo .ipad-device--portrait {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 34%;
    padding: 8px;
    border-radius: 20px;
}

.ipad-duo .ipad-device--portrait .ipad-device__screen {
    border-radius: 12px;
}

.ipad-duo .ipad-device--portrait .ipad-shot {
    font-size: var(--text-xs);
    padding: var(--space-2);
}

.ipad-duo .ipad-device--portrait .ipad-shot__icon {
    width: 28px;
    height: 28px;
}

/* Ton installation : basse → interface → iPad → casque */
.setup-chain {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    max-width: 1000px;
    margin: 0 auto var(--space-6);
    padding: 0;
}

.setup-step {
    position: relative;
    text-align: center;
}

.setup-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 28px;
    right: calc(-1 * var(--space-8) / 2);
    transform: translate(50%, -50%);
    color: var(--gold-dark);
    font-size: var(--text-xl);
}

.setup-step__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-3);
    border-radius: 50%;
    border: 1px solid var(--gold-dark);
    background: rgba(201, 162, 39, 0.08);
    color: var(--gold);
}

.setup-step__icon svg {
    width: 26px;
    height: 26px;
}

.setup-step__title {
    font-weight: 700;
    color: var(--cream);
    margin-bottom: var(--space-1);
}

.setup-step__text {
    font-size: var(--text-sm);
    color: var(--cream-muted);
    line-height: 1.6;
}

.setup-note {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--cream-muted);
    margin-bottom: var(--space-12);
}

@media (max-width: 768px) {
    .setup-chain {
        grid-template-columns: repeat(2, 1fr);
    }
    .setup-step:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .setup-chain {
        grid-template-columns: 1fr;
    }
    .setup-step::after {
        display: none;
    }
}

/* ============================================
   v3 (01/10/2026) — vraies captures dans les cadres
   ============================================ */

/* Bouton d'agrandissement placé dans l'écran du cadre */
.ipad-zoom {
    height: 100%;
    border-radius: 0;
}

.ipad-zoom img {
    object-position: center;
}

/* Capture qui ne remplit pas l'écran (ex. panneau du métronome) */
.ipad-device__screen--contain {
    background: #000;
}

.ipad-device__screen--contain img {
    object-fit: contain;
}

/* ============================================
   v4 (01/10/2026) — métronome en situation + loupe
   ============================================ */

.ipad-feature {
    position: relative;
}

/* Loupe : zoom sur le panneau, posée sur le coin inférieur gauche du cadre */
.ipad-loupe {
    position: absolute;
    left: -3%;
    bottom: 6%;
    z-index: 2;
    width: 27%;
    aspect-ratio: 646 / 900;
    border: 2px solid var(--gold-dark);
    border-radius: var(--radius-lg);
    background: #000;
    box-shadow: var(--shadow-xl), 0 0 40px rgba(201, 162, 39, 0.2);
}

.ipad-loupe img {
    object-fit: contain;
    object-position: center;
}

.ipad-loupe:hover {
    border-color: var(--gold);
}

/* ============================================
   v5 (01/10/2026) — iPad plus réaliste : tranche alu, reflet, ombre au sol
   (même esprit que le MacBook de l'accueil, css/hero-mac.css)
   ============================================ */

/* Tranche en aluminium gris sidéral autour de la bordure noire */
.ipad-device {
    border: 3px solid transparent;
    background:
        linear-gradient(160deg, #161616 0%, #070707 100%) padding-box,
        linear-gradient(145deg, #8a8a8a 0%, #3a3a3a 22%, #2a2a2a 50%, #6e6e6e 78%, #2c2c2c 100%) border-box;
    box-shadow:
        var(--shadow-xl),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 60px rgba(201, 162, 39, 0.08);
}

/* Ombre portée au sol */
.ipad-device::after {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, transparent 70%);
    filter: blur(4px);
    z-index: -1;
    pointer-events: none;
}

/* Reflet en diagonale sur l'écran */
.ipad-device__screen {
    position: relative;
}

.ipad-device__screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.07) 0%,
        rgba(255, 255, 255, 0.02) 30%,
        transparent 45%
    );
    pointer-events: none;
    z-index: 3;
}

/* Le petit iPad du hero : tranche plus fine */
.ipad-duo .ipad-device--portrait {
    border-width: 2px;
}

/* ============================================
   v6 (04/10/2026) — phrase d'introduction sous un sous-titre de section
   ============================================ */

.section-lead {
    max-width: var(--content-width);
    margin: calc(-1 * var(--space-3)) auto var(--space-6);
    text-align: center;
    font-size: var(--text-sm);
    color: var(--cream-muted);
    line-height: 1.6;
}

/* ============================================
   v7 (04/10/2026) — façades des 8 amplis dans les cartes, agrandissables
   ============================================ */

.amp-card {
    padding: var(--space-3) var(--space-3) var(--space-4);
}

.amp-card__facade {
    aspect-ratio: 1600 / 390;
    margin-bottom: var(--space-3);
    border-radius: var(--radius-md);
    background: var(--black);
}

.amp-card__facade img {
    object-fit: cover;
    object-position: center;
}

.amp-card .card--mini__title,
.amp-card .card--mini__subtitle {
    padding: 0 var(--space-2);
}

.amp-card .card--mini__subtitle {
    display: block;
}

.amp-card .zoomable__hint {
    bottom: var(--space-2);
    right: var(--space-2);
}

/* ============================================
   v8 (04/10/2026) — les 4 pédales d'effets, agrandissables
   ============================================ */

.pedals-shot {
    max-width: 1000px;
    aspect-ratio: 1600 / 361;
    margin: 0 auto var(--space-8);
    border-radius: var(--radius-lg);
    background: var(--black);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(201, 162, 39, 0.08);
}

.pedals-shot img {
    object-fit: cover;
    object-position: center;
}

/* ============================================
   v9 (04/10/2026) — démo interactive du module Gammes (js/ipad-demo.js)
   ============================================ */

.ipad-demo {
    max-width: 960px;
    margin: 0 auto var(--space-12);
}

.ipad-demo__hint {
    text-align: center;
    margin-bottom: var(--space-5);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gold);
}

/* Les deux images superposées, en fondu */
.ipad-demo__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 220ms var(--ease-out);
}

.ipad-demo__img.is-active {
    opacity: 1;
}

.ipad-demo.is-static .ipad-demo__img {
    transition: none;
}

/* Zones cliquables posées sur les boutons de la capture */
.ipad-demo__hotspots {
    position: absolute;
    inset: 0;
    z-index: 4;
}

.ipad-demo__hotspot {
    position: absolute;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transition: background var(--duration-fast), border-color var(--duration-fast);
}

.ipad-demo__hotspot:hover,
.ipad-demo__hotspot:focus-visible {
    border-color: var(--gold);
    background: rgba(201, 162, 39, 0.18);
    outline: none;
}

.ipad-demo.is-hinting .ipad-demo__hotspot {
    animation: demo-hint 1.2s var(--ease-in-out) 2;
}

@keyframes demo-hint {
    0%, 100% { border-color: transparent; background: transparent; }
    50% { border-color: rgba(201, 162, 39, 0.8); background: rgba(201, 162, 39, 0.15); }
}

/* Légende qui change avec l'écran */
.ipad-demo__caption {
    min-height: 3.2em;
    max-width: var(--content-width);
    margin: var(--space-8) auto var(--space-4);
    text-align: center;
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--cream-soft);
}

/* Boutons sous l'iPad (indispensables sur téléphone) */
.ipad-demo__menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
}

.ipad-demo__chip {
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-full);
    background: var(--dark);
    color: var(--cream-muted);
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 600;
    cursor: pointer;
    transition: color var(--duration-fast), border-color var(--duration-fast);
}

.ipad-demo__chip:hover,
.ipad-demo__chip:focus-visible {
    color: var(--cream);
    border-color: var(--gold-dark);
}

.ipad-demo__chip[aria-pressed="true"] {
    background: var(--gradient-gold);
    border-color: transparent;
    color: var(--black);
}

/* Sur téléphone, les zones sur l'écran sont trop petites : on passe par les boutons */
@media (max-width: 640px) {
    .ipad-demo__hotspots {
        display: none;
    }
}

/* ============================================
   v10 (04/10/2026) — une seule démo pour toute l'app : intitulés de groupe des boutons
   ============================================ */

.ipad-demo__menu-label {
    flex-basis: 100%;
    margin-top: var(--space-3);
    text-align: center;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
}

.ipad-demo__menu-label:first-child {
    margin-top: 0;
}

/* ============================================
   v11 (04/10/2026) — démo sur téléphone : zoom sur la zone utile
   (transform calculé par js/ipad-demo.js à partir de « focus »)
   ============================================ */

.ipad-demo__img {
    transform-origin: 0 0;
    transition: opacity 220ms var(--ease-out), transform 450ms var(--ease-out);
}

.ipad-demo.is-static .ipad-demo__img {
    transition: none;
}

.ipad-demo__full {
    display: block;
    margin: 0 auto var(--space-4);
    padding: var(--space-2) var(--space-5);
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--gold);
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 700;
    cursor: pointer;
}

.ipad-demo__full[hidden] {
    display: none;
}

@media (max-width: 640px) {
    /* bordure de l'iPad plus fine : plus de place pour l'écran */
    .ipad-demo .ipad-device {
        padding: 6px;
        border-width: 2px;
        border-radius: 18px;
    }
    .ipad-demo .ipad-device__screen {
        border-radius: 12px;
    }
    .ipad-demo__caption {
        margin-top: var(--space-5);
    }
    .ipad-demo__chip {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm);
    }
}

/* ============================================
   v12 (04/10/2026) — démo : barre onglets + menu déroulant au-dessus de l'écran
   (remplace la rangée de boutons ; écran pleine largeur sur téléphone)
   ============================================ */

.ipad-demo__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.ipad-demo__modules {
    display: inline-flex;
    padding: 4px;
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-full);
    background: var(--dark);
}

.ipad-demo__module {
    padding: var(--space-2) var(--space-4);
    border: 0;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--cream-muted);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    transition: color var(--duration-fast);
}

.ipad-demo__module:hover,
.ipad-demo__module:focus-visible {
    color: var(--cream);
}

.ipad-demo__module[aria-pressed="true"] {
    background: var(--gradient-gold);
    color: var(--black);
}

.ipad-demo__select-wrap[hidden] {
    display: none;
}

.ipad-demo__select {
    min-width: 210px;
    padding: var(--space-2) var(--space-10) var(--space-2) var(--space-4);
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-full);
    background: var(--dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c9a227'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
    color: var(--cream);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.ipad-demo__select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.ipad-demo__nav .ipad-demo__full {
    margin: 0;
}

@media (max-width: 640px) {
    .ipad-demo__hint {
        display: none;
    }
    .ipad-demo__nav {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-2);
        margin-bottom: var(--space-3);
    }
    .ipad-demo__modules {
        display: flex;
    }
    .ipad-demo__module {
        flex: 1;
        padding: var(--space-2) var(--space-1);
        font-size: var(--text-xs);
    }
    .ipad-demo__select {
        width: 100%;
        font-size: 16px;   /* évite le zoom automatique de Safari sur le champ */
    }
    .ipad-demo__nav .ipad-demo__full {
        align-self: center;
    }
    /* écran sans bordure d'iPad : toute la largeur pour la lisibilité */
    .ipad-demo .ipad-device {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
    }
    .ipad-demo .ipad-device::before,
    .ipad-demo .ipad-device::after {
        display: none;
    }
    .ipad-demo .ipad-device__screen {
        border-radius: 10px;
    }
    .ipad-demo__caption {
        min-height: 0;
        margin: var(--space-3) auto 0;
    }
}

/* ============================================
   v13 (04/10/2026) — la barre onglets + menu n'apparaît que sur appareil tactile
   (iPhone, iPad, Android) ou petit écran. À la souris, les boutons de l'écran suffisent.
   ============================================ */

.ipad-demo__nav,
.only-touch {
    display: none;
}

@media (hover: none) and (pointer: coarse), (max-width: 640px) {
    .ipad-demo__nav {
        display: flex;
    }
    .only-touch {
        display: inline;
    }
    .only-pointer {
        display: none;
    }
}

/* ============================================
   v14 (04/10/2026) — démo : boutons d'écoute des riffs (Lourd / Funky)
   ============================================ */

.ipad-demo__audio {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-2);
}

.ipad-demo__audio[hidden] {
    display: none;
}

.ipad-demo__sound {
    min-width: 110px;
    padding: var(--space-2) var(--space-5);
    border: 1px solid var(--gold-dark);
    border-radius: var(--radius-full);
    background: var(--dark);
    color: var(--cream);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 700;
    cursor: pointer;
    transition: background var(--duration-fast), color var(--duration-fast);
}

.ipad-demo__sound:hover,
.ipad-demo__sound:focus-visible {
    border-color: var(--gold);
}

.ipad-demo__sound[aria-pressed="true"] {
    background: var(--gradient-gold);
    border-color: transparent;
    color: var(--black);
}

/* ============================================
   v15 (04/10/2026) — hero sans images : accroche centrée, démo juste en dessous
   ============================================ */

.hero--compact {
    min-height: 0;
    display: block;
    padding-bottom: var(--space-16);
}

.hero__inner--single {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.hero__inner--single .hero__text {
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
}

.hero__inner--single .hero__buttons {
    justify-content: center;
}

.hero__demo {
    position: relative;
    z-index: 2;
    margin-top: var(--space-12);
}

/* ============================================
   v16 (04/10/2026) — liste des 8 amplis (image + voile posés en ligne sur la carte,
   car une url() dans une variable CSS serait lue depuis le dossier css/) : la façade en fond de carte
   (voile sombre côté texte pour la lisibilité)
   ============================================ */

.amp-tile {
    position: relative;
    overflow: hidden;
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: var(--dark);
    background-position: center, center;
    background-size: cover, cover;
    background-repeat: no-repeat;
    border-color: var(--gray-800);
}

.amp-tile .card--mini__title {
    font-size: var(--text-lg);
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--gold);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.amp-tile .card--mini__subtitle {
    color: var(--cream);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95), 0 0 2px rgba(0, 0, 0, 0.9);
}

.amp-tile:hover {
    border-color: var(--gold-dark);
}

/* ============================================
   v19 (05/10/2026) — vidéo de démonstration dans un cadre d'iPad, avec lecteur
   ============================================ */

.module-film {
    max-width: 820px;
    margin: 0 auto var(--space-10);
}

.module-film .ipad-device__screen video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0a0a0a;
}

.module-film__caption {
    margin-top: var(--space-6);
    text-align: center;
    font-size: var(--text-sm);
    color: var(--cream-muted);
}

@media (max-width: 700px) {
    .module-film .ipad-device {
        padding: 6px;
        border-radius: 18px;
    }
    .module-film .ipad-device__screen {
        border-radius: 12px;
    }
}

/* v20 (05/10/2026) — lecteur vidéo : pas de reflet par-dessus, gros bouton lecture */
.module-film .ipad-device__screen::after {
    display: none;
}

.module-film__play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    width: 76px;
    height: 76px;
    margin: -38px 0 0 -38px;
    border: 0;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: var(--black);
    font-size: 28px;
    line-height: 76px;
    text-indent: 5px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: transform var(--duration-fast), opacity var(--duration-fast);
}

.module-film__play:hover {
    transform: scale(1.06);
}

.module-film.is-playing .module-film__play {
    opacity: 0;
    pointer-events: none;
}

/* v21 (05/10/2026) — vidéo jouée dans l'écran de la démo (bouton PLAY) */
.ipad-demo__video {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 0 0;
    background: #0a0a0a;
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms var(--ease-out);
}

.ipad-demo.is-video .ipad-demo__video {
    opacity: 1;
    visibility: visible;
}

/* v22 (05/10/2026) — boutons « Bientôt sur l'App Store » (avant la sortie) */
.is-soon {
    cursor: default;
    opacity: 0.9;
}

.btn.is-soon:hover {
    transform: none;
}
