@font-face { font-family: "Inter Tight"; src: url("/InterTight.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root { --encre: #111113; --gris: #52565C; --fond: #F5F5F6; --blanc: #fff; --filet: #DDDDE1; --nuit: #0B0B0C; --bord: 1.25rem; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--fond); color: var(--encre); font: 1.0625rem/1.6 "Inter Tight", system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #1D4ED8; outline-offset: 3px; }
.saut { position: absolute; left: -999px; }
.saut:focus { left: 1rem; top: 1rem; background: var(--blanc); padding: .5rem .75rem; z-index: 5; }
.large { width: 100%; max-width: 74rem; margin: 0 auto; padding-left: var(--bord); padding-right: var(--bord); }
.etroit { max-width: 50rem; }

.barre { position: sticky; top: 0; z-index: 3; background: rgba(245,245,246,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--filet); }
.barre .large { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.marque { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.marque svg { width: 32px; height: 32px; }
nav { display: none; gap: 2rem; font-size: .95rem; font-weight: 500; }
nav a { text-decoration: none; padding: .6rem 0; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.bouton { background: var(--nuit); color: var(--blanc); border-radius: 999px; padding: .6rem 1.15rem; min-height: 44px; font-weight: 600; font-size: .95rem; text-decoration: none; display: inline-flex; align-items: center; }

h1 { font-size: clamp(2.9rem, 11vw, 5.4rem); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.titre { font-size: clamp(2rem, 5.5vw, 3.1rem); line-height: 1.07; letter-spacing: -.03em; font-weight: 750; }
h3 { font-size: 1.6rem; line-height: 1.2; letter-spacing: -.015em; }
.surtitre { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); margin-bottom: .9rem; }

.magasins { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.magasin { display: inline-flex; align-items: center; gap: .7rem; min-width: 11.5rem; min-height: 3.5rem; padding: .55rem 1.1rem; background: #000; color: #fff; border: 1px solid #55575C; border-radius: 12px; text-decoration: none; font-size: 1.15rem; font-weight: 600; line-height: 1.15; }
.magasin svg { width: 28px; height: 28px; flex: none; }
.magasin small { display: block; font-size: .72rem; font-weight: 400; }
.magasin:hover { background: #1D1E21; }

.telephone { width: min(72vw, 288px); border: 9px solid var(--nuit); border-radius: 44px; overflow: hidden; background: var(--fond); box-shadow: 0 40px 70px -35px rgba(0,0,0,.5); }
.ouverture { display: grid; gap: 3.5rem; padding-top: 3rem; padding-bottom: 4rem; align-items: center; }
.chapeau { margin-top: 1.5rem; max-width: 32rem; font-size: 1.25rem; line-height: 1.5; color: var(--gris); }
/* Les trois écrans en éventail : les côtés passent derrière celui du milieu. */
.trio { display: flex; justify-content: center; align-items: flex-start; }
.trio .telephone { flex: none; width: min(42vw, 270px); border-width: clamp(5px, 1.6vw, 9px); border-radius: clamp(24px, 8vw, 44px); }
.trio .avant { position: relative; z-index: 1; }
.trio .gauche, .trio .droite { width: min(34vw, 225px); margin-top: 2.5rem; }
.trio .gauche { margin-right: -11vw; transform: rotate(-6deg); }
.trio .droite { margin-left: -11vw; transform: rotate(6deg); }

section { padding: 4.5rem 0; }
.intro { margin-top: .75rem; color: var(--gris); font-size: 1.15rem; }
.blanc { background: var(--blanc); }
.rang { display: grid; gap: 2.5rem; align-items: center; }
.rang + .rang { margin-top: 5rem; }
#fonctionnalites .intro + .rang { margin-top: 3.5rem; }
.texte > p:not(.surtitre) { margin-top: 1rem; color: var(--gris); max-width: 31rem; }
.liste { list-style: none; margin-top: 1.5rem; }
.liste li { position: relative; padding: .55rem 0 .55rem 1.9rem; font-weight: 500; }
.liste li::before { content: ""; position: absolute; left: .2rem; top: .95rem; width: .8rem; height: .4rem; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.vitrine { display: flex; justify-content: center; border-radius: 32px; padding: 2.5rem 1rem; }
.teinte-bleue { background: #E3ECFD; }
.teinte-ambre { background: #FDEBD8; }
.teinte-verte { background: #DDF3E7; }

.nuit { background: var(--nuit); color: var(--blanc); }
.nuit .surtitre, .nuit .texte > p:not(.surtitre) { color: #C9CACD; }
.nuit .vitrine { background: #1A1B1E; }
.nuit .telephone { border-color: #2A2B2F; }

.colonnes { display: grid; gap: 2rem; margin-top: 3rem; }
.colonnes > div { border-top: 1px solid var(--filet); padding-top: 1.25rem; }
.colonnes p { margin-top: .6rem; color: var(--gris); }

.deux { display: grid; gap: 2.5rem; }
.limites { list-style: none; }
.limites li { font-size: 1.3rem; line-height: 1.35; padding: 1.1rem 0; border-bottom: 1px solid var(--filet); }
.limites li:first-child { border-top: 1px solid var(--filet); }

#questions .titre { margin-bottom: 2rem; }
details { border-top: 1px solid var(--filet); }
details:last-of-type { border-bottom: 1px solid var(--filet); }
summary { cursor: pointer; font-weight: 700; padding: 1.15rem 0; min-height: 44px; }
details p { padding-bottom: 1.25rem; color: var(--gris); }

.appel { text-align: center; padding: 6rem 0; }
.appel svg:not(.magasin svg) { width: 72px; height: 72px; margin: 0 auto 1.5rem; display: block; }
.appel .magasin svg { width: 28px; height: 28px; margin: 0; }
.appel .titre { max-width: 44rem; margin: 0 auto; }
.appel p { margin-top: 1rem; color: var(--gris); }
.appel .magasins { justify-content: center; }

footer { background: var(--nuit); color: #C9CACD; padding: 3.5rem 0 2.5rem; font-size: .95rem; }
.pied { display: grid; gap: 2rem; }
.pied .marque { color: var(--blanc); margin-bottom: .6rem; }
.pied .marque svg rect:first-child { fill: #2A2B2F; }
.pied h4 { color: var(--blanc); font-size: .95rem; margin-bottom: .5rem; }
.pied a:not(.marque) { display: block; padding: .35rem 0; text-decoration: none; }
.pied a:hover { text-decoration: underline; }

@media (min-width: 40rem) {
  .colonnes { grid-template-columns: repeat(3, 1fr); }
  .pied { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 60rem) {
  :root { --bord: 2.5rem; }
  nav { display: flex; }
  .ouverture { grid-template-columns: 1fr 1.15fr; gap: 2rem; padding-top: 4.5rem; padding-bottom: 5rem; }
  .trio .telephone { width: min(260px, 20vw); }
  .trio .gauche, .trio .droite { width: min(215px, 16.5vw); margin-top: 3.5rem; }
  .trio .gauche { margin-right: max(-75px, -5.8vw); }
  .trio .droite { margin-left: max(-75px, -5.8vw); }
  section { padding: 7rem 0; }
  .rang { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .rang + .rang { margin-top: 7rem; }
  .inverse > .texte { order: 2; }
  .deux { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
}

/* Pages « bientôt » : une colonne, des champs confortables. */
.attente { max-width: 34rem; padding-top: 3rem; padding-bottom: 5rem; }
.attente h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
.attente form { margin-top: 2rem; }
.attente label, .attente legend { display: block; font-weight: 600; }
.attente input[type="email"] { display: block; width: 100%; min-height: 52px; margin-top: .4rem; padding: .7rem 1rem; border: 1px solid #8E9096; border-radius: 14px; background: var(--blanc); font: inherit; color: inherit; }
.attente fieldset { border: 0; margin-top: 1.25rem; }
.attente .choix { display: inline-flex; align-items: center; gap: .5rem; margin-right: 1.5rem; min-height: 44px; font-weight: 400; }
.attente .accord { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1rem; font-weight: 400; }
.attente input[type="checkbox"], .attente input[type="radio"] { width: 20px; height: 20px; flex: none; accent-color: var(--nuit); }
.attente button { width: 100%; min-height: 52px; margin-top: 1.5rem; border: 0; border-radius: 999px; background: var(--nuit); color: var(--blanc); font: inherit; font-weight: 700; cursor: pointer; }
.attente input:focus-visible, .attente button:focus-visible { outline: 3px solid #1D4ED8; outline-offset: 2px; }
.attente .erreur { color: #8F2A20; background: #FBE9E7; border-radius: 12px; padding: .7rem 1rem; margin-bottom: 1rem; }
.attente .note { margin-top: 1.5rem; font-size: .9rem; color: var(--gris); }
.attente > p:last-child { margin-top: 1.5rem; }
.piege { position: absolute; left: -9999px; }

/* ---------- finitions ordinateur et mobile ---------- */
h1, .titre, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.bouton, .magasin, .colonnes > div { transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
.magasin:hover, .bouton:hover { transform: translateY(-2px); }
.colonnes { gap: 1rem; }
.colonnes > div { border: 1px solid var(--filet); border-radius: 22px; padding: 1.6rem 1.5rem; background: var(--fond); }
details summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 1.6rem; font-weight: 300; line-height: 1; }
details[open] summary::after { content: "\2212"; }

/* Pages d'inscription : une carte centrée. */
.attente { max-width: 33rem; margin: 2rem auto 4rem; padding: 2rem 1.5rem; }
.attente h1 { font-size: clamp(2rem, 7vw, 2.8rem); }

@media (min-width: 40rem) {
  .colonnes > div:hover { transform: translateY(-4px); box-shadow: 0 18px 35px -25px rgba(0,0,0,.35); }
  .attente { margin-top: 4rem; padding: 3rem; background: var(--blanc); border: 1px solid var(--filet); border-radius: 28px; box-shadow: 0 30px 60px -45px rgba(0,0,0,.4); }
}

@media (max-width: 59.99rem) {

  .ouverture { text-align: center; padding-top: 2rem; padding-bottom: 2rem; gap: 2.5rem; }
  .ouverture .chapeau { margin-left: auto; margin-right: auto; font-size: 1.12rem; }
  .ouverture .magasins { justify-content: center; margin-top: 1.5rem; }
  section { padding: 3.5rem 0; }
  .rang { gap: 1.75rem; }
  .rang + .rang { margin-top: 3.5rem; }
  /* Chaque capture montre le haut de l'écran : la page reste courte. */
  .vitrine { padding: 1.75rem 1rem 0; height: 24rem; overflow: hidden; align-items: flex-start; }
  .vitrine .telephone { flex: none; width: min(68vw, 270px); }
  .appel { padding: 4rem 0; }
}

@media (max-width: 30rem) {
  .magasins { flex-wrap: nowrap; gap: .6rem; }
  .magasin { flex: 1; min-width: 0; padding: .5rem .6rem; justify-content: center; font-size: 1rem; gap: .5rem; white-space: nowrap; }
  .magasin svg { width: 22px; height: 22px; }
  .magasin small { font-size: .65rem; }
  .barre .bouton { padding: .5rem .95rem; }
}

@media (min-width: 60rem) {
  .ouverture { min-height: min(calc(100vh - 4.25rem), 48rem); align-content: center; }
  .vitrine { padding: 3rem 1rem; }
}

/* Page d'inscription aérée : de l'espace entre chaque étape, carte à toutes les largeurs. */
.attente { margin-top: 2rem; margin-bottom: 4rem; padding: 2.5rem 1.5rem; background: var(--blanc); border: 1px solid var(--filet); border-radius: 28px; width: calc(100% - 2rem); }
.attente .chapeau { margin-top: 1.5rem; line-height: 1.65; }
.attente form { margin-top: 2.75rem; }
.attente input[type="email"] { min-height: 56px; margin-top: .75rem; }
.attente fieldset { margin-top: 2.25rem; }
.attente legend { margin-bottom: .5rem; }
.attente .accord { margin-top: 2rem; line-height: 1.55; }
.attente button { min-height: 56px; margin-top: 2.5rem; }
.attente .note { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--filet); line-height: 1.7; }
@media (min-width: 40rem) { .attente { margin-top: 4.5rem; padding: 3.5rem; width: 100%; } }

/* ---------- parcours d'inscription : carte centrée, pied de page toujours présent ---------- */
.parcours { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.parcours > main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2.5rem 1rem; }
.parcours > footer { flex: none; }
.bouton.discret { background: transparent; color: var(--encre); border: 1px solid var(--filet); }
.parcours .attente { width: 100%; max-width: 34rem; margin: 0; text-align: center; box-shadow: 0 30px 60px -45px rgba(0,0,0,.4); }
.parcours .attente form, .parcours .conseils, .parcours .note { text-align: left; }
.progression { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 2.5rem; }
.progression li { border-top: 4px solid var(--filet); padding-top: .6rem; font-size: .8rem; color: var(--gris); }
.progression li.faite { border-color: var(--nuit); }
.progression li.ici { border-color: var(--nuit); color: var(--encre); font-weight: 700; }
.pictogramme { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin-bottom: 1.5rem; border-radius: 24px; background: #E3ECFD; color: #1E40AF; }
.pictogramme svg { width: 36px; height: 36px; }
.parcours .attente .chapeau { margin-left: auto; margin-right: auto; max-width: 26rem; }
.conseils { list-style: none; margin-top: 2.25rem; background: var(--fond); border-radius: 18px; padding: .5rem 1.25rem; font-size: .95rem; }
.conseils li { padding: .85rem 0; overflow-wrap: anywhere; }
.conseils li + li { border-top: 1px solid var(--filet); }
.principal { display: flex; align-items: center; justify-content: center; min-height: 56px; margin-top: 2.25rem; border-radius: 999px; background: var(--nuit); color: var(--blanc); font-weight: 700; text-decoration: none; }
.choix-groupe { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.parcours .attente .choix { margin: 0; padding: 0 1rem; min-height: 52px; border: 1px solid var(--filet); border-radius: 14px; cursor: pointer; }
.parcours .attente .choix:has(input:checked) { border-color: var(--nuit); box-shadow: inset 0 0 0 1px var(--nuit); }
@media (min-width: 40rem) { .parcours > main { padding: 4.5rem 1rem; } }

/* Pied de page compact sur téléphone : la marque, puis deux colonnes. */
@media (max-width: 39.99rem) {
  .pied { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .pied > div:first-child { grid-column: 1 / -1; }
  footer { padding: 2.5rem 0 2rem; }
}

.parcours .attente .chapeau.gauche { text-align: left; max-width: none; }
.parcours .attente form.court { margin-top: 1.75rem; }
.parcours .attente form.court button { margin-top: 0; }
/* Case d'accord : contour net, visible avant d'être cochée. */
.parcours .attente input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; border: 2px solid var(--encre); border-radius: 7px; background: var(--blanc); display: grid; place-content: center; cursor: pointer; }
.parcours .attente input[type="checkbox"]:checked { background: var(--nuit); border-color: var(--nuit); }
.parcours .attente input[type="checkbox"]:checked::before { content: ""; width: 11px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }

/* ---------- cadre d'iPhone : proportions réelles, capture entière, boutons latéraux ---------- */
.telephone, .trio .telephone, .vitrine .telephone, .nuit .telephone {
  position: relative; overflow: visible; background: #000; border: 0; padding: 1.5%; border-radius: 14% / 6.6%;
  box-shadow: 0 0 0 1px #5A5B60, 0 40px 70px -35px rgba(0,0,0,.55);
}
.telephone img { display: block; width: 100%; height: auto; border-radius: 12.8% / 6%; }
.telephone::before, .telephone::after { content: ""; position: absolute; width: 2px; background: #2C2D31; }
.telephone::before { left: -3px; top: 19%; height: 15%; border-radius: 3px 0 0 3px; }
.telephone::after { right: -3px; top: 26%; height: 11%; border-radius: 0 3px 3px 0; }
.trio .avant { position: relative; z-index: 1; }
@media (max-width: 59.99rem) {
  /* Le téléphone se voit en entier. */
  .vitrine { height: auto; overflow: visible; padding: 2rem 1rem; align-items: center; }
  .vitrine .telephone { width: min(66vw, 270px); }
}

/* ---------- les téléphones réagissent à la souris, au doigt et au clavier ---------- */
.telephone { transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease; cursor: pointer; outline-offset: 8px; -webkit-tap-highlight-color: transparent; }
.vitrine .telephone:is(:hover, :focus) { transform: translateY(-12px) scale(1.04) rotate(-1.5deg); box-shadow: 0 0 0 1px #5A5B60, 0 60px 80px -35px rgba(0,0,0,.6); }
.trio .avant:is(:hover, :focus) { transform: translateY(-14px) scale(1.04); }
/* Un téléphone de côté passe devant et se redresse. */
.trio .gauche:is(:hover, :focus), .trio .droite:is(:hover, :focus) { z-index: 2; transform: translateY(-14px) rotate(0deg) scale(1.12); }
.trio:has(.gauche:hover, .gauche:focus, .droite:hover, .droite:focus) .avant { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) { .telephone { transition: none; } .telephone:is(:hover, :focus) { transform: none !important; } .trio .gauche:is(:hover, :focus) , .trio .droite:is(:hover, :focus) { z-index: 2; } }

/* ---------- pages légales : un document, une colonne ---------- */
.legal { background: var(--blanc); padding: 3.5rem var(--bord) 5rem; }
.legal article { max-width: 42rem; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.1; letter-spacing: -.03em; }
.legal .date { margin-top: .75rem; font-size: .9rem; color: var(--gris); }
.legal .intro-legale { margin-top: 1.75rem; padding-bottom: 2rem; border-bottom: 1px solid var(--filet); font-size: 1.15rem; }
.legal section { padding: 0; margin-top: 2.75rem; scroll-margin-top: 5.5rem; }
.legal h2 { font-size: 1.25rem; line-height: 1.35; letter-spacing: -.01em; }
.legal section p { margin-top: .9rem; line-height: 1.75; color: #2E3034; overflow-wrap: anywhere; }
.legal table { width: 100%; margin-top: 1rem; border-collapse: collapse; font-size: .98rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .7rem .75rem .7rem 0; border-bottom: 1px solid var(--filet); line-height: 1.5; }
.legal thead th { color: var(--gris); font-weight: 600; }
.legal tbody th { font-weight: 500; }
.legal .fin { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--filet); }
