/* ==========================================================================
   Offrir Senolo v3 : feuille commune des maquettes
   Même identité que la v2 (territoire Web de la charte v2.1 : fond #F7FAFC,
   surfaces blanches, texte #2D3748, trois ombres, Inter 700 et 800, Pacifico
   pour le seul mot « Senolo »). Écrite pour le téléphone d'abord (375 px),
   puis élargie à 720 px et 1000 px.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('/assets/fonts/pacifico-regular.woff2') format('woff2');
}

/* ----- Jetons ----- */
:root {
  --blue: #002FA7;
  --blue-deep: #00237D;
  --blue-100: #DCE5FA;
  --blue-50: #EEF2FB;
  --blue-25: #F5F8FE;

  --green: #28A745;       /* surface, jamais de texte dessus */
  --green-ink: #1A6D2D;   /* texte et icônes */
  --green-50: #E7F5EC;
  --mint: #92DDC0;
  --mint-50: #E9F8F1;
  --mint-ink: #0F4A22;

  --gold: #E8A923;
  --gold-50: #FCF3DC;
  --gold-line: #F0CF7E;
  --gold-ink: #5B3E00;
  --ink: #241E14;

  --red: #D41C1C;
  --red-50: #FDECEC;
  --red-line: #F2C4C4;
  --red-ink: #A31515;

  --bg: #F7FAFC;
  --surface: #FFFFFF;
  --text: #2D3748;
  --text-2: #4A5568;
  --line: #E5E7EB;
  --line-2: #D5DCE6;
  --field: #8792A2;
  --placeholder: #6B7280;

  --grad: linear-gradient(112deg, #002FA7 8%, #1B7A34 96%);
  --grad-word: linear-gradient(112deg, #002FA7 34%, #1B7A34);
  --grad-band: linear-gradient(90deg, #002FA7 55%, #1E8A3A);

  --sh-1: 0 2px 8px rgba(0, 0, 0, .06);
  --sh-2: 0 8px 30px rgba(0, 0, 0, .08);
  --sh-3: 0 20px 60px rgba(0, 0, 0, .12);

  --r-8: 8px; --r-12: 12px; --r-16: 16px; --r-20: 20px; --r-24: 24px; --r-pill: 999px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-word: 'Pacifico', 'Inter', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: 16px;
}
@media (min-width: 720px) { :root { --gutter: 24px; } }
@media (min-width: 1000px) { :root { --gutter: 32px; } }

/* ----- Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; text-align: inherit; }
ul, ol { list-style: none; }
strong, b { font-weight: 700; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #FFD700;
  border-radius: 8px;
}
.on-blue :focus-visible { outline-color: #FFD700; box-shadow: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--blue); color: #fff; font-weight: 700; padding: 12px 20px; border-radius: var(--r-12);
}
.skip-link:focus { top: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.container { width: 100%; max-width: 1264px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(760px + 2 * var(--gutter)); }

/* ----- Typographie : 13 / 15 / 18 / 20 / 22 / 26 / 34 / 44 ----- */
.t-44 { font-size: 34px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.t-34 { font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; }
.t-26 { font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.t-22 { font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.t-20 { font-size: 20px; line-height: 1.45; }
.t-18 { font-size: 18px; line-height: 1.55; }
.t-15 { font-size: 15px; line-height: 1.5; }
.t-13 { font-size: 13px; line-height: 1.45; }
@media (min-width: 720px) {
  .t-44 { font-size: 44px; line-height: 1.1; letter-spacing: -.025em; }
  .t-34 { font-size: 34px; line-height: 1.15; letter-spacing: -.02em; }
  .t-26 { font-size: 26px; line-height: 1.2; letter-spacing: -.015em; }
}
.muted { color: var(--text-2); }
.blue { color: var(--blue); }
.w-600 { font-weight: 600; }
.w-700 { font-weight: 700; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.center { text-align: center; }

.link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.link:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }

/* ----- Mot « Senolo » : Pacifico, dégradé 112deg ----- */
.word {
  font-family: var(--font-word);
  font-weight: 400;
  line-height: 1.5;
  padding: .06em .08em .1em .02em;
  background: var(--grad-word);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  letter-spacing: 0;
}
.word--white { background: none; -webkit-text-fill-color: #fff; color: #fff; }

/* ----- Verrou de marque ----- */
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand .word { font-size: 22px; }
.brand__scope {
  display: flex; align-items: center;
  padding-left: 10px;
  border-left: 1px solid var(--line-2);
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-2); white-space: nowrap;
}
.brand--white .brand__scope { color: #fff; border-left-color: rgba(255, 255, 255, .45); }
@media (min-width: 720px) { .brand { gap: 12px; } .brand__mark { width: 36px; height: 36px; } .brand__scope { padding-left: 12px; } }
@media (max-width: 350px) { .brand__scope { display: none; } }

/* ----- Icônes au trait ----- */
.i { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-16 { width: 16px; height: 16px; }
.i-18 { width: 18px; height: 18px; }
.i-20 { width: 20px; height: 20px; }

/* ----- Boutons : pilule, 56 px, une seule action mise en avant ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  border-radius: var(--r-pill);
  font-size: 18px; font-weight: 700; letter-spacing: -.005em; line-height: 1.2;
  text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s, filter .2s;
  cursor: pointer;
}
.btn .i { width: 20px; height: 20px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--sh-2); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--sh-3); filter: saturate(1.08) brightness(1.04); }
.btn-secondary { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1.5px var(--blue); background: var(--blue-25); }
.btn-white { background: #fff; color: var(--blue); box-shadow: var(--sh-2); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--sh-3); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: var(--red-ink); }
.btn-danger-outline { color: var(--red-ink); background: #fff; box-shadow: inset 0 0 0 1.5px var(--red-line); }
.btn-danger-outline:hover { box-shadow: inset 0 0 0 1.5px var(--red); background: var(--red-50); }
.btn-text { min-height: 48px; padding: 0 4px; color: var(--blue); font-weight: 700; }
.btn-text:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-sm { min-height: 48px; padding: 0 20px; font-size: 18px; }
.btn-lg { min-height: 64px; padding: 0 36px; font-size: 20px; }
.btn-block { width: 100%; }
@media (max-width: 719px) { .btn { padding: 0 20px; } .btn-lg { padding: 0 24px; } }
.btn.is-done { background: var(--mint-50); color: var(--mint-ink); box-shadow: none; }

/* ----- Formulaires ----- */
.form { display: grid; gap: 24px; }
.field { display: grid; gap: 8px; }
.label { font-size: 18px; font-weight: 600; color: var(--text); }
.label .opt { font-weight: 500; color: var(--text-2); }
.input {
  width: 100%; height: 56px; padding: 0 16px;
  font-size: 18px;
  background: #fff;
  border: 1.5px solid var(--field);
  border-radius: var(--r-12);
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
  min-width: 0;
}
.input::placeholder { color: var(--placeholder); }
.input:hover { border-color: var(--text-2); }
.input:focus-visible, .input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #FFD700; border-radius: var(--r-12); }
.input.is-error { border-color: var(--red); border-width: 2px; }
textarea.input { height: auto; min-height: 112px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
input[type="date"].input { padding-right: 12px; }
.hint { font-size: 18px; color: var(--text-2); line-height: 1.45; }
.hint.is-error { color: var(--red-ink); font-weight: 600; }
.row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (min-width: 720px) { .row-2 { gap: 16px; } }

.input-wrap { position: relative; }
.input-wrap .input { padding-right: 128px; }
.reveal-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  height: 44px; padding: 0 12px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 18px; font-weight: 600; color: var(--blue);
  border-radius: var(--r-8);
}
.reveal-btn:hover { background: var(--blue-50); }
.reveal-btn .i { width: 20px; height: 20px; }

/* Choix en ligne (bouton radio) */
.options { display: grid; gap: 12px; }
@media (min-width: 720px) { .options--2 { grid-template-columns: 1fr 1fr; } }
.option {
  position: relative; display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 12px 18px;
  border-radius: var(--r-16); background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  cursor: pointer; transition: box-shadow .2s, background-color .2s;
}
.option:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }
.option input, .plan input {
  appearance: none; flex-shrink: 0; margin: 0;
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--field); background: #fff;
  cursor: pointer; transition: box-shadow .15s, border-color .15s, background-color .15s;
}
.option input:checked, .plan input:checked { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 5px #fff; }
.option input:focus-visible, .plan input:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.option:has(input:checked), .option.is-selected { background: var(--blue-25); box-shadow: inset 0 0 0 2px var(--blue); }
.option__t { display: block; font-weight: 700; line-height: 1.3; }
.option__d { display: block; color: var(--text-2); line-height: 1.35; }
.option__ico { margin-left: auto; color: var(--text-2); }

/* Repli « Voir le détail », « Plus d'options » */
.more > summary {
  list-style: none; display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; font-weight: 700; color: var(--blue); cursor: pointer;
  border-radius: var(--r-8);
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.more > summary .i { width: 22px; height: 22px; transition: transform .25s var(--ease); }
.more[open] > summary .i-plus { transform: rotate(45deg); }
.more[open] > summary .i-chev { transform: rotate(180deg); }
.more__body { padding-top: 12px; display: grid; gap: 16px; }

.suggest { display: flex; flex-wrap: wrap; gap: 8px; }
.suggest__lbl { width: 100%; color: var(--text-2); }
.suggest button {
  min-height: 44px; padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--blue-50); color: var(--blue); font-weight: 600; line-height: 1.3;
}
.suggest button:hover { background: var(--blue-100); }

/* ----- Surfaces ----- */
.card { background: #fff; border-radius: var(--r-20); box-shadow: var(--sh-1); }
.panel { background: #fff; border-radius: var(--r-24); box-shadow: var(--sh-2); }
.pad { padding: 20px; }
@media (min-width: 720px) { .pad { padding: 28px 32px; } }
.stack-8 > * + * { margin-top: 8px; }
.stack-12 > * + * { margin-top: 12px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }

/* ----- Pastilles de formule ----- */
.chip {
  display: inline-flex; align-items: center;
  height: 28px; padding: 0 10px; border-radius: var(--r-8);
  font-size: 15px; font-weight: 700; white-space: nowrap; line-height: 1;
}
.chip-premium { background: var(--gold); color: var(--ink); }
.chip-standard { background: var(--blue-50); color: var(--blue); }
.chip-glass { background: #fff; color: var(--blue); }

/* ----- Encadrés ----- */
.notice {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--r-16);
  background: var(--blue-50); color: var(--text); line-height: 1.5;
}
.notice > .i { color: var(--blue); margin-top: 1px; }
.notice--mint { background: var(--mint-50); }
.notice--mint > .i { color: var(--green-ink); }
.notice--gold { background: var(--gold-50); }
.notice--gold > .i { color: var(--gold-ink); }

.alert {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 18px 18px 20px; border-radius: var(--r-16);
  background: var(--red-50); box-shadow: inset 5px 0 0 var(--red);
}
.alert > .i { color: var(--red-ink); margin-top: 1px; }
.alert__t { display: block; font-weight: 700; color: var(--red-ink); }

.banner {
  display: grid; gap: 14px;
  padding: 18px; border-radius: var(--r-16);
  background: var(--gold-50); box-shadow: inset 0 0 0 1.5px var(--gold-line);
}
.banner__txt { display: flex; gap: 14px; align-items: flex-start; }
.banner__txt .i { color: var(--gold-ink); margin-top: 1px; }
@media (min-width: 720px) {
  .banner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 18px 20px 18px 22px; }
}

/* ----- Avatars ----- */
.avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  background: var(--blue-50); color: var(--blue);
}
.avatar--mint { background: var(--mint-50); color: var(--mint-ink); }
.avatar--gold { background: var(--gold-50); color: var(--gold-ink); }
.avatar--lg { width: 64px; height: 64px; font-size: 20px; }

/* ==========================================================================
   Fiche cadeau : l'élément signature (le génie tend des fiches)
   ========================================================================== */
.giftcard {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 1.6;
  border-radius: var(--r-24);
  background: var(--grad);
  color: #fff;
  padding: 20px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--sh-3);
}
.giftcard::before {
  content: ""; position: absolute; z-index: -1;
  width: 78%; aspect-ratio: 1; right: -20%; bottom: -34%;
  background: url('img/senolo-symbole-blanc.svg') center / contain no-repeat;
  opacity: .12;
}
.giftcard::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.giftcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.giftcard__brand { display: inline-flex; align-items: center; gap: 8px; }
.giftcard__brand img { width: 28px; height: 28px; }
.giftcard__brand .word { font-size: 20px; }
.giftcard__for { font-size: 15px; font-weight: 600; }
.giftcard__name { font-size: 26px; font-weight: 800; letter-spacing: -.015em; line-height: 1.15; overflow-wrap: anywhere; }
.giftcard__bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2px 12px; font-size: 15px; font-weight: 600; }
.giftcard__when { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.giftcard__when .i { width: 16px; height: 16px; }
.giftcard--lg .giftcard__name { font-size: 34px; }
@media (min-width: 720px) {
  .giftcard { padding: 24px 26px; }
  .giftcard--lg { padding: 32px 34px; }
}
.giftcard--tilt { transform: rotate(-3deg); }
.giftcard-stack { position: relative; }
.giftcard-stack::before {
  content: ""; position: absolute; inset: 0;
  border-radius: var(--r-24); background: #fff;
  transform: rotate(4deg) translate(14px, 6px);
  box-shadow: var(--sh-2);
}
.giftcard-stack .giftcard { transform: rotate(-3deg); }

/* ==========================================================================
   En-têtes et pied de page
   ========================================================================== */
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.topbar__inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 720px) { .topbar__inner { height: 72px; } }
.toplink { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 4px; font-size: 18px; font-weight: 600; color: var(--text-2); }
.toplink:hover { color: var(--blue); }
.toplink .i { width: 20px; height: 20px; }

.topnav { display: none; }
.subnav { display: flex; align-items: stretch; gap: 4px; border-top: 1px solid var(--line); }
.subnav a, .topnav a {
  display: inline-flex; align-items: center; gap: 8px; position: relative;
  height: 48px; padding: 0 12px; font-size: 18px; font-weight: 600; color: var(--text-2); white-space: nowrap;
}
.subnav a:first-child { padding-left: 0; }
.subnav a:first-child::after { left: 0 !important; }
.subnav a.logout { margin-left: auto; padding-right: 0; }
.subnav a:hover, .topnav a:hover { color: var(--blue); }
.subnav a[aria-current="page"], .topnav a[aria-current="page"] { color: var(--blue); }
.subnav a[aria-current="page"]::after, .topnav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px;
  border-radius: 3px 3px 0 0; background: var(--blue);
}
.subnav .i, .topnav .i { width: 20px; height: 20px; }
.subnav .i { display: none; }
.subnav a.logout .i { display: block; }
@media (min-width: 720px) {
  .only-phone { display: none !important; }
  .subnav { display: none; }
  .topnav { display: flex; align-items: stretch; gap: 8px; height: 72px; margin-left: auto; }
  .topnav a { height: 72px; }
  .topnav a.logout { margin-left: 16px; padding-left: 24px; border-left: 1px solid var(--line); height: 40px; align-self: center; }
}

.foot { border-top: 1px solid var(--line); margin-top: 48px; }
.foot__inner { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; padding-bottom: 32px; }
.foot__brand { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); }
.foot__brand .word { font-size: 20px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; color: var(--text-2); }
.foot__links a { min-height: 32px; display: inline-flex; align-items: center; }
.foot__links a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1000px) {
  .foot { margin-top: 64px; }
  .foot__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 36px; }
}

/* ==========================================================================
   Connexion et mot de passe
   ========================================================================== */
.auth { display: grid; min-height: 100vh; }
.auth-aside {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--blue); color: #fff;
  padding: 16px var(--gutter) 72px;
}
.auth-aside::before {
  content: ""; position: absolute; z-index: -1;
  width: 320px; aspect-ratio: 1; right: -120px; bottom: -150px;
  background: url('img/senolo-symbole-blanc.svg') center / contain no-repeat;
  opacity: .07;
}
.auth-aside::after {
  content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 6px;
  background: var(--grad-band);
}
.auth-aside__body { display: none; }
.auth-main { display: flex; flex-direction: column; padding: 0 var(--gutter) 24px; margin-top: -52px; position: relative; z-index: 2; }
.auth-main__center { flex: 1; display: flex; justify-content: center; align-items: flex-start; }
.auth-card { width: 100%; max-width: 480px; padding: 24px 20px 28px; }
.auth-main .foot__links { margin-top: 28px; }
@media (min-width: 1000px) {
  .auth { grid-template-columns: minmax(420px, 5fr) 7fr; }
  .auth-aside { padding: 40px 56px; display: flex; flex-direction: column; }
  .auth-aside::before { width: 560px; right: -210px; bottom: -230px; opacity: .06; }
  .auth-aside__body { display: grid; gap: 48px; margin: auto 0; max-width: 460px; }
  .auth-aside__body .giftcard-stack { width: 340px; margin-left: 8px; }
  .auth-main { margin-top: 0; padding: 32px 48px; }
  .auth-main__center { align-items: center; }
  .auth-card { padding: 40px 40px 44px; }
  .auth-main .foot__links { justify-content: center; }
}
.backlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--text-2); }
.backlink:hover { color: var(--blue); }
.backlink .i { width: 20px; height: 20px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--text-2); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.medal {
  width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: var(--blue-50); color: var(--blue);
}
.medal::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px dashed var(--blue-100); }
.medal .i { width: 40px; height: 40px; stroke-width: 1.75; }
.medal--mint { background: var(--mint-50); color: var(--green-ink); }
.medal--mint::after { border-color: var(--mint); }
.medal--gold { background: var(--gold-50); color: var(--gold-ink); }
.medal--gold::after { border-color: var(--gold-line); }
.centered { text-align: center; }
.centered .medal { margin-left: auto; margin-right: auto; }
@media (min-width: 720px) { .medal { width: 104px; height: 104px; } .medal .i { width: 46px; height: 46px; } }

