/* Gamme intelligente — feuille unique. Sombre, sobre, grands titres (esprit Apple / nexca.com, sans copie). */
:root {
  --fond: #111214;
  --surface: #1a1b1f;
  --surface-2: #232429;
  --ligne: #2e3036;
  --texte: #f2f2f4;
  --doux: #a7a9b3;
  --pale: #8b8e99;
  --blanc: #ffffff;
  --ok: #34c759;
  --pixel: linear-gradient(90deg, #ff3b30, #ff9500, #ffcc00, #34c759, #00c7be, #0a84ff, #5e5ce6, #bf5af2, #ff2d55, #ff3b30);
  --rayon: 22px;
  --large: 1360px;
  --police: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fond); color: var(--texte); font-family: var(--police);
  font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.passer { position: absolute; left: -999px; }
.passer:focus { left: 16px; top: 16px; z-index: 99; background: var(--blanc); color: #000; padding: 8px 14px; border-radius: 8px; }
.cadre { width: min(var(--large), 100% - clamp(32px, 8vw, 128px)); margin-inline: auto; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 40; backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: rgba(17, 18, 20, .72); border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.entete .cadre { display: flex; align-items: center; gap: 28px; height: 60px; }
/* Logo C « Plafond » (choix de Jo, 20 nov.) : la ligne de lumière au-dessus du nom, avec sa lueur. */
.marque { font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: 15px; text-decoration: none; white-space: nowrap;
  display: inline-flex; flex-direction: column; align-items: stretch; gap: .42em; line-height: 1; }
.marque i { position: relative; display: block; height: 2px; border-radius: 2px; margin-right: .22em; background: var(--pixel); background-size: 200% 100%;
  animation: defile 6s linear infinite; }
.marque i::after { content: ""; position: absolute; inset: -1px 0; border-radius: inherit; background: inherit; filter: blur(5px); opacity: .75; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--doux); font-size: 14px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--texte); }
.langue { color: var(--doux); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .08em; border: 1px solid var(--ligne); border-radius: 999px; padding: 5px 10px; }
.langue:hover { color: var(--texte); border-color: var(--doux); }
.btn-panier { position: relative; background: none; border: 0; color: var(--texte); cursor: pointer; padding: 8px; border-radius: 10px; }
.btn-panier:hover { background: var(--surface-2); }
.btn-panier b { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--blanc); color: #000;
  font-size: 11px; line-height: 18px; text-align: center; padding: 0 4px; }
.btn-panier b:empty { display: none; }
@media (max-width: 760px) { .entete .cadre { flex-wrap: wrap; height: auto; padding: 12px 0 0; gap: 0 10px; justify-content: space-between; } .langue { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; gap: 22px; padding: 12px 0; scrollbar-width: none; } }

