/* ============================================================
   SOUMTECH-APPS — site public (boutique applications & formations)
   Identité du logo : bleu nuit #0A1633, orange #F47B20, bleu électrique #1F5BFF,
   vert #3DBE29, dégradé rouge → orange → jaune.
   ============================================================ */
:root {
  --nuit: #0a1633;
  --nuit-2: #0f1f47;
  --nuit-3: #16295c;
  --orange: #f47b20;
  --orange-2: #ff9a3d;
  --rouge: #e8213b;
  --jaune: #ffc23a;
  --bleu: #1f5bff;
  --bleu-2: #4d7dff;
  --vert: #3dbe29;
  --wave: #1dc8ff;
  --texte: #0a1633;
  --gris: #5a6480;
  --gris-2: #8a93ab;
  --ligne: #e3e8f2;
  --fond: #f5f7fc;
  --blanc: #ffffff;
  --rayon: 22px;
  --ombre: 0 24px 60px -30px rgba(10, 22, 51, .45);
  --ombre-2: 0 14px 34px -20px rgba(10, 22, 51, .5);
  --degrade: linear-gradient(100deg, var(--rouge) 0%, var(--orange) 48%, var(--jaune) 100%);
  --titre: "Poppins", system-ui, sans-serif;
  --corps: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--corps); color: var(--texte); background: var(--fond); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--titre); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