/* ==========================================================================
   Parcours « Offrir » en trois étapes
   ========================================================================== */
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0 28px; }
.stepper li { display: grid; gap: 10px; }
.stepper .bar { height: 4px; border-radius: 4px; background: var(--line-2); }
.stepper .lbl { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.stepper .n {
  width: 28px; height: 28px; border-radius: 50%; display: none; place-items: center; flex-shrink: 0;
  font-size: 13px; font-weight: 700; background: #fff; color: var(--text-2); box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.stepper .n .i { width: 16px; height: 16px; stroke-width: 3; }
.stepper .ok { width: 16px; height: 16px; stroke-width: 3; color: var(--green-ink); }
.stepper .is-done .bar { background: var(--green); }
.stepper .is-done .lbl { color: var(--text); }
.stepper .is-current .bar { background: var(--blue); }
.stepper .is-current .lbl { color: var(--blue); font-weight: 700; }
@media (min-width: 720px) {
  .stepper { gap: 12px; margin: 32px 0 40px; }
  .stepper .lbl { gap: 10px; }
  .stepper .n { display: grid; }
  .stepper .ok { display: none; }
  .stepper .is-done .n { background: var(--green-50); color: var(--green-ink); box-shadow: none; }
  .stepper .is-current .n { background: var(--blue); color: #fff; box-shadow: none; }
}

.flow { display: grid; gap: 32px; }
.flow__main { min-width: 0; }
.flow__head { margin-bottom: 24px; }
.flow__head p { margin-top: 8px; }
.flow__aside { display: none; }
.flow__actions { display: flex; flex-direction: column-reverse; gap: 8px; margin-top: 32px; }
.flow__actions .btn { width: 100%; }
@media (min-width: 720px) {
  .flow__actions { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; }
  .flow__actions .btn { width: auto; }
  .flow__actions .btn-primary { min-width: 280px; }
}
@media (min-width: 1000px) {
  .flow { grid-template-columns: minmax(0, 640px) 380px; justify-content: space-between; gap: 64px; align-items: start; }
  .flow__aside { display: grid; gap: 16px; position: sticky; top: 112px; }
  .flow__head { margin-bottom: 32px; }
}
.q-title { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px; }
fieldset { border: 0; min-width: 0; }

.detect { margin-top: 4px; }

/* Formules */
.plans { display: grid; gap: 28px; margin-top: 8px; }
.plan {
  position: relative; display: grid; gap: 4px;
  padding: 24px 20px 22px; border-radius: var(--r-24);
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2);
  cursor: pointer; transition: box-shadow .2s;
}
.plan:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }
.plan--featured { order: -1; background: linear-gradient(180deg, #FFFBF1, #fff 45%); box-shadow: inset 0 0 0 1.5px var(--gold-line), var(--sh-1); }
.plan:has(input:checked), .plan.is-selected { box-shadow: inset 0 0 0 2.5px var(--blue), var(--sh-2); }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__name { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__price .big { font-size: 34px; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.plan__price .per { color: var(--text-2); }
.plan__list { display: grid; gap: 10px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; }
.plan__list .i { width: 22px; height: 22px; color: var(--green-ink); stroke-width: 2.4; margin-top: 1px; }
.plan__ribbon {
  position: absolute; top: -14px; left: 20px;
  height: 28px; padding: 0 14px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center;
  background: var(--grad); color: #fff; font-size: 15px; font-weight: 700;
}
@media (min-width: 720px) {
  .plans { grid-template-columns: 1fr 1fr; gap: 20px; }
  .plan { padding: 28px 26px 26px; }
  .plan--featured { order: 0; }
  .plan__ribbon { left: 26px; }
}

.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-16); box-shadow: var(--sh-1); overflow: hidden; }
.compare th, .compare td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; line-height: 1.35; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare th[scope="row"] { text-align: left; font-weight: 500; padding-left: 16px; }
.compare thead th { font-weight: 700; background: var(--bg); }
.compare .i { width: 22px; height: 22px; margin: 0 auto; stroke-width: 2.4; }
.compare .yes { color: var(--green-ink); }
.compare .no { color: #7A8494; }
@media (min-width: 720px) { .compare th, .compare td { padding: 14px 18px; } .compare th[scope="row"] { padding-left: 22px; } }

/* Paiement */
.recap-line {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--r-16); background: #fff; box-shadow: var(--sh-1);
}
.recap-line__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex-shrink: 0; }
.recap-line__ico .i { width: 22px; height: 22px; }
.recap-line__txt { flex: 1; min-width: 0; font-weight: 700; line-height: 1.35; }
.recap-line .link { flex-shrink: 0; }

.terms {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--r-16);
  background: var(--blue-50); box-shadow: inset 5px 0 0 var(--blue);
}
.terms > .i { color: var(--blue); margin-top: 2px; }
.terms p { line-height: 1.5; }

.paybox { border-radius: var(--r-20); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); overflow: hidden; }
.paybox__head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px;
  padding: 14px 16px; background: var(--bg); border-bottom: 1px solid var(--line);
}
.paybox__sg { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.paybox__sg .i { width: 20px; height: 20px; color: var(--green-ink); }
.networks { display: none; gap: 6px; }
@media (min-width: 720px) { .networks { display: flex; } }
.networks span {
  height: 26px; padding: 0 8px; border-radius: 6px; display: inline-flex; align-items: center;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13px; font-weight: 700; color: var(--text-2); letter-spacing: .02em;
}
.paybox__body { padding: 20px 16px; display: grid; gap: 20px; }
@media (min-width: 720px) { .paybox__head { padding: 16px 24px; } .paybox__body { padding: 24px; } }
.field-icon { position: relative; }
.field-icon .input { padding-left: 50px; }
.field-icon > .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-2); width: 22px; height: 22px; }