/* ---------- Typo ---------- */
.surtitre { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--doux); margin: 0 0 14px; }
h1, h2, h3 { margin: 0; font-weight: 600; }
.titre-xl { font-size: clamp(42px, 7.4vw, 88px); line-height: 1.02; letter-spacing: -.045em; }
.titre-l { font-size: clamp(32px, 4.8vw, 56px); line-height: 1.06; letter-spacing: -.035em; }
.titre-m { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -.02em; }
.titre-xl span, .titre-l span { color: var(--pale); }
.chapeau { font-size: clamp(17px, 1.6vw, 21px); color: var(--doux); max-width: 38em; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 13px 24px; font-size: 16px; font-weight: 500;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn-plein { background: var(--blanc); color: #000; }
.btn-plein:hover { background: #e6e6ea; }
.btn-plein[disabled] { background: var(--surface-2); color: var(--pale); cursor: not-allowed; }
.btn-contour { border-color: var(--ligne); color: var(--texte); background: transparent; }
.btn-contour:hover { background: var(--surface); }
.lien { color: var(--texte); text-decoration: none; font-weight: 500; }
.lien::after { content: " ›"; }
.lien:hover { text-decoration: underline; }

/* ---------- Bandeau pixel (signature) ---------- */
.pixel { height: 4px; border-radius: 4px; background: var(--pixel); background-size: 200% 100%; animation: defile 8s linear infinite;
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 14px); mask: repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 14px);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, .35)); }
@keyframes defile { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .pixel, .marque i { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Accueil ---------- */
.heros { padding: clamp(48px, 8vw, 110px) 0 40px; }
.heros .cadre { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.heros .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.ecran { position: relative; aspect-ratio: 9 / 16; max-height: 78vh; margin-left: auto; border-radius: 34px; overflow: hidden;
  background: #000; box-shadow: 0 40px 120px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); }
.ecran video, .ecran img { width: 100%; height: 100%; object-fit: cover; }
.heros .pixel { margin-top: 56px; }
.points-heros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; color: var(--doux); font-size: 14px; }
.points-heros b { color: var(--pale); font-weight: 500; margin-right: 8px; }
@media (max-width: 860px) {
  .heros .cadre { grid-template-columns: 1fr; }
  .ecran { margin: 0 auto; width: min(100%, 360px); }
  .points-heros { grid-template-columns: 1fr 1fr; }
}

.section { padding: clamp(64px, 10vw, 130px) 0; scroll-margin-top: 40px; }
.section + .section { border-top: 1px solid rgba(255, 255, 255, .05); }
.entete-section { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }

.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.carte { background: var(--surface); border-radius: var(--rayon); padding: 28px; display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; border: 1px solid rgba(255, 255, 255, .04); transition: transform .25s, border-color .25s; }
.carte:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .14); }
.carte .visuel { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.carte .visuel img { width: 100%; height: 100%; object-fit: contain; }
.carte .visuel.sombre { background: linear-gradient(160deg, #26272d, #121316); }
.silhouette-mini { width: 44%; aspect-ratio: 1.6; border-radius: 12px; background: linear-gradient(160deg, #3a3b42, #1c1d22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 20px 40px rgba(0, 0, 0, .5); position: relative; }
.silhouette-mini::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 22%; height: 3px; border-radius: 3px;
  background: var(--pixel); background-size: 200% 100%; animation: defile 6s linear infinite; }
.carte p { margin: 0; color: var(--doux); }
.carte .bas { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 8px; }
.prix { font-weight: 600; }
.prix.attente { color: var(--pale); font-weight: 500; }
.cartes.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .cartes, .cartes.deux { grid-template-columns: minmax(0, 1fr); } }

.atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ligne); border-radius: var(--rayon); overflow: hidden; }
.atout { background: var(--fond); padding: 34px 30px; }
.atout h3 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 8px; }
.atout p { margin: 0; color: var(--doux); }
.atout .no { font-size: 13px; color: var(--pale); display: block; margin-bottom: 18px; }
@media (max-width: 900px) { .atouts { grid-template-columns: 1fr; } }

.galerie { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 14px; overflow-x: auto; padding-bottom: 12px;
  scroll-snap-type: x mandatory; scrollbar-width: thin; }
.galerie figure { margin: 0; scroll-snap-align: start; }
.galerie img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; border-radius: 18px; width: 100%; height: auto; }
.galerie figcaption { color: var(--doux); font-size: 14px; margin-top: 10px; }

.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: e; }
.etape { background: var(--surface); border-radius: var(--rayon); padding: 30px; }
.etape::before { counter-increment: e; content: "0" counter(e); display: block; color: var(--pale); font-size: 13px; margin-bottom: 26px; }
.etape h3 { font-size: 21px; margin-bottom: 8px; }
.etape p { margin: 0; color: var(--doux); }
@media (max-width: 900px) { .etapes { grid-template-columns: 1fr; } }

.calcul { background: var(--surface); border-radius: var(--rayon); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.calcul label { display: block; color: var(--doux); font-size: 14px; margin-bottom: 10px; }
.calcul input[type=range] { width: 100%; accent-color: var(--blanc); }
.calcul .valeur { font-size: 44px; font-weight: 600; letter-spacing: -.03em; }
.calcul .reponse { border-left: 1px solid var(--ligne); padding-left: 32px; }
.calcul .reponse p { margin: 6px 0; color: var(--doux); }
.calcul .reponse strong { color: var(--texte); }
@media (max-width: 760px) { .calcul { grid-template-columns: 1fr; } .calcul .reponse { border-left: 0; padding-left: 0; border-top: 1px solid var(--ligne); padding-top: 24px; } }

.faq details { border-bottom: 1px solid var(--ligne); padding: 22px 0; }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--doux); font-weight: 300; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--doux); margin: 14px 0 0; max-width: 46em; }

.final { text-align: center; }
.final .chapeau { margin: 18px auto 30px; }

