/* CLAVIS — feuille de style principale
   Fidèle à la maquette Claude Design (clavis-export). */

:root {
  --encre: #170b12;
  --prune: #5b1235;
  --prune-fonce: #420c26;
  --prune-clair: #6b1840;
  --rose: #d3236a;
  --rose-pale: #f0a9c6;
  --or: #f0b04f;
  --or-fonce: #c9821b;
  --fond: #fcfbfa;
  --fond-rose: #f6edf1;
  --blanc: #ffffff;
  --gris: #6e6168;
  --trait: #e8e1e4;
  --trait-champ: #cfc4c9;
  --clair: #fceff5;
  --clair-2: #d6c7ce;
  --clair-3: #b9a7af;
  --clair-4: #e9c9d7;
  --vert: #1f6b45;
  --erreur: #a32a2a;
  --erreur-fond: #f8e3e3;

  --titre: 'Bricolage Grotesque', 'Figtree', sans-serif;
  --texte: 'Figtree', system-ui, sans-serif;
  --gouttiere: clamp(16px, 4vw, 56px);
  --section: clamp(56px, 9vw, 120px);
  --ombre: 0 30px 60px -28px rgba(23, 11, 18, 0.55);
  --serrure: polygon(0 0, 100% 0, 100% 100%, 34% 100%, 34% 92%, 22% 92%, 22% 100%, 0 100%);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 20px; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--prune); }
a:hover { color: var(--prune-fonce); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.lien-evitement {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--encre); color: var(--fond); padding: 10px 16px; border-radius: 6px;
}
.lien-evitement:focus { top: 12px; color: var(--fond); }

/* ---------- Mise en page ---------- */
.conteneur { max-width: 1320px; margin: 0 auto; padding-left: var(--gouttiere); padding-right: var(--gouttiere); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--rose { background: var(--fond-rose); }
.pile { display: flex; flex-direction: column; gap: 44px; }

.g-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 72px; align-items: start; }