.minicard {
  width: 56px; height: 38px; border-radius: 7px; flex-shrink: 0;
  background: linear-gradient(135deg, #1F2A44, #3A4356); position: relative;
  display: flex; align-items: flex-end; justify-content: flex-end; padding: 4px 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #fff;
}
.minicard::before { content: ""; position: absolute; left: 7px; top: 8px; width: 13px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, #E8C877, #B8923A); }

.pay-legal { font-size: 18px; color: var(--text-2); text-align: center; line-height: 1.5; }

/* Confirmation */
.confirm { display: grid; gap: 28px; padding: 16px 0 8px; }
.confirm__visual { order: -1; width: min(290px, 82%); margin: 16px auto 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-ink); margin-bottom: 12px; }
.eyebrow .i { width: 22px; height: 22px; stroke-width: 2.4; }
.eyebrow--blue { color: var(--blue); }
.eyebrow--gold { color: var(--gold-ink); }
.confirm h1 + p { margin-top: 12px; }
.next { margin-top: 28px; }
.next h2 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.steps { display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; position: relative; padding-bottom: 18px; align-items: start; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: 19px; top: 42px; bottom: 2px; width: 2px; background: var(--line-2); }
.steps li:last-child::before { display: none; }
.steps .n {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700;
  background: #fff; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue-100);
}
.steps .is-done .n { background: var(--green); color: #fff; box-shadow: none; }
.steps .is-done .n .i { width: 20px; height: 20px; stroke-width: 3; }
.steps .is-now .n { background: var(--blue); color: #fff; box-shadow: none; }
.steps p { padding-top: 7px; line-height: 1.45; }
.confirm__actions { margin-top: 32px; }
.confirm__actions .btn { width: 100%; }
@media (min-width: 720px) { .confirm__actions .btn { width: auto; min-width: 280px; } }
@media (min-width: 1000px) {
  .confirm { grid-template-columns: minmax(0, 1fr) 400px; gap: 80px; align-items: center; padding: 64px 0 24px; }
  .confirm__visual { order: 0; width: auto; margin: 0; }
}
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Espace de l'Offrant
   ========================================================================== */
.page { padding-top: 24px; }
@media (min-width: 720px) { .page { padding-top: 40px; } }

.hello {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--blue); color: #fff; border-radius: var(--r-20);
  padding: 24px 20px 28px; display: grid; gap: 20px;
}
.hello::before {
  content: ""; position: absolute; z-index: -1; width: 300px; aspect-ratio: 1; right: -110px; top: -90px;
  background: url('img/senolo-symbole-blanc.svg') center / contain no-repeat; opacity: .07;
}
.hello::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--grad-band); z-index: -1; }
.hello h1 { color: #fff; }
.hello p { font-size: 20px; line-height: 1.45; margin-top: 8px; max-width: 640px; }
.hello .btn { width: 100%; }
@media (min-width: 720px) {
  .hello { padding: 36px 40px; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; border-radius: var(--r-24); }
  .hello::before { width: 420px; right: -90px; top: -120px; }
  .hello .btn { width: auto; }
}

.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 32px 0 14px; }
@media (min-width: 720px) { .sec-head { margin: 44px 0 16px; } }

.people { display: grid; gap: 12px; }
.pcard {
  position: relative; display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 20px; gap: 6px 14px; align-items: start;
  padding: 18px 16px; background: #fff; border-radius: var(--r-20); box-shadow: var(--sh-1);
  transition: box-shadow .2s var(--ease);
}
.pcard:hover { box-shadow: var(--sh-2); }
.pcard > .avatar { grid-row: 1 / span 3; }
.pcard__top { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 28px; }
.pcard__name { font-size: 20px; font-weight: 700; line-height: 1.3; }
.pcard__name::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pcard__name:focus-visible { outline: none; box-shadow: none; }
.pcard:has(.pcard__name:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.pcard__state { grid-column: 2; display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.pcard__state .i { width: 22px; height: 22px; margin-top: 1px; }
.st-wait .i { color: var(--gold-ink); }
.st-ok .i { color: var(--green-ink); }
.st-plan .i { color: var(--blue); }
.pcard__act { grid-column: 2; margin-top: 8px; position: relative; z-index: 1; justify-self: start; }
.pcard__go { grid-column: 3; grid-row: 1; color: var(--text-2); align-self: center; }
.pcard__go .i { width: 22px; height: 22px; }
@media (max-width: 719px) {
  .pcard { grid-template-columns: minmax(0, 1fr) 20px; }
  .pcard > .avatar { display: none; }
  .pcard__top, .pcard__state, .pcard__act { grid-column: 1; }
  .pcard__go { grid-column: 2; }
}
@media (min-width: 1000px) {
  .pcard { grid-template-columns: 48px minmax(0, 1fr) auto 24px; padding: 20px 24px; gap: 4px 20px; align-items: center; }
  .pcard > .avatar { grid-row: 1 / span 2; }
  .pcard__act { grid-column: 3; grid-row: 1 / span 2; margin: 0; align-self: center; }
  .pcard__go { grid-column: 4; grid-row: 1 / span 2; }
}

.faq { margin-top: 40px; }
.faq h2 { margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 8px 0; font-weight: 600; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary .i { color: var(--blue); transition: transform .25s var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 0 18px; color: var(--text-2); max-width: 680px; }

.empty { display: grid; gap: 28px; margin-top: 16px; padding: 24px 20px 28px; }
.empty__visual { max-width: 300px; width: 86%; margin: 12px auto 8px; }
.empty ol { display: grid; gap: 10px; margin: 16px 0 24px; }
.empty li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.empty li .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-weight: 700; font-size: 15px; flex-shrink: 0; }
.empty .btn { width: 100%; }
@media (min-width: 720px) {
  .empty { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; padding: 48px; }
  .empty__visual { order: 2; width: auto; margin: 0; }
  .empty .btn { width: auto; }
}

/* Page d'un proche */
.crumb { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--text-2); margin-bottom: 12px; }
.crumb:hover { color: var(--blue); }
.crumb .i { width: 20px; height: 20px; }
.who { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.who__state { display: flex; gap: 8px; align-items: flex-start; margin-top: 4px; }
.who__state .i { width: 22px; height: 22px; margin-top: 1px; color: var(--green-ink); }
.block { background: #fff; border-radius: var(--r-20); box-shadow: var(--sh-1); padding: 20px; }
.block + .block { margin-top: 16px; }
.block > h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px; }
@media (min-width: 720px) { .block { padding: 28px 32px; } .block + .block { margin-top: 20px; } }
.kv { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.kv__v { font-weight: 700; }
.upsell {
  margin-top: 16px; padding: 18px; border-radius: var(--r-16);
  background: linear-gradient(160deg, #FFFBF1, #fff 70%); box-shadow: inset 0 0 0 1.5px var(--gold-line);
  display: grid; gap: 14px;
}
.upsell .chip { vertical-align: 1px; }
.upsell .btn { width: 100%; }
@media (min-width: 720px) {
  .upsell { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 20px 22px; }
  .upsell .btn { width: auto; }
}
.linkrow { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 12px; }
.linkrow .btn-text { padding: 0; }
.receipts { display: grid; margin-top: 4px; }
.receipt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.receipt { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--blue); }
.receipt:hover { text-decoration: underline; text-underline-offset: 3px; }
.receipt .i { width: 20px; height: 20px; }
.quote {
  padding: 18px 20px; border-radius: var(--r-16);
  background: var(--mint-50); box-shadow: inset 5px 0 0 var(--green); line-height: 1.55;
}
.actions-list { display: grid; margin-top: 4px; }
.actions-list button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 8px 0; border-top: 1px solid var(--line);
  font-weight: 600; color: var(--blue); text-align: left; width: 100%;
}
.actions-list button:hover { text-decoration: underline; text-underline-offset: 3px; }
.actions-list .i { color: var(--text-2); width: 22px; height: 22px; }
.stop { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-2); display: grid; gap: 4px; justify-items: start; }
.stop .btn-text { color: var(--red-ink); padding: 0; }
.stop p { color: var(--text-2); }

/* Paramètres */
.setlist { display: grid; }
.setrow { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); }
.setrow:first-child { border-top: 0; padding-top: 0; }
.setrow__k { display: block; color: var(--text-2); line-height: 1.4; }
.setrow__v { display: block; font-weight: 700; overflow-wrap: anywhere; }
.setrow .btn-text { padding: 0; }
.cardline { display: flex; align-items: center; gap: 14px; }