/* ---------- Fiche produit ---------- */
.produit { padding: clamp(28px, 5vw, 64px) 0 40px; }
.produit .cadre { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.produit .photo { background: #fff; border-radius: 28px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; position: sticky; top: 84px; }
.produit .photo img { width: 92%; height: 92%; object-fit: contain; }
.produit .photo.sombre { background: radial-gradient(circle at 50% 40%, #2b2c33, #121316 70%); }
.produit .photo .silhouette { width: 46%; aspect-ratio: 1.6; border-radius: 18px; background: linear-gradient(160deg, #3a3b42, #1c1d22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 60px rgba(0, 0, 0, .5); position: relative; }
.produit .photo .silhouette::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 22%; height: 4px; border-radius: 4px; background: var(--pixel); background-size: 200% 100%; animation: defile 6s linear infinite; }
.achat { display: flex; flex-direction: column; gap: 18px; }
.achat .prix { font-size: 24px; }
.achat select, .achat input[type=number] { background: var(--surface); color: var(--texte); border: 1px solid var(--ligne); border-radius: 12px;
  padding: 12px 14px; font: inherit; width: 100%; }
.achat .ligne { display: grid; grid-template-columns: 1fr 110px; gap: 10px; }
.achat ul { margin: 0; padding-left: 20px; color: var(--doux); }
.achat ul li { margin: 6px 0; }
.note { font-size: 14px; color: var(--pale); }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--ligne); vertical-align: top; font-size: 16px; }
.specs th { color: var(--doux); font-weight: 400; width: 42%; padding-right: 20px; }
.compat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .produit .cadre { grid-template-columns: minmax(0, 1fr); } .produit .photo { position: static; } .compat { grid-template-columns: 1fr; } }

/* ---------- Panier ---------- */
.voile { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 60; }
.panier { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--surface); z-index: 61;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; }
body.panier-ouvert .voile { opacity: 1; pointer-events: auto; }
body.panier-ouvert .panier { transform: none; }
.panier header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--ligne); }
.panier header h2 { font-size: 20px; }
.panier .fermer { background: none; border: 0; color: var(--doux); font-size: 26px; cursor: pointer; line-height: 1; }
.panier .lignes { flex: 1; overflow-y: auto; padding: 8px 24px; }
.panier .item { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 16px 0; border-bottom: 1px solid var(--ligne); }
.panier .item .qte { display: flex; align-items: center; gap: 8px; }
.panier .item button { background: var(--surface-2); color: var(--texte); border: 0; width: 28px; height: 28px; border-radius: 8px; cursor: pointer; }
.panier .item .retirer { width: auto; background: none; color: var(--pale); font-size: 13px; padding: 0; }
.panier footer { padding: 20px 24px 28px; border-top: 1px solid var(--ligne); display: grid; gap: 12px; }
.panier .total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 600; }
.panier .vide { color: var(--doux); padding: 40px 0; text-align: center; }
.message { font-size: 14px; color: var(--doux); min-height: 1em; }

