/* Gwen'nails : site centré sur les formations ongulaires, l'institut en second. Pensé téléphone d'abord. */

@font-face { font-family: "Newsreader"; src: url("polices/newsreader-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("polices/newsreader-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("polices/newsreader-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("polices/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("polices/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("polices/jost-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: only light;
  --rasp: #a3134b;          /* framboise : boutons, titres forts */
  --rasp-d: #85103d;
  --rasp-soft: #c2416f;
  --rose: #f3c6d3;
  --blush: #fdf0f3;         /* fonds roses doux */
  --cream: #fffaf7;
  --plum: #4a1a2e;          /* titres */
  --ink: #2a1720;
  --muted: #6c5660;
  --gold: #8a6420;          /* attestation, petits surtitres */
  --line: #f0dfe4;
  --bord-champ: #8a7b84;    /* contour d'un champ, d'une case, d'un interrupteur : 4,0:1 sur blanc (3:1 au moins, WCAG 1.4.11) ; --line n'est que pour les filets */
  --white: #ffffff;
  --link: var(--rasp-d);
  --menu-bg: #fff;          /* menu du téléphone */
  --menu-ink: var(--ink);
  --menu-line: var(--line);    /* liens : la nuance foncée, lisible sur blanc comme sur rose */
  --shadow: 0 1px 2px rgba(163, 19, 75, .06), 0 14px 32px rgba(163, 19, 75, .10);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { background: #fff; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--rose) transparent; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); padding-bottom: 84px; caret-color: var(--rasp); }
::selection { background: var(--rose); color: var(--plum); }
a, button, input, select, textarea, label, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--rasp); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; color: var(--plum); line-height: 1.12; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--rasp); }
h3 { font-size: 1.1rem; font-weight: 600; }
p { text-wrap: pretty; }
p { margin: 0; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
/* Avec viewport-fit=cover, le texte, l'en-tête et le pied de page ne passent pas sous l'encoche d'un iPhone en paysage (l'ancienne marge reste pour un navigateur sans env()) */
.container { padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nb { white-space: nowrap; }   /* « Saint-Pierre », « e-mail » : le trait d'union normal ne coupe pas la ligne (le trait d'union insécable n'existe pas dans les polices du site) */

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 8px; height: 84px; }   /* le bloc du logo (56 px + 2 px + le sous-titre de 10 px) laisse 8 px d'air au-dessus et au-dessous */
.brand { margin-right: auto; text-decoration: none; display: flex; align-items: center; gap: 7px; }
.brand-txt { display: grid; line-height: 1; justify-items: center; }
.brand-nom { height: 56px; width: auto; }
.brand b { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.6rem; color: var(--rasp); white-space: nowrap; }
.brand small { font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 2px; padding-left: .2em; font-weight: 600; white-space: nowrap; }
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .94rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--rasp); background: var(--blush); }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; color: var(--plum); cursor: pointer; text-decoration: none; }
.icon-btn .count { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; border-radius: 999px; background: var(--rasp); color: #fff; font-size: .7rem; font-weight: 600; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.btn.head-book { display: none; }
.mobile-menu { display: none; border-top: 1px solid var(--menu-line); padding: 6px 20px 14px; background: var(--menu-bg); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--menu-line); color: var(--menu-ink); text-decoration: none; font-weight: 600; }
.mobile-menu a:last-child { border-bottom: 0; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--rasp); color: #fff; box-shadow: 0 10px 22px rgba(163, 19, 75, .25); }
.btn-primary:hover { background: var(--rasp-d); }
.btn-light { background: #fff; color: var(--rasp); border-color: var(--rose); }
.btn-light:hover { border-color: var(--rasp); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 600; text-decoration: none; color: var(--link); background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- Liens en forme de texte, messages d'un formulaire, blancs encore à remplir ---------- */
.linklike { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; line-height: 1.45; color: #6b4c00; background: #fff6e2; border: 1px solid #f0dca5; border-radius: 14px; padding: 10px 14px; }
.note .icon { width: 18px; height: 18px; margin-top: 1px; color: #b07d00; }
.illus { position: relative; }
.illus img { outline: 1px solid rgba(0, 0, 0, .08); outline-offset: -1px; }
.thumb { display: block; position: relative; flex: none; border-radius: 12px; overflow: hidden; }
.illus.sm::after { left: 4px; top: 4px; font-size: .625rem; padding: 2px 6px; }
.cart-item .illus::after { content: none; }   /* les photos du panier sont celles de la formatrice (ses produits) : pas d'étiquette */

/* ---------- Héros ---------- */
.hero { overflow: hidden; padding: 26px 0 36px; background:
  radial-gradient(520px 320px at 100% 0%, rgba(243, 198, 211, .65), transparent 70%),
  radial-gradient(420px 300px at 0% 55%, rgba(243, 198, 211, .45), transparent 70%),
  linear-gradient(180deg, var(--blush), #fff 92%); }
.hero-grid { display: grid; gap: 26px; align-items: center; }
/* Les fleurs de la cliente, sur le côté gauche de la bannière, comme sur son image */
.hero > .container { position: relative; z-index: 1; }
.hero::before { content: ""; position: absolute; z-index: 0; left: 0; bottom: 0; height: 290px; aspect-ratio: 526 / 1240; pointer-events: none;
  background: url("img/fleurs-cliente-leger.webp") no-repeat center / 100% 100%; }   /* téléphone : à côté de la photo */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--rasp); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rasp-soft); }
.hero h1 { font-size: clamp(2.05rem, 8.2vw, 3.5rem); margin: 16px 0 14px; }
.hero .lead { font-size: 1.07rem; color: var(--muted); max-width: 33em; }
.hero-cta { display: grid; gap: 12px; margin-top: 24px; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.rating b { color: var(--plum); font-size: 1.05rem; }
.hero-art { position: relative; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }
.petal { position: absolute; width: 90px; height: 90px; border-radius: 60% 40% 60% 40%; background: radial-gradient(circle at 35% 35%, #fbe0e8, #f3c6d3); opacity: .8; z-index: -1; }
.petal.p1 { top: -18px; right: -14px; transform: rotate(20deg); }
.petal.p2 { bottom: -16px; left: -12px; width: 64px; height: 64px; transform: rotate(-30deg); }

/* ---------- Bande « inclus » ---------- */
.perks { padding: 4px 0 10px; }
.perks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.perk { display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 12px; font-size: .92rem; font-weight: 500; color: var(--plum); line-height: 1.3; }
.perk .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--blush); color: var(--rasp); display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-soft { background: linear-gradient(180deg, var(--blush), var(--cream)); }
.section-head { max-width: 680px; margin-bottom: 26px; }
.kicker { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.12rem; color: var(--gold); }
.section-head h2 { font-size: clamp(1.9rem, 6.4vw, 2.7rem); margin: 8px 0 10px; }
.section-head p { color: var(--muted); font-size: 1.03rem; }
.fine { font-size: .875rem; color: var(--muted); margin-top: 12px; }

/* ---------- Cartes formations ---------- */
.f-cards { display: grid; gap: 18px; }
.f-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(163, 19, 75, .04); transition: box-shadow .2s ease, transform .2s ease; }
.f-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.f-card .media { aspect-ratio: 16 / 11; overflow: hidden; border-bottom: 1px solid var(--line); }
.f-card .media img { width: 100%; height: 100%; object-fit: cover; }
.f-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; flex: 1; }
.f-card h2, .f-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--plum); }
.f-card .meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; align-items: baseline; color: var(--muted); font-size: .95rem; }
.f-card .meta b { font-family: var(--serif); color: var(--rasp); font-size: 1.35rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.f-card .btn { margin-top: auto; }
.f-card .meta { margin-bottom: 6px; }
.f-card[hidden] { display: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; margin-bottom: 18px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--plum); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--rasp); border-color: var(--rasp); color: #fff; }