/* Modales */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-end; justify-content: center; background: rgba(15, 23, 42, .55); }
.modal.is-open { display: flex; animation: fade .2s ease-out; }
.modal__panel { width: 100%; max-height: 92vh; overflow: auto; background: #fff; border-radius: var(--r-24) var(--r-24) 0 0; box-shadow: var(--sh-3); padding: 24px 20px 28px; animation: rise .35s var(--ease); }
.modal__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--red-50); color: var(--red-ink); margin-bottom: 16px; }
.modal__icon .i { width: 28px; height: 28px; }
.modal__icon--blue { background: var(--blue-50); color: var(--blue); }
.modal__over { font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
.modal h2 { font-size: 22px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.modal p { margin-top: 12px; }
.modal__actions { display: flex; flex-direction: column-reverse; gap: 10px; margin-top: 28px; }
.modal__actions .btn { width: 100%; }
@media (min-width: 720px) {
  .modal { align-items: center; padding: 24px; }
  .modal__panel { max-width: 540px; border-radius: var(--r-24); padding: 32px; max-height: calc(100vh - 48px); }
  .modal h2 { font-size: 26px; }
  .modal__actions { flex-direction: row; justify-content: flex-end; }
  .modal__actions .btn { width: auto; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Page d'activation du proche (senolo.fr, plus de 70 ans)
   Texte de 20 px au minimum, contrastes AAA, un seul bouton.
   ========================================================================== */
.senior { font-size: 20px; }
.senior .topbar__inner { height: 72px; }
.senior .brand__mark { width: 40px; height: 40px; }
.senior .brand .word { font-size: 28px; }
.activate { max-width: 640px; margin: 0 auto; padding: 28px 0 8px; }
.activate .eyebrow { font-size: 20px; color: var(--blue); justify-content: center; width: 100%; }
.activate h1 { font-size: 34px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; text-align: center; }
.activate .lead { font-size: 22px; line-height: 1.45; text-align: center; margin-top: 14px; }
.activate .quote { margin-top: 28px; font-size: 22px; line-height: 1.5; padding: 20px 22px; }
.activate .quote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 700; color: var(--mint-ink); font-size: 20px; }
.form-senior { margin-top: 28px; padding: 22px 18px 26px; border-radius: var(--r-24); background: #fff; box-shadow: var(--sh-2); display: grid; gap: 18px; }
.form-senior .label { font-size: 22px; font-weight: 700; }
.form-senior .ident { font-size: 20px; margin-top: -8px; }
.form-senior .ident strong { color: var(--blue); overflow-wrap: anywhere; }
.form-senior .input { height: 68px; font-size: 22px; border-width: 2px; border-color: #5F6B7D; padding: 0 18px; }
.form-senior .input-wrap .input { padding-right: 140px; }
.form-senior .reveal-btn { font-size: 20px; height: 54px; padding: 0 14px; background: var(--blue-50); }
.form-senior .hint { font-size: 20px; color: var(--text); }
.form-senior .hint.is-ok { color: var(--green-ink); font-weight: 600; }
.form-senior .btn-lg { min-height: 72px; font-size: 22px; }
.form-senior .legal { font-size: 20px; text-align: center; line-height: 1.45; }
.form-senior .legal .link { font-size: 20px; }
.senior .foot__links, .senior .foot__brand { font-size: 18px; color: var(--text); }
.senior .foot__links a { min-height: 44px; }
@media (min-width: 720px) {
  .senior .topbar__inner { height: 84px; }
  .senior .brand__mark { width: 46px; height: 46px; }
  .senior .brand .word { font-size: 32px; }
  .activate { padding: 56px 0 24px; }
  .activate h1 { font-size: 44px; }
  .activate .quote { padding: 24px 28px; }
  .form-senior { padding: 32px 36px 36px; gap: 20px; }
}

/* ==========================================================================
   Page système : 404
   ========================================================================== */
.system { display: grid; gap: 24px; padding: 24px 0 8px; }
.system .illu { order: -1; width: 100%; max-width: 300px; margin: 0 auto; }
.system p { margin-top: 12px; }
.system .btn { margin-top: 28px; width: 100%; }
@media (min-width: 720px) { .system .btn { width: auto; } }
@media (min-width: 1000px) {
  .system { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 72px 0 24px; }
  .system .illu { order: 0; max-width: 440px; }
}

/* ==========================================================================
   Offrir v3 en production : compléments à la feuille des maquettes
   ========================================================================== */

/* ----- Apparition douce des étapes (jamais de contenu caché au repos) ----- */
.etape { animation: entree .45s var(--ease) both; }
.etape[hidden] { display: none !important; }
@keyframes entree { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.revele { animation: revele .35s var(--ease) both; }
@keyframes revele { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ----- Champ avec indicateur (recherche du proche) ----- */
.input-etat { position: relative; }
.input-etat .input { padding-right: 52px; }
.input-etat__ico { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: grid; place-items: center; pointer-events: none; }
.input-etat__ico .i { width: 22px; height: 22px; }
.input-etat__ico .ok { color: var(--green-ink); }
.rond { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--blue-100); border-top-color: var(--blue); animation: spin .8s linear infinite; }

/* ----- Adresse saisie, rappelée avec « Modifier » ----- */
.email-rappel {
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px;
  border-radius: var(--r-pill); background: var(--blue-25); box-shadow: inset 0 0 0 1px var(--blue-100);
  max-width: 100%;
}
.email-rappel .i { width: 20px; height: 20px; color: var(--blue); }
.email-rappel strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.email-rappel button { min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); font-weight: 700; color: var(--blue); background: #fff; box-shadow: inset 0 0 0 1px var(--blue-100); }
.email-rappel button:hover { background: var(--blue-50); }

/* ----- Code à 6 chiffres ----- */
.code6 {
  width: 100%; height: 72px; text-align: center;
  font-size: 34px; font-weight: 800; letter-spacing: .42em; padding: 0 0 0 .42em;
  font-variant-numeric: tabular-nums;
  border: 2px solid var(--field); border-radius: var(--r-16); background: #fff;
}
.code6:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #FFD700; }
.code6.is-error { border-color: var(--red); animation: secoue .35s; }
@keyframes secoue { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }

/* ----- Messages sous un formulaire ----- */
.msg { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-12); line-height: 1.45; }
.msg .i { width: 22px; height: 22px; margin-top: 1px; }
.msg--erreur { background: var(--red-50); color: var(--red-ink); font-weight: 600; }
.msg--ok { background: var(--mint-50); color: var(--mint-ink); font-weight: 600; }
.msg--info { background: var(--blue-50); color: var(--text); }
.msg--info .i { color: var(--blue); }

/* ----- Bouton en cours ----- */
.btn[aria-busy="true"] { pointer-events: none; opacity: .9; }
.btn .spinner { width: 20px; height: 20px; }
.btn-secondary .spinner, .btn-white .spinner, .btn-text .spinner { border-color: var(--blue-100); border-top-color: var(--blue); }

/* ----- Barre d'action collée en bas sur téléphone ----- */
@media (max-width: 719px) {
  .collee {
    position: sticky; bottom: 0; z-index: 30;
    margin: 24px calc(-1 * var(--gutter)) 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 -1px 0 var(--line), 0 -10px 24px rgba(15, 23, 42, .06);
  }
}

/* ----- Notifications brèves ----- */
.toasts { position: fixed; left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 200; display: grid; justify-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast {
  display: flex; align-items: center; gap: 12px; max-width: 560px;
  padding: 14px 18px; border-radius: var(--r-16);
  background: #1F2937; color: #fff; font-weight: 600; line-height: 1.4;
  box-shadow: var(--sh-3); pointer-events: auto;
  animation: rise .35s var(--ease);
}
.toast .i { width: 22px; height: 22px; color: var(--mint); }
.toast--erreur .i { color: #FCA5A5; }
.toast.sort { animation: sortie .3s ease-in forwards; }
@keyframes sortie { to { opacity: 0; transform: translateY(12px); } }

/* ----- Fenêtres (panneau du bas sur téléphone) : compléments ----- */
.modal__panel { position: relative; }
.modal__fermer { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); }
.modal__fermer:hover { background: var(--bg); color: var(--text); }
.modal__poignee { width: 44px; height: 5px; border-radius: 3px; background: var(--line-2); margin: -10px auto 18px; }
@media (min-width: 720px) { .modal__poignee { display: none; } }
.modal--large .modal__panel { max-width: 600px; }
body.fige { overflow: hidden; }

/* ----- Formulaire bancaire Krypton (Société Générale), thème classique, aligné sur nos champs ----- */
.kr-zone { min-height: 120px; position: relative; }
.kr-chargement { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 120px; color: var(--text-2); font-weight: 600; }
.kr-embedded { width: 100% !important; font-family: var(--font) !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; border: 0 !important; }
/* Le texte des cadres sécurisés reprend le style de ce champ de référence */
.kr-embedded .kr-input-field { font-family: var(--font) !important; font-size: 18px !important; color: var(--text) !important; font-weight: 400 !important; letter-spacing: 0 !important; }
.kr-embedded .kr-field-element { margin: 0 0 20px !important; width: 100% !important; }
.kr-embedded .kr-field-element .kr-field-wrapper {
  display: flex !important; align-items: center !important; gap: 10px;
  height: 56px !important; min-height: 56px !important; padding: 0 14px 0 16px !important;
  background: #fff !important; border: 1.5px solid var(--field) !important; border-radius: var(--r-12) !important; box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s;
}
.kr-embedded .kr-field-element .kr-field-wrapper:hover { border-color: var(--text-2) !important; }
.kr-embedded .kr-field-component, .kr-embedded .kr-iframe-wrapper { flex: 1 1 auto; height: 30px !important; min-width: 0; }
.kr-embedded .kr-field-wrapper-pan .kr-field-component, .kr-embedded .kr-field-wrapper-expiryDate .kr-field-component,
.kr-embedded .kr-field-wrapper-securityCode .kr-field-component { transform: translateY(-2px); margin-left: -8px; }
html body .kr-embedded .kr-field-wrapper .kr-help-button-wrapper, html body .kr-embedded .kr-field-wrapper .kr-help-button-wrapper.kr-legacy.kr-visible.kr-inner,
html body .kr-embedded .kr-field-wrapper .kr-help-button, html body .kr-embedded .kr-field-wrapper .kr-help-icon-wrapper {
  position: static !important; transform: none !important; margin: 0 !important; align-self: center !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important;
}
html body .kr-embedded .kr-field-wrapper .kr-help-button-wrapper { display: flex !important; align-items: center !important; }
html body .kr-embedded .kr-card-brand-selector-label { text-align: left !important; width: 100%; }
.kr-embedded .kr-card-brand-selector-label-wrapper { text-align: left !important; justify-content: flex-start !important; }
.kr-embedded .kr-field-element.kr-focus .kr-field-wrapper, .kr-embedded .kr-field-wrapper.kr-focus, .kr-embedded .kr-field-element:focus-within .kr-field-wrapper {
  border-color: var(--blue) !important; box-shadow: 0 0 0 3px #FFD700 !important;
}
.kr-embedded .kr-field-element.kr-error .kr-field-wrapper, .kr-embedded .kr-field-wrapper.kr-error { border-color: var(--red) !important; border-width: 2px !important; }
.kr-embedded .kr-card-holder-name .kr-field-wrapper input, .kr-embedded .kr-text-wrapper input {
  font-family: var(--font) !important; font-size: 18px !important; color: var(--text) !important;
  height: 30px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: none !important;
}
.kr-embedded .kr-text-wrapper input::placeholder { color: var(--placeholder) !important; }
.kr-embedded .kr-field-element.kr-read-only .kr-field-wrapper, .kr-embedded .kr-inner-wrapper.kr-disabled { background: var(--bg) !important; }
.kr-embedded .kr-icon-wrapper-root, .kr-embedded .kr-help-button-wrapper { flex: 0 0 auto; display: flex; align-items: center; }
.kr-embedded .kr-icon svg, .kr-embedded .kr-help-icon svg { fill: var(--text-2) !important; }
.kr-embedded .kr-label { display: none !important; }
.kr-embedded .kr-card-brand-selector-label { font: 500 15px/1.4 var(--font) !important; color: var(--text-2) !important; margin-bottom: 6px; }
.kr-embedded .kr-field-element.kr-card-holder-mail, .kr-embedded .kr-identity-document-number, .kr-embedded .kr-identity-document-type,
.kr-embedded .kr-installment-number, .kr-embedded .kr-first-installment-delay, .kr-embedded .kr-pocket-type { display: none !important; }
.kr-embedded .kr-payment-button, .kr-embedded button.kr-payment-button {
  width: 100% !important; height: auto !important; min-height: 56px !important; margin: 4px 0 0 !important; padding: 0 28px !important;
  border: 0 !important; border-radius: var(--r-pill) !important; background: var(--grad) !important; box-shadow: var(--sh-2) !important; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .2s;
}
.kr-embedded .kr-payment-button:hover { transform: translateY(-1px); box-shadow: var(--sh-3) !important; filter: saturate(1.08) brightness(1.04); }
.kr-embedded .kr-payment-button, .kr-embedded .kr-payment-button * { font-family: var(--font) !important; font-size: 18px !important; font-weight: 700 !important; color: #fff !important; letter-spacing: 0 !important; }
/* Le libellé arrive en capitales (« PAYER 7,90 € ») : on le remet en casse normale */
html body .kr-embedded .kr-payment-button > span { display: inline-block; text-transform: lowercase !important; }
html body .kr-embedded .kr-payment-button > span::first-letter { text-transform: uppercase !important; }
.kr-embedded .kr-payment-button:disabled { opacity: .7; }
.kr-form-error, .kr-embedded .kr-form-error { margin: 0 0 16px !important; padding: 14px 16px !important; border-radius: var(--r-12) !important; background: var(--red-50) !important; border: 0 !important; }
.kr-form-error, .kr-form-error * { font-family: var(--font) !important; color: var(--red-ink) !important; font-size: 16px !important; line-height: 1.45 !important; font-weight: 600 !important; }
html body .kr-embedded .kr-form-error.kr-form-error-visible, html body .kr-embedded .kr-form-error.kr-form-error-visible span { color: var(--red-ink) !important; text-align: left !important; display: block !important; }
html body .kr-embedded .kr-form-error.kr-form-error-visible { min-height: 0 !important; height: auto !important; }
.kr-form-error:empty, .kr-form-error.kr-hidden { display: none !important; }
/* Intitulés au-dessus des champs, comme partout sur le site */
.kr-embedded .kr-pan::before, .kr-embedded .kr-expiry::before, .kr-embedded .kr-security-code::before, .kr-embedded .kr-card-holder-name::before {
  display: block; margin: 0 0 8px; font: 600 18px/1.35 var(--font); color: var(--text);
}
.kr-embedded .kr-pan::before { content: 'Numéro de carte'; }
.kr-embedded .kr-expiry::before { content: 'Date d\2019 expiration'; }
.kr-embedded .kr-security-code::before { content: 'Code au dos (3 chiffres)'; }
.kr-embedded .kr-card-holder-name::before { content: 'Nom du titulaire'; }

/* ----- Cartes enregistrées proposées au paiement ----- */
.choix-carte { display: grid; gap: 10px; }
.choix-carte .option { min-height: 68px; }
.choix-carte .minicard { margin-left: auto; }

/* ----- Confirmation : cocher animé ----- */
.bravo { width: 96px; height: 96px; margin: 0 auto; }
.bravo circle { fill: var(--mint-50); stroke: var(--green); stroke-width: 3; }
.bravo path { fill: none; stroke: var(--green-ink); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 70; stroke-dashoffset: 70; animation: trace .6s .25s var(--ease) forwards; }
.bravo .eclat { fill: var(--gold); transform-origin: 48px 48px; animation: eclat .9s .35s var(--ease) both; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes eclat { from { opacity: 0; transform: scale(.4); } 60% { opacity: 1; } to { opacity: 0; transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .bravo path { stroke-dashoffset: 0; } .bravo .eclat { display: none; } }
.confirm .bravo { margin: 0 0 16px; }
@media (max-width: 999px) { .confirm .bravo { margin: 0 auto 16px; } .confirm__txt { text-align: center; } .confirm__txt .steps { text-align: left; } }

/* ----- Partage du prix ----- */
.partage-carte {
  display: grid; gap: 16px; padding: 20px; border-radius: var(--r-20);
  background: linear-gradient(160deg, var(--blue-25), #fff 70%); box-shadow: inset 0 0 0 1.5px var(--blue-100);
}
.partage-carte__t { display: flex; gap: 14px; align-items: flex-start; }
.partage-carte__t .i { width: 28px; height: 28px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
@media (min-width: 720px) { .partage-carte { padding: 24px 28px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }

.lien-partage { display: flex; gap: 8px; align-items: center; padding: 8px 8px 8px 16px; border-radius: var(--r-12); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.lien-partage code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font); font-size: 16px; color: var(--text-2); }
.lien-partage .btn { min-height: 44px; padding: 0 16px; font-size: 16px; }
.boutons-partage { display: grid; gap: 10px; }
@media (min-width: 720px) { .boutons-partage { grid-template-columns: 1fr 1fr; } }
.message-pret { padding: 14px 16px; border-radius: var(--r-12); background: var(--mint-50); font-size: 16px; line-height: 1.5; color: var(--mint-ink); }

.personnes { display: grid; margin-top: 4px; }
.personne { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.personne:first-child { border-top: 0; }
.personne .avatar { width: 40px; height: 40px; font-size: 15px; }
.personne__nom { flex: 1; min-width: 0; font-weight: 600; }
.personne__nom small { display: block; font-size: 15px; font-weight: 500; color: var(--text-2); }
.personne__montant { font-weight: 800; font-variant-numeric: tabular-nums; }

.pile { display: flex; }
.pile .avatar { width: 40px; height: 40px; font-size: 15px; box-shadow: 0 0 0 3px #fff; }
.pile .avatar + .avatar { margin-left: -10px; }

/* ----- Squelettes de chargement ----- */
.squelette { border-radius: var(--r-20); background: linear-gradient(90deg, #EEF1F5 25%, #F6F8FB 50%, #EEF1F5 75%); background-size: 200% 100%; animation: miroite 1.4s ease-in-out infinite; }
.squelette--carte { height: 118px; }
.squelette--hello { height: 180px; }
@keyframes miroite { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ----- Zone de danger ----- */
.danger { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.danger .btn-text { color: var(--red-ink); padding: 0; }

/* ----- Divers ----- */
.muted { color: var(--text-2); }
.lien { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lien:hover { text-decoration-thickness: 2px; }
.center { text-align: center; }
.t-15 { font-size: 15px; line-height: 1.5; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.rangee { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.aside-rassure { display: grid; gap: 14px; }
.aside-rassure li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.aside-rassure .i { color: var(--green-ink); margin-top: 1px; }
.auth-aside .aside-rassure .i { color: #fff; opacity: .9; }
.auth-card .btn-block + .btn-text { margin-top: 4px; }
.retour-haut { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--text-2); }
.retour-haut:hover { color: var(--blue); }
.retour-haut .i { width: 20px; height: 20px; }
.tag-test { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--r-pill); background: var(--gold-50); color: var(--gold-ink); font-size: 13px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--gold-line); }
.st-stop .i { color: var(--text-2); }
.pcard .btn.is-done { pointer-events: none; }


.confirm__txt .partage-carte { text-align: left; }
@media (max-width: 999px) { .confirm__actions.rangee { justify-content: center; } }
.pile { align-items: center; gap: 0; }
.pile > .muted { margin-left: 12px; }


.who__state.st-wait .i { color: var(--gold-ink); }
.who__state.st-plan .i { color: var(--blue); }
.who__state.st-stop .i { color: var(--text-2); }
.stop .btn-text, .danger .btn-text, .linkrow .btn-text, .rangee .btn-text { display: inline-flex; align-items: center; gap: 8px; }
.stepper li:not(.is-done) .ok { display: none; }
html body .kr-embedded .kr-field-wrapper .kr-help-button, html body .kr-embedded .kr-field-wrapper .kr-help-icon-wrapper,
html body .kr-embedded .kr-field-wrapper .kr-help-icon { width: 24px !important; height: 24px !important; min-width: 24px !important; display: flex !important; align-items: center !important; justify-content: center !important; }
html body .kr-embedded .kr-field-wrapper .kr-help-icon svg { width: 22px !important; height: 22px !important; }
html body .kr-embedded .kr-form-error.kr-form-error-visible { padding: 14px 16px !important; margin: 0 0 16px !important; }
html body .kr-embedded .kr-form-error.kr-form-error-visible span { padding: 0 !important; margin: 0 !important; min-height: 0 !important; line-height: 1.45 !important; }
/* Attente du clic dans l'e-mail */
.attente-veille { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-12); background: var(--blue-25); box-shadow: inset 0 0 0 1px var(--blue-100); color: var(--text-2); font-weight: 600; line-height: 1.4; }
.attente-veille .rond { flex: 0 0 auto; }
.attente-medal { animation: flotte 2.6s ease-in-out infinite; }
@keyframes flotte { 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .attente-medal { animation: none; } }
@media (max-width: 479px) { .row-2--large { grid-template-columns: 1fr; gap: 24px; } }
.aide-bas { display: flex; align-items: flex-start; gap: 10px; margin-top: 40px; color: var(--text-2); line-height: 1.5; }
.aide-bas .i { margin-top: 3px; color: var(--blue); }
/* Carte enregistrée : champs figés tout d'un bloc, sans aplats internes */
html body .kr-embedded .kr-field-element.kr-disabled .kr-field-wrapper { background: var(--bg) !important; border-color: var(--line) !important; }
html body .kr-embedded .kr-field-element.kr-disabled .kr-field-wrapper *:not(svg):not(path):not(circle):not(rect) { background: transparent !important; box-shadow: none !important; }
html body .kr-embedded .kr-field-element.kr-disabled .kr-field-wrapper input { color: var(--text-2) !important; -webkit-text-fill-color: var(--text-2) !important; }
/* Une adresse longue dans le rappel ne doit pas élargir la grille du formulaire (débordement sur téléphone) */
.form > *, .field, .input-wrap { min-width: 0; }
/* L'adresse en entier : le bouton Modifier passe dessous quand la place manque, et la coupure se fait aux tirets ou au @ */
.email-rappel { flex-wrap: wrap; row-gap: 8px; }
.email-rappel strong { flex: 1 1 190px; white-space: normal; overflow-wrap: break-word; text-overflow: clip; line-height: 1.35; }
.email-rappel { border-radius: var(--r-16, 16px); }
.email-rappel button { margin-left: auto; }


/* ==========================================================================
   Refonte du 2026-10-03 après-midi (A-FAIRE.md). Chargée après base.css et ajouts.css.
   ========================================================================== */

/* ----- 11. Moins de jaune : focus bleu, plus de halo doré ----- */
:root { --focus-ring: 0 0 0 4px rgba(0, 47, 167, .16); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; box-shadow: none; }
.on-blue :focus-visible { outline-color: #fff; }
.input:focus-visible, .input:focus { box-shadow: var(--focus-ring); }
.code6:focus { box-shadow: var(--focus-ring); }
.kr-embedded .kr-field-element.kr-focus .kr-field-wrapper, .kr-embedded .kr-field-wrapper.kr-focus, .kr-embedded .kr-field-element:focus-within .kr-field-wrapper {
  border-color: var(--blue) !important; box-shadow: var(--focus-ring) !important;
}
.chip-premium { background: var(--grad); color: #fff; }
.giftcard .chip-premium, .on-blue .chip-premium { background: #fff; color: var(--blue); }
.notice--gold { background: var(--blue-25); box-shadow: inset 0 0 0 1px var(--blue-100); }
.notice--gold > .i { color: var(--blue); }
.medal--gold { background: var(--blue-50); color: var(--blue); }
.medal--gold::after { border-color: var(--blue-100); }
.avatar--gold { background: var(--blue-50); color: var(--blue); }
.st-wait .i, .who__state.st-wait .i { color: var(--blue); }
.bravo .eclat { fill: rgba(40, 167, 69, .16); }

/* ----- 6. Page de fin sur ordinateur : toute la largeur, plus de colonne écrasée ----- */
.flow.flow--fin { grid-template-columns: minmax(0, 1fr); }
.flow--fin .flow__main { max-width: 1080px; width: 100%; margin: 0 auto; }
@media (min-width: 1000px) {
  .flow--fin .confirm { grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; padding-top: 40px; }
}

/* ----- 7. Formulaire de carte : toutes les icônes dans la même colonne de 43 px, centrées ----- */
html body .kr-embedded .kr-field-wrapper .kr-help-button-wrapper,
html body .kr-embedded .kr-field-wrapper .kr-help-button-wrapper.kr-legacy.kr-visible.kr-inner {
  width: 43px !important; min-width: 43px !important; justify-content: center !important; margin-left: auto !important;
}
html body .kr-embedded .kr-field-wrapper .kr-icon-wrapper-root,
html body .kr-embedded .kr-field-wrapper .kr-card-brand-selector-wrapper { width: 43px !important; min-width: 43px !important; justify-content: center !important; }

/* ----- 1 à 3. Date et heure d'envoi : calendrier dans la page ----- */
.planif { margin-top: 18px; display: grid; gap: 14px; }
.planif__corps { display: grid; gap: 14px; }
@media (min-width: 760px) { .planif__corps { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; } }
.cal, .heures { background: #fff; border-radius: var(--r-20); box-shadow: inset 0 0 0 1.5px var(--line-2); padding: 14px 14px 16px; }
.cal__tete { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.cal__mois { font-size: 18px; font-weight: 700; letter-spacing: -.01em; text-transform: capitalize; }
.cal__nav { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--blue); transition: background .15s; }
.cal__nav:hover:not(:disabled) { background: var(--blue-50); }
.cal__nav:disabled { color: var(--line-2); cursor: default; }
.cal__nav .i { width: 22px; height: 22px; stroke-width: 2.4; }
.cal__semaine, .cal__ligne { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal__semaine span { text-align: center; font-size: 13px; font-weight: 600; color: var(--text-2); padding: 4px 0 6px; }
.cal__grille { display: grid; gap: 2px; }
.cal__jour {
  width: 100%; aspect-ratio: 1; min-height: 40px; max-height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-size: 17px; font-weight: 600; color: var(--text); position: relative; transition: background .15s, color .15s;
  font-variant-numeric: tabular-nums;
}
.cal__jour:hover:not(:disabled):not(.is-choisi) { background: var(--blue-50); color: var(--blue); }
.cal__jour:disabled { color: #B8C0CC; font-weight: 500; cursor: default; }
.cal__jour.is-auj::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--blue); }
.cal__jour.is-choisi { background: var(--blue); color: #fff; box-shadow: 0 6px 14px rgba(0, 47, 167, .25); }
.cal__jour.is-choisi::after { background: #fff; }
.heures__titre { font-size: 18px; font-weight: 700; margin: 4px 2px 12px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 12px; }
.seg button { min-height: 40px; border-radius: var(--r-pill); font-size: 15px; font-weight: 700; color: var(--text-2); transition: background .15s, color .15s; text-align: center; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(16, 24, 40, .12); }
.seg button:disabled { color: #B8C0CC; cursor: default; }
.heures__grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.heure {
  min-height: 46px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line-2); background: #fff;
  font-size: 15px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; padding: 0 2px; transition: box-shadow .15s, background .15s, color .15s;
}
.heure:hover:not(:disabled):not(.is-choisi) { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); }
.heure.is-choisi { background: var(--blue); color: #fff; box-shadow: 0 6px 14px rgba(0, 47, 167, .22); }
.heure:disabled { color: #B8C0CC; box-shadow: inset 0 0 0 1.5px var(--line); cursor: default; text-decoration: line-through; text-decoration-color: #D5DAE1; }
.planif__resume { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-16); background: var(--blue-25); box-shadow: inset 0 0 0 1px var(--blue-100); color: var(--text); line-height: 1.45; }
.planif__resume .i { width: 22px; height: 22px; color: var(--blue); flex: 0 0 auto; }
.planif__resume strong { color: var(--blue); }

/* ----- 4 et 5. Formules : Premium mis en avant, avantages illustrés, comparaison alignée ----- */
.formules { display: grid; gap: 16px; margin-top: 4px; }
.formule { position: relative; display: block; border-radius: var(--r-24); background: #fff; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.formule input[type=radio] { width: 24px; height: 24px; accent-color: var(--blue); flex: 0 0 auto; margin: 0; cursor: pointer; }
.formule__corps { display: grid; gap: 14px; padding: 22px 20px 20px; }
.formule__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.formule__titre { display: flex; align-items: center; gap: 12px; }
.formule__nom { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.formule__prix { display: flex; align-items: baseline; gap: 6px; }
.formule__prix .big { font-size: 30px; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.formule__prix .per { color: var(--text-2); font-size: 16px; }
.formule--premium { box-shadow: 0 0 0 2px transparent, var(--sh-2); background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 2.5px solid transparent; }
.formule--premium .formule__nom { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.formule__bandeau {
  display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 21px 21px 0 0;
  background: var(--grad); color: #fff; font-size: 15px; font-weight: 700;
}
.formule__bandeau .i { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.formule__accroche { font-size: 17px; font-weight: 600; color: var(--text); line-height: 1.45; }
.atouts { display: grid; gap: 12px; }
@media (min-width: 640px) { .atouts { grid-template-columns: 1fr 1fr; gap: 14px 18px; } }
.atout { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.atout__ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.atout__ico .i { width: 22px; height: 22px; stroke-width: 2.2; }
.atout strong { display: block; font-size: 16px; line-height: 1.35; margin-top: 1px; }
.atout strong + span { display: block; font-size: 15px; color: var(--text-2); line-height: 1.45; margin-top: 2px; }
.formule__inclus { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-16); background: var(--mint-50); color: var(--green-ink); font-size: 15px; line-height: 1.45; font-weight: 600; }
.formule__inclus .i { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }
.formule__jour { font-size: 15px; color: var(--text-2); }
.formule--standard { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.formule--standard .formule__corps { gap: 8px; padding: 18px 20px; }
.formule--standard .formule__nom { font-size: 20px; color: var(--text); }
.formule--standard .formule__prix .big { font-size: 24px; }
.formule__resume { font-size: 15px; color: var(--text-2); line-height: 1.5; padding-left: 36px; }
.formule--standard:hover { box-shadow: inset 0 0 0 1.5px var(--text-2); }
.formule--standard.is-choisie { box-shadow: inset 0 0 0 2.5px var(--blue), var(--sh-1); }
.formule--premium:not(.is-choisie) { opacity: .92; }
.formule--premium.is-choisie { transform: translateY(-1px); }
.coup-de-pouce { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; margin-top: 16px; padding: 16px 18px; border-radius: var(--r-20); background: var(--blue-25); box-shadow: inset 0 0 0 1px var(--blue-100); }
.coup-de-pouce__ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.coup-de-pouce__ico .i { width: 20px; height: 20px; }
.coup-de-pouce p { line-height: 1.5; }
.coup-de-pouce .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 640px) { .coup-de-pouce { grid-template-columns: auto 1fr auto; } .coup-de-pouce .btn { grid-column: auto; } }
.compare--v2 th, .compare--v2 td { padding: 13px 14px; }
.compare--v2 thead th { font-size: 16px; }
.compare--v2 .col-premium { background: var(--blue-25); color: var(--blue); font-weight: 700; }
.compare--v2 thead .col-premium { background: var(--blue); color: #fff; border-radius: 12px 12px 0 0; }
.compare--v2 tbody tr:last-child .col-premium { border-radius: 0 0 12px 12px; }
.compare--v2 td.non { color: #98A2B3; }

/* ----- 12. Espace : bandeau bleu (langage de la connexion), une carte cadeau par proche ----- */
.espace { padding-bottom: 48px; }
.esp-hero {
  position: relative; overflow: hidden; isolation: isolate; background: var(--blue); color: #fff;
  padding: 28px 0 36px;
}
.esp-hero::before {
  content: ""; position: absolute; z-index: -1; width: 420px; aspect-ratio: 1; right: -150px; bottom: -190px;
  background: url('img/senolo-symbole-blanc.svg') center / contain no-repeat; opacity: .07;
}
.esp-hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 6px; background: var(--grad-band); }
.esp-hero__in { display: grid; gap: 28px; align-items: center; }
.esp-hero__sur { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.esp-hero__titre { font-size: clamp(30px, 6vw, 44px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin-top: 6px; }
.esp-hero__resume { font-size: 18px; line-height: 1.5; opacity: .92; margin-top: 10px; max-width: 56ch; }
.esp-chiffres { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.esp-chiffre { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); font-size: 15px; }
.esp-chiffre .i { width: 18px; height: 18px; opacity: .9; }
.esp-chiffre strong { font-weight: 800; }
.esp-hero__visuel { display: none; position: relative; height: 230px; }
@media (min-width: 900px) {
  .esp-hero { padding: 48px 0 56px; }
  .esp-hero__in { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; }
  .esp-hero__visuel { display: block; }
}
.esp-hero__visuel .mini { position: absolute; width: 300px; right: calc(var(--rang, 0) * 34px); top: calc(var(--rang, 0) * 18px);
  transform: rotate(calc(-4deg + var(--rang, 0) * 5deg)); box-shadow: 0 18px 40px rgba(0, 10, 40, .35); }
.esp-hero__visuel[data-nb="1"] .mini { right: 40px; top: 10px; }

/* Carte cadeau miniature */
.mini {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  aspect-ratio: 1.7; border-radius: 20px; background: var(--grad); color: #fff; padding: 16px 18px; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.mini::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -18%; bottom: -32%;
  background: url('img/senolo-symbole-blanc.svg') center / contain no-repeat; opacity: .13; }
.mini--standard { background: linear-gradient(135deg, #0B3BB8, #002FA7 60%, #00237D); }
.mini--arretee { background: linear-gradient(135deg, #7A8699, #5C677A); }
.mini__haut { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mini__marque { display: inline-flex; align-items: center; gap: 6px; }
.mini__marque img { width: 22px; height: 22px; }
.mini__marque .word { font-size: 17px; }
.mini__milieu { display: grid; }
.mini__pour { font-size: 13px; font-weight: 600; opacity: .9; }
.mini__nom { font-size: 24px; font-weight: 800; letter-spacing: -.015em; line-height: 1.15; overflow-wrap: anywhere; }
.mini__bas { font-size: 13px; font-weight: 600; opacity: .95; }
.mini .chip { height: 24px; font-size: 13px; }

/* Tuiles des proches */
.esp-corps { display: grid; gap: 36px; padding-top: 32px; }
.esp-titre { display: grid; gap: 4px; margin-bottom: 16px; }
.tuiles { display: grid; gap: 18px; }
@media (min-width: 760px) { .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tuiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tuile { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-24); box-shadow: var(--sh-1); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.tuile:hover { box-shadow: var(--sh-2); }
.tuile > .mini { border-radius: 0; aspect-ratio: auto; min-height: 150px; }
a.mini:hover { transform: none; }
.tuile:hover > .mini::before { transform: rotate(-6deg) scale(1.04); transition: transform .4s var(--ease); }
.tuile__corps { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.tuile__etat { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.tuile__etat .i { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }
.tuile__prix { color: var(--text-2); font-size: 15px; line-height: 1.45; }
.tuile__prix strong { color: var(--text); }
.tuile__histo { font-size: 14px; color: var(--text-2); }
.tuile__mot { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--mint-50); color: var(--green-ink); font-size: 15px; line-height: 1.45; }
.tuile__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: auto; padding-top: 6px; }
.tuile__voir { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; }
.tuile__stop { color: var(--red-ink); font-size: 15px; }
.tuile--passe { box-shadow: inset 0 0 0 1px var(--line); background: #FBFCFD; }
.st-ok .i { color: var(--green-ink); }
.st-plan .i { color: var(--blue); }
.st-stop .i { color: var(--text-2); }
.esp-vide { background: #fff; border-radius: var(--r-24); box-shadow: var(--sh-1); padding: 28px 22px; }
.esp-vide__etapes { display: grid; gap: 10px; margin: 20px 0 24px; }
.esp-vide__etapes li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.esp-vide__etapes .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-weight: 800; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--blue-25); }

/* ----- 13. Onglets Mes proches / Paramètres : le trait coulisse d'une page à l'autre ----- */
.subnav a[aria-current="page"]::after, .topnav a[aria-current="page"]::after { content: none; }
.subnav a .trait, .topnav a .trait {
  position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--blue);
  view-transition-name: onglet-trait;
}
.subnav a:first-child .trait { left: 0; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-group(onglet-trait) { animation-duration: .5s; animation-timing-function: cubic-bezier(.22, .9, .25, 1); }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ----- 12. Paramètres ----- */
.reglages { padding-bottom: 48px; }
.reg-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--blue); color: #fff; padding: 26px 0 30px; }
.reg-hero::before { content: ""; position: absolute; z-index: -1; width: 320px; aspect-ratio: 1; right: -110px; bottom: -160px;
  background: url('img/senolo-symbole-blanc.svg') center / contain no-repeat; opacity: .07; }
.reg-hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 6px; background: var(--grad-band); }
.reg-hero__in { display: flex; align-items: center; gap: 18px; }
.reg-avatar { width: 64px; height: 64px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue); font-size: 24px; font-weight: 800; box-shadow: 0 8px 22px rgba(0, 10, 40, .25); }
.reg-hero__titre { font-size: clamp(26px, 5vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-top: 4px; overflow-wrap: anywhere; }
.reg-hero__mail { opacity: .88; margin-top: 2px; overflow-wrap: anywhere; }
@media (min-width: 900px) { .reg-hero { padding: 40px 0 44px; } .reg-avatar { width: 80px; height: 80px; font-size: 30px; } }
.reg-corps { padding-top: 28px; display: grid; gap: 20px; }
.reg-grille { display: grid; gap: 20px; }
@media (min-width: 900px) { .reg-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } .reg-bloc--large { grid-column: 1 / -1; } }
.reg-bloc { background: #fff; border-radius: var(--r-24); box-shadow: var(--sh-1); padding: 22px 20px; display: grid; gap: 14px; align-content: start; }
@media (min-width: 720px) { .reg-bloc { padding: 26px 28px; } }
.reg-bloc__titre { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.reg-bloc__titre .i { width: 22px; height: 22px; color: var(--blue); }
.reg-bloc .btn { justify-self: start; }
.reg-actions { display: grid; gap: 6px; justify-items: start; }
.reg-danger { color: var(--red-ink); }
.cartes { display: grid; gap: 10px; }
.carte-ligne { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: var(--r-16); box-shadow: inset 0 0 0 1px var(--line); }
.carte-ligne.is-expiree { background: var(--red-50); box-shadow: inset 0 0 0 1px #F5C2C2; }
.carte-ligne .minicard { margin-top: 2px; }
.carte-ligne__txt { display: grid; gap: 4px; min-width: 0; }
.carte-ligne__titre { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.carte-ligne__usage { font-size: 15px; line-height: 1.45; }
.carte-ligne__actions { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; }
.carte-ligne__actions .btn-text { font-size: 15px; min-height: 36px; }
.carte-ligne__retirer { color: var(--text-2); }
.pastille { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: var(--blue-50); color: var(--blue); font-size: 13px; font-weight: 700; }
.pastille--rouge { background: #fff; color: var(--red-ink); box-shadow: inset 0 0 0 1px #F5C2C2; }
.recus { display: grid; }
.recu-ligne { display: grid; grid-template-columns: 1fr auto auto; gap: 6px 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.recu-ligne:last-of-type { border-bottom: 0; }
.recu-ligne.is-cache { display: none; }
.tuile__recus { display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid var(--line); }
.tuile__sous-titre { font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--text-2); }
.tuile__recus .recu-ligne { padding: 10px 0; }
.tuile__recus .btn-text { justify-self: start; margin-top: 4px; }
.recu-ligne__txt { display: grid; gap: 2px; min-width: 0; }
.recu-ligne__txt strong { font-size: 16px; line-height: 1.4; }
.recu-ligne__txt .muted { font-size: 14px; }
.recu-ligne__montant { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.btn-icone { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: var(--r-pill); color: var(--blue); font-weight: 700; font-size: 15px; box-shadow: inset 0 0 0 1.5px var(--blue-100); transition: background .15s; }
.btn-icone:hover { background: var(--blue-25); }
.btn-icone .i { width: 18px; height: 18px; }
@media (max-width: 480px) { .recu-ligne { grid-template-columns: 1fr auto; } .recu-ligne .btn-icone { grid-column: 1 / -1; justify-self: start; } }

/* ----- 12. Page d'un proche ----- */
.proche { padding-bottom: 48px; }
.pro-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--blue); color: #fff; padding: 18px 0 32px; }
.pro-hero::before { content: ""; position: absolute; z-index: -1; width: 380px; aspect-ratio: 1; right: -140px; bottom: -180px;
  background: url('img/senolo-symbole-blanc.svg') center / contain no-repeat; opacity: .07; }
.pro-hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 6px; background: var(--grad-band); }
.pro-hero__in { display: grid; gap: 22px; align-items: center; }
.crumb--blanc { color: #fff; opacity: .9; }
.crumb--blanc:hover { opacity: 1; color: #fff; }
.pro-hero__titre { font-size: clamp(32px, 6vw, 46px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin-top: 10px; overflow-wrap: anywhere; }
.pro-hero__etat { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 18px; line-height: 1.45; max-width: 52ch; }
.pro-hero__etat .i { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 2px; color: #fff !important; }
.pro-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }
.pro-hero__carte { max-width: 340px; width: 100%; }
.mini--grande { aspect-ratio: 1.6; padding: 22px 24px; border-radius: 24px; box-shadow: 0 20px 44px rgba(0, 10, 40, .35); transform: rotate(-2.5deg); }
.mini--grande .mini__nom { font-size: 30px; }
.mini--grande .mini__bas { font-size: 14px; }
@media (min-width: 900px) {
  .pro-hero { padding: 26px 0 52px; }
  .pro-hero__in { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; }
  .pro-hero__carte { justify-self: end; }
}
.pro-corps { padding-top: 26px; display: grid; gap: 22px; }
.pro-grille { display: grid; gap: 20px; }
@media (min-width: 900px) { .pro-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.frise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; background: #fff; border-radius: var(--r-24); box-shadow: var(--sh-1); padding: 18px 16px; }
.frise__pas { position: relative; display: grid; justify-items: center; text-align: center; gap: 8px; }
.frise__pas + .frise__pas::before { content: ""; position: absolute; top: 17px; right: calc(50% + 22px); width: calc(100% - 36px); height: 3px; border-radius: 3px; background: var(--line-2); }
.frise__pas.is-fait + .frise__pas::before { background: var(--green); }
.frise__n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #fff; color: var(--text-2); box-shadow: inset 0 0 0 2px var(--line-2); position: relative; z-index: 1; }
.frise__pas.is-fait .frise__n { background: var(--green); color: #fff; box-shadow: none; }
.frise__pas.is-fait .frise__n .i { width: 18px; height: 18px; stroke-width: 3; }
.frise__pas.is-encours .frise__n { background: var(--blue); color: #fff; box-shadow: 0 0 0 5px var(--blue-50); }
.frise__t { display: grid; gap: 2px; font-size: 14px; line-height: 1.35; }
.frise__t strong { font-size: 15px; }
.frise__t span { color: var(--text-2); }
@media (min-width: 720px) { .frise { padding: 22px 26px; } .frise__t strong { font-size: 16px; } }
.upsell { display: grid; gap: 12px; padding: 16px; border-radius: var(--r-16); background: var(--blue-25); box-shadow: inset 0 0 0 1px var(--blue-100); }
.upsell .btn { justify-self: start; }
.choix-carte { display: grid; gap: 8px; }
.carte-choix { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-16); box-shadow: inset 0 0 0 1.5px var(--line-2); background: #fff; text-align: left; transition: box-shadow .15s, background .15s; }
.carte-choix:hover { box-shadow: inset 0 0 0 1.5px var(--blue); background: var(--blue-25); }
.carte-choix__t { display: grid; gap: 2px; min-width: 0; }
.carte-choix__t .muted { font-size: 14px; }
.carte-choix__go { font-weight: 700; color: var(--blue); font-size: 15px; }
.carte-choix__plus { width: 46px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.carte-choix__plus .i { width: 18px; height: 18px; }
.mots { display: grid; gap: 10px; }
.mots .quote { margin: 0; padding: 14px 16px; border-radius: var(--r-16); background: var(--mint-50); border-left: 4px solid var(--green); font-size: 17px; line-height: 1.5; color: var(--text); }
.mots .quote cite { display: block; margin-top: 6px; font-style: normal; font-weight: 700; font-size: 15px; color: var(--green-ink); }
.histo { display: grid; }
.histo__ligne { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); color: inherit; }
.histo__ligne:last-child { border-bottom: 0; }
.histo__ligne:hover strong { color: var(--blue); }
.histo__t { display: grid; gap: 2px; }
.histo__t .muted { font-size: 15px; }
.reg-actions .btn-text, .btn-text:has(> .i) { display: inline-flex; align-items: center; gap: 8px; }

/* ----- 16. Nous écrire ----- */
.contact { padding-bottom: 48px; }
.contact-hero { display: grid; gap: 6px; }
.contact-hero__txt { font-size: 18px; line-height: 1.5; opacity: .92; max-width: 60ch; margin-top: 6px; }
.contact-corps { padding-top: 28px; display: grid; gap: 22px; align-items: start; }
@media (min-width: 960px) { .contact-corps { grid-template-columns: minmax(0, 1fr) 340px; } }
.contact-form { gap: 20px; }
.sujets { display: flex; flex-wrap: wrap; gap: 8px; }
.sujet { position: relative; }
.sujet input { position: absolute; opacity: 0; pointer-events: none; }
.sujet span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1.5px var(--line-2); background: #fff; font-weight: 600; cursor: pointer; transition: box-shadow .15s, background .15s, color .15s; }
.sujet span .i { width: 18px; height: 18px; color: var(--blue); }
.sujet:hover span { box-shadow: inset 0 0 0 1.5px var(--blue); }
.sujet input:checked + span { background: var(--blue); color: #fff; box-shadow: none; }
.sujet input:checked + span .i { color: #fff; }
.sujet input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-ok { justify-items: start; }
.contact-aide { background: var(--blue-25); border-radius: var(--r-24); box-shadow: inset 0 0 0 1px var(--blue-100); padding: 22px; display: grid; gap: 12px; }
.contact-aide ul { display: grid; gap: 12px; }
.contact-aide li { line-height: 1.5; font-size: 15px; }
select.input { appearance: auto; padding-right: 12px; }
.mot-merci { display: grid; gap: 10px; margin-top: 24px; padding: 18px; border-radius: var(--r-20); background: #fff; box-shadow: var(--sh-1); text-align: left; }
.mot-merci .btn { justify-self: start; }

/* Paiement en cours : le bandeau cookies ne doit pas couvrir la fenêtre 3-D Secure de la banque (voir V3.paiement.monter) */
html.v3-paiement #senolo-consent-banner { display: none !important; }