/* ---------- Pied ---------- */
.pied { border-top: 1px solid rgba(255, 255, 255, .06); padding: 48px 0 60px; color: var(--pale); font-size: 13px; }
.pied .cadre { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.pied a { color: var(--doux); text-decoration: none; display: block; margin: 6px 0; }
.pied a:hover { color: var(--texte); }
.pied .pied-t { color: var(--texte); font-size: 13px; font-weight: 600; margin: 0 0 10px; }
.bandeau-essai { background: #2a2310; color: #f5d27a; text-align: center; font-size: 13px; padding: 8px 16px; }
@media (max-width: 760px) { .pied .cadre { grid-template-columns: 1fr; } }

.apparait { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.apparait.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .apparait { opacity: 1; transform: none; } }

.specs tr.groupe th { color: var(--texte); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding-top: 34px; border-bottom-color: var(--doux); }
.specs tr.groupe:first-child th { padding-top: 0; }
.notes { color: var(--doux); padding-left: 20px; }
.notes li { margin: 8px 0; }

/* ---------- Assistant IA ---------- */
.btn-assistant { position: fixed; right: 20px; bottom: 20px; z-index: 50; border: 1px solid rgba(255, 255, 255, .14); background: rgba(26, 27, 31, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--texte); border-radius: 999px; padding: 12px 18px; font: inherit; font-size: 15px; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.btn-assistant span { background: var(--pixel); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: defile 6s linear infinite; }
.assistant { position: fixed; right: 20px; bottom: 20px; z-index: 55; width: min(400px, calc(100% - 32px)); height: min(560px, calc(100% - 100px));
  background: var(--surface); border: 1px solid var(--ligne); border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.assistant[hidden], .btn-assistant[hidden] { display: none; }
.assistant header { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--ligne); }
.assistant header span { display: block; font-size: 12px; color: var(--pale); margin-top: 2px; }
.assistant .fermer { background: none; border: 0; color: var(--doux); font-size: 24px; cursor: pointer; line-height: 1; }
.assistant .fil { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.bulle { margin: 0; padding: 10px 14px; border-radius: 16px; max-width: 88%; white-space: pre-wrap; font-size: 15px; line-height: 1.45; }
.bulle.ia { background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 6px; }
.bulle.moi { background: var(--blanc); color: #000; align-self: flex-end; border-bottom-right-radius: 6px; }
.bulle.attente { color: var(--pale); }
.saisie { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--ligne); }
.saisie textarea { flex: 1; resize: none; background: var(--fond); color: var(--texte); border: 1px solid var(--ligne); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; max-height: 120px; }
.saisie .btn { padding: 10px 16px; }
@media (max-width: 760px) { .assistant { right: 8px; bottom: 8px; width: calc(100% - 16px); height: calc(100% - 80px); } .btn-assistant { right: 12px; bottom: 12px; } }

/* ---------- Pages d'information et contact ---------- */
.bloc-info { padding: 22px 0; border-top: 1px solid var(--ligne); }
.bloc-info h2 { margin-bottom: 8px; }
.bloc-info p { color: var(--doux); margin: 0; }
.contact-grille { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-top: 28px; }
.formulaire { display: grid; gap: 16px; }
.formulaire label { display: grid; gap: 6px; color: var(--doux); font-size: 14px; }
.formulaire input, .formulaire textarea { background: var(--surface); color: var(--texte); border: 1px solid var(--ligne); border-radius: 12px; padding: 12px 14px; font: inherit; }
.formulaire input:focus, .formulaire textarea:focus, .saisie textarea:focus { outline: 2px solid var(--blanc); outline-offset: 1px; }
.formulaire .pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.coord p { color: var(--doux); margin: 6px 0 22px; }
.pied .cadre { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 760px) { .contact-grille, .pied .cadre { grid-template-columns: 1fr; } }

/* ---------- Accueil enrichi ---------- */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ligne); border-radius: var(--rayon); overflow: hidden; }
.chiffre { background: var(--fond); padding: 30px 26px; }
.chiffre b { display: block; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; font-weight: 600; }
.chiffre span { color: var(--doux); font-size: 15px; }
.bio-grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.bio-grille p { color: var(--doux); font-size: 18px; }
.bio-barre { height: 64px; border-radius: 16px; box-shadow: 0 0 40px rgba(255, 200, 140, .12); }
.bio-heures { display: flex; justify-content: space-between; color: var(--pale); font-size: 12px; margin: 8px 2px 18px; }
.bio-table th, .bio-table td { font-size: 14px; padding: 9px 8px 9px 0; width: auto; }
.pastille { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.tableau-defile { overflow-x: auto; }
.comparaison { width: 100%; border-collapse: collapse; min-width: 560px; }
.comparaison th, .comparaison td { text-align: left; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.comparaison tr:first-child th { color: var(--pale); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.comparaison th[scope=row] { font-weight: 500; width: 22%; }
.comparaison td { color: var(--doux); }
.comparaison td:last-child { color: var(--texte); }
.fonctions, .usages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fonction, .usage { background: var(--surface); border-radius: var(--rayon); padding: 24px; }
.fonction h3, .usage h3 { font-size: 18px; margin-bottom: 6px; }
.fonction p, .usage p { color: var(--doux); margin: 0; font-size: 15px; }
.puces { display: flex; flex-wrap: wrap; gap: 10px; }
.puces span { border: 1px solid var(--ligne); border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--doux); }
.chaine { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.chaine i { align-self: center; color: var(--pale); font-style: normal; font-size: 22px; }
.maillon { flex: 1 1 150px; background: var(--surface); border-radius: 18px; padding: 20px; }
.maillon b { display: block; margin-bottom: 4px; }
.maillon span { color: var(--doux); font-size: 14px; }
@media (max-width: 900px) { .chiffres { grid-template-columns: 1fr 1fr; } .bio-grille, .fonctions, .usages { grid-template-columns: 1fr; } .chaine i { transform: rotate(90deg); margin: 0 auto; } .maillon { flex-basis: 100%; } }

/* ---------- Pixel : démonstration, icônes ---------- */
.ico { width: 30px; height: 30px; color: var(--texte); margin-bottom: 16px; display: block; }
.atout .ico, .fonction .ico, .avantage .ico { filter: drop-shadow(0 0 10px rgba(120, 160, 255, .25)); }
.bande { display: grid; gap: 3px; height: 26px; border-radius: 8px; padding: 6px; background: #08090a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.bande i { border-radius: 3px; background: #222; transition: background .08s linear; }
.bande-heros { margin-top: 56px; height: 22px; padding: 5px; }
.bande-heros i, .demo .bande[data-mode=pixel] i { box-shadow: 0 0 10px currentColor, 0 0 22px currentColor; }
.demo { background: radial-gradient(120% 140% at 50% 0%, #1d1f26, #0c0d0f 70%); border-radius: 28px; padding: clamp(20px, 4vw, 44px); margin: 34px 0 40px; border: 1px solid rgba(255,255,255,.06); }
.demo-rang + .demo-rang { margin-top: 26px; }
.demo .note { margin: 0 0 10px; }
.effets-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.puce-effet { background: transparent; color: var(--doux); border: 1px solid var(--ligne); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14px; cursor: pointer; }
.puce-effet:hover { color: var(--texte); border-color: var(--doux); }
.puce-effet.actif { background: var(--blanc); color: #000; border-color: var(--blanc); }
.avantages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.avantage { background: var(--surface); border-radius: var(--rayon); padding: 26px; }
.avantage h3 { font-size: 18px; margin-bottom: 6px; }
.avantage p { color: var(--doux); margin: 0; font-size: 15px; }
.pixel-section .titre-l span { background: var(--pixel); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: defile 10s linear infinite; }
@media (max-width: 900px) { .avantages { grid-template-columns: 1fr 1fr; } .bande { gap: 2px; padding: 4px; } }
@media (max-width: 520px) { .avantages { grid-template-columns: 1fr; } }

.arc { font-style: normal; background: var(--pixel); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: defile 8s linear infinite; }

/* ---------- Héros pleine largeur (2026) ---------- */
.heros.plein { position: relative; min-height: calc(100svh - 96px); display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0; overflow: hidden; isolation: isolate; }
.heros-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.heros-voile { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,11,13,.92) 0%, rgba(10,11,13,.72) 38%, rgba(10,11,13,.15) 70%, rgba(10,11,13,.05) 100%),
              linear-gradient(0deg, var(--fond) 0%, rgba(10,11,13,0) 30%); }
.heros-texte { padding: clamp(40px, 8vh, 110px) 0 clamp(20px, 4vh, 34px); }
.heros-texte .titre-xl { max-width: 20ch; font-size: clamp(42px, min(6.4vw, 10.5vh), 104px); }
.heros-texte .chapeau { max-width: 34em; color: #d0d2d8; }
.heros.plein .bande-heros { margin: 0; border-radius: 0; height: 16px; padding: 3px 0; gap: 2px; background: #050506; }
.heros.plein .points-heros { margin-top: clamp(18px, 4vh, 40px); }
.galerie { margin-inline: calc(50% - 50vw); padding-inline: max(16px, calc(50vw - var(--large) / 2)); }
@media (max-width: 860px) {
  .heros.plein { min-height: 92svh; }
  .heros-voile { background: linear-gradient(0deg, rgba(10,11,13,.96) 0%, rgba(10,11,13,.7) 45%, rgba(10,11,13,.2) 100%); }
  .heros-texte { padding-top: 34svh; }
  .heros.plein .points-heros { display: none; }
}

.heros.plein .cadre { display: block; }
.heros.plein .heros-texte .actions { margin-top: 30px; }

/* ---------- Cibles tactiles (audit 18 nov. : 44 px visés au téléphone) ---------- */
.nav a { padding: 10px 0; }
.marque { padding: 8px 0; }
.langue { padding: 9px 13px; }
.panier .fermer, .assistant .fermer { min-width: 44px; min-height: 44px; }
@media (max-width: 860px) { .heros-texte { padding-top: 24svh !important; } .heros-texte .chapeau { font-size: 16px; } }
@media (max-width: 860px) {
  .heros.plein { min-height: calc(100svh - 210px); }
  .heros-texte { padding-top: 8svh !important; padding-bottom: 18px; }
  .heros-texte .titre-xl { font-size: clamp(36px, 10.5vw, 46px); }
  .heros-texte .chapeau { font-size: 15px; margin-top: 14px !important; }
  .heros.plein .heros-texte .actions { margin-top: 18px; }
  .heros-texte .surtitre { font-size: 11px; margin-bottom: 10px; }
}

/* ---------- App universelle ---------- */
.app-uni { background: radial-gradient(80% 60% at 50% 0%, rgba(10,132,255,.10), transparent 70%); }
.appareils { display: grid; grid-template-columns: 1fr 2.2fr 1fr; gap: clamp(14px, 2.5vw, 34px); align-items: end; margin: 44px 0 50px; }
.appareils figure { margin: 0; }
.appareils figcaption { color: var(--pale); font-size: 13px; text-align: center; margin-top: 12px; }
.appareils img { width: 100%; height: auto; display: block; }
.appareils .tel picture { display: block; border-radius: 34px; padding: 10px; background: #050506; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px rgba(0,0,0,.6); overflow: hidden; }
.appareils .tel img { border-radius: 26px; aspect-ratio: 9 / 17; object-fit: cover; object-position: top; }
.appareils .tab picture { display: block; border-radius: 26px; padding: 14px; background: #050506; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 50px 100px rgba(0,0,0,.65), 0 0 120px rgba(10,132,255,.18); }
.appareils .tab img { border-radius: 14px; }
.app-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 30px; }
.app-point { display: flex; gap: 14px; align-items: flex-start; }
.app-point .ico { flex: none; margin: 2px 0 0; }
.app-point h3 { font-size: 17px; margin-bottom: 4px; }
.app-point p { color: var(--doux); margin: 0; font-size: 14.5px; }
/* ---------- Icônes et visuels sur toutes les cartes ---------- */
.chiffre .ico, .etape .ico, .maillon .ico { width: 26px; height: 26px; margin-bottom: 14px; color: var(--doux); }
.etape::before { display: none; }
.usage { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.usage picture img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 30%; display: block; }
.usage > div { padding: 22px 24px 26px; }
.carte { position: relative; overflow: hidden; }
.carte::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--pixel); background-size: 200% 100%; animation: defile 8s linear infinite; opacity: .85; }
.carte:hover { box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 60px rgba(120,160,255,.10); }
.chiffre:hover, .fonction:hover, .usage:hover, .avantage:hover { background: var(--surface-2); }
@media (max-width: 900px) {
  .appareils { grid-template-columns: 1fr 1fr; }
  .appareils .tab { grid-column: 1 / -1; order: -1; }
  .app-points { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .app-points { grid-template-columns: 1fr; } }

/* ---------- Icônes en couleurs (teintes du ruban pixel) ---------- */
:root { --c1: #ff453a; --c2: #ff9f0a; --c3: #ffd60a; --c4: #32d74b; --c5: #64d2ff; --c6: #0a84ff; --c7: #5e5ce6; --c8: #bf5af2; }
.chiffre .ico, .etape .ico, .maillon .ico, .usage .ico, .atout .ico, .fonction .ico, .avantage .ico, .app-point .ico { width: 30px; height: 30px; stroke-width: 1.8; }
:is(.chiffres, .atouts, .fonctions, .avantages, .app-points, .usages, .etapes, .chaine) > :nth-child(8n+1) .ico { color: var(--c1); filter: drop-shadow(0 0 10px var(--c1)); }
:is(.chiffres, .atouts, .fonctions, .avantages, .app-points, .usages, .etapes, .chaine) > :nth-child(8n+2) .ico { color: var(--c2); filter: drop-shadow(0 0 10px var(--c2)); }
:is(.chiffres, .atouts, .fonctions, .avantages, .app-points, .usages, .etapes, .chaine) > :nth-child(8n+3) .ico { color: var(--c3); filter: drop-shadow(0 0 10px var(--c3)); }
:is(.chiffres, .atouts, .fonctions, .avantages, .app-points, .usages, .etapes, .chaine) > :nth-child(8n+4) .ico { color: var(--c4); filter: drop-shadow(0 0 10px var(--c4)); }
:is(.chiffres, .atouts, .fonctions, .avantages, .app-points, .usages, .etapes, .chaine) > :nth-child(8n+5) .ico { color: var(--c5); filter: drop-shadow(0 0 10px var(--c5)); }
:is(.chiffres, .atouts, .fonctions, .avantages, .app-points, .usages, .etapes, .chaine) > :nth-child(8n+6) .ico { color: var(--c6); filter: drop-shadow(0 0 10px var(--c6)); }
:is(.chiffres, .atouts, .fonctions, .avantages, .app-points, .usages, .etapes, .chaine) > :nth-child(8n+7) .ico { color: var(--c7); filter: drop-shadow(0 0 10px var(--c7)); }
:is(.chiffres, .atouts, .fonctions, .avantages, .app-points, .usages, .etapes, .chaine) > :nth-child(8n) .ico { color: var(--c8); filter: drop-shadow(0 0 10px var(--c8)); }
.chaine > i { color: var(--pale); }
@media (prefers-reduced-motion: no-preference) { .chiffre:hover .ico, .fonction:hover .ico, .avantage:hover .ico, .usage:hover .ico { transform: scale(1.12); transition: transform .25s; } }

/* ---------- De la maison à n'importe où ---------- */
.dist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 34px 0 22px; position: relative; }
.dist::before { content: ""; position: absolute; left: 6%; right: 6%; top: 47px; height: 2px; background: var(--pixel); background-size: 200% 100%; animation: defile 8s linear infinite; opacity: .5; z-index: 0; }
.dist-etape { position: relative; z-index: 1; background: var(--surface); border-radius: var(--rayon); padding: 26px; border: 1px solid rgba(255,255,255,.05); }
.dist-no { position: absolute; top: 18px; right: 20px; color: var(--pale); font-size: 13px; }
.dist-etape h3 { font-size: 18px; margin-bottom: 6px; }
.dist-etape p { color: var(--doux); margin: 0; font-size: 15px; }
:is(.dist) > :nth-child(1) .ico { color: var(--c1); filter: drop-shadow(0 0 10px var(--c1)); }
:is(.dist) > :nth-child(2) .ico { color: var(--c3); filter: drop-shadow(0 0 10px var(--c3)); }
:is(.dist) > :nth-child(3) .ico { color: var(--c5); filter: drop-shadow(0 0 10px var(--c5)); }
:is(.dist) > :nth-child(4) .ico { color: var(--c8); filter: drop-shadow(0 0 10px var(--c8)); }
.secu { display: flex; gap: 18px; background: linear-gradient(135deg, rgba(50,215,75,.08), rgba(10,132,255,.06)); border: 1px solid rgba(50,215,75,.18); border-radius: var(--rayon); padding: 26px 28px; }
.secu .ico { color: var(--c4); flex: none; filter: drop-shadow(0 0 10px var(--c4)); }
.secu ul { margin: 10px 0 0; padding-left: 18px; color: var(--doux); }
.secu li { margin: 6px 0; }
.bientot .fonction { border: 1px dashed rgba(255,255,255,.12); }
@media (max-width: 900px) { .dist { grid-template-columns: 1fr 1fr; } .dist::before { display: none; } }
@media (max-width: 520px) { .dist { grid-template-columns: 1fr; } .secu { flex-direction: column; } }

/* ---------- Héros en slider : scènes ENTIÈRES (format vertical d'origine) ---------- */
.slider { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #050506; }
.piste { display: flex; height: 100%; gap: 6px; transition: transform 1s cubic-bezier(.65, 0, .35, 1); will-change: transform; padding-left: 34vw; }
.slide { flex: 0 0 auto; height: 100%; aspect-ratio: 9 / 16; margin: 0; position: relative; overflow: hidden; }
.slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide figcaption { position: absolute; left: 16px; bottom: 34px; font-size: 13px; color: rgba(255,255,255,.85); letter-spacing: .02em; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.heros.plein .heros-voile { background: linear-gradient(90deg, rgba(10,11,13,.97) 0%, rgba(10,11,13,.9) 28%, rgba(10,11,13,.35) 44%, rgba(10,11,13,0) 60%),
  linear-gradient(0deg, var(--fond) 0%, rgba(10,11,13,0) 18%); }
.slider-cmd { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.fleche { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(17,18,20,.6); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); }
.fleche:hover { background: rgba(255,255,255,.15); }
.points { display: flex; gap: 8px; }
.point { width: 8px; height: 8px; padding: 0; border-radius: 4px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: width .3s, background .3s; }
.point.actif { width: 26px; background: var(--pixel); background-size: 200% 100%; }
@media (max-width: 860px) {
  .piste { padding-left: 0; gap: 0; }
  .slide { width: 100vw; aspect-ratio: auto; }
  .heros.plein .heros-voile { background: linear-gradient(0deg, rgba(10,11,13,.97) 0%, rgba(10,11,13,.75) 42%, rgba(10,11,13,.05) 75%); }
  .slide figcaption { top: 16px; bottom: auto; }
  .slider-cmd { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) { .piste { transition: none; } }
@media (min-width: 861px) {
  .piste { padding-left: 50vw; }
  .heros.plein .heros-voile { background: linear-gradient(90deg, rgba(10,11,13,.98) 0%, rgba(10,11,13,.95) 40%, rgba(10,11,13,.5) 48%, rgba(10,11,13,0) 54%),
    linear-gradient(0deg, var(--fond) 0%, rgba(10,11,13,0) 16%); }
  .heros-texte .titre-xl { max-width: 11ch; font-size: clamp(42px, min(5vw, 10vh), 92px); }
  .heros-texte { max-width: min(var(--large), 100% - clamp(32px, 8vw, 128px)); }
  .heros-texte .chapeau { max-width: 30em; }
}

/* ---------- Pied de page (refait : propre sur mobile) ---------- */
.pied { position: relative; padding: 0 0 28px; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 60%); border-top: 0; }
.pied-ligne { height: 2px; background: var(--pixel); background-size: 200% 100%; animation: defile 8s linear infinite; opacity: .7; }
.pied > .cadre:not(.pied-bas) { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 44px; }
.pied-marque .marque { display: inline-flex; margin: 0 0 14px; font-size: 20px; }
.pied-marque p { margin: 0 0 6px; line-height: 1.55; max-width: 34ch; }
.pied-adresse { color: var(--pale); }
.pied .pied-t { text-transform: uppercase; letter-spacing: .09em; font-size: 12px; color: var(--pale); margin: 0 0 12px; }
.pied-col a { margin: 0; padding: 7px 0; font-size: 14.5px; }
.pied-joindre a { overflow-wrap: anywhere; }
.pied-bas { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.07); font-size: 13px; }
.pied-bas .pied-langue { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; margin: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: var(--texte); }
.pied-bas .pied-langue:hover { background: rgba(255,255,255,.08); }
@media (max-width: 900px) { .pied > .cadre:not(.pied-bas) { grid-template-columns: 1fr 1fr 1fr; gap: 32px 24px; } .pied-marque { grid-column: 1 / -1; } }
@media (max-width: 600px) {
  .pied > .cadre:not(.pied-bas) { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-top: 40px; padding-bottom: 30px; }
  .pied-marque { text-align: center; } .pied-marque p { max-width: none; }
  .pied-joindre { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.07); }
  .pied-col a { padding: 11px 0; font-size: 15px; }
  .pied-bas { padding-bottom: 76px; }
}
.pied .pied-bas { display: flex; grid-template-columns: none; }
@media (max-width: 860px) { .slide figcaption { top: auto; bottom: auto; top: 150px; left: 16px; font-size: 12px; opacity: .85; } }
@media (max-width: 860px) { .slide figcaption { display: none; } }
.nav a { white-space: nowrap; flex: none; }

/* ---- Petites vidéos des explications (outils/faire_fx.py) ---- */
.fx { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: #090a0d;
      margin: -4px 0 18px; border: 1px solid rgba(255,255,255,.06); box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 1px rgba(90,200,255,.04) inset; }
.atout .fx { margin-top: -10px; }
.app-point { flex-direction: column; gap: 0; }
.app-point .fx { margin: 0 0 14px; }
.dist-etape .fx { margin-top: 18px; }
.chiffre .fx { margin: -6px 0 16px; }
.maillon .fx { margin: 0 0 12px; border-radius: 10px; }