/* ---------- Parcours (étapes) ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px 28px; counter-reset: s; }
.journey li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; padding: 6px 0; }
.journey li::before { content: counter(s); flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--rasp); color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.journey p { color: var(--muted); font-size: .92rem; }

/* ---------- Institut (secondaire) ---------- */
.split { display: grid; gap: 22px; align-items: center; }
.split .media { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.split .media img { width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; }
.split .body { display: grid; gap: 12px; }
.split .body p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .8rem; font-weight: 600; color: var(--link); background: var(--blush); border-radius: 999px; padding: 5px 11px; }

/* ---------- Avis ---------- */
.reviews { background: linear-gradient(135deg, var(--rasp), #c2416f); color: #fff; border-radius: 28px; padding: 34px 24px; display: grid; gap: 14px; text-align: center; justify-items: center; }
.reviews .score { font-family: var(--serif); font-size: 3.8rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.reviews .score small { font-family: var(--sans); font-size: 1rem; color: #fde3eb; font-weight: 500; }
.reviews h2 { color: #fff; font-size: 1.7rem; }
.reviews p { color: #fde3eb; }
.reviews .btn-light { border-color: transparent; }

/* ---------- Contact, horaires ---------- */
.visit { display: grid; gap: 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.visit .panel-h { font-family: var(--sans); letter-spacing: normal; }   /* « Horaires » est un titre de niveau 2 (il suit le titre de la page) mais garde l'allure qu'il avait en niveau 3 */
.panel h3, .panel-h { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin-bottom: 12px; flex-wrap: wrap; color: var(--plum); }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th { text-align: left; font-weight: 600; color: var(--ink); padding: 9px 0; width: 34%; }
.hours td { text-align: right; color: var(--muted); padding: 9px 0; font-variant-numeric: tabular-nums; }
.hours tr + tr { border-top: 1px solid var(--line); }
.hours .closed td { color: var(--rasp); font-weight: 600; }
.addr { display: grid; gap: 14px; align-content: start; }
.addr-line { display: flex; gap: 12px; align-items: flex-start; }
.addr-line .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--blush); color: var(--rasp); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.addr-line small { display: block; color: var(--muted); font-size: .8rem; }
.addr-line b, .addr-line a, .addr-line .linklike { color: var(--plum); font-weight: 600; text-decoration: none; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--plum); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--bord-champ); background: #fff; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23a3134b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(163, 19, 75, .18); outline-offset: 0; border-color: var(--rasp); }
.field input::placeholder, .field textarea::placeholder, .promo input::placeholder { color: #7b6d76; }
.row-2 { display: grid; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; }
/* Cases à cocher et boutons radio dessinés aux couleurs du site */
input[type="checkbox"], input[type="radio"] { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 2px solid var(--bord-champ); background: #fff; display: inline-grid; place-content: center; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
input[type="checkbox"] { border-radius: 7px; }
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]::before { content: ""; width: 12px; height: 12px; background: #fff; transform: scale(0); transition: transform .15s ease; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%); }
input[type="radio"]::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .15s ease; }
input[type="checkbox"]:checked, input[type="radio"]:checked { background: var(--rasp); border-color: var(--rasp); }
input[type="checkbox"]:checked::before, input[type="radio"]:checked::before { transform: scale(1); }
input[type="checkbox"]:hover, input[type="radio"]:hover { border-color: var(--rasp); }

/* ---------- Pages internes ---------- */
.page-head { padding: 24px 0 26px; background: radial-gradient(520px 300px at 100% 0%, rgba(243, 198, 211, .55), transparent 70%), linear-gradient(180deg, var(--blush), #fff); }
.crumbs { font-size: .85rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; margin: 0 -6px; }  /* zone à toucher ≥ 44 px */
footer a[href="https://mbadsystems.com"] { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; }
.page-head h1 { font-size: clamp(2.1rem, 8vw, 3.2rem); margin: 12px 0 10px; }
.page-head p { color: var(--muted); font-size: 1.04rem; max-width: 40em; }

/* Fiche formation */
.fiche-sec { padding-top: 18px; background: linear-gradient(180deg, var(--blush), #fff 320px); }
.fiche-sec .crumbs { margin-bottom: 16px; }
.fiche { display: grid; gap: 22px; }
.fiche > *, .book > *, .cart > *, .student > * { min-width: 0; }
.fiche .gallery { display: grid; gap: 10px; }
.fiche .gallery .main { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.fiche .gallery .main img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.fiche .gallery .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fiche .gallery .thumbs span { aspect-ratio: 1; border-radius: 14px; border: 2px dashed #e7b54a; background: #fffbf1; color: #7a5200; font-size: .72rem; font-weight: 600; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px; }
.fiche h1 { font-size: clamp(2rem, 7.6vw, 2.8rem); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 10px 0 4px; }
.price-line .price { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--rasp); }
.price-line .dur { color: var(--muted); font-weight: 600; }
.incl { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 8px; }
.incl li { display: flex; gap: 10px; align-items: center; font-size: .96rem; }
.incl .icon { color: var(--rasp); width: 18px; height: 18px; }
.dates { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.date-pill { font-size: .86rem; font-weight: 600; color: var(--rasp); background: var(--blush); border-radius: 999px; padding: 6px 12px; }
.fiche-actions { display: grid; gap: 10px; margin-top: 6px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.tabs button { flex: none; font: inherit; font-weight: 600; font-size: .92rem; color: var(--muted); background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 14px; min-height: 48px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--rasp); border-bottom-color: var(--rasp); }
.tabpanel { padding: 18px 2px 4px; display: grid; gap: 10px; color: var(--muted); }
.tabpanel[hidden] { display: none; }

/* Parcours de réservation */
.stepper { list-style: none; margin: 18px 0 20px; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.stepper li { flex: none; display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.stepper li .n { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--rose); color: var(--rasp); display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; background: #fff; }
.stepper li.done .n { background: var(--rasp); border-color: var(--rasp); color: #fff; }
.stepper li.now { color: var(--plum); }
.stepper li.now .n { border-color: var(--rasp); }
.stepper li + li::before { content: ""; width: 14px; height: 2px; background: var(--rose); border-radius: 2px; }
@media (max-width: 639px) { .stepper { justify-content: space-between; } .stepper li:not(.now) .lbl { display: none; } }
.book { display: grid; gap: 18px; padding-bottom: 40px; }
.book-step[hidden] { display: none; }
.book-step h2 { font-size: clamp(1.6rem, 5.6vw, 2.1rem); margin-bottom: 14px; }
.slots { display: grid; gap: 10px; }
.slot { display: flex; align-items: center; gap: 12px; border: 2px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; background: #fff; }
.slot:has(input:checked) { border-color: var(--rasp); box-shadow: 0 0 0 4px rgba(163, 19, 75, .1); }
.slot input { width: 20px; height: 20px; accent-color: var(--rasp); margin: 0; flex: none; }
.slot b { color: var(--plum); display: block; }
.slot span { font-size: .86rem; color: var(--muted); }
.contract { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--cream); display: grid; gap: 8px; font-size: .92rem; color: var(--muted); }
.contract b { color: var(--plum); }
.sign-box { position: relative; border: 2px dashed var(--rose); border-radius: 16px; background: #fff; height: 150px; touch-action: none; }
.sign-box canvas { width: 100%; height: 100%; display: block; border-radius: 14px; cursor: crosshair; }
.sign-box .hint { position: absolute; inset: auto 0 10px 0; text-align: center; font-size: .8rem; color: var(--muted); pointer-events: none; }
.sign-clear { justify-self: end; font: inherit; font-size: .85rem; font-weight: 600; color: var(--rasp); background: none; border: 0; cursor: pointer; padding: 8px; }
.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; align-items: center; gap: 12px; border: 2px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; background: #fff; }
.pay-option:has(input:checked) { border-color: var(--rasp); box-shadow: 0 0 0 4px rgba(163, 19, 75, .1); }
.pay-option input { width: 20px; height: 20px; accent-color: var(--rasp); margin: 0; flex: none; }
.pay-option b { color: var(--plum); display: block; }
.pay-option span { font-size: .86rem; color: var(--muted); }
.split-pay { display: flex; gap: 8px; margin-top: 8px; }
.split-pay button { font: inherit; font-weight: 600; min-width: 64px; min-height: 44px; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--plum); cursor: pointer; }
.split-pay button[aria-pressed="true"] { border-color: var(--rasp); color: var(--rasp); background: var(--blush); }
.summary { display: grid; gap: 12px; align-content: start; }
.summary-item { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; }
.summary-item img { width: 84px; height: 64px; object-fit: cover; border-radius: 12px; }
[data-book-aside][hidden], [data-f-warn][hidden] { display: none; }
.summary-item b { color: var(--plum); display: block; line-height: 1.25; }
.summary-item span { font-size: .85rem; color: var(--muted); }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.lines li { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.lines .total { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; color: var(--plum); font-size: 1.05rem; }
.step-nav { display: grid; gap: 10px; margin-top: 18px; }
.done-box { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 26px 18px; }
.done-box .ok { width: 76px; height: 76px; border-radius: 50%; background: var(--rasp); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 12px var(--blush); }
.done-box .ok .icon { width: 38px; height: 38px; stroke-width: 2.6; }

/* Panier */
.cart { display: grid; gap: 18px; padding-bottom: 40px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 84px; height: 72px; object-fit: cover; border-radius: 12px; }
.cart-item b { color: var(--plum); display: block; }
.cart-item .sub { font-size: .875rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; margin-top: 8px; }
.qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.2rem; font-weight: 600; color: var(--rasp); cursor: pointer; }
.qty output { min-width: 26px; text-align: center; font-weight: 600; }
.promo { display: flex; gap: 8px; }
.promo[hidden] { display: none; }   /* Sans cette règle, display:flex l'emporte sur l'attribut hidden et le formulaire du code promo (qui ne fait rien) s'affichait */
.promo input { flex: 1; min-width: 0; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--bord-champ); padding: 0 12px; font: inherit; }
.promo button { min-height: 46px; padding: 0 16px; border-radius: 12px; border: 0; background: var(--plum); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }

/* Espace élève */
.student { display: grid; gap: 18px; padding-bottom: 40px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--blush); border-radius: 999px; padding: 5px; }
.seg button { font: inherit; font-weight: 600; font-size: .9rem; min-height: 42px; border: 0; border-radius: 999px; background: none; color: var(--muted); cursor: pointer; }
.seg button[aria-selected="true"] { background: #fff; color: var(--rasp); box-shadow: 0 2px 8px rgba(163, 19, 75, .12); }
.course { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.course img { width: 96px; height: 80px; object-fit: cover; border-radius: 14px; }
.course b { color: var(--plum); display: block; font-size: 1.05rem; }
.course span { font-size: .86rem; color: var(--muted); display: block; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; }
.docs li + li { border-top: 1px solid var(--line); }
.docs a, .docs .linklike { display: flex; width: 100%; align-items: center; gap: 12px; padding: 13px 2px; text-decoration: none; text-align: left; color: var(--ink); font-weight: 500; }
.docs a .ico, .docs .linklike .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--blush); color: var(--rasp); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.docs a .arr, .docs .linklike .arr { margin-left: auto; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 22px 10px; }

/* Attestation */
.cert-wrap { display: grid; gap: 16px; padding-bottom: 40px; justify-items: center; }
.cert { width: 100%; max-width: 620px; background: #fffdf9; border-radius: 22px; padding: 34px 26px 28px; text-align: center; position: relative; overflow: hidden;
  border: 1px solid #ecd9c0; box-shadow: var(--shadow); }
.cert::before, .cert::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(243, 198, 211, .7), transparent 70%); }
.cert::before { top: -70px; left: -60px; }
.cert::after { bottom: -80px; right: -60px; }
.cert > * { position: relative; }
.cert .stamp { position: absolute; top: 26px; right: -38px; transform: rotate(32deg); background: #ffefc2; color: #7a5200; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; padding: 6px 44px; z-index: 2; }
.cert-logo { display: grid; justify-items: center; gap: 0; }
.cert-logo img { height: 150px; width: auto; margin-bottom: 4px; mix-blend-mode: multiply; }
.cert-logo b { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.7rem; color: var(--rasp); line-height: 1.1; }
.cert h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); color: var(--gold); letter-spacing: .06em; text-transform: uppercase; margin: 10px 0 6px; }
.cert .who { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--plum); margin: 4px 0; }
.cert .what { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--plum); margin: 6px 0; }
.cert p { color: var(--muted); font-size: .92rem; }
.cert .sign { margin-top: 18px; display: grid; justify-items: center; gap: 2px; font-size: .82rem; color: var(--muted); }
.cert .sign i { font-family: var(--serif); font-size: 1.6rem; color: var(--plum); }
.cert-actions { display: grid; gap: 10px; width: 100%; max-width: 620px; }

/* Tarifs institut */
.cat-nav { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 2px; margin-top: 16px; scrollbar-width: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--rasp); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; }
.cats { display: grid; gap: 22px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; scroll-margin-top: 100px; }
.cat-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--blush); }
.cat-head .ico { width: 42px; height: 42px; border-radius: 14px; background: #fff; color: var(--rasp); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cat-head h2 { font-size: 1.5rem; }
.cat-head p { font-size: .85rem; color: var(--muted); }
.price-list { list-style: none; margin: 0; padding: 4px 20px 8px; }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 13px 0; }
.price-list li + li { border-top: 1px dashed var(--line); }
.price-list b { font-weight: 600; color: var(--ink); }
.price-list small { color: var(--muted); font-size: .82rem; grid-column: 1; }
.price-list .price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 600; color: var(--rasp); white-space: nowrap; }

/* ---------- Pied de page ---------- */
.site-footer { background: #3a1426; color: #f0d6df; padding: 44px 0 26px; }
.footer-grid { display: grid; gap: 26px; }
.logo-badge { display: inline-block; background: #fffaf7; border-radius: 22px; padding: 12px 16px; margin-bottom: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.logo-badge img { height: 128px; width: auto; display: block; mix-blend-mode: multiply; }
.footer-brand b { font-family: var(--serif); font-style: italic; font-weight: 600; color: #fff; font-size: 1.8rem; display: block; }
.footer-brand p { margin-top: 6px; font-size: .92rem; }
.site-footer .foot-h { margin: 0 0 8px; color: #fff; font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: .93rem; }
.site-footer li { padding: 0; min-height: 40px; display: flex; align-items: center; }
.site-footer a, .site-footer .linklike { color: #fbe9ef; text-decoration: none; padding: 8px 0; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .84rem; color: #d3aebb; }

/* ---------- Barre collée en bas (téléphone) ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(163, 19, 75, .08); }
.sticky-cta .btn { min-height: 50px; padding: 0 12px; font-size: .98rem; }
body.no-sticky { padding-bottom: 0; }


/* ---------- Pages légales ---------- */
.legal-sec { padding-top: 26px; }
.legal { display: grid; gap: 12px; }
.legal > * { max-width: 46rem; }
.legal h2 { font-size: 1.5rem; margin-top: 14px; }
.formulaire-type { border: 1.5px solid var(--bord-champ); border-radius: 14px; background: #fff; padding: 18px 20px; margin: 14px 0 8px; }   /* le formulaire type de rétractation des conditions de vente : un cadre à remplir, à imprimer */
.formulaire-type p { margin: 0 0 .9em; }
.formulaire-type p:last-child { margin-bottom: 0; }
@media print { .formulaire-type { break-inside: avoid; } }
.legal p, .legal li { color: var(--muted); }
.legal .lead-p { font-size: 1.1rem; color: var(--ink); }
.legal-list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.legal .linklike { color: var(--link); }

/* ---------- Boutons de choix (à la place des menus déroulants) ---------- */
fieldset.choices { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.choices legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: .92rem; color: var(--plum); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--bord-champ); background: #fff; color: var(--plum); font-weight: 500; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.choice:hover span { border-color: var(--rasp); }
.choice input:checked + span { background: var(--rasp); border-color: var(--rasp); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--rasp); outline-offset: 2px; }
.section-head.center { text-align: center; margin-inline: auto; }

/* ---------- Finitions ---------- */
b, strong { font-weight: 600; }
.sub-h { font-size: 1.35rem; margin: 20px 0 6px; }
.price, .lines, .price-list .price, .date-pill { font-variant-numeric: tabular-nums; }
.site-footer .linklike:hover { text-decoration: underline; }

/* Une seule animation, à l'ouverture de la page : le haut de page apparaît doucement */
@keyframes monte { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes eclot { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.hero-grid > div:first-child > *, .page-head .container > * { animation: monte .7s var(--ease) both; }
.hero-grid > div:first-child > :nth-child(2), .page-head .container > :nth-child(2) { animation-delay: .08s; }
.hero-grid > div:first-child > :nth-child(3), .page-head .container > :nth-child(3) { animation-delay: .16s; }
.hero-grid > div:first-child > :nth-child(n+4), .page-head .container > :nth-child(n+4) { animation-delay: .24s; }
.hero-art { animation: eclot .9s var(--ease) .1s both; }
.fiche > *, .cert-wrap > * { animation: monte .7s var(--ease) both; }
.fiche > :nth-child(2), .cert-wrap > :nth-child(2) { animation-delay: .1s; }

/* ---------- Pour qui a coupé les animations ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ================= Tablette / ordinateur ================= */
@media (min-width: 640px) {
  .hero::before { top: 50%; bottom: auto; height: min(100%, 620px); transform: translateY(-50%); }
  .hero > .container { padding-left: max(20px, calc(150px - max(0px, (100vw - 1140px) / 2))); }   /* le texte commence après les fleurs */
  .hero-cta, .step-nav { display: flex; flex-wrap: wrap; gap: 12px; }
  .row-2 { grid-template-columns: 1fr 1fr; }
  .perks-grid { grid-template-columns: repeat(4, 1fr); }
  .f-cards { display: flex; flex-wrap: wrap; justify-content: center; }
  .f-cards > .f-card { flex: 0 1 calc(50% - 9px); }
  .journey { grid-template-columns: 1fr 1fr; }
  .fiche-actions { grid-template-columns: 1fr 1fr; }
  .cert-actions { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .header-inner { height: 96px; gap: 10px; }
  .brand b { font-size: 1.9rem; }
  .brand-nom { height: 70px; }
  .nav { display: flex; gap: 2px; margin-right: 8px; }
  .menu-btn, .mobile-menu, .mobile-menu.open { display: none; }
  .btn.head-book { display: inline-flex; min-height: 46px; padding: 0 20px; }
  .hero { padding: 54px 0 70px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero .hero-cta .btn { padding: 0 20px; }
  .section { padding: 80px 0; }
  .f-cards > .f-card { flex-basis: calc((100% - 36px) / 3); }  /* cinq formations : trois puis deux, centrées */
  .journey { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .reviews { padding: 46px 48px; gap: 16px; }
  .visit { grid-template-columns: 1.15fr 1fr; grid-template-rows: auto 1fr; align-items: start; }
  .visit > :first-child { grid-row: span 2; }
  .contact-form { max-width: 760px; margin-inline: auto; }
  .f-card h2, .f-card h3 { min-height: 2.3em; display: flex; align-items: center; justify-content: center; }
  .fiche { grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
  .fiche .tabs-wrap { grid-column: 1 / -1; }
  .book { grid-template-columns: 1.4fr .9fr; gap: 28px; align-items: start; }
  .book aside { position: sticky; top: 110px; }
  .cart { grid-template-columns: 1.4fr .9fr; gap: 28px; align-items: start; }
  .student { grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; }
  .cats { display: block; columns: 2; column-gap: 22px; }
  .cats .cat { break-inside: avoid; margin-bottom: 22px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

/* ---------- Ce qui reste à remplir : surligné, pour qu'il ne passe jamais inaperçu (un contrôle automatique les compte) ---------- */
.a-remplacer { padding: 1px 8px; background: #fff3b0; color: #5a4300; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- L'avant / après au curseur. Caché tant que les deux photos manquent. ---------- */
.avant-apres[hidden] { display: none !important; }
.compare-fig { margin: 0 auto; max-width: 520px; }
.compare { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--blush); border-radius: 18px; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .apres { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .poignee { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; pointer-events: none; }
.compare .poignee span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--plum); display: grid; place-items: center; box-shadow: 0 2px 12px rgba(14, 11, 13, .3); }
.compare .poignee svg { width: 22px; height: 22px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare input:focus-visible + .poignee span { outline: 3px solid var(--rasp); outline-offset: 3px; }
.compare .coin { position: absolute; top: 14px; padding: 5px 12px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: rgba(14, 11, 13, .8); color: #fff; border-radius: 999px; pointer-events: none; }
.compare .coin-avant { left: 14px; }
.compare .coin-apres { right: 14px; }

/* ---------- L'arrivée des blocs (arrive.css) ne doit pas effacer le petit soulèvement d'une carte au survol ---------- */
.js .f-card.arrive.vu:hover { transform: translateY(-2px); transition-duration: .25s; transition-delay: 0s; }

/* ---------- La cascade du PREMIER ÉCRAN tient en une seconde environ ----------
   arrive.css suit les enfants d'une rangée à 0,18 s d'écart : 4 enfants font 4 x 0,18 + 0,9 = 1,6 s. Les deux rangées de 4 qui sont
   à l'écran dès le chargement (le bandeau sous le héros de l'accueil, les cartes sous l'en-tête des formations) portent data-ecart="court" : 0,06 s
   d'écart, soit 4 x 0,06 + 0,9 = 1,1 s. Les autres rangées gardent l'écart d'arrive.css, qui n'est pas touché. */
.js [data-cascade][data-ecart="court"] > .arrive { transition-delay: calc(var(--i, 0) * .06s); }
.js [data-cascade][data-ecart="court"] > .f-card.arrive.vu:hover { transition-delay: 0s; }

/* ---------- Les sessions lues en base, la réservation, et les pages que le Worker écrit (lien du mail, espace de la gérante) ---------- */
a.date-pill { text-decoration: none; }
a.date-pill--ouverte:hover { background: var(--rasp); color: #fff; }
.date-pill--pleine { color: var(--muted); background: #efe9ec; }
.date-note { font-size: .9rem; color: var(--muted); margin: 6px 0 12px; }
.slot-ferme { background: #faf6f8; cursor: not-allowed; }
.slot-ferme input, .slot-ferme b { cursor: not-allowed; opacity: .7; }
.srv .container { max-width: 760px; }
.srv-panel { display: grid; gap: 14px; }
.srv-panel > * { margin: 0; }
.srv-recap { padding-bottom: 6px; }
.srv-pdf { width: 100%; height: 480px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.contract small { font-size: .78rem; }
.contract code { word-break: break-all; font-size: .78rem; }
.srv-bloc { display: grid; gap: 12px; margin-bottom: 30px; }
.srv-bloc h2 { font-size: 1.5rem; }
table.liste { width: 100%; border-collapse: collapse; font-size: .92rem; }
.liste th, .liste td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.liste th { color: var(--plum); font-size: .82rem; }
.liste small { color: var(--muted); }
.site-footer p { margin: 0 0 6px; }

/* ---------- Le panier de la boutique, le paiement des formations, la page de paiement remise aux couleurs du site ---------- */
.qty input { width: 3.2rem; height: 40px; border: 0; background: none; text-align: center; font: inherit; font-weight: 600; color: var(--plum); padding: 0; appearance: textfield; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-item .thumb:empty { display: block; min-height: 72px; background: var(--blush); border-radius: 12px; }
.pay-plan { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.pay-plan h4 { margin: 0 0 6px; color: var(--plum); }
.pay-steps { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: .92rem; }
.pay-steps small { display: block; color: var(--muted); }
.srv-arret { margin-top: 8px; display: grid; gap: 8px; }
.srv-arret .consent { font-size: .85rem; }
.srv-panel label { display: block; margin: 8px 0; }
.srv-panel input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]) { display: block; width: 100%; max-width: 420px; padding: 10px 12px; margin-top: 4px; border: 1.5px solid var(--bord-champ); border-radius: 12px; font: inherit; }
.srv-panel .anti-robot { margin-bottom: 14px; }   /* la case anti-robot au-dessus du bouton de la page de connexion */
.srv-panel form > button[type="submit"]:not(.btn) { margin-top: 12px; border: 0; border-radius: 999px; background: var(--rasp); color: #fff; font-weight: 600; cursor: pointer; }
.srv-panel table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.srv-panel th, .srv-panel td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }

/* La galerie des photos de la cliente (formations.html) et les photos sous l'image d'une fiche */
.galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .galerie { grid-template-columns: repeat(4, 1fr); } }
.galerie img, .fiche .gallery .thumbs img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; display: block; }

/* Au téléphone, les cinq cartes de formation en cartes compactes, la photo à gauche, sans rien retirer (l'accueil
   tient en 8 écrans) */
@media (max-width: 599px) {
  .f-cards { gap: 12px; }
  .f-card { flex-direction: row; border-radius: 18px; }
  .f-card .media { flex: 0 0 116px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .f-card .body { padding: 12px 14px; align-items: flex-start; text-align: left; gap: 4px; }
  .f-card h2, .f-card h3 { font-size: 1.18rem; line-height: 1.2; }
  .f-card .meta { justify-content: flex-start; margin-bottom: 2px; font-size: .88rem; }
  .f-card .meta b { font-size: 1.12rem; }
  .f-card .body > p:not(.meta) { font-size: .84rem; line-height: 1.4; }
  .f-card .btn { min-height: 44px; padding: 10px 16px; font-size: .9rem; margin-top: 6px; }
  .f-card .btn-block { width: auto; }
}

/* La légende de la composition du kit (sa source) : discrète. */
.kit { margin: 0; }
.kit figcaption { font-size: .85em; opacity: .75; margin-top: .25em; }
.kit cite { font-style: normal; }

/* La note Google de l’accueil : « /5 » plus petit. */
.reviews .sur5 { font-size: .45em; margin-left: .1em; opacity: .8; }
.reviews cite { display: block; font-style: normal; font-size: .85em; opacity: .75; margin-top: .25em; }
