/* Capsule ∞ Temporelle — site public (accueil, connexion, pages légales, 404). Mobile d'abord. */
:root {
  --paper: #f6efe4;
  --paper-2: #efe4d3;
  --card: #fffaf2;
  --ink: #2a2118;
  --ink-2: #5a4e42;
  --line: #e2d5c1;
  --accent: #b5532f;
  --accent-2: #e0912f;
  --accent-ink: #fff;
  --accent-hover: #9b4426;
  --accent-soft: #f6e3d6;
  --grad: linear-gradient(135deg, #a6461f 0%, #b5532f 45%, #d0782d 100%);
  --ok: #3f7a4a;
  --err: #b3261e;
  --radius: 16px;
  --shadow: 0 14px 40px -18px rgba(60, 40, 20, .35);
  --serif: "Fraunces", Georgia, serif;
  --sans: "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;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-hover); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 400px) { .wrap { padding: 0 16px; } }
.wrap--narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 30; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid rgba(181, 83, 47, .45); outline-offset: 3px; border-radius: 8px; }

/* ---------------------------------------------------------------- Plaquette de confiance */
.trustbar {
  margin: 0; padding: 8px 16px; background: #fbf5ec; border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 10px;
  font-size: .9rem; font-weight: 500; color: var(--ink-2); text-align: center;
}
.trustbar__item { display: inline-flex; align-items: center; gap: 6px; }
.trustbar__lock { color: var(--accent); flex: none; }
.tb-short { display: none; }
/* téléphone : une seule ligne, « Suisse romande · 🔒 Vie privée respectée » */
@media (max-width: 520px) {
  .trustbar { padding: 4px 10px; gap: 0 8px; font-size: .9rem; line-height: 1.4; flex-wrap: nowrap; white-space: nowrap; }
  .tb-long { display: none; }
  .tb-short { display: inline; }
}

/* ---------------------------------------------------------------- Barre du haut + logo */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(246, 239, 228, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: .18em; color: var(--ink); text-decoration: none; font: 600 1.3rem/1 var(--serif); white-space: nowrap; letter-spacing: -.005em; }
.logo__inf { width: 1.35em; height: 1.35em; flex: none; }
.logo--spin .logo__inf { animation: ct-spin 24s linear infinite; }
@keyframes ct-spin { to { transform: rotate(360deg); } }
@media (max-width: 639px) { .topbar__inner { min-height: 56px; } }
@media (max-width: 400px) {
  .logo { font-size: 1.02rem; }
  .topbar__inner { gap: 8px; }
  .topbar__login { padding: 0 12px; font-size: .9rem; }
}
@media (max-width: 340px) { .logo { font-size: .92rem; } }
.topbar__nav { display: flex; align-items: center; gap: 16px; flex: none; }
.topbar__login {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fffdf9; color: var(--ink); font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap;
}
.topbar__login:hover { border-color: var(--accent); color: var(--accent-hover); }
.link { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.link:hover { color: var(--ink); }

/* ---------------------------------------------------------------- Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 10px 26px; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 1.05rem/1.3 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, transform .1s, box-shadow .2s;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn--small { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn--full { width: 100%; }
.btn--block { width: 100%; min-height: 56px; padding: 0 14px; font-size: 1.05rem; }
.btn--ghost { background: #fff; color: var(--accent-hover); border: 1.5px solid var(--accent); }
.btn--ghost:hover { background: #fbeee6; }
.btn--hero {
  min-height: 60px; border-radius: 16px; background: var(--grad); font-size: 1.15rem; font-weight: 700;
  box-shadow: 0 10px 24px -10px rgba(155, 68, 38, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--hero:hover { background: var(--grad); filter: brightness(1.06); box-shadow: 0 14px 30px -10px rgba(155, 68, 38, .8); }
.btn--huge { min-height: 72px; padding: 14px 34px; font-size: clamp(1.15rem, 3.4vw, 1.45rem); width: 100%; max-width: 760px; border-radius: 999px; }
.linkbtn { background: none; border: 0; min-height: 44px; padding: 8px 4px; font: 500 1rem var(--sans); color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { color: var(--ink); }
.linkbtn[disabled] { color: var(--ink-2); text-decoration: none; cursor: default; }

/* ---------------------------------------------------------------- Hero */
.hero { padding: 14px 0 36px; }
.hero__title { text-align: center; max-width: 21em; margin: 0 auto 12px; font-size: clamp(1.6rem, 6.8vw, 3.3rem); line-height: 1.12; }
.hero__title em { font-style: italic; font-weight: 400; color: var(--accent); }
.hero__sub { text-align: center; max-width: 36em; margin: 0 auto 16px; font-size: clamp(1rem, 2.6vw, 1.2rem); line-height: 1.45; color: var(--ink-2); }
.hero__grid { display: grid; gap: 32px; align-items: start; max-width: 640px; margin: 0 auto; }
.hero__aside { display: none; }
/* téléphone : la paire avant / après + sa légende remplacent ce paragraphe, pour garder « Choisir une photo »
   au premier écran même dans le navigateur d'Instagram / Facebook (≈ 100–170 px plus court) */
@media (max-width: 639px) {
  .hero { padding-top: 10px; }
  .hero__title { margin-bottom: 10px; }
  .hero__sub { display: none; }
}

/* Preuve au premier écran : avant → après côte à côte (mobile / tablette) */
.hero-proof { margin: 0 auto 12px; max-width: 640px; }
.hero-proof__pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-proof__item { position: relative; border-radius: 14px; overflow: hidden; background: #d9cdbb; aspect-ratio: 1 / 1; box-shadow: 0 8px 20px -12px rgba(60, 40, 20, .55); }
.hero-proof__item img { width: 100%; height: 100%; object-fit: cover; }
.hero-proof__tag { position: absolute; left: 8px; bottom: 8px; padding: 2px 11px; border-radius: 999px; font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.4; }
.hero-proof__tag--before { background: rgba(42, 33, 24, .82); }
.hero-proof__tag--after { background: rgba(181, 83, 47, .95); }
.hero-proof__arrow {
  z-index: 2;
  position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  background: #fff; color: var(--accent); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .28);
}
.hero-proof__cap { text-align: center; font-size: .95rem; line-height: 1.35; color: var(--ink-2); margin: 4px 0 0; }
@media (min-width: 980px) {
  .hero { padding: 40px 0 52px; }
  .hero__title { margin-bottom: 14px; }
  .hero__sub { margin-bottom: 26px; }
  .hero-proof { display: none; }
  .hero__grid { max-width: none; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; }
  .hero__aside { display: block; position: sticky; top: 96px; }
}
.hero__aside-cap { text-align: center; font-size: .95rem; color: var(--ink-2); margin: 12px 0 0; }
.eta { text-align: center; margin: 26px auto 0; font-size: 1.08rem; font-weight: 500; color: var(--ink-2); }

/* ---------------------------------------------------------------- Carte formulaire */
.offer { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px 16px 20px; box-shadow: var(--shadow); scroll-margin-top: 80px; }
.offer:focus { outline: none; }
@media (min-width: 640px) { .offer { padding: 34px 36px; } }
/* téléphone : barre du haut collante de 57 px ; carte un peu plus compacte en haut (premier écran) */
@media (max-width: 639px) {
  .offer { scroll-margin-top: 66px; padding-top: 14px; }
  .offer .offer__title { margin-bottom: 12px; }
}
.offer__title { text-align: center; font-size: clamp(1.25rem, 3.6vw, 1.75rem); margin: 0 0 14px; }
@media (min-width: 640px) { .offer__title { margin-bottom: 20px; } }
.offer__lead { text-align: center; color: var(--ink-2); margin-bottom: 8px; overflow-wrap: anywhere; }
.offer__note { text-align: center; color: var(--ink-2); font-size: 1rem; margin-bottom: 22px; }
.section__title { text-align: center; margin-bottom: 32px; }
.page .section__title { margin-bottom: 14px; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
.form__help { margin: -6px 0 0; font-size: .95rem; color: var(--ink-2); }
.form__msg { margin: 0; min-height: 1.4em; text-align: center; font-size: 1rem; color: var(--err); }
.form__msg:empty { min-height: 0; }
.form__msg.is-info { color: var(--ink-2); }

.field { display: grid; gap: 6px; font-weight: 600; font-size: 1rem; }
.field small { font-weight: 400; color: var(--ink-2); }
.field input, .field select {
  width: 100%; min-height: 54px; padding: 0 16px; border: 1.5px solid #d8c7ad; border-radius: 12px;
  background: #fff; color: var(--ink); font: 400 1.05rem var(--sans);
}
.field input::placeholder { color: #8f8172; }
.field input:focus, .field select:focus { border-color: var(--accent); outline: 3px solid rgba(181, 83, 47, .2); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field--big input { min-height: 60px; font-size: 1.15rem; }
.field--center { text-align: center; }
.field .code-input { min-height: 66px; text-align: center; font: 600 1.9rem/1 var(--sans); letter-spacing: .35em; padding: 0 0 0 .35em; font-variant-numeric: tabular-nums; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: var(--ink-2); cursor: pointer; }
.consent input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.consent-note { margin: 8px 0 0 36px; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.consent-note--center { margin: 14px auto 0; text-align: center; max-width: 34rem; }
.consent-note--under { margin: -6px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field--ctx { grid-column: 1 / -1; font-size: .98rem; }
.field--ctx input { min-height: 52px; font-size: 1rem; }
.field--ctx textarea {
  width: 100%; min-height: 64px; padding: 10px 14px; border: 1.5px solid #d8c7ad; border-radius: 12px; resize: vertical;
  background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--sans);
}
.field--ctx textarea::placeholder { color: #8f8172; }
.field--ctx textarea:focus { border-color: var(--accent); outline: 3px solid rgba(181, 83, 47, .2); outline-offset: 0; }
.slot__hint { grid-column: 1 / -1; margin: -4px 0 0; font-size: .92rem; color: var(--ink-2); }
.slots__hint { margin: 0; }

/* Choix des photos : un seul gros bouton, puis une carte par photo (max 2) */
.pickbtn {
  width: 100%; min-height: 76px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 20px;
  border: 0; border-radius: 18px; background: var(--grad); color: #fff; cursor: pointer; text-align: left;
  box-shadow: 0 10px 24px -10px rgba(155, 68, 38, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: filter .15s, transform .1s;
}
.pickbtn:hover { filter: brightness(1.06); }
.pickbtn:active { transform: translateY(1px); }
.pickbtn__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; }
.pickbtn__text { display: grid; gap: 1px; }
.pickbtn__title { font: 700 1.25rem/1.2 var(--sans); }
.pickbtn__sub { font-size: 1rem; opacity: .92; }
.is-over .pickbtn, .is-over .addbtn { outline: 3px dashed var(--accent); outline-offset: 4px; }
.addbtn {
  width: 100%; min-height: 56px; padding: 8px 18px; border: 2px dashed #d3bfa2; border-radius: 16px; background: #fffdf9;
  color: var(--accent-hover); font: 600 1.05rem var(--sans); cursor: pointer;
}
.addbtn:hover { border-color: var(--accent); background: #fbf1e8; }
.addbtn sup { font-size: .7em; }
.nocatch { margin: -6px 0 0; text-align: center; font-size: 1rem; font-weight: 600; color: var(--ok); line-height: 1.45; }
.nw { white-space: nowrap; }
/* écran étroit : « sans carte de crédit » et « sans engagement » sur deux lignes, sans point isolé */
@media (max-width: 400px) { .nocatch .nw { display: block; } .nocatch br, .nocatch__dot { display: none; } }

.picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pk { display: grid; gap: 12px; padding: 14px; border: 2px solid var(--accent); border-radius: 18px; background: #fff; }
.pk__top { display: grid; grid-template-columns: 80px minmax(0, 1fr) 48px; gap: 12px; align-items: center; }
.pk__img { width: 80px; height: 80px; object-fit: cover; border-radius: 12px; background: var(--paper-2); }
.pk__q { margin: 0; font: 600 1.12rem/1.3 var(--serif); color: var(--ink); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg__opt { position: relative; display: block; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg__opt span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: 4px 8px;
  border: 1.5px solid #d8c7ad; border-radius: 14px; background: #fffaf2; font-weight: 600; font-size: 1.05rem; line-height: 1.2; color: var(--ink);
}
.seg__opt input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.seg__opt input:checked + span::before { content: "✓"; margin-right: 5px; }
.seg__opt input:focus-visible + span { outline: 3px solid rgba(181, 83, 47, .45); outline-offset: 2px; }
/* « Combien de personnes ? » sans réponse au clic sur « Redonner vie… » */
.pk__need { margin: -4px 0 0; font-size: 1rem; font-weight: 600; color: var(--err); }
.pk--need .seg__opt span { border-color: var(--err); border-width: 2px; background: #fff5f3; }
.pk--need .seg { animation: ct-nudge .5s ease 2; }
@keyframes ct-nudge { 0%, 100% { transform: none; } 30% { transform: translateX(-5px); } 70% { transform: translateX(5px); } }
.pk__rm {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fffaf2; color: var(--ink-2);
  display: grid; place-items: center; cursor: pointer; padding: 0;
}
.pk__rm:hover { border-color: var(--err); color: var(--err); }
@media (max-width: 380px) {
  .pk { padding: 12px; }
  .pk__top { grid-template-columns: 68px minmax(0, 1fr) 48px; gap: 10px; }
  .pk__img { width: 68px; height: 68px; }
  .pickbtn__title { font-size: 1.15rem; }
  .pickbtn { padding: 12px 14px; gap: 12px; }
  .pickbtn__icon { width: 44px; height: 44px; }
}

/* Formulaire en deux temps : photos, puis e-mail */
.stage { display: grid; gap: 18px; }
.stage[hidden] { display: none; }
.stage__lead { margin: 0; text-align: center; color: var(--ink-2); font-size: 1rem; }
.recap { display: grid; justify-items: center; gap: 8px; }
.recap__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.recap__item { position: relative; display: grid; justify-items: center; gap: 6px; }
.recap__item img { width: 104px; height: 104px; object-fit: cover; border-radius: 14px; border: 3px solid #fff; box-shadow: 0 6px 16px -8px rgba(60, 40, 20, .45); background: var(--paper-2, #efe4d3); }
.recap__badge { position: absolute; top: -8px; right: -8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--ok); color: #fff; font-size: .78rem; font-weight: 700; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.recap__kind { font-size: .95rem; color: var(--ink-2); }
/* téléphone : récapitulatif compact (vignettes 64 px sur une ligne, « Modifier » à côté) pour garder l'e-mail,
   le consentement et le bouton d'envoi près du haut de l'écran (le clavier s'ouvre sur le champ e-mail) */
@media (max-width: 639px) {
  #stage-email { gap: 14px; }
  .recap { grid-auto-flow: column; justify-content: center; align-items: center; gap: 14px; }
  .recap__list { flex-wrap: nowrap; gap: 10px; }
  .recap__item img { width: 64px; height: 64px; border-radius: 12px; border-width: 2px; }
  .recap__badge { top: -6px; right: -6px; padding: 0; width: 24px; height: 24px; justify-content: center; font-size: .85rem; }
  .recap__badge-text, .recap__kind { display: none; }
}

.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-weight: 600; color: var(--ok); font-size: 1rem; }
.checks li::before { content: "✓"; margin-right: 6px; }
.private { margin: -6px 0 0; display: flex; justify-content: center; align-items: center; gap: 6px; color: var(--ink-2); font-size: 1rem; text-align: center; }
.private svg { color: var(--accent); flex: none; }
/* téléphone : le texte passe sur 2 lignes, l'icône reste collée au début du texte */
@media (max-width: 400px) { .private { display: block; } .private svg { display: inline-block; vertical-align: -2px; margin-right: 6px; } }

.progress__bar { height: 12px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.progress__bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 999px; transition: width .2s; }

/* Étape code */
.codestep { text-align: center; }
.thanks__icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 2rem; }
.codeform { max-width: 360px; margin: 0 auto; }
.codestep__help { color: var(--ink-2); font-size: .98rem; margin: 18px 0 4px; }
.codestep__links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 10px; margin: 0; color: var(--ink-2); }
.notice { background: #fbeee6; border: 1px solid #efcdb9; color: var(--accent-hover); border-radius: 12px; padding: 12px 16px; margin: 0 0 20px; font-size: 1rem; }

/* ---------------------------------------------------------------- Avant / après */
.ba {
  position: relative; overflow: hidden; border-radius: 18px; background: #d9cdbb; border: 6px solid #fff;
  box-shadow: var(--shadow); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
  aspect-ratio: 1 / 1;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 6px rgba(0, 0, 0, .3); pointer-events: none; }
.ba__handle {
  position: absolute; top: 50%; left: var(--pos, 50%); width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .3); display: grid; place-items: center;
  color: var(--accent); cursor: ew-resize; border: 0; padding: 0; touch-action: none;
}
.ba__handle svg { width: 30px; height: 30px; }
.ba__handle:focus-visible { outline: 4px solid rgba(224, 145, 47, .8); outline-offset: 2px; border-radius: 50%; }
.ba__tag { position: absolute; top: 12px; padding: 5px 12px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: #fff; pointer-events: none; }
.ba__tag--l { left: 12px; background: rgba(42, 33, 24, .75); }
.ba__tag--r { right: 12px; background: rgba(181, 83, 47, .92); }
.ba--mini { border-width: 5px; transform: rotate(1deg); }
.ba--mini .ba__handle { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
.examples { display: grid; gap: 28px; }
.example { margin: 0; max-width: 620px; width: 100%; justify-self: center; }
.example figcaption { text-align: center; color: var(--ink-2); margin-top: 12px; font-size: 1rem; }
.section__lead { text-align: center; color: var(--ink-2); font-size: 1.15rem; margin: -18px auto 28px; max-width: 32em; }

/* ---------------------------------------------------------------- Preuve sociale */
.proof { padding: 30px 0 34px; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbf5ec; }
.proof__main { font-size: clamp(1.15rem, 3vw, 1.4rem); margin: 0 auto 8px; max-width: 30em; }
.proof__num { font-family: var(--serif); font-weight: 600; color: var(--accent-hover); }
.proof__sub { margin: 0; color: var(--ink-2); font-style: italic; }

/* ---------------------------------------------------------------- Sections */
.section { padding: 64px 0; scroll-margin-top: 72px; }
@media (max-width: 640px) { .section { padding: 48px 0; } }
.section--tint { background: var(--paper-2); }

/* Comment ça marche */
.how { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.how__step { text-align: center; max-width: 300px; }
.how__icon { display: grid; place-items: center; width: 128px; height: 128px; margin: 0 auto 14px; border-radius: 32px; background: radial-gradient(circle at 30% 25%, #fffaf2, #f3e2cf); box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -14px rgba(60, 40, 20, .4); }
.how__step h3 { margin-bottom: .35em; }
.how__step p { color: var(--ink-2); margin: 0; }
.how__arrow { color: var(--accent); transform: rotate(90deg); margin: 6px 0; }
@media (min-width: 860px) {
  .how { flex-direction: row; align-items: flex-start; justify-content: center; gap: 12px; }
  .how__step { flex: 1; }
  .how__arrow { transform: none; margin-top: 52px; flex: none; }
}

/* Témoignages */
.reviews { position: relative; max-width: 820px; margin: 0 auto; }
/* Carrousel : fenêtre fixe + rail déplacé par transform (toujours aligné sur une carte) */
.reviews__viewport { overflow: hidden; border-radius: 20px; touch-action: pan-y; }
.reviews__track { display: flex; transition: transform .45s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.reviews__track.is-dragging { transition: none; }
.review { flex: 0 0 100%; min-width: 0; margin: 0; padding: 4px 4px 8px; }
.review__card > div { min-width: 0; }
.review__card { height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px 22px; display: grid; gap: 18px; }
@media (min-width: 640px) { .review__card { grid-template-columns: auto 1fr; gap: 24px; padding: 34px 36px; } }
.review__avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font: 600 1.7rem var(--serif); }
.review blockquote { margin: 0; font: 400 clamp(1.12rem, 2.6vw, 1.32rem)/1.55 var(--serif); }
.review blockquote::before { content: "«\00a0"; color: var(--accent); }
.review blockquote::after { content: "\00a0»"; color: var(--accent); }
.review__who { margin: 12px 0 0; font-weight: 700; }
.review__who span { display: block; font-weight: 400; color: var(--ink-2); }
.reviews__nav {
  position: absolute; top: calc(50% - 30px); z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); display: none; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(60, 40, 20, .15);
}
.reviews__nav:hover { color: var(--accent); border-color: var(--accent); }
.reviews__nav--prev { left: -66px; }
.reviews__nav--next { right: -66px; }
@media (min-width: 980px) { .reviews__nav { display: grid; } }
.reviews__dots { display: flex; justify-content: center; gap: 4px; margin-top: 14px; }
.reviews__dot { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.reviews__dot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #d8c7ad; transition: background .2s, transform .2s; }
.reviews__dot[aria-current="true"]::before { background: var(--accent); transform: scale(1.25); }

/* CTA répétée */
.cta { padding: 8px 0 64px; text-align: center; }

/* FAQ */
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; min-height: 56px; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.6rem; line-height: 1; flex: none; }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }

/* ---------------------------------------------------------------- Pied de page */
.footer { padding: 36px 0 44px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 1rem; background: var(--paper); }
.footer__inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--accent-hover); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.footer__links a:hover { text-decoration: underline; }
.footer__copy { margin: 0; line-height: 1.8; }
.footer__copy a { overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- Pages simples (légal, connexion, 404) */
.page { padding: 44px 0 72px; }
.page h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.page h2 { font-size: 1.45rem; margin-top: 1.7em; }
.page p, .page li { color: var(--ink-2); }
.page li { margin-bottom: .4em; }
.page .updated { font-size: .95rem; margin-top: 2.4em; }
.page--auth { padding-top: 36px; }
.page--auth .offer { max-width: 540px; margin: 0 auto; }
.auth__lead { text-align: center; color: var(--ink-2); margin-bottom: 24px; }
.auth__alt { text-align: center; color: var(--ink-2); font-size: 1rem; margin: 22px 0 0; }
.auth__mark { display: grid; place-items: center; margin: 0 auto 10px; width: 64px; height: 64px; border-radius: 18px; background: var(--accent-soft); }
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 1em; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.legal-table th { color: var(--ink); font-weight: 600; width: 40%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reviews__track { transition: none; }
  .logo--spin .logo__inf { animation: none; }
  .pickbtn:active { transform: none; }
  .pk--need .seg { animation: none; }
  * { transition: none !important; }
}

/* ---- Aperçu avant e-mail (page principale) : restauration en cours, puis photos derrière un verre dépoli */
.work { gap: 16px; }
.work__tiles { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 12px; }
.work__tile { position: relative; width: 150px; height: 150px; border-radius: 16px; overflow: hidden; background: var(--paper-2); border: 3px solid #fff; box-shadow: 0 12px 26px -14px rgba(60, 40, 20, .55); }
.work__tiles--two .work__tile { width: 132px; height: 132px; }
.work__tile img { width: 100%; height: 100%; object-fit: cover; }
.work__tile--blank { display: grid; place-items: center; color: var(--accent); }
.work__scan { position: absolute; left: 0; right: 0; top: -36%; height: 36%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 196, 120, 0), rgba(255, 196, 120, .28) 70%, rgba(255, 244, 225, .9) 100%);
  border-bottom: 2px solid #fff; box-shadow: 0 6px 14px 0 rgba(224, 145, 47, .55);
  animation: ct-scan 2.3s cubic-bezier(.45, 0, .55, 1) infinite; }
.work__tile::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .32) 50%, transparent 65%); background-size: 260% 100%;
  animation: ct-shimmer 2.6s linear infinite; }
.work__status { display: grid; gap: 8px; }
.work__step { margin: 0; text-align: center; font-weight: 600; font-size: 1.08rem; min-height: 1.6em; }
.work__bar { height: 10px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.work__bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 999px; transition: width .35s ease-out; }
.work__note { margin: 0; text-align: center; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.work__list { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 4px; font-size: .95rem; color: var(--ink-2); }
.work__list li { position: relative; padding-left: 28px; line-height: 1.5; }
.work__list li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; }
.work__list li.is-current { color: var(--ink); font-weight: 600; }
.work__list li.is-current::before { border-color: var(--accent-2); border-top-color: transparent; animation: ct-spin 1s linear infinite; }
.work__list li.is-done { color: var(--ok); }
.work__list li.is-done::before { content: "✓"; border: 0; background: var(--ok); color: #fff; font-size: 11px; font-weight: 700; line-height: 16px; text-align: center; }
@keyframes ct-scan { from { transform: translateY(0); } to { transform: translateY(380%); } }
@keyframes ct-shimmer { from { background-position: 130% 0; } to { background-position: -130% 0; } }
@keyframes ct-spin { to { transform: rotate(360deg); } }
@media (max-width: 639px) {
  .work { gap: 12px; }
  .work__tile { width: 128px; height: 128px; }
  .work__tiles--two .work__tile { width: 116px; height: 116px; }
  .work__list { grid-template-columns: 1fr 1fr; column-gap: 10px; font-size: .86rem; }
  .work__list li { padding-left: 22px; }
  .work__list li::before { width: 14px; height: 14px; left: 0; }
  .work__list li.is-done::before { line-height: 14px; font-size: 10px; }
}

.pvg { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 14px; }
.pvg__change { display: block; margin: 2px auto 0; font-size: .95rem; }
.pvg__change[hidden] { display: none; }
.pvg__item { position: relative; height: 210px; aspect-ratio: var(--ar, 1); max-width: calc(50% - 7px); border-radius: 16px; overflow: hidden;
  background: #cdb89d; border: 3px solid #fff; box-shadow: 0 16px 32px -18px rgba(60, 40, 20, .7); animation: ct-pop .7s cubic-bezier(.2, .8, .3, 1.1) both; }
.pvg--one .pvg__item { max-width: 78%; }
.pvg__item:nth-child(2) { animation-delay: .12s; }
/* l'aperçu ne fait que 48 px : agrandi et flouté, les couleurs se voient, les détails non */
.pvg__img { position: absolute; left: -12%; top: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover;
  filter: blur(5px) saturate(1.15); animation: ct-develop 1.6s ease-out both; }
.pvg__glass { position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, .06) 45%, rgba(255, 255, 255, .20)),
              repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 2px, rgba(255, 255, 255, 0) 2px 5px);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 2px 14px rgba(255, 255, 255, .35); }
.pvg__glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .45) 50%, transparent 62%);
  background-size: 300% 100%; background-position: 140% 0; animation: ct-glint 4.5s ease-in-out 1.2s infinite; }
.pvg__lock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px; background: rgba(255, 250, 242, .9); color: var(--ink); font-size: .85rem; font-weight: 700;
  white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .45); }
.pvg__lock svg { color: var(--accent); }
.pvg__ok { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px;
  background: var(--ok); color: #fff; font-size: .78rem; font-weight: 700; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
@keyframes ct-pop { from { opacity: 0; transform: scale(.92) translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ct-develop { from { filter: blur(26px) saturate(.15) brightness(1.15); } to { filter: blur(5px) saturate(1.15); } }
@keyframes ct-glint { 0%, 55% { background-position: 140% 0; } 100% { background-position: -40% 0; } }
@media (max-width: 639px) {
  .pvg { gap: 10px; }
  .pvg__item { height: 150px; max-width: calc(50% - 5px); border-width: 2px; }
  .pvg--one .pvg__item { height: 168px; max-width: 70%; }
  .pvg__lock { padding: 6px 10px; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .work__scan, .work__tile::after, .pvg__glass::after { animation: none; display: none; }
  .work__list li.is-current::before { animation: none; border-top-color: var(--accent-2); }
  .pvg__item, .pvg__img { animation: none; }
}
