/* ==========================================================
   site225.com — page d'accueil motion design
   Nuit d'Abidjan : encre chaude, orange site225, blanc
   ========================================================== */
:root {
  --nuit: #0f0d0a;
  --encre: #16130f;
  --carton: #1f1b16;
  --ligne: #2e2820;
  --orange: #ff7a00;
  --ambre: #ffb300;
  --blanc: #ffffff;
  --creme: #f3ede4;
  --doux: #a69d90;
  --wa: #25d366;
  --titres: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --texte: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nuit); color: var(--creme); font: 400 17px/1.6 var(--texte); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titres); margin: 0; line-height: 1.02; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ambre); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.orange { background: linear-gradient(180deg, var(--ambre), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ambre); }
.point { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 0 rgba(255,59,48,.6); animation: rec 1.6s infinite; }
@keyframes rec { 70% { box-shadow: 0 0 0 10px rgba(255,59,48,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,48,0); } }

/* ---------- Boutons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 999px; font: 800 1.02rem var(--texte); text-decoration: none; overflow: hidden; isolation: isolate; transition: box-shadow .25s ease; will-change: transform; }
.btn span { position: relative; z-index: 1; }
.btn-orange { background: linear-gradient(180deg, var(--ambre), var(--orange)); color: var(--encre); box-shadow: 0 12px 40px -10px rgba(255,122,0,.7); }
.btn-orange:hover { box-shadow: 0 18px 50px -8px rgba(255,122,0,.9); }
.btn-wa { background: var(--wa); color: #05301a; box-shadow: 0 12px 40px -10px rgba(37,211,102,.7); }
.btn-contour { color: var(--creme); box-shadow: inset 0 0 0 2px var(--ligne); }
.btn-contour:hover { box-shadow: inset 0 0 0 2px var(--orange); }
.btn-petit { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.btn:hover::after { transform: translateX(120%); }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.nav.solide { background: rgba(15,13,10,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--ligne); }
.nav-in { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.nav-logo img { height: 36px; width: auto; }
.nav-liens { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: .95rem; }
.nav-liens a { text-decoration: none; color: var(--doux); transition: color .2s; }
.nav-liens a:hover { color: var(--blanc); }
@media (max-width: 820px) { .nav-liens { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- Héros ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-block: 120px 80px; overflow: hidden; }
.halo { position: absolute; width: 900px; height: 900px; right: -260px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,0,.28), rgba(255,122,0,0) 62%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; width: 100%; }
.hero-grid > * { min-width: 0; }
.titre { font-size: clamp(2.9rem, 7.6vw, 6.4rem); font-weight: 900; letter-spacing: -.035em; margin: 22px 0 24px; color: var(--blanc); }
.titre .ligne { display: block; overflow: hidden; padding: .04em 0 .1em; }
.titre .mot { display: inline-block; will-change: transform; }
.surligne { position: relative; font-style: normal; display: inline-block; }
.surligne svg { position: absolute; left: -2%; bottom: -.08em; width: 104%; height: .32em; overflow: visible; }
.surligne path { fill: none; stroke: var(--orange); stroke-width: 9; stroke-linecap: round; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--doux); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-carte { position: relative; aspect-ratio: 600 / 560; max-width: 100%; perspective: 900px; }
.quartier { width: 100%; height: 100%; display: block; transform-style: preserve-3d; }
.ilots rect { fill: var(--carton); }
.rues path { fill: none; stroke: #2a241d; stroke-width: 22; stroke-linecap: round; }
.trajet { fill: none; stroke: var(--orange); stroke-width: 5; stroke-dasharray: 2 12; stroke-linecap: round; opacity: .9; }
.pin-wrap { position: absolute; width: clamp(40px, 6vw, 62px); transform: translate(-50%, -100%); }
.pin-principal { width: clamp(64px, 9vw, 96px); z-index: 2; }
.pin { width: 100%; aspect-ratio: 1; display: block; filter: drop-shadow(0 10px 14px rgba(0,0,0,.5)); }
.onde { position: absolute; left: 50%; bottom: -4px; width: 60%; aspect-ratio: 3 / 1; border-radius: 50%; border: 2px solid var(--orange); transform: translateX(-50%); animation: onde 2.2s ease-out infinite; }
@keyframes onde { 0% { opacity: .9; transform: translateX(-50%) scale(.4); } 100% { opacity: 0; transform: translateX(-50%) scale(2.2); } }
.pin-label { position: absolute; left: 50%; top: -14px; transform: translate(-50%, -100%); white-space: nowrap; background: var(--blanc); color: var(--encre); font-weight: 800; font-size: .78rem; padding: 5px 11px; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.pin-principal .pin-label { background: var(--orange); color: var(--encre); font-size: .9rem; }
.defiler { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border-radius: 14px; border: 2px solid var(--ligne); transform: translateX(-50%); }
.defiler span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--orange); transform: translateX(-50%); animation: molette 1.6s ease-in-out infinite; }
@keyframes molette { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-block: 110px 70px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-carte { max-width: 520px; margin: 0 auto; width: 100%; }
  .defiler { display: none; }
}

/* ---------- Bandeau ---------- */
.bandeau { background: linear-gradient(90deg, var(--orange), var(--ambre)); color: var(--encre); overflow: hidden; transform: rotate(-2deg); margin: 30px -20px 0; }
.bandeau-piste { display: flex; align-items: center; width: max-content; animation: defile 34s linear infinite; }
.bandeau span { font: 900 clamp(1.1rem, 2.6vw, 1.7rem) var(--titres); padding: 18px 20px; white-space: nowrap; letter-spacing: .02em; }
.mini-pin { width: 30px; height: 30px; flex: none; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Problème ---------- */
section { position: relative; }
.probleme { padding-block: 140px 120px; }
.probleme-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.probleme-grid > * { min-width: 0; }
.probleme h2, .concept h2, .commerces h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; letter-spacing: -.03em; margin: 16px 0 20px; color: var(--blanc); }
.sous { font-size: 1.15rem; color: var(--doux); max-width: 44ch; }
.bascule { display: inline-flex; margin-top: 34px; padding: 6px; border-radius: 999px; background: var(--carton); border: 1px solid var(--ligne); font-weight: 800; font-size: .95rem; position: relative; }
.bascule span { position: relative; z-index: 1; padding: 10px 20px; border-radius: 999px; transition: color .3s; }
.b-avant { background: #3a1410; color: #ff8a80; }
.b-apres { color: var(--doux); }
.bascule.apres .b-avant { background: transparent; color: var(--doux); }
.bascule.apres .b-apres { background: var(--wa); color: #05301a; }

.telephone { justify-self: center; width: min(330px, 86vw); aspect-ratio: 9 / 18.5; border-radius: 46px; background: #050403; padding: 12px; box-shadow: 0 0 0 2px #2c2620, 0 40px 80px -20px rgba(0,0,0,.8), 0 0 120px -30px rgba(255,122,0,.45); }
.tel-ecran { width: 100%; height: 100%; border-radius: 36px; background: #f6f3ee; color: var(--encre); overflow: hidden; position: relative; display: flex; flex-direction: column; }
.tel-barre { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 6px; font-weight: 800; font-size: .8rem; }
.tel-barre i { width: 34px; height: 8px; border-radius: 4px; background: #d8d1c6; }
.champ { margin: 10px 14px; display: flex; align-items: center; gap: 10px; background: var(--blanc); border-radius: 999px; padding: 12px 16px; box-shadow: 0 6px 20px rgba(0,0,0,.08); font-weight: 600; font-size: .95rem; color: #3b352d; }
.champ svg { color: #8a8175; flex: none; }
.curseur { width: 2px; height: 18px; background: var(--orange); animation: clign 1s steps(1) infinite; margin-left: -6px; }
@keyframes clign { 50% { opacity: 0; } }
.resultats { position: relative; flex: 1; margin: 6px 14px 14px; }
.res-vide { position: absolute; inset: 0 0 auto 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding-top: 40px; color: #6b6358; }
.res-croix { width: 64px; height: 64px; border-radius: 50%; background: #fde4e1; color: #d93025; display: grid; place-items: center; font: 900 2.2rem var(--titres); margin-bottom: 8px; }
.res-vide p { font-weight: 800; color: var(--encre); }
.res-fiche { position: absolute; left: 0; right: 0; top: 0; background: var(--blanc); border-radius: 22px; overflow: hidden; box-shadow: 0 14px 40px rgba(0,0,0,.14); }
.fiche-photo { height: 120px; background: radial-gradient(circle at 30% 30%, #ffd27a, #ff7a00 70%); display: grid; place-items: center; }
.fiche-photo .pin { width: 70px; }
.fiche-in { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.fiche-in b { font: 800 1.1rem var(--titres); }
.fiche-in small { color: #6b6358; }
.fiche-ouvert { color: #0b8a3e; font-weight: 800; font-size: .85rem; margin-top: 2px; }
.fiche-btns { display: flex; gap: 6px; margin-top: 10px; }
.fiche-btns span { flex: 1; text-align: center; font-weight: 800; font-size: .74rem; padding: 9px 4px; border-radius: 999px; background: #f1ece4; }
.fiche-btns .wa { background: var(--wa); color: #05301a; }
.res-msg { position: absolute; left: 30px; right: 0; top: 300px; display: flex; justify-content: flex-end; }
.res-msg span { background: #d9fdd3; color: #0b3b1a; border-radius: 16px 16px 4px 16px; padding: 10px 12px; font-size: .82rem; font-weight: 600; box-shadow: 0 6px 18px rgba(0,0,0,.1); }
@media (max-width: 900px) { .probleme { padding-block: 100px 80px; } .probleme-grid { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- Concept ---------- */
.concept { padding-block: 120px; background: linear-gradient(180deg, var(--nuit), var(--encre) 30%, var(--encre) 70%, var(--nuit)); }
.concept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.concept-grid > * { min-width: 0; }
.etapes { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.etape { display: flex; gap: 18px; padding: 20px; border-radius: 22px; border: 1px solid transparent; opacity: .4; transition: opacity .4s ease, background .4s ease, border-color .4s ease; }
.etape.actif { opacity: 1; background: var(--carton); border-color: var(--ligne); }
.etape-num { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 900 1.2rem var(--titres); background: var(--ligne); color: var(--creme); transition: background .4s, color .4s; }
.etape.actif .etape-num { background: linear-gradient(180deg, var(--ambre), var(--orange)); color: var(--encre); }
.etape h3 { font-size: 1.35rem; font-weight: 800; color: var(--blanc); margin-bottom: 4px; }
.etape p { color: var(--doux); }

.construction { display: grid; place-items: center; }
.mini-site { position: relative; width: min(440px, 100%); aspect-ratio: 4 / 5; border-radius: 26px; background: #f6f3ee; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px var(--ligne); }
.ms-barre { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #ebe5dc; font-size: .72rem; color: #6b6358; font-weight: 600; }
.ms-barre i { width: 10px; height: 10px; border-radius: 50%; background: #d3cabd; }
.ms-barre span { margin-left: 10px; background: #fff; padding: 3px 12px; border-radius: 999px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-hero { position: relative; height: 38%; margin: 12px; border-radius: 18px; background: #ddd5c9; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; }
.ms-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #ff9a3c, #c2410c 60%, #3a1f14); opacity: var(--rempli, 0); }
.ms-titre { position: relative; height: 16px; width: 75%; border-radius: 8px; background: rgba(255,255,255,.75); }
.ms-titre.court { width: 50%; }
.ms-btn { position: relative; height: 26px; width: 40%; border-radius: 999px; background: var(--wa); margin-top: 6px; transform-origin: left; }
.ms-rec { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,.6); color: #fff; font-weight: 800; font-size: .7rem; padding: 4px 9px; border-radius: 999px; }
.ms-rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: clign 1s steps(1) infinite; }
.ms-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 12px; }
.ms-carte { aspect-ratio: 3 / 4; border-radius: 14px; background: #e6dfd4; }
.ms-lignes { margin: 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.ms-lignes div { height: 10px; border-radius: 5px; background: #e1d9cc; }
.ms-lignes .court { width: 60%; }
.ms-ia { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); background: var(--encre); color: var(--ambre); border-radius: 18px; padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; font-weight: 900; box-shadow: 0 20px 50px rgba(0,0,0,.4); min-width: 170px; }
.ms-code { display: flex; flex-direction: column; gap: 6px; }
.ms-code i { height: 6px; border-radius: 3px; background: #3a332a; width: 100%; }
.ms-code i:nth-child(2) { width: 70%; } .ms-code i:nth-child(3) { width: 85%; }
.ms-wa { position: absolute; right: 14px; bottom: 14px; background: var(--wa); color: #05301a; font-weight: 800; font-size: .8rem; padding: 10px 16px; border-radius: 999px; box-shadow: 0 10px 24px rgba(37,211,102,.5); }
.ms-enligne { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; background: var(--encre); color: var(--blanc); padding: 6px 14px 6px 6px; border-radius: 999px; font-size: .85rem; }
.ms-enligne .pin { width: 30px; filter: none; }
@media (max-width: 900px) { .concept { padding-block: 90px; } .concept-grid { grid-template-columns: 1fr; gap: 40px; } .etape { opacity: 1; } }

/* ---------- Chiffres ---------- */
.chiffres { padding-block: 70px; border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
.chiffres-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.chiffre b { display: block; font: 900 clamp(3rem, 9vw, 6.5rem)/1 var(--titres); letter-spacing: -.04em; background: linear-gradient(180deg, var(--ambre), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.chiffre p { color: var(--doux); font-weight: 600; margin-top: 8px; }
@media (max-width: 640px) { .chiffres-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- Commerces ---------- */
.commerces { padding-block: 120px; }
.tete { margin-bottom: 30px; }
.vide { color: var(--doux); font-size: 1.1rem; }
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.carte-co { display: block; text-decoration: none; background: var(--carton); border: 1px solid var(--ligne); border-radius: 24px; overflow: hidden; transform-style: preserve-3d; transition: border-color .3s, box-shadow .3s; will-change: transform; }
.carte-co:hover { border-color: var(--orange); box-shadow: 0 30px 60px -25px rgba(255,122,0,.55); }
.carte-img { aspect-ratio: 4 / 3; overflow: hidden; background: #2a241d; display: grid; place-items: center; }
.carte-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.carte-co:hover .carte-img img { transform: scale(1.06); }
.carte-img span { font: 900 3rem var(--titres); color: var(--orange); }
.carte-in { padding: 18px 20px 20px; }
.carte-in h3 { font-size: 1.25rem; font-weight: 800; color: var(--blanc); }
.carte-in p { color: var(--doux); font-size: .95rem; margin-top: 4px; }
.carte-lien { display: inline-block; margin-top: 12px; font-weight: 800; font-size: .88rem; color: var(--ambre); }

/* ---------- Série ---------- */
.serie { padding-block: 40px 120px; }
.serie-carte { display: flex; align-items: center; gap: 34px; text-decoration: none; padding: clamp(26px, 5vw, 56px); border-radius: 34px; background: radial-gradient(circle at 15% 50%, rgba(255,59,48,.22), transparent 55%), var(--carton); border: 1px solid var(--ligne); transition: border-color .3s; }
.serie-carte:hover { border-color: #ff3b30; }
.serie-play { flex: none; width: clamp(82px, 12vw, 120px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: #ff3b30; color: var(--blanc); box-shadow: 0 0 0 0 rgba(255,59,48,.5); animation: rec 2s infinite; }
.serie h2 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-weight: 900; color: var(--blanc); margin: 10px 0 14px; }
.serie-lien { font-weight: 800; color: var(--ambre); }
@media (max-width: 640px) { .serie-carte { flex-direction: column; align-items: flex-start; } }

/* ---------- Final ---------- */
.final { position: relative; padding-block: 140px; overflow: hidden; text-align: center; background: radial-gradient(ellipse at 50% 100%, rgba(255,122,0,.35), transparent 60%); }
.final-pins { position: absolute; inset: 0; pointer-events: none; }
.flotte { position: absolute; bottom: -80px; width: 44px; opacity: .55; animation: monte 9s linear infinite; }
.flotte:nth-child(odd) { width: 30px; animation-duration: 12s; }
.flotte:nth-child(3n) { animation-delay: -3s; } .flotte:nth-child(3n+1) { animation-delay: -6s; } .flotte:nth-child(4n) { animation-delay: -1.5s; }
@keyframes monte { 0% { transform: translateY(0) rotate(-8deg); opacity: 0; } 15% { opacity: .55; } 100% { transform: translateY(-900px) rotate(8deg); opacity: 0; } }
.final-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final h2 { font-size: clamp(2.4rem, 7vw, 5.4rem); font-weight: 900; letter-spacing: -.035em; color: var(--blanc); }
.final p { color: var(--doux); font-size: 1.15rem; }
.final .btn { margin-top: 10px; }
.numero { font-weight: 800; color: var(--creme) !important; letter-spacing: .04em; }

/* ---------- Pied ---------- */
.pied { border-top: 1px solid var(--ligne); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--doux); font-size: .9rem; }
.pied-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.pied img { height: 30px; width: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Etat final par defaut (sans JavaScript) ; les animations partent de l'etat initial */
.res-vide { opacity: 0; }
.ms-hero { --rempli: 1; }
.ms-ia, .ms-rec { opacity: 0; }
.pin-label i { display: inline-block; font-style: normal; }
html.js .bandeau-piste { animation: none; }

/* Sections épinglées : elles tiennent dans la hauteur de l'écran (ordinateur) */
@media (min-width: 901px) {
  .probleme, .concept { min-height: 100svh; display: flex; align-items: center; padding-block: 96px 40px; }
  .probleme > .wrap, .concept > .wrap { width: 100%; }
  .telephone { width: min(330px, 86vw, calc((100svh - 150px) * 0.486)); }
  .mini-site { width: min(440px, 100%, calc((100svh - 170px) * 0.8)); }
  .etape { padding: 14px 18px; }
}
/* Cartes produits de la maquette : couleurs de plats */
.ms-carte:nth-child(1) { background: radial-gradient(circle at 50% 42%, #fbf4e2 0 30%, #d48a35 31% 45%, #e9e3d4 46%); }
.ms-carte:nth-child(2) { background: radial-gradient(circle at 50% 42%, #f0a52a 0 34%, #ef4a2f 35% 45%, #e9e3d4 46%); }
.ms-carte:nth-child(3) { background: linear-gradient(180deg, #e9e3d4 0 25%, #8e1238 25% 80%, #e9e3d4 80%); }

/* ==========================================================
   Vitrine des commerces : carrousel de téléphones en 3D
   ========================================================== */
.commerces { padding-block: 120px 100px; overflow: hidden; }
.vitrine-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 0; }
.vitrine-compte { color: var(--doux); font-weight: 600; margin-top: -6px; }
.rail-nav { display: flex; gap: 10px; }
.rail-btn { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--ligne); background: var(--carton); color: var(--creme); font: 800 1.3rem var(--titres); cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.rail-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--encre); transform: scale(1.06); }
.rail-btn:disabled { opacity: .3; cursor: default; transform: none; background: var(--carton); color: var(--creme); border-color: var(--ligne); }

.rail {
  display: flex; gap: clamp(18px, 4vw, 48px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 60px calc(50% - 140px) 40px;
  perspective: 1400px; cursor: grab; outline: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail.glisse { cursor: grabbing; scroll-snap-type: none; }
.rail:focus-visible { outline: 3px solid var(--ambre); outline-offset: -6px; }
.vitrine-item { flex: none; width: 280px; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }

.tel-mini {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 19;
  border-radius: 44px; padding: 10px; background: #050403; text-decoration: none;
  box-shadow: 0 0 0 2px #2c2620, 0 50px 80px -30px rgba(0,0,0,.9);
  transform-style: preserve-3d; will-change: transform; transition: box-shadow .4s ease;
}
.vitrine-item.actif .tel-mini { box-shadow: 0 0 0 2px var(--orange), 0 50px 90px -30px rgba(0,0,0,.9), 0 0 90px -20px rgba(255,122,0,.6); }
.tel-mini::before { content: ""; position: absolute; top: 18px; left: 50%; width: 80px; height: 22px; border-radius: 12px; background: #050403; transform: translateX(-50%); z-index: 3; }
.tm-ecran { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--k4, #fbf8f3); color: var(--k3, #16130f); }
.tm-defile { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.vitrine-item.actif .tm-defile { animation: ecran-defile 9s ease-in-out 1s infinite; }
@keyframes ecran-defile { 0%, 18% { transform: translateY(0); } 50%, 68% { transform: translateY(calc(-1 * var(--course, 0px))); } 100% { transform: translateY(0); } }

.tm-barre { padding: 44px 14px 8px; background: var(--k4, #fbf8f3); display: flex; justify-content: center; }
.tm-barre span { font-size: .68rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--k3) 8%, var(--k4)); color: color-mix(in srgb, var(--k3) 70%, var(--k4)); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-hero { position: relative; height: 320px; background: var(--k3, #16130f); overflow: hidden; display: flex; align-items: flex-end; }
.tm-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.75)); }
.tm-hero-in { position: relative; z-index: 1; padding: 18px 16px; display: flex; flex-direction: column; gap: 8px; color: #fff; }
.tm-act { font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--k2, #ffb300); }
.tm-titre { font: 900 1.45rem/1.05 var(--titres); letter-spacing: -.02em; }
.tm-btn { align-self: flex-start; margin-top: 4px; font-size: .68rem; font-weight: 800; padding: 8px 12px; border-radius: 999px; background: #25d366; color: #05301a; }
.tm-section { font: 900 1.05rem var(--titres); padding: 18px 16px 10px; }
.tm-prods { display: flex; flex-direction: column; gap: 10px; padding: 0 14px; }
.tm-prod { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 16px; background: color-mix(in srgb, #fff 70%, var(--k4)); border: 1px solid color-mix(in srgb, var(--k3) 10%, var(--k4)); }
.tm-prod img, .tm-prod i { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; background: color-mix(in srgb, var(--k2) 35%, var(--k4)); }
.tm-prod b { display: block; font-size: .8rem; line-height: 1.2; }
.tm-prod span { font: 900 .82rem var(--titres); color: var(--k1, #ff7a00); }
.tm-pied { margin-top: 16px; padding: 14px; text-align: center; font-size: .62rem; font-weight: 700; background: var(--k3, #16130f); color: color-mix(in srgb, var(--k4) 70%, var(--k3)); }

.tel-vide .tm-ecran { background: repeating-linear-gradient(135deg, #1a1612 0 14px, #15120f 14px 28px); border: 2px dashed #3a332a; }
.tv-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.tv-in .pin { width: 96px; animation: flotte-pin 2.4s ease-in-out infinite; }
@keyframes flotte-pin { 50% { transform: translateY(-10px); } }
.tv-in p { font: 900 1.7rem/1.05 var(--titres); color: var(--blanc); }
.tv-plus { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--ambre), var(--orange)); color: var(--encre); font: 900 1.8rem var(--titres); box-shadow: 0 0 0 0 rgba(255,122,0,.6); animation: rec 1.8s infinite; }

.vi-info { text-align: center; transition: opacity .4s ease, transform .4s ease; opacity: .35; transform: translateY(8px); }
.vitrine-item.actif .vi-info { opacity: 1; transform: none; }
.vi-info h3 { font-size: 1.3rem; font-weight: 800; color: var(--blanc); }
.vi-info p { color: var(--doux); font-size: .92rem; margin-top: 4px; }
.vi-lien { display: inline-block; margin-top: 10px; font-weight: 800; color: var(--ambre); text-decoration: none; }
.vi-lien:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .vitrine-item { width: 240px; }
  .rail { padding-inline: calc(50% - 120px); }
  .tm-hero { height: 270px; }
  .rail-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vi-info { opacity: 1; transform: none; }
}
/* Rien ne doit dépasser sur les côtés (bandeau incliné, halo) */
html { overflow-x: clip; }
