/* Kit de stripping BloomAligner — page produit dans les codes Apple : noir et blanc, grandes typographies serrées,
   un seul moment fort (le récit au défilement), le reste calme. Police : Inter (la plus proche de SF Pro, libre). */
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(fonts/inter-var-latin.woff2) format("woff2"); }
:root {
  --blanc: #ffffff; --gris-clair: #f5f5f7; --encre: #1d1d1f; --gris: #6e6e73; --gris-noir: #86868b; --noir: #000000;
  --bleu: #1180be; --bleu-fonce: #0e6ea6; --bleu-clair: #4aa8e0;
  --page: min(980px, 100% - 44px); --large: min(1200px, 100% - 44px);
  --doux: cubic-bezier(.28, .11, .32, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; background: var(--blanc); color: var(--encre); font: 400 17px/1.47 "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  letter-spacing: -.011em; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
img, video { display: block; max-width: 100%; }
a { color: var(--bleu); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 600; }
:focus-visible { outline: 2px solid var(--bleu-clair); outline-offset: 3px; border-radius: 4px; }
.lecteur { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- boutons ---------- */
.pilule { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 0; border-radius: 980px;
  background: var(--bleu); color: #fff; font: 400 17px/1 "Inter", sans-serif; letter-spacing: -.01em; cursor: pointer; transition: background .2s; }
.pilule:hover { background: var(--bleu-fonce); text-decoration: none; }
.pilule.petite { min-height: 28px; padding: 0 12px; font-size: 12px; }
.pilule.grande { min-height: 52px; padding: 0 34px; font-size: 18px; }
.lien-fleche { font-size: 19px; color: var(--bleu-clair); }
.lien-fleche::after { content: " ›"; }

/* ---------- barre produit ---------- */
.barre { position: sticky; top: 0; z-index: 30; height: 52px; background: rgba(251, 251, 253, .8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .16); transition: background .4s var(--doux), border-color .4s var(--doux); }
.barre-dedans { width: var(--page); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 22px; }
.barre-nom { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--encre); font-size: 21px; font-weight: 600; letter-spacing: .011em; }
.barre-nom:hover { text-decoration: none; }
.barre-nom img { height: 18px; width: auto; }
.barre-liens { display: flex; gap: 22px; }
.barre-liens a, .langue { font-size: 12px; color: var(--encre); opacity: .8; letter-spacing: -.01em; }
.barre-liens a:hover, .langue:hover { opacity: 1; text-decoration: none; }
/* sur le noir de l'ouverture, la barre passe en sombre */
.barre.sombre { background: rgba(22, 22, 23, .8); border-color: rgba(255, 255, 255, .12); }
.barre.sombre .barre-nom, .barre.sombre .barre-liens a, .barre.sombre .langue { color: #f5f5f7; }
.barre.sombre .barre-nom img { filter: brightness(0) invert(1); }

/* ---------- 1. ouverture : le coffret en 3D, joué au défilement ---------- */
/* sans animation : le titre, la planche fixe et les textes, empilés ; avec : la scène est épinglée et anim.js dessine les images dans le canvas */
.sequence { background: var(--noir); color: var(--gris-clair); }
.sequence-scene { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 56px 22px 72px; text-align: center; }
.sequence-canvas { display: none; }
.sequence-affiche { width: min(1100px, 100%); height: auto; order: 2; }
.sequence-cadre { order: 2; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sequence-noms { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; padding: 0; list-style: none; color: #a1a1a6; font-size: 15px; }
.sequence-noms li { position: static !important; }
.sequence h1 { font-size: clamp(48px, 6.6vw, 88px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700;
  background: linear-gradient(180deg, #ffffff 30%, #a1a1a6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.ouverture-sous { margin: 12px 0 0; font-size: clamp(19px, 2.2vw, 26px); line-height: 1.16; font-weight: 600; letter-spacing: .004em; color: #f5f5f7; }
.ouverture-prix { margin: 8px 0 0; font-size: 17px; color: var(--gris-noir); }
.actions { display: flex; gap: 28px; align-items: center; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.sequence-titre { order: 1; } .sequence-planche { order: 3; } .sequence-ouvert { order: 4; } .sequence-fin { order: 5; }
.sequence-texte h2 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -.03em; font-weight: 700; color: #f5f5f7; }
.sequence-texte h2 + p { margin: 10px 0 0; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3; font-weight: 500; color: #a1a1a6; }
.sequence-planche { margin: 0; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -.03em; color: #f5f5f7; }

/* avec animation : l'image couvre l'écran sans être coupée au milieu (le coffret occupe la partie centrale), les textes se posent dessus */
.anime .sequence-scene { display: block; height: calc(100svh - 52px); padding: 0; overflow: hidden; }
.anime .sequence-cadre { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: block; width: min(150vw, calc((100svh - 52px) * 16 / 9)); max-width: none; aspect-ratio: 16 / 9; will-change: transform; }
.anime .sequence-canvas { display: block; width: 100%; height: 100%; }
.anime .sequence-affiche { display: none; }
.anime .sequence-noms { display: block; }
.anime .sequence-noms li { position: absolute !important; translate: -50% -50%; opacity: 0; white-space: nowrap; font-size: clamp(11px, 1.05vw, 15px); font-weight: 500; letter-spacing: -.01em; color: #f5f5f7; }
.anime .sequence-texte { position: absolute; z-index: 2; left: 22px; right: 22px; margin: 0; }
.anime .sequence-titre { top: 5%; }
.anime .sequence-ouvert { left: max(6%, calc(50% - 620px)); right: auto; top: 50%; translate: 0 -50%; width: min(19vw, 300px); text-align: left; opacity: 0; }
.anime .sequence-planche { top: 3.5%; opacity: 0; }
.anime .sequence-fin { bottom: 7%; opacity: 0; }

/* ---------- titres de section ---------- */
.titre-section { width: var(--page); margin: 0 auto 50px; font-size: clamp(40px, 5.6vw, 64px); line-height: 1.06; letter-spacing: -.028em; font-weight: 700; }

/* ---------- 3. film ---------- */
.film-section { background: var(--gris-clair); padding: 120px 0; }
.film { width: var(--large); margin: 0 auto; }
.film video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 28px; background: var(--gris-clair); }

/* ---------- 4. bon à savoir : mosaïque ---------- */
.savoir { padding: 120px 0; }
.mosaique { width: var(--large); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(250px, auto); gap: 20px; }
.tuile { background: var(--gris-clair); border-radius: 28px; padding: 40px 36px; display: flex; flex-direction: column; justify-content: flex-end; }
.tuile h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
.tuile p { margin: 10px 0 0; font-size: 17px; color: var(--gris); max-width: 34ch; }
.tuile-grande { grid-row: span 2; }
.tuile-large { grid-column: span 2; }
.tuile-noire { background: var(--noir); color: #f5f5f7; position: relative; overflow: hidden; justify-content: flex-start; min-height: 520px; }
.tuile-noire p { color: var(--gris-noir); }
.tuile-noire img { position: absolute; bottom: -30px; left: 50%; translate: -50% 0; height: 72%; width: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .9)); }
[data-a-venir] { color: inherit; opacity: .7; }

/* ---------- 5. dans le coffret ---------- */
.contenu { background: var(--gris-clair); padding: 120px 0; text-align: center; }
.contenu .titre-section { text-align: center; }
.contenu-img { width: min(560px, 86vw); height: auto; margin: 0 auto; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .16)); }
.contenu-note { width: var(--page); margin: 40px auto 0; font-size: 19px; color: var(--gris); }

/* ---------- 6. questions ---------- */
.questions-section { padding: 120px 0; }
.questions { width: var(--page); margin: 0 auto; border-top: 1px solid #d2d2d7; }
.questions details { border-bottom: 1px solid #d2d2d7; }
.questions summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -.015em; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; font-size: 30px; font-weight: 300; color: var(--gris); transition: transform .3s var(--doux); flex: none; }
.questions details[open] summary::after { transform: rotate(45deg); }
.questions p { margin: 0 0 26px; max-width: 62ch; font-size: 17px; color: var(--gris); }

/* ---------- 7. achat ---------- */
.achat { background: var(--noir); color: #f5f5f7; text-align: center; padding: 120px 22px 130px; }
.achat-img { width: min(380px, 70vw); height: auto; margin: 0 auto 40px; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .9)); }
.achat h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.025em; font-weight: 700; }
.achat-prix { margin: 6px 0 0; font-size: clamp(64px, 9vw, 104px); line-height: 1; letter-spacing: -.04em; font-weight: 700;
  background: linear-gradient(180deg, #ffffff 30%, #a1a1a6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .05em; }
.achat-detail { margin: 14px 0 34px; font-size: 17px; color: var(--gris-noir); }
.achat-detail a { color: var(--bleu-clair); }
.achat-paiement { margin: 16px 0 0; font-size: 12px; color: var(--gris-noir); }

/* ---------- fenêtre « Commander » ---------- */
.fenetre { width: min(520px, 100% - 32px); padding: 0; border: 0; border-radius: 22px; background: transparent; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.fenetre::backdrop { background: rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.formulaire { position: relative; padding: 40px 36px 30px; background: #fff; border-radius: 22px; }
.formulaire h3 { margin: 0 40px 6px 0; font-size: 28px; letter-spacing: -.02em; font-weight: 700; }
.formulaire-intro { margin: 0 0 24px; color: var(--gris); font-size: 15px; }
.champs { display: grid; gap: 14px; }
.formulaire label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--encre); }
.formulaire label small { font-weight: 400; color: var(--gris); }
.formulaire input { font: 400 17px "Inter", sans-serif; padding: 12px 14px; border-radius: 12px; border: 1px solid #d2d2d7; background: #fff; color: var(--encre); min-height: 50px; }
.formulaire input:focus { outline: 3px solid rgba(17, 128, 190, .25); border-color: var(--bleu); }
.formulaire .pilule { width: 100%; min-height: 50px; }
.formulaire .piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mention { margin: 16px 0 18px; color: var(--gris); font-size: 12px; line-height: 1.5; }
.etat { margin: 12px 0 0; min-height: 1.4em; text-align: center; font-size: 14px; color: var(--gris); }
.etat.ok { color: #1d7a4f; font-weight: 600; } .etat.erreur { color: #b42318; }
.formulaire .invalide { border-color: #b42318 !important; }
.fermer { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--gris-clair); color: var(--gris); font: 400 22px/1 "Inter", sans-serif; cursor: pointer; }
.fermer:hover { color: var(--encre); }

/* ---------- pied ---------- */
.pied { background: var(--gris-clair); color: var(--gris); font-size: 12px; padding: 22px 0 30px; }
.pied-dedans { width: var(--page); margin: 0 auto; border-top: 1px solid #d2d2d7; padding-top: 16px; }
.pied p { margin: 0 0 8px; }

/* ---------- téléphone ---------- */
@media (max-width: 860px) {
  .barre-liens { display: none; }
  .barre-dedans { gap: 14px; } .barre-nom { font-size: 15px; gap: 8px; white-space: nowrap; } .barre-nom img { height: 14px; }
  .mosaique { grid-template-columns: 1fr; }
  .tuile-grande, .tuile-large { grid-row: auto; grid-column: auto; }
  .tuile-noire { min-height: 460px; }
  .anime .sequence-ouvert { left: 22px; right: 22px; top: 7%; translate: 0 0; width: auto; text-align: center; }
  .film-section, .savoir, .contenu, .questions-section { padding: 80px 0; }
  .titre-section { margin-bottom: 34px; }
  .film video { border-radius: 18px; }
  .formulaire { padding: 34px 22px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