button, input, select, textarea { font: inherit; }
.conteneur { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-orange { background: var(--degrade); color: #fff; box-shadow: 0 14px 28px -14px rgba(244, 123, 32, .9); }
.btn-orange:hover { box-shadow: 0 18px 34px -14px rgba(244, 123, 32, 1); }
.btn-clair { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.btn-clair:hover { background: rgba(255, 255, 255, .18); }
.btn-nuit { background: var(--nuit); color: #fff; }
.btn-nuit:hover { background: var(--nuit-3); }
.btn-ligne { background: #fff; color: var(--nuit); border: 1px solid var(--ligne); }
.btn-ligne:hover { border-color: var(--nuit); }
.btn-wave { background: var(--wave); color: #062a3a; box-shadow: 0 14px 28px -14px rgba(29, 200, 255, .9); }
.btn-wa { background: #1fa855; color: #fff; }
.btn-plein { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 40; background: rgba(10, 22, 51, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.entete .conteneur { display: flex; align-items: center; gap: 18px; height: 72px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.marque img { width: 50px; height: 50px; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); }
.marque b { font: 800 21px/1 var(--titre); letter-spacing: -.02em; }
.marque b span { color: var(--orange); }
.marque small { display: block; font: 600 10px/1.3 var(--corps); letter-spacing: .14em; text-transform: uppercase; color: #aeb8d4; margin-top: 4px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: #d6dcef; text-decoration: none; font-weight: 500; font-size: 14.5px; padding: 9px 14px; border-radius: 999px; transition: background .15s, color .15s; }
.nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.entete .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; cursor: pointer; }
.burger svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 900px) {
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; background: var(--nuit); padding: 12px 16px 20px; gap: 2px; border-bottom: 1px solid rgba(255, 255, 255, .1); transform: translateY(-120%); transition: transform .25s ease; }
  .nav.ouvert { transform: translateY(0); }
  .nav a { padding: 14px 12px; font-size: 16px; }
  .burger { display: grid; }
  .entete .btn-orange { display: none; }
  .marque small { display: none; }
}

/* ---------- Héros ---------- */
.heros { position: relative; color: #fff; background: radial-gradient(1100px 520px at 85% -10%, rgba(31, 91, 255, .55), transparent 60%), radial-gradient(800px 480px at -10% 110%, rgba(244, 123, 32, .35), transparent 60%), linear-gradient(180deg, var(--nuit) 0%, #0b1a40 100%); overflow: hidden; }
.heros::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); pointer-events: none; }
.heros .conteneur { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; padding: 76px 0 96px; }
.pastille { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; font-weight: 500; color: #dfe5f5; }
.pastille i { width: 22px; height: 22px; border-radius: 50%; background: var(--degrade); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.heros h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; margin: 22px 0 18px; letter-spacing: -.03em; }
.heros h1 em { font-style: normal; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.heros .chapeau { font-size: clamp(16px, 1.6vw, 19px); color: #c3cbe2; max-width: 56ch; margin: 0 0 30px; }
.heros .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.confiance { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 38px; color: #aeb8d4; font-size: 14px; }
.confiance b { display: block; color: #fff; font: 700 24px/1.1 var(--titre); }
.heros-visuel { position: relative; }
.heros-visuel .ecran { border-radius: 24px; overflow: hidden; background: #0d1d45; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 0 8px rgba(255, 255, 255, .04); transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transition: transform .6s ease; }
.heros-visuel:hover .ecran { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.heros-visuel .ecran img { width: 100%; height: auto; }
.heros-visuel .logo-flottant { position: absolute; left: -34px; bottom: -34px; width: 132px; height: 132px; border-radius: 50%; background: #fff; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .8); animation: flotte 6s ease-in-out infinite; }
.heros-visuel .carte-prix { position: absolute; right: -14px; top: 26px; background: #fff; color: var(--nuit); border-radius: 18px; padding: 14px 18px; box-shadow: var(--ombre-2); font-size: 13px; animation: flotte 7s ease-in-out infinite reverse; }
.heros-visuel .carte-prix b { display: block; font: 800 22px/1.1 var(--titre); color: var(--orange); }
@keyframes flotte { 50% { transform: translateY(-10px); } }
@media (max-width: 960px) {
  .heros .conteneur { grid-template-columns: 1fr; padding: 48px 0 70px; gap: 40px; }
  .heros-visuel { max-width: 520px; margin: 0 auto 0 34px; }
  .heros-visuel .ecran { transform: none; }
}
@media (max-width: 520px) {
  .heros-visuel { margin-left: 24px; }
  .heros-visuel .logo-flottant { width: 92px; height: 92px; left: -24px; bottom: -24px; }
  .heros-visuel .carte-prix { right: -6px; top: 14px; padding: 10px 14px; }
  .heros-visuel .carte-prix b { font-size: 18px; }
}

/* ---------- Bandeau garanties ---------- */
.garanties { margin-top: -40px; position: relative; z-index: 2; }
.garanties .grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre); overflow: hidden; border: 1px solid var(--ligne); }
.garanties .item { display: flex; gap: 14px; align-items: center; padding: 22px; border-right: 1px solid var(--ligne); }
.garanties .item:last-child { border-right: 0; }
.garanties .ico { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.garanties .ico svg { width: 22px; height: 22px; }
.garanties b { display: block; font-size: 14.5px; }
.garanties small { color: var(--gris); font-size: 13px; line-height: 1.4; display: block; }
@media (max-width: 900px) { .garanties .grille { grid-template-columns: 1fr 1fr; } .garanties .item:nth-child(2) { border-right: 0; } .garanties .item:nth-child(-n+2) { border-bottom: 1px solid var(--ligne); } }
@media (max-width: 520px) { .garanties .grille { grid-template-columns: 1fr; } .garanties .item { border-right: 0; border-bottom: 1px solid var(--ligne); } .garanties .item:last-child { border-bottom: 0; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.surtitre { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--corps); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.surtitre::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--degrade); }
.section h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.02em; }
.section-tete p { color: var(--gris); max-width: 52ch; margin: 10px 0 0; }

/* ---------- Vedette (application) ---------- */
.vedette { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--ombre); border: 1px solid var(--ligne); }
.vedette-media { position: relative; background: linear-gradient(140deg, var(--nuit), var(--nuit-3)); padding: 34px; display: grid; place-items: center; min-height: 360px; }
.vedette-media img { border-radius: 16px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9); width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.vedette-media .vignettes { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; }
.vedette-media .vignettes button { width: 64px; height: 48px; border-radius: 10px; border: 2px solid rgba(255, 255, 255, .5); background: #000 center / cover; cursor: pointer; padding: 0; }
.vedette-media .vignettes button.actif { border-color: var(--orange); }
.vedette-corps { padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.vedette-corps h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.vedette-corps p { color: var(--gris); margin: 0; }
.liste-points { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 10px; }
.liste-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.liste-points li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ligne-prix { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; margin-top: auto; border-top: 1px dashed var(--ligne); }
.prix { font: 800 30px/1 var(--titre); letter-spacing: -.02em; white-space: nowrap; }
.prix small { font: 600 14px/1 var(--corps); color: var(--gris); margin-left: 4px; }
@media (max-width: 900px) { .vedette { grid-template-columns: 1fr; } .vedette-corps { padding: 26px; } .vedette-media { min-height: 0; padding: 20px; } }

/* ---------- Filtres + grille catalogue ---------- */
.filtres { display: flex; gap: 6px; padding: 5px; background: #fff; border: 1px solid var(--ligne); border-radius: 999px; }
.filtres button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--gris); cursor: pointer; }
.filtres button.actif { background: var(--nuit); color: #fff; }
.grille-produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.carte { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; }
.carte:hover { transform: translateY(-6px); box-shadow: var(--ombre); border-color: transparent; }
.carte-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--nuit); display: block; }
.carte-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.carte:hover .carte-media img { transform: scale(1.05); }
.etiquettes { position: absolute; left: 12px; top: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.etiquette { font: 700 11px/1 var(--corps); letter-spacing: .04em; padding: 7px 10px; border-radius: 999px; background: rgba(10, 22, 51, .78); color: #fff; backdrop-filter: blur(6px); }
.etiquette.code { background: #fff; color: var(--nuit); }
.etiquette.dispo { background: var(--vert); }
.etiquette.commande { background: var(--orange); }
.carte-corps { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.carte-corps .marque-produit { font-size: 12px; font-weight: 600; color: var(--bleu); text-transform: uppercase; letter-spacing: .08em; }
.carte-corps h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.carte-corps h3 a { text-decoration: none; }
.carte-corps h3 a::after { content: ""; position: absolute; inset: 0; }
.carte-corps p { color: var(--gris); font-size: 14.5px; margin: 0; }
.carte-pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ligne); }
.carte-pied .prix { font-size: 21px; white-space: nowrap; }
.carte-pied .btn { position: relative; z-index: 1; min-height: 42px; padding: 0 18px; font-size: 14px; }
.vide { padding: 40px; text-align: center; color: var(--gris); background: #fff; border-radius: var(--rayon); border: 1px dashed var(--ligne); }
.squelette { background: linear-gradient(90deg, #eef1f8 25%, #f7f9fd 50%, #eef1f8 75%); background-size: 200% 100%; animation: brille 1.4s infinite; border-radius: var(--rayon); min-height: 380px; }
@keyframes brille { to { background-position: -200% 0; } }

/* ---------- Étapes ---------- */
.etapes-fond { background: linear-gradient(180deg, var(--nuit) 0%, #0c1b44 100%); color: #fff; position: relative; overflow: hidden; }
.etapes-fond::after { content: ""; position: absolute; right: -200px; top: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(244, 123, 32, .3), transparent); }
.etapes-fond .section-tete p { color: #b8c1dc; }
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1; }
.etape { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--rayon); padding: 28px; }
.etape .num { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font: 800 22px/1 var(--titre); margin-bottom: 18px; }
.etape h3 { font-size: 20px; margin-bottom: 8px; }
.etape p { color: #b8c1dc; margin: 0; font-size: 15px; }
@media (max-width: 860px) { .etapes { grid-template-columns: 1fr; } }

/* ---------- Suivi ---------- */
.suivi { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.panneau { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 28px; box-shadow: var(--ombre-2); }
.form { display: grid; gap: 14px; }
.form .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.champ { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--nuit); }
.champ small { font-weight: 400; color: var(--gris-2); }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--ligne); border-radius: 14px; background: #fbfcff; color: var(--texte); font-size: 16px; font-weight: 400; transition: border-color .15s, box-shadow .15s; }
.champ textarea { min-height: 84px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 4px rgba(31, 91, 255, .12); background: #fff; }
.erreur { color: var(--rouge); font-size: 14px; margin: 0; min-height: 0; }
.erreur:empty { display: none; }
.resultat { border-radius: 16px; padding: 18px; background: var(--fond); border: 1px solid var(--ligne); }
.resultat h4 { font-size: 17px; margin-bottom: 6px; }
.statut { display: inline-flex; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.statut.attente_paiement { background: #fff1e3; color: #b85a00; }
.statut.a_verifier { background: #e7eeff; color: #1f4fd8; }
.statut.payee { background: #e3f5e9; color: #17703a; }
.statut.livree { background: #ececf1; color: #4a4f63; }
.statut.annulee { background: #fde7e9; color: #b3172f; }
@media (max-width: 860px) { .suivi { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form .deux { grid-template-columns: 1fr; } .panneau { padding: 20px; } }

/* ---------- Appel WhatsApp ---------- */
.appel { position: relative; overflow: hidden; border-radius: 28px; padding: 48px; background: var(--degrade); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: 0 30px 60px -30px rgba(232, 33, 59, .7); }
.appel::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .12); }
.appel h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; max-width: 22ch; position: relative; z-index: 1; }
.appel p { margin: 8px 0 0; opacity: .92; position: relative; z-index: 1; }
.appel .btn { position: relative; z-index: 1; background: #fff; color: var(--nuit); }
@media (max-width: 600px) { .appel { padding: 30px 24px; } }

/* ---------- Pied ---------- */
.pied { background: var(--nuit); color: #aeb8d4; padding: 64px 0 28px; margin-top: 96px; }
.pied .grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.pied h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.pied a { color: #d6dcef; text-decoration: none; display: block; padding: 4px 0; font-size: 14.5px; }
.pied a:hover { color: var(--orange); }
.pied .bas { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; font-size: 13px; }
.pied p { font-size: 14.5px; margin: 14px 0 0; max-width: 40ch; }
@media (max-width: 760px) { .pied .grille { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Bouton WhatsApp flottant ---------- */
.wa-flottant { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31, 168, 85, .9); transition: transform .2s; }
.wa-flottant:hover { transform: scale(1.06); }
.wa-flottant svg { width: 30px; height: 30px; }

/* ---------- Fenêtre de commande ---------- */
.voile { position: fixed; inset: 0; z-index: 60; background: rgba(6, 12, 30, .62); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.voile.ouvert { opacity: 1; pointer-events: auto; }
.fenetre { width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: 26px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); transform: translateY(14px) scale(.98); transition: transform .25s ease; }
.voile.ouvert .fenetre { transform: none; }
.fenetre-tete { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--ligne); position: sticky; top: 0; background: #fff; z-index: 1; }
.fenetre-tete img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; flex: none; }
.fenetre-tete .titre { flex: 1; min-width: 0; }
.fenetre-tete .titre b { display: block; font: 700 15.5px/1.3 var(--titre); }
.fenetre-tete .titre small { color: var(--gris); font-size: 13px; }
.fermer { width: 40px; height: 40px; flex: none; border-radius: 12px; border: 1px solid var(--ligne); background: #fff; cursor: pointer; font-size: 20px; line-height: 1; color: var(--gris); }
.fenetre-corps { padding: 22px 20px 24px; }
.progression { display: flex; gap: 6px; margin-bottom: 20px; }
.progression span { flex: 1; height: 5px; border-radius: 5px; background: var(--ligne); }
.progression span.fait { background: var(--degrade); }
.recap { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: var(--fond); border: 1px solid var(--ligne); margin-bottom: 16px; font-size: 14.5px; }
.recap div { display: flex; justify-content: space-between; gap: 12px; }
.recap div span:first-child { color: var(--gris); }
.recap .total { font: 800 20px/1.2 var(--titre); padding-top: 8px; border-top: 1px dashed var(--ligne); }
.recap .total span:last-child { color: var(--orange); }
.reference { text-align: center; padding: 18px; border-radius: 18px; background: linear-gradient(140deg, var(--nuit), var(--nuit-3)); color: #fff; margin-bottom: 16px; }
.reference small { color: #aeb8d4; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.reference b { display: block; font: 800 34px/1.1 var(--titre); letter-spacing: .04em; margin: 4px 0; }
.reference span { font-size: 13px; color: #c3cbe2; }
.zone-fichier { display: grid; place-items: center; text-align: center; gap: 6px; padding: 22px; border: 2px dashed #c7d1ea; border-radius: 18px; background: #fbfcff; cursor: pointer; transition: border-color .15s, background .15s; }
.zone-fichier:hover, .zone-fichier.survol { border-color: var(--bleu); background: #f2f6ff; }
.zone-fichier svg { width: 30px; height: 30px; color: var(--bleu); }
.zone-fichier b { font-size: 15px; }
.zone-fichier small { color: var(--gris); }
.zone-fichier img { max-height: 160px; border-radius: 10px; }
.note { font-size: 13px; color: var(--gris); margin: 10px 0 0; }
.pile { display: grid; gap: 10px; }
.succes { text-align: center; }
.succes .rond { width: 74px; height: 74px; border-radius: 50%; margin: 6px auto 14px; display: grid; place-items: center; background: #e3f5e9; color: #17703a; }
.succes .rond svg { width: 36px; height: 36px; }
.succes h3 { font-size: 22px; margin-bottom: 6px; }
.succes p { color: var(--gris); margin: 0 0 18px; }
.quantite { display: inline-flex; align-items: center; border: 1.5px solid var(--ligne); border-radius: 14px; overflow: hidden; height: 50px; }
.quantite button { width: 46px; height: 100%; border: 0; background: #fbfcff; font-size: 20px; cursor: pointer; color: var(--nuit); }
.quantite input { width: 56px; height: 100%; border: 0; text-align: center; font-weight: 700; font-size: 16px; -moz-appearance: textfield; }
.quantite input::-webkit-inner-spin-button { display: none; }

/* ---------- Page produit ---------- */
.fil { font-size: 13.5px; color: var(--gris); padding: 22px 0 0; }
.fil a { text-decoration: none; color: var(--gris); }
.fil a:hover { color: var(--nuit); }
.produit { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; padding: 26px 0 40px; align-items: start; }
.galerie .principale { border-radius: 24px; overflow: hidden; background: var(--nuit); box-shadow: var(--ombre); aspect-ratio: 3 / 2; }
.galerie .principale img { width: 100%; height: 100%; object-fit: cover; }
.galerie .vignettes { display: flex; gap: 10px; margin-top: 12px; }
.galerie .vignettes button { width: 92px; aspect-ratio: 3 / 2; border-radius: 12px; border: 2px solid transparent; padding: 0; background: #000 center / cover; cursor: pointer; opacity: .75; }
.galerie .vignettes button.actif { border-color: var(--orange); opacity: 1; }
.fiche { position: sticky; top: 96px; }
.fiche h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; margin: 12px 0 14px; }
.fiche .resume { font-size: 17px; color: var(--gris); margin: 0 0 22px; }
.boite-achat { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 24px; box-shadow: var(--ombre-2); display: grid; gap: 16px; }
.boite-achat .prix { font-size: 38px; }
.boite-achat .moyens { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--gris); }
.boite-achat .moyens i { font-style: normal; font-weight: 800; color: #062a3a; background: var(--wave); padding: 4px 10px; border-radius: 8px; font-size: 12px; }
.description { padding: 8px 0 0; }
.description h2 { font-size: 26px; margin-bottom: 14px; }
.description p { color: #3a4360; font-size: 16.5px; max-width: 70ch; }
.bloc-contenu { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; padding: 30px 0; border-top: 1px solid var(--ligne); }
@media (max-width: 920px) { .produit, .bloc-contenu { grid-template-columns: 1fr; gap: 26px; } .fiche { position: static; } }

/* ---------- Apparition ---------- */
.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; transition: none; } .heros-visuel .logo-flottant, .heros-visuel .carte-prix { animation: none; } html { scroll-behavior: auto; } }
