/* Chams : scène « Nos voyages en vidéo »
 * Aplat bleu marine, trame de zellige, faisceau de projecteur ambre, cartes 3D en éventail, reflet miroir au sol.
 * En fin de fichier : présentation simple du fondateur (section claire). */

.ch-stage {
    --navy: #16264A;
    --night: #0C1630;
    --amber: #E3A33A;
    --cream: #FBF7F0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
    border-radius: 0;
    color: var(--cream);
    background:
        radial-gradient(120% 70% at 50% 0%, #22386A 0%, var(--navy) 45%, var(--night) 100%);
}
/* trame de zellige, plus visible au centre */
.ch-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--zellige) center top / 64px 64px;
    opacity: .16;
    -webkit-mask-image: radial-gradient(80% 60% at 50% 35%, #000 0%, transparent 85%);
            mask-image: radial-gradient(80% 60% at 50% 35%, #000 0%, transparent 85%);
}
/* frise d'étoiles en bas de la scène */
.ch-stage::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 14px;
    z-index: -1;
    background: var(--star) center / 14px 14px repeat-x;
    opacity: .5;
}
/* faisceau du projecteur */
.ch-stage-light {
    position: absolute;
    z-index: -1;
    top: -40px;
    left: 50%;
    width: min(760px, 130%);
    height: 88%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(255, 231, 186, .34) 0%, rgba(227, 163, 58, .12) 45%, transparent 85%);
    clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
    filter: blur(18px);
    pointer-events: none;
    animation: ch-beam 7s ease-in-out infinite alternate;
}
@keyframes ch-beam { from { opacity: .75; } to { opacity: 1; } }

.ch-stage .ch-kicker { color: var(--amber); }
.ch-stage h2 { color: #fff; margin: 0; }
.ch-stage h2 em { color: var(--amber); font-style: italic; }

/* ---------- En-tête des vidéos ---------- */
.ch-stage-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.ch-stage-head .ch-kicker { justify-content: center; }
.ch-stage-head h2 { font-family: var(--serif, "Young Serif", Georgia, serif); font-weight: 400; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; margin: 12px 0 14px; }
.ch-stage-head p:last-child { color: rgba(251, 247, 240, .72); margin: 0; }

/* ---------- Carrousel 3D ---------- */
.ch-reels { position: relative; --cw: clamp(220px, 24vw, 320px); }
.ch-reels-track {
    position: relative;
    height: calc(var(--cw) * 16 / 9 + 40px);
    perspective: 1400px;
    perspective-origin: 50% 40%;
    transform-style: preserve-3d;
    touch-action: pan-y;
    user-select: none;
}
.ch-reel {
    position: absolute;
    left: 50%;
    top: 20px;
    width: var(--cw);
    aspect-ratio: 9 / 16;
    margin-left: calc(var(--cw) / -2);
    border-radius: 26px;
    overflow: hidden;
    background: #0a1328;
    cursor: pointer;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08);
    transition: transform .7s cubic-bezier(.2, .75, .2, 1), filter .7s, opacity .7s;
    -webkit-box-reflect: below 8px linear-gradient(transparent 80%, rgba(255, 255, 255, .2));
    will-change: transform;
}
.ch-reel video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ch-reel::after { /* voile de lisibilité */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 22, 48, .35) 0%, transparent 25%, transparent 55%, rgba(12, 22, 48, .85) 100%);
    pointer-events: none;
}
.ch-reel.is-active { cursor: default; box-shadow: 0 50px 90px -25px rgba(0, 0, 0, .85), 0 0 0 1px rgba(227, 163, 58, .55), 0 0 60px -10px rgba(227, 163, 58, .35); }

.ch-reel-tag, .ch-reel-dur {
    position: absolute;
    top: 16px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(12, 22, 48, .55);
    border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
}
.ch-reel-tag { left: 16px; }
.ch-reel-dur { right: 16px; letter-spacing: .04em; }
.ch-reel-title {
    position: absolute;
    z-index: 2;
    left: 20px;
    right: 76px;
    bottom: 22px;
    margin: 0;
    font-family: var(--serif, "Young Serif", Georgia, serif);
    font-weight: 400;
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
.ch-reel-ctrl {
    position: absolute;
    z-index: 3;
    right: 14px;
    bottom: 18px;
    display: grid;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s, transform .4s;
    pointer-events: none;
}
.ch-reel.is-active .ch-reel-ctrl { opacity: 1; transform: none; pointer-events: auto; }
.ch-reel-btn {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(12, 22, 48, .5);
    color: #fff;
    cursor: pointer;
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    transition: background .2s, transform .2s;
}
.ch-reel-btn:hover { background: rgba(12, 22, 48, .8); transform: scale(1.06); }
.ch-reel-btn.is-amber { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.ch-reel-btn svg { width: 20px; height: 20px; }
.ch-reel-btn:focus-visible, .ch-reels-arrow:focus-visible, .ch-reels-dots button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.ch-reel .ch-ico-on, .ch-reel .ch-ico-play { display: none; }
.ch-reel.is-sound .ch-ico-on { display: inline; }
.ch-reel.is-sound .ch-ico-off { display: none; }
.ch-reel.is-paused .ch-ico-play { display: inline; }
.ch-reel.is-paused .ch-ico-pause { display: none; }

/* lueur au sol sous la carte active */
.ch-reels-floor {
    position: relative;
    height: calc(var(--cw) * 16 / 9 * .2);
    margin-top: -12px;
    pointer-events: none;
    background: radial-gradient(40% 50% at 50% 30%, rgba(227, 163, 58, .28), transparent 70%);
}

.ch-reels-cap { text-align: center; min-height: 92px; max-width: 560px; margin: 8px auto 8px; }
.ch-reels-cap-tag { margin: 0 0 8px; font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); }
.ch-reels-cap-text { margin: 0; color: rgba(251, 247, 240, .82); font-size: 1.04rem; line-height: 1.6; }

.ch-reels-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 14px; }
.ch-reels-arrow {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(227, 163, 58, .45);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.ch-reels-arrow:hover { background: rgba(227, 163, 58, .15); border-color: var(--amber); }
.ch-reels-arrow svg { width: 22px; height: 22px; }
.ch-reels-dots { display: flex; gap: 8px; align-items: center; }
.ch-reels-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(251, 247, 240, .35);
    cursor: pointer;
    transition: width .35s, background .35s;
}
.ch-reels-dots button[aria-current="true"] { width: 40px; background: var(--amber); }

/* ---------- Téléphone ---------- */
@media (max-width: 560px) {
    .ch-reels { --cw: min(62vw, 250px); }
    .ch-reel-btn { width: 40px; height: 40px; }
    .ch-reels-arrow { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    .ch-stage-light { animation: none; }
    .ch-reel { transition: none; }
}

/* ---------- Votre chauffeur : présentation simple ---------- */
.ch-owner-sec { background: var(--paper); }
.ch-owner {
    display: grid;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    max-width: 1000px;
}
.ch-owner-img { width: 100%; height: auto; aspect-ratio: 768 / 840; object-fit: cover; border-radius: var(--r, 6px); display: block; }
.ch-owner-text h2 { margin: 8px 0 16px; }
.ch-owner-text h2 em { color: var(--amber, #E3A33A); }
.ch-owner-text > p:not(.ch-kicker) { color: var(--ink-2, #5E5A52); line-height: 1.7; max-width: 50ch; margin: 0 0 24px; }
@media (max-width: 760px) {
    .ch-owner { grid-template-columns: 1fr; }
    .ch-owner-img { max-width: 360px; }
}