/* ---------- Typographie ---------- */
.surtitre {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gris);
}
.h1 {
  margin: 0; font-family: var(--titre); font-weight: 700;
  font-size: clamp(42px, 5.8vw, 88px); line-height: 0.98; letter-spacing: -0.03em;
}
.h1 > span { display: block; overflow: hidden; }
.h2 {
  margin: 0; font-family: var(--titre); font-weight: 700;
  font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.025em;
}
.accent { color: var(--prune); font-style: normal; font-weight: 700; }
.attenue { color: var(--gris); }
.entete-section { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--plein { background: var(--encre); color: var(--fond); }
.btn--plein:hover { background: var(--prune); color: var(--fond); }
.btn--contour { border: 1.5px solid var(--encre); color: var(--encre); }
.btn--contour:hover { background: var(--encre); color: var(--fond); }
.btn--or { background: var(--or); color: var(--encre); }
.btn--or:hover { background: #f5c375; color: var(--encre); }
.btn--clair { border: 1.5px solid var(--clair); color: var(--clair); }
.btn--clair:hover { background: var(--clair); color: var(--encre); }
.btn--petit { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* ---------- Bandeau défilant ---------- */
.bandeau {
  background: var(--encre); color: var(--clair); overflow: hidden; white-space: nowrap;
  font-size: 12px; letter-spacing: 0.04em; padding: 9px 0;
}
.bandeau__piste { display: inline-flex; gap: 48px; padding-left: 48px; animation: defile 40s linear infinite; }
.bandeau b { color: var(--or); font-weight: 500; }

/* ---------- En-tête ---------- */
.entete { border-bottom: 1px solid var(--trait); background: var(--fond); position: relative; }
.entete__barre { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo__cle { height: 46px; width: auto; }
.logo__mot { height: 21px; width: auto; }
.nav { display: flex; gap: 30px; align-items: center; font-size: 15px; font-weight: 500; }
.nav a { color: var(--encre); text-decoration: none; }
.nav a:hover { color: var(--prune); }
.entete__actions { display: flex; align-items: center; gap: 10px; }

.menu-bouton {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--encre); background: transparent; color: var(--encre);
  align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.menu-bouton svg { width: 20px; height: 20px; }

/* ---------- Accroche ---------- */
.accroche { padding-top: clamp(36px, 6vw, 88px); padding-bottom: clamp(48px, 7vw, 104px); }
.accroche__texte { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.accroche__intro { margin: 0; font-size: clamp(17px, 1.5vw, 20px); color: var(--gris); max-width: 46ch; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.garanties { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; color: var(--gris); }

.accroche__visuel { position: relative; aspect-ratio: 4 / 4.7; width: 100%; }
.carte-photo {
  position: absolute; border-radius: 6px; overflow: hidden; box-shadow: var(--ombre);
}
.carte-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.carte-photo--1 {
  top: 0; left: 0; right: 22%; bottom: 14%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 34% 100%, 34% 90%, 22% 90%, 22% 100%, 0 100%);
  background: linear-gradient(160deg, var(--prune-clair), #3d0a22);
  animation: serrure 1.15s 0.25s cubic-bezier(0.7, 0, 0.2, 1) both;
}
.carte-photo--2 {
  top: 32%; left: 54%; right: 0; bottom: 0; transform: rotate(3deg);
  background: radial-gradient(circle at 50% 40%, #e8a33d, #b5661a);
}
.pastille {
  position: absolute; right: 5%; top: 3%; width: 96px; height: 96px; border-radius: 50%;
  background: var(--rose); color: var(--blanc); display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 11px; line-height: 1.25; letter-spacing: 0.04em; text-transform: uppercase;
  animation: tourne 22s linear infinite;
}
.etiquette-prix {
  position: absolute; left: 4%; bottom: 5%; background: var(--blanc); border-radius: 4px;
  padding: 12px 16px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 14px 34px -14px rgba(23, 11, 18, 0.4);
}
.etiquette-prix small { font-size: 10.5px; color: var(--gris); }
.etiquette-prix b { font-family: var(--titre); font-size: 24px; font-weight: 700; }

.monte { display: inline-block; animation: monte 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.monte--2 { animation-delay: 0.08s; }
.monte--3 { animation-delay: 0.16s; }

/* ---------- Vitrine ---------- */
.entete-flex { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.look { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.look__image {
  aspect-ratio: 3 / 4; border-radius: 4px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.look__image > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.look:hover .look__image > img:first-child { transform: scale(1.03); }
.look--prive .look__image > img:first-child { filter: blur(14px) saturate(0.9); transform: scale(1.15); }
.look--prive:hover .look__image > img:first-child { transform: scale(1.15); }
.look__voile { position: absolute; inset: 0; background: rgba(23, 11, 18, 0.3); }
.look__cle { height: 36px; width: auto; position: relative; }
.look__mention { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blanc); position: relative; }
.look__legende { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.look__legende span { font-size: 12px; color: var(--gris); }

.atouts { border-top: 1px solid var(--encre); gap: 0 24px; }
.atout { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; }
.atout h3 { margin: 0; font-family: var(--titre); font-size: 24px; font-weight: 700; line-height: 1.1; }
.atout p { margin: 0; color: var(--gris); font-size: 16px; }

/* ---------- Étapes ---------- */
.etapes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.etape { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--trait); }
.etape:last-child { border-bottom: 1px solid var(--trait); }
.etape__num { font-family: var(--titre); font-weight: 700; font-size: 34px; line-height: 0.9; color: var(--prune); width: 52px; flex-shrink: 0; }
.etape__corps { display: flex; flex-direction: column; gap: 4px; }
.etape__corps b { font-size: 19px; }
.etape__corps span { color: var(--gris); font-size: 16px; }

.demo { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 20px; }
.demo__photo {
  position: relative; overflow: hidden; flex: 1 1 220px; max-width: 300px; aspect-ratio: 3 / 4;
  border-radius: 6px; clip-path: var(--serrure); align-self: flex-start;
}
.demo__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.demo__tel { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.telephone {
  width: 100%; max-width: 360px; background: #e7ebf0; border: 8px solid var(--encre); border-radius: 30px;
  padding: 16px; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px;
  box-shadow: 0 40px 70px -40px rgba(23, 11, 18, 0.6);
}
.telephone__tete { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid #d2d8df; }
.telephone__avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--prune); display: flex; align-items: center; justify-content: center; }
.telephone__avatar img { height: 22px; width: auto; }
.bulle { padding: 10px 13px; line-height: 1.4; }
.bulle--moi { align-self: flex-end; background: #d8f4c8; border-radius: 16px 16px 4px 16px; font-size: 13px; }
.bulle--bot { background: var(--blanc); border-radius: 16px 16px 16px 4px; max-width: 86%; }
.bulle__ref { font-size: 12px; color: var(--gris); }
.progression { display: flex; gap: 5px; margin: 8px 0 4px; }
.progression span { flex: 1; height: 4px; border-radius: 2px; background: var(--trait); }
.progression .fait { background: var(--vert); }
.statut { font-size: 12px; color: var(--vert); }
.legende-petite { font-size: 11px; color: var(--gris); }

/* ---------- Tuto commande ---------- */
.demo__photo { max-width: 420px; flex-basis: 320px; }
.tuto {
  display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: clamp(32px, 6vw, 88px); align-items: center;
  background: var(--fond-rose); border-radius: 6px; padding: clamp(20px, 5vw, 64px);
}
.tuto__tel { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tuto .telephone { padding: 14px 14px 18px; }
.tuto__titre { display: flex; flex-direction: column; line-height: 1.15; }
.tuto__titre small { font-weight: 400; font-size: 11.5px; color: var(--gris); }
.tuto__ecran { height: 440px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.scene { display: flex; flex-direction: column; gap: 9px; }
.js .scene { display: none; }
.js .scene.actif { display: flex; }

.js .scene .bulle { opacity: 0; transform: translateY(10px) scale(0.96); transition: opacity 0.35s, transform 0.35s; }
.js .scene .bulle.montre { opacity: 1; transform: none; }
.scene .bulle--moi { transform-origin: 100% 100%; }
.scene .bulle--bot { transform-origin: 0 100%; }

.post { padding: 6px 6px 10px; }
.post__photo { width: 100%; height: 170px; object-fit: cover; object-position: 50% 25%; border-radius: 12px 12px 4px 4px; margin-bottom: 8px; }
.post__texte { padding: 0 7px; }
.post__prix { font-family: var(--titre); font-size: 18px; color: var(--prune); }

.boutons-bot { background: transparent !important; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; max-width: 100%; }
.bouton-bot, .moyen {
  position: relative; background: var(--blanc); border: 1px solid #d2d8df; border-radius: 10px;
  padding: 8px 14px; font-size: 13.5px; font-weight: 600; color: var(--prune); text-align: center; flex: 1 1 auto;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.feuille { background: var(--blanc); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
.moyens { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.moyen { color: var(--encre); font-weight: 500; }
.tap.appuie { background: var(--prune); color: var(--blanc); transform: scale(0.95); border-color: var(--prune); }
.tap.appuie::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; background: rgba(240, 176, 79, 0.55); animation: doigt 0.7s ease-out forwards; pointer-events: none;
}
.suivi { display: flex; justify-content: space-between; font-size: 11px; color: var(--gris); }
.suivi span:nth-child(-n + 2) { color: var(--vert); font-weight: 600; }
.js .scene .progression .fait { transform: scaleX(0); transform-origin: left; transition: transform 0.6s; }
.js .scene .bulle.montre .progression .fait { transform: none; }
.js .scene .bulle.montre .progression .fait + .fait { transition-delay: 0.5s; }

.tuto__panneau { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.tuto__h { margin: 0; font-family: var(--titre); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
.tuto__etapes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tuto__etapes button {
  width: 100%; display: flex; gap: 14px; align-items: flex-start; text-align: left; cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 12px 14px;
  font: inherit; color: var(--encre); position: relative; overflow: hidden; transition: background 0.25s, border-color 0.25s;
}
.tuto__etapes button:hover { background: rgba(255, 255, 255, 0.6); }
.tuto__etapes button > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.tuto__etapes button b { font-size: 17px; }
.tuto__etapes button > span:last-child > span { font-size: 15px; color: var(--gris); }
.tuto__num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--prune); color: var(--prune);
  display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-weight: 700; font-size: 15px;
  transition: background 0.25s, color 0.25s;
}
.tuto__etapes button[aria-selected='true'] { background: var(--blanc); border-color: var(--trait); box-shadow: 0 12px 30px -20px rgba(23, 11, 18, 0.45); }
.tuto__etapes button[aria-selected='true'] .tuto__num { background: var(--prune); color: var(--blanc); }
/* Barre de progression de l'étape en cours (lecture auto) */
.tuto__etapes button::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--or);
  transform: scaleX(0); transform-origin: left;
}
.tuto.lecture .tuto__etapes button[aria-selected='true']::after { animation: barre var(--duree, 6s) linear forwards; }

.tuto__commandes { display: flex; align-items: center; gap: 8px; }
.tuto__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--encre); background: transparent;
  color: var(--encre); font-size: 16px; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.tuto__btn:hover { background: var(--encre); color: var(--fond); }
.tuto__compteur { margin-left: 8px; font-size: 13px; color: var(--gris); }

@keyframes doigt { from { transform: scale(0.3); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
@keyframes barre { to { transform: scaleX(1); } }

@media (max-width: 1000px) {
  .tuto { grid-template-columns: 1fr; }
  .tuto__tel { order: 2; }
}
@media (max-width: 640px) {
  .tuto__ecran { height: 400px; }
  .demo { display: none; }
  .js .tuto__etapes button[aria-selected='false'] > span:last-child > span { display: none; }
  .tuto__etapes button { padding: 10px 12px; }
}

/* ---------- Formules ---------- */
.formules { align-items: stretch; gap: 16px; }
.formule {
  background: var(--blanc); border: 1px solid var(--trait); border-radius: 6px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.formule--vedette { background: var(--prune); color: var(--clair); border-color: var(--prune); }
.formule__tete { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.formule__nom { margin: 0; font-family: var(--titre); font-size: 30px; font-weight: 700; }
.formule__badge {
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px;
  border-radius: 999px; border: 1px solid var(--gris); color: var(--gris);
}
.formule--vedette .formule__badge { border-color: var(--or); color: var(--or); }
.formule__duree { font-size: 12.5px; color: var(--gris); }
.formule--vedette .formule__duree,
.formule--vedette .formule__note { color: var(--clair-4); }
.formule__prix { font-size: clamp(40px, 4.4vw, 56px); line-height: 1; }
.formule__prix small { font-size: 13px; }
.formule__note { font-size: 12px; color: var(--gris); }
.formule ul {
  list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--trait);
  display: flex; flex-direction: column; gap: 8px; font-size: 15.5px;
}
.formule--vedette ul { border-top-color: rgba(252, 239, 245, 0.2); }
.formule li { display: flex; align-items: baseline; gap: 10px; }
.formule li::before {
  content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--prune); transform: translateY(-1px);
}
.formule--vedette li::before { background: var(--or); }
.formule .btn { margin-top: auto; }
.mention { margin: 0; font-size: 12.5px; color: var(--gris); }

/* ---------- Créateurs ---------- */
.createurs {
  background: var(--encre); color: var(--clair); border-radius: 6px; padding: clamp(28px, 5vw, 72px);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px;
  position: relative; overflow: hidden;
}
.createurs .surtitre { color: var(--clair-3); }
.createurs .accent { color: var(--rose-pale); }
.createurs__texte { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.createurs__texte p { margin: 0; color: var(--clair-2); font-size: 18px; max-width: 56ch; }
.createurs__texte strong { color: var(--or); }
.createurs__visuel { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.createurs__photo {
  position: relative; overflow: hidden; width: min(320px, 100%); aspect-ratio: 4 / 5; border-radius: 6px;
  background: linear-gradient(160deg, var(--prune-clair), #3d0a22); clip-path: var(--serrure);
}
.createurs__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* ---------- Questions ---------- */
.faq details { border-top: 1px solid var(--trait); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { font-size: 30px; line-height: 1; color: var(--prune); transition: transform 0.3s; flex-shrink: 0; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 0 22px; color: var(--gris); }

/* ---------- Abonnement ---------- */
.abonnement {
  background: var(--blanc); border: 1px solid var(--trait); border-radius: 6px; padding: clamp(22px, 5vw, 64px);
}
.abonnement__texte { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.abonnement__texte > p { margin: 0; font-size: 18px; color: var(--gris); max-width: 52ch; }
.recap { background: var(--fond-rose); border-radius: 4px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.recap__ligne { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.recap__ligne strong { font-family: var(--titre); font-size: 26px; font-weight: 700; }
.recap__ligne--petite { color: var(--gris); font-size: 15px; }

.formulaire { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.formulaire fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.formulaire legend { padding: 0; margin-bottom: 8px; }
.pl {
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 16px; border-radius: 6px;
  cursor: pointer; border: 1px solid var(--trait); background: var(--blanc); transition: border-color 0.2s, background 0.2s;
}
.pl:hover { border-color: var(--trait-champ); }
.pl:has(input:checked) { border-color: var(--prune); background: var(--fond-rose); }
.pl input { width: 20px; height: 20px; margin: 0; accent-color: var(--prune); }
.pl__texte { flex-grow: 1; display: flex; flex-direction: column; }
.pl__texte span { font-size: 14px; color: var(--gris); }
.pl__prix { font-size: 14px; white-space: nowrap; }

.champs-ligne { display: flex; flex-wrap: wrap; gap: 12px; }
.champ { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; }
.champ label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gris); }
.champ input {
  font: 500 16px var(--texte); border: 1px solid var(--trait-champ); border-radius: 6px; padding: 0 14px;
  min-height: 52px; background: var(--blanc); color: var(--encre); width: 100%;
}
.champ input:focus { border-color: var(--prune); }
.champ__aide { font-size: 13px; color: var(--gris); }
input[aria-invalid='true'] { border-color: var(--erreur) !important; background: var(--erreur-fond) !important; }

.case { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; min-height: 44px; cursor: pointer; }
.case input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--prune); }

#payer {
  width: 100%; min-height: 58px; border-radius: 999px; border: 0; font: 600 17px var(--texte);
  cursor: pointer; color: var(--blanc); background: var(--encre); transition: background 0.2s;
}
#payer:hover { background: var(--prune); }
#payer[disabled] { background: #cdbfc5; cursor: not-allowed; }
#aide { font-size: 13px; color: var(--gris); text-align: center; min-height: 1em; }

/* ---------- Confiance ---------- */
.confiance { padding-top: var(--section); display: flex; flex-direction: column; gap: 28px; }
.garanties-grille { border: 1px solid var(--trait); border-radius: 6px; overflow: hidden; }
.garantie {
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
  border-right: 1px solid var(--trait); border-bottom: 1px solid var(--trait); margin-bottom: -1px;
}
.garantie:last-child { border-right: 0; }
.garantie svg { width: 26px; height: 26px; }
.garantie b { font-size: 17px; }
.garantie span { font-size: 15px; color: var(--gris); }

/* ---------- Pied de page ---------- */
.pied { margin-top: var(--section); background: var(--encre); color: var(--clair-3); font-size: 14px; }
.pied__corps { padding-top: 40px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 40px; }
.pied__logo { width: 100%; display: flex; justify-content: center; padding: 24px 0 36px; border-bottom: 1px solid rgba(252, 239, 245, 0.15); }
.pied__logo img { height: clamp(160px, 22vw, 260px); width: auto; }
.pied__infos { display: flex; flex-direction: column; gap: 4px; }
.pied__infos b { color: var(--clair); }
.pied__liens { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.pied__liens a { color: var(--clair-2); }
.pied__liens a:hover { color: var(--clair); }

/* ---------- Pages juridiques ---------- */
.page-texte { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gouttiere); }
.page-texte h1 { margin: 0 0 12px; font-family: var(--titre); font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.025em; }
.page-texte h2 { font-family: var(--titre); font-size: 24px; margin: 40px 0 10px; }
.page-texte p,
.page-texte li { color: #3d3238; }
.page-texte .a-completer { background: #fff4dc; border-left: 3px solid var(--or); padding: 12px 16px; border-radius: 4px; font-size: 15px; }

/* ---------- Dynamique ---------- */

/* Apparition au défilement (seulement si le JS tourne) */
.js .apparait {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js .apparait.visible { opacity: 1; transform: none; }

/* Logo : la clé fait un quart de tour à l'arrivée */
.logo__cle { transform-origin: 50% 20%; animation: cle-entre 1.1s 0.2s cubic-bezier(0.3, 1.4, 0.4, 1) backwards; }
.logo:hover .logo__cle { transform: rotate(-8deg); transition: transform 0.4s; }

/* Looks privés : la porte s'entrouvre au survol */
.look--prive .look__image > img:first-child { transition: filter 0.6s, transform 0.6s; }
.look--prive:hover .look__image > img:first-child { filter: blur(7px) saturate(1); }
.look__voile { transition: background 0.6s; }
.look--prive:hover .look__voile { background: rgba(23, 11, 18, 0.15); }
.look__cle { transition: transform 0.7s cubic-bezier(0.3, 1.4, 0.4, 1); }
.look--prive:hover .look__cle { transform: rotate(-90deg) scale(1.1); }
.look__mention { transition: letter-spacing 0.5s; }
.look--prive:hover .look__mention { letter-spacing: 0.12em; }

/* Conversation du téléphone jouée message par message */
.telephone.anime .bulle { opacity: 0; transform: translateY(10px) scale(0.96); transition: opacity 0.35s, transform 0.35s; }
.telephone.anime .bulle--moi { transform-origin: 100% 100%; }
.telephone.anime .bulle--bot { transform-origin: 0 100%; }
.telephone.anime .bulle.montre { opacity: 1; transform: none; }
.telephone.anime .progression .fait { transform: scaleX(0); transform-origin: left; transition: transform 0.6s; }
.telephone.anime .bulle.montre .progression .fait { transform: none; }
.telephone.anime .bulle.montre .progression .fait + .fait { transition-delay: 0.5s; }
.ecrit {
  background: var(--blanc); border-radius: 16px 16px 16px 4px; padding: 12px 14px;
  display: inline-flex; gap: 4px; align-self: flex-start;
}
.ecrit span { width: 7px; height: 7px; border-radius: 50%; background: #9aa3ad; animation: ecrit 1s infinite; }
.ecrit span:nth-child(2) { animation-delay: 0.15s; }
.ecrit span:nth-child(3) { animation-delay: 0.3s; }

/* Bouton flottant « Rejoindre CLAVIS » : pastille prune, médaillon doré avec la clé */
.flottant {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 50;
  display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px 0 6px;
  border-radius: 999px; text-decoration: none; color: var(--clair);
  background: linear-gradient(135deg, #6b1840, var(--prune) 55%, #420c26);
  border: 1px solid rgba(240, 176, 79, 0.5);
  box-shadow: 0 14px 32px -12px rgba(66, 12, 38, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em; overflow: hidden;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity 0.35s, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}
.flottant.montre { opacity: 1; transform: none; pointer-events: auto; }
.flottant:hover { color: var(--clair); border-color: var(--or); box-shadow: 0 18px 38px -12px rgba(66, 12, 38, 0.8), 0 0 0 4px rgba(240, 176, 79, 0.15); }

.flottant__medaillon {
  position: relative; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f7cd84, var(--or) 55%, #c9821b);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 -2px 4px rgba(120, 60, 0, 0.25);
}
.flottant__medaillon::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(240, 176, 79, 0.6);
}
.flottant__cle {
  width: 13px; height: 21px; background: var(--prune-fonce);
  -webkit-mask: url(../img/logo-cle.svg) center / contain no-repeat; mask: url(../img/logo-cle.svg) center / contain no-repeat;
  transition: transform 0.5s cubic-bezier(0.3, 1.4, 0.4, 1);
}
.flottant:hover .flottant__cle { transform: rotate(-90deg); }
.flottant__texte b { color: var(--or); font-weight: 700; }
.flottant__fleche { display: inline-block; color: var(--or); transition: transform 0.3s; }
.flottant:hover .flottant__fleche { transform: translateX(4px); }

/* Reflet discret qui traverse le bouton */
.flottant::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: translateX(-150%) skewX(-18deg);
}
/* Signal toutes les 5 s : la clé tourne, une onde dorée sort du médaillon, le reflet passe */
.flottant.montre .flottant__cle { animation: flottant-cle 5s 1.2s ease-in-out infinite; }
.flottant.montre .flottant__medaillon::after { animation: flottant-onde 5s 1.2s ease-out infinite; }
.flottant.montre::before { animation: flottant-reflet 5s 1.2s ease-in-out infinite; }
/* Petite vibration en même temps, pour signaler sa présence */
.flottant.montre { animation: flottant-vibre 5s 1.2s linear infinite; }
.flottant:hover { animation-play-state: paused; }
.flottant:hover .flottant__cle, .flottant:hover .flottant__medaillon::after, .flottant:hover::before { animation-play-state: paused; }

@media (max-width: 640px) {
  .flottant { height: 48px; font-size: 14px; padding-right: 16px; }
  .flottant__medaillon { width: 36px; height: 36px; }
}
@keyframes flottant-cle {
  0%, 30%, 100% { transform: none; }
  10%, 20% { transform: rotate(-90deg); }
}
@keyframes flottant-vibre {
  0%, 12%, 100% { transform: none; }
  1.5% { transform: translateX(-3px) rotate(-2deg); }
  3% { transform: translateX(3px) rotate(2deg); }
  4.5% { transform: translateX(-3px) rotate(-1.5deg); }
  6% { transform: translateX(2px) rotate(1deg); }
  7.5% { transform: translateX(-1px) rotate(-0.5deg); }
  9% { transform: translateX(1px); }
}
@keyframes flottant-onde {
  0% { box-shadow: 0 0 0 0 rgba(240, 176, 79, 0.6); }
  30%, 100% { box-shadow: 0 0 0 12px rgba(240, 176, 79, 0); }
}
@keyframes flottant-reflet {
  0%, 15% { transform: translateX(-150%) skewX(-18deg); }
  45%, 100% { transform: translateX(380%) skewX(-18deg); }
}
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240, 176, 79, 0.5); } 70%, 100% { box-shadow: 0 0 0 14px rgba(240, 176, 79, 0); } }

@keyframes cle-entre { from { transform: rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ecrit { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ---------- Animations ---------- */
@keyframes defile { to { transform: translateX(-50%); } }
@keyframes monte { from { transform: translateY(70%); } to { transform: none; } }
@keyframes serrure { from { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%, 0 90%, 0 90%, 0 100%, 0 100%); } }
@keyframes tourne { from { transform: rotate(-12deg); } to { transform: rotate(348deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .g-hero, .split { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .garantie:nth-child(2n) { border-right: 0; }
  .garantie:nth-child(-n + 2) { border-bottom: 1px solid var(--trait); }
  .menu-bouton { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--fond); border-bottom: 1px solid var(--trait); padding: 8px var(--gouttiere) 16px;
    box-shadow: 0 20px 30px -24px rgba(23, 11, 18, 0.4);
  }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--trait); font-size: 17px; }
  .nav a:last-child { border-bottom: 0; }
  .entete.ouvert .nav { display: flex; }
}

@media (max-width: 640px) {
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .g3.uno { grid-template-columns: 1fr; }
  .g2, .g4 { grid-template-columns: 1fr; }
  .garantie { border-right: 0; }
  .entete__actions .btn { padding: 0 16px; font-size: 14px; }
  .logo__cle { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bandeau__piste, .monte, .carte-photo--1, .pastille, .logo__cle { animation: none; }
  .js .apparait { opacity: 1; transform: none; transition: none; }
  .flottant { transition: opacity 0.2s; transform: none; }
  .flottant.montre, .flottant.montre::before, .flottant.montre .flottant__cle, .flottant.montre .flottant__medaillon::after { animation: none; }
  .look__cle, .look--prive .look__image > img:first-child { transition: none; }
}

/* ---------- Mise à jour nov. 2026 : carrousel d'accroche ---------- */
.carrousel { position: relative; }
.carrousel__piste { display: grid; }
.diapo { grid-area: 1 / 1; min-width: 0; }
.js .diapo { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.6s, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.6s; }
.js .diapo.actif { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .diapo + .diapo { display: none; }
.entre { display: inline-block; }
.diapo.actif .entre { animation: monte 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.diapo.actif .entre--2 { animation-delay: 0.08s; }
.diapo.actif .entre--3 { animation-delay: 0.16s; }
.diapo .h1 > span { display: block; overflow: hidden; }

.carrousel__commandes { display: flex; align-items: center; gap: 10px; margin-top: clamp(28px, 4vw, 48px); }
.carrousel__fleche {
width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--encre);
background: transparent; color: var(--encre); font-size: 16px; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.carrousel__fleche:hover { background: var(--encre); color: var(--fond); }
.carrousel__points { display: flex; gap: 8px; flex: 1; max-width: 520px; }
.carrousel__point {
flex: 1; position: relative; overflow: hidden; text-align: left; cursor: pointer;
background: transparent; border: 0; border-top: 3px solid var(--trait); padding: 10px 0 0;
font: 500 13px var(--texte); color: var(--gris); letter-spacing: 0.02em;
}
.carrousel__point::before {
content: ''; position: absolute; left: 0; top: -3px; height: 3px; width: 100%;
background: var(--prune); transform: scaleX(0); transform-origin: left;
}
.carrousel__point[aria-selected='true'] { color: var(--encre); }
.carrousel__point[aria-selected='true']::before { transform: scaleX(1); }
.carrousel.lecture .carrousel__point[aria-selected='true']::before { transform: scaleX(0); animation: barre var(--duree, 8s) linear forwards; }
.carrousel__point:nth-child(2)[aria-selected='true']::before { background: var(--or-fonce); }

/* Diapo 2 : les 100 premières clés */
.surtitre--or { color: var(--or-fonce); font-weight: 600; }
.compteur-cles {
display: flex; flex-direction: column; gap: 10px; max-width: 420px;
background: var(--encre); color: var(--clair); border-radius: 6px; padding: 18px 20px;
}
.compteur-cles__ligne { display: flex; align-items: baseline; gap: 10px; font-family: var(--titre); font-size: 20px; font-weight: 600; }
.compteur-cles__ligne b { font-size: 44px; line-height: 1; color: var(--or); font-weight: 800; letter-spacing: -0.02em; }
.compteur-cles__barre { height: 6px; border-radius: 3px; background: rgba(252, 239, 245, 0.18); overflow: hidden; }
.compteur-cles__barre span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--or-fonce), var(--or)); border-radius: 3px; transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s; }
.compteur-cles small { font-size: 13px; color: var(--clair-2); }
.compteur-cles small b { color: var(--or); }

.cles-visuel { position: relative; aspect-ratio: 4 / 4.7; width: 100%; }
.cles-visuel__carte {
position: absolute; top: 0; left: 0; right: 12%; bottom: 8%; border-radius: 6px; overflow: hidden;
clip-path: polygon(0 0, 100% 0, 100% 100%, 34% 100%, 34% 92%, 22% 92%, 22% 100%, 0 100%);
background: radial-gradient(circle at 30% 20%, var(--prune-clair), var(--prune) 45%, #2a0718);
box-shadow: var(--ombre); color: var(--clair);
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.cles-visuel__carte::before {
content: ''; position: absolute; inset: 18px; border: 1px solid rgba(240, 176, 79, 0.35); border-radius: 4px; pointer-events: none;
}
.cles-visuel__cle { height: 30%; width: auto; opacity: 0.95; }
.diapo.actif .cles-visuel__cle { animation: cle-entre 1.1s 0.2s cubic-bezier(0.3, 1.4, 0.4, 1) backwards; }
.cles-visuel__num { display: flex; align-items: baseline; gap: 6px; font-family: var(--titre); }
.cles-visuel__num small { font-size: clamp(18px, 2vw, 26px); color: var(--clair-4); }
.cles-visuel__num b { font-size: clamp(72px, 9vw, 132px); line-height: 0.9; font-weight: 800; color: var(--or); letter-spacing: -0.04em; }
.cles-visuel__total { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clair-4); }
.pastille--or { background: var(--or); color: var(--encre); right: 0; top: 6%; font-weight: 600; }

/* ---------- Créateurs fondateurs ---------- */
.fondateurs { padding-top: var(--section); }
.fondateurs__intro { margin: 0; max-width: 40ch; color: var(--gris); }
.fondateurs__grille { gap: 20px; }
.fondateur { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fondateur__piece {
position: relative; aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden;
background: var(--fond-rose); display: flex; align-items: center; justify-content: center;
}
.fondateur__piece > img:first-child:not(.fondateur__cle) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fondateur:hover .fondateur__piece > img:first-child:not(.fondateur__cle) { transform: scale(1.03); }
.fondateur__cle { height: 56px; width: auto; opacity: 0.35; }
.fondateur__badge {
position: absolute; left: 10px; top: 10px; background: var(--encre); color: var(--or);
font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px;
}
.fondateur__id { display: flex; align-items: center; gap: 12px; }
.fondateur__visage {
width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
background: var(--prune); border: 2px solid var(--or); position: relative;
}
.fondateur__visage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fondateur__nom { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.fondateur__nom b { font-family: var(--titre); font-size: 19px; }
.fondateur__nom small { font-size: 13px; color: var(--gris); }
.fondateur__piece-nom { margin: 0; font-size: 14.5px; color: var(--gris); border-top: 1px solid var(--trait); padding-top: 10px; }
.fondateur--vide .fondateur__piece { border: 1.5px dashed var(--trait-champ); }

/* ---------- Bloc livraison ---------- */
.livraison { display: flex; flex-direction: column; gap: 18px; background: var(--fond-rose); border-radius: 6px; padding: clamp(20px, 4vw, 40px); }
.livraison__tete { display: flex; flex-direction: column; gap: 6px; }
.livraison__tete b { font-family: var(--titre); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.1; }
.livraison__grille { gap: 14px; }
.livraison__carte { background: var(--blanc); border: 1px solid var(--trait); border-radius: 6px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.livraison__carte svg { width: 28px; height: 28px; }
.livraison__carte h3 { margin: 0; font-family: var(--titre); font-size: 21px; font-weight: 700; }
.livraison__carte p { margin: 0; color: var(--gris); font-size: 15.5px; }

@media (max-width: 1000px) {
.cles-visuel { max-width: 460px; }
.accroche__visuel { max-width: 520px; }
}
@media (max-width: 640px) {
.fondateurs__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fondateur__visage { width: 40px; height: 40px; }
.fondateur__nom b { font-size: 16px; }
.carrousel__point span { font-size: 12px; }
.compteur-cles__ligne b { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
.js .diapo { transition: none; transform: none; }
.diapo.actif .entre, .diapo.actif .cles-visuel__cle { animation: none; }
.carrousel.lecture .carrousel__point[aria-selected='true']::before { animation: none; transform: scaleX(1); }
}

/* Bandeau : la clé ouvre et ferme la boucle */
.bandeau__piste { align-items: center; }
.bandeau__cle { display: inline-flex; align-items: center; }
.bandeau__cle img { height: 15px; width: 10px; max-width: none; }
/* Créateurs : pièce privée + monogramme */
.fondateur__piece { flex-direction: column; gap: 8px; }
.fondateur__piece > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) saturate(0.9); transform: scale(1.15); transition: filter 0.6s; }
.fondateur:hover .fondateur__piece > img:first-child { filter: blur(7px) saturate(1); transform: scale(1.15); }
.fondateur__cle--clair { opacity: 1; height: 40px; position: relative; transition: transform 0.7s cubic-bezier(0.3, 1.4, 0.4, 1); }
.fondateur:hover .fondateur__cle--clair { transform: rotate(-90deg) scale(1.1); }
.fondateur__mention { position: relative; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blanc); }
.fondateur__badge { z-index: 1; }
.fondateur__mono { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: var(--prune); border: 2px solid var(--or); color: var(--or); display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-weight: 700; font-size: 18px; letter-spacing: 0.02em; }
@media (max-width: 640px) { .fondateur__mono { width: 40px; height: 40px; font-size: 15px; } }

/* ---------- Abonnement compact (nov. 2026) ---------- */
.abonnement { padding: clamp(20px, 3.5vw, 44px); gap: clamp(24px, 4vw, 52px); grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
.abonnement__texte { position: sticky; top: 24px; gap: 14px; }
.abonnement__texte > p { font-size: 16px; }
.abonnement .recap { padding: 16px 18px; gap: 6px; }
.abonnement .recap__ligne strong { font-size: 24px; }
.formulaire { gap: 12px; }
.formulaire fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.formulaire legend { margin-bottom: 6px; }
.pl { position: relative; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 0; padding: 12px 40px 12px 14px; }
.pl input { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; }
.pl__texte b { font-size: 15.5px; }
.pl__texte span { font-size: 12.5px; line-height: 1.35; }
.pl__prix { margin-top: 4px; font-family: var(--titre); font-weight: 700; font-size: 17px; color: var(--prune); }
.formulaire .champs-ligne { gap: 10px; align-items: flex-start; }
.formulaire .champ { gap: 5px; }
.formulaire .champ input { min-height: 46px; }
.formulaire .champ__aide { font-size: 12px; }
.formulaire .case { font-size: 13.5px; min-height: 0; gap: 10px; }
.formulaire .case input { width: 20px; height: 20px; }
#payer { min-height: 52px; margin-top: 4px; }
@media (max-width: 1000px) { .abonnement { grid-template-columns: 1fr; } .abonnement__texte { position: static; } }
@media (max-width: 420px) { .formulaire fieldset { grid-template-columns: 1fr; } }

/* ---------- Effets premium (nov. 2026) — actifs seulement avec .fx ---------- */

/* 1. Le Défilé */
.fx .defile { position: relative; }
.fx .defile__collant {
position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(18px, 3vh, 30px);
}
.fx .defile__collant::before {
content: ''; position: absolute; left: 50%; bottom: 12vh; width: min(760px, 120vw); height: 120px; transform: translateX(-50%);
background: radial-gradient(ellipse at center, rgba(91, 18, 53, 0.18), transparent 70%); pointer-events: none;
}
.fx .defile__scene { display: block; position: relative; width: min(340px, 64vw, 46vh); aspect-ratio: 3 / 4.5; margin: 0 auto; }
.fx .defile__scene .look { position: absolute; inset: 0; will-change: transform, opacity, filter; transition: none !important; transform-origin: 50% 100%; }
.fx .defile__scene .look .look__image { box-shadow: 0 30px 50px -30px rgba(23, 11, 18, 0.6); }
.fx .defile__scene .look .look__legende { opacity: 0; transition: opacity 0.35s; }
.fx .defile__scene .look.devant .look__legende { opacity: 1; }
.defile__hud { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; z-index: 2; }
.defile__num { font-family: var(--titre); font-size: 15px; letter-spacing: 0.04em; color: var(--gris); }
.defile__num b { color: var(--encre); font-size: 22px; }
.defile__barre { width: 180px; height: 2px; background: var(--trait); overflow: hidden; border-radius: 2px; }
.defile__barre span { display: block; height: 100%; background: var(--prune); transform: scaleX(0); transform-origin: left; }
.defile__aide { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gris); transition: opacity 0.4s; }

/* 2. La porte du club */
.porte { display: none; }
.fx .porte { display: block; position: relative; height: 210vh; margin: var(--section) 0 clamp(32px, 5vw, 64px); }
.fx .porte__collant { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--encre); }
.porte__derriere {
position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
text-align: center; color: var(--clair); padding: 0 var(--gouttiere);
background: radial-gradient(circle at 50% 45%, rgba(240, 176, 79, 0.22), transparent 55%), var(--encre);
}
.porte__derriere .surtitre { color: var(--or); }
.porte__derriere b { font-family: var(--titre); font-size: clamp(40px, 7vw, 96px); line-height: 1; letter-spacing: -0.03em; }
.porte__derriere small { font-size: 17px; color: var(--clair-2); }
.porte__battant {
position: absolute; top: 0; bottom: 0; width: 50%; will-change: transform;
background:
  linear-gradient(rgba(240, 176, 79, 0.35), rgba(240, 176, 79, 0.35)) 50% 14% / 62% 1px no-repeat,
  linear-gradient(rgba(240, 176, 79, 0.35), rgba(240, 176, 79, 0.35)) 50% 86% / 62% 1px no-repeat,
  linear-gradient(160deg, var(--prune-clair), var(--prune) 50%, var(--prune-fonce));
}
.porte__battant::before {
content: ''; position: absolute; inset: 14% 19%; border: 1px solid rgba(240, 176, 79, 0.35); border-radius: 3px;
}
.porte__battant--g { left: 0; transform-origin: left center; box-shadow: inset -1px 0 0 rgba(240, 176, 79, 0.6); }
.porte__battant--d { right: 0; transform-origin: right center; box-shadow: inset 1px 0 0 rgba(240, 176, 79, 0.6); }
.porte__serrure {
position: absolute; left: 50%; top: 58%; width: 92px; height: 92px; border-radius: 50%; transform: translate(-50%, -50%);
background: radial-gradient(circle at 35% 30%, #f7cd84, var(--or) 55%, var(--or-fonce));
box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.6), inset 0 -3px 6px rgba(120, 60, 0, 0.35); z-index: 2;
display: flex; align-items: center; justify-content: center; transition: box-shadow 0.4s;
}
.porte__serrure.deverrouille { box-shadow: 0 0 0 10px rgba(240, 176, 79, 0.18), 0 0 60px rgba(240, 176, 79, 0.55); }
.porte__trou { width: 18px; height: 40px; background: var(--encre); clip-path: polygon(30% 0, 70% 0, 70% 38%, 100% 100%, 0 100%, 30% 38%); border-radius: 50% 50% 2px 2px; margin-top: 6px; }
.porte__cle {
position: absolute; left: 50%; top: calc(58% - min(34vh, 260px) + 8px); height: min(34vh, 260px); width: auto; z-index: 3;
transform-origin: 50% 96%; will-change: transform, opacity; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.5));
}
.porte__aide {
position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%); z-index: 3; transition: opacity 0.4s;
font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clair-4); white-space: nowrap;
}

/* 3. La mise au point des titres */
.fx .h2.focus { position: relative; }
.fx .h2.focus .mot { display: inline-block; filter: blur(7px); opacity: 0.3; transition: filter 0.55s ease, opacity 0.55s ease; }
.fx .h2.focus .mot.net { filter: none; opacity: 1; }
.mise-au-point {
position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; color: var(--or-fonce);
transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.32s, opacity 0.4s;
background:
  linear-gradient(currentColor, currentColor) top left / 12px 2px no-repeat,
  linear-gradient(currentColor, currentColor) top left / 2px 12px no-repeat,
  linear-gradient(currentColor, currentColor) top right / 12px 2px no-repeat,
  linear-gradient(currentColor, currentColor) top right / 2px 12px no-repeat,
  linear-gradient(currentColor, currentColor) bottom left / 12px 2px no-repeat,
  linear-gradient(currentColor, currentColor) bottom left / 2px 12px no-repeat,
  linear-gradient(currentColor, currentColor) bottom right / 12px 2px no-repeat,
  linear-gradient(currentColor, currentColor) bottom right / 2px 12px no-repeat;
}
.createurs .mise-au-point { color: var(--or); }

@media (max-width: 640px) {
.fx .defile__scene { width: min(300px, 70vw, 44vh); }
.fx .porte { height: 180vh; }
.porte__serrure { width: 76px; height: 76px; }
}

/* ---------- Tuto : écrans de l'appli CLAVIS (PWA) ---------- */
.tuto .telephone:has(.tuto__ecran--app) { background: var(--fond); padding-bottom: 10px; }
.tuto__ecran--app { justify-content: flex-start; padding-top: 4px; }
.tuto__ecran--app .scene { gap: 10px; }
.app-carte {
  background: var(--blanc); border: 1px solid var(--trait); border-radius: 14px;
  box-shadow: 0 10px 24px -20px rgba(23, 11, 18, 0.45); align-self: stretch;
}
.app-carte.post { padding: 6px 6px 8px; display: flex; flex-direction: column; gap: 8px; }
.app-carte.post .post__photo { margin-bottom: 0; height: 190px; }
.app-btn {
  position: relative; display: block; text-align: center; background: var(--prune); color: var(--blanc);
  border: 1.5px solid var(--prune); border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: 14px;
  transition: background 0.2s, transform 0.2s;
}
.app-btn--contour { background: var(--blanc); color: var(--prune); }
.app-btn.tap.appuie { background: var(--prune-fonce); color: var(--blanc); }
.scene .bulle:has(> .app-btn) { padding: 0; align-self: stretch; }
.app-notif {
  display: flex; gap: 10px; align-items: center; align-self: stretch;
  background: var(--encre); color: var(--fond); border-radius: 14px; padding: 10px 12px; font-size: 13px;
}
.app-notif img { width: 26px; height: 26px; padding: 4px; border-radius: 8px; background: var(--prune); flex-shrink: 0; }
.app-notif span { display: flex; flex-direction: column; line-height: 1.3; }
.app-notif b { color: var(--or); font-size: 13px; }
.app-fiche { display: flex; gap: 12px; padding: 8px; align-items: center; }
.app-fiche img { width: 92px; height: 112px; object-fit: cover; object-position: 50% 25%; border-radius: 10px; }
.app-fiche div { display: flex; flex-direction: column; gap: 3px; }
.app-tailles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.app-form { display: flex; flex-direction: column; gap: 6px; }
.app-champ { display: flex; flex-direction: column; border: 1px solid var(--trait-champ); border-radius: 8px; padding: 5px 10px; font-size: 13.5px; }
.app-champ small { font-size: 10.5px; color: var(--gris); text-transform: uppercase; letter-spacing: 0.06em; }
.app-toast {
  align-self: center; background: var(--fond-rose); color: var(--prune); border-radius: 999px;
  padding: 7px 14px; font-size: 12.5px; font-weight: 600; text-align: center;
}
.appnav {
  display: flex; justify-content: space-around; border-top: 1px solid var(--trait);
  padding-top: 8px; font-size: 11.5px; font-weight: 600; color: var(--gris);
}
.appnav span { padding: 4px 10px; border-radius: 999px; transition: background 0.25s, color 0.25s; }
.appnav span.actif { background: var(--fond-rose); color: var(--prune); }
#aide.aide--erreur { color: var(--erreur); font-weight: 600; }

/* Accès à l'espace membre */
.nav__connexion { display: none; }
@media (max-width: 1000px) {
  .nav .nav__connexion { display: block; font-weight: 700; color: var(--prune); }
}
@media (max-width: 560px) {
  .entete__connexion { display: none; }
}
