/* Forma System, centre de formation technique (Martinique, Guadeloupe). Pensé téléphone d'abord. */

@font-face { font-family: "Lexend"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("polices/lexend-latin.woff2") format("woff2"); }

:root {
  --plum: #0b2a57;          /* bleu nuit du logo : titres, boutons */
  --plum-d: #081f42;
  --berry: #1470c4;         /* bleu vif : liens, accents */
  --cyan: #19b0e6;          /* le cyan du logo */
  --orange: #f39200;        /* l'orange du logo */
  --grad: linear-gradient(90deg, #19b0e6, #1470c4 45%, #f39200 80%, #f7c600);
  --rose: #b9cbe8;
  --blush: #eaf1fb;
  --nude: #e8f0fc;          /* fond bleu clair */
  --gold: #8a5a00;          /* ambre foncé, lisible en petit */
  --amber: #f5b301;         /* jaune électrique : bouton Appeler */
  --amber-d: #e0a100;
  --ink: #121a2b;
  --muted: #55607a;
  --line: #e2e8f2;
  --white: #ffffff;
  --shadow: 0 1px 2px rgba(15, 35, 71, .06), 0 12px 30px rgba(15, 35, 71, .12);
  --serif: "Lexend", "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif; /* titres */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: only light;
}

* { box-sizing: border-box; }
html { background: #ffffff; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
a, button, summary, [role=button] { touch-action: manipulation; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--white); padding-bottom: 84px;
}
img { max-width: 100%; display: block; }
a { color: var(--berry); }
h1, h2, h3 { margin: 0; color: var(--plum); line-height: 1.12; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .95);
  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: 10px; height: 66px; }
.brand { margin-right: auto; text-decoration: none; display: grid; line-height: 1; }
.brand b { font-family: var(--serif); font-weight: 800; font-size: 1.45rem; color: var(--plum); letter-spacing: .01em; white-space: nowrap; text-transform: uppercase; }
.brand b span { color: var(--berry); }
.brand small { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 4px; font-weight: 700; }
.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(--plum); background: var(--blush); }
.icon-btn {
  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;
}
.btn.head-book { display: none; }
.icon-btn.head-call { display: none; }
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 6px 20px 14px; background: #fff; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--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: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--plum); color: #fff; box-shadow: 0 10px 22px rgba(15, 35, 71, .25); }
.btn-amber { background: var(--amber); color: #1a1300; box-shadow: 0 10px 22px rgba(245, 179, 1, .32); }
.btn-amber:hover { background: var(--amber-d); }
.btn-primary:hover { background: var(--plum-d); }
.btn-light { background: #fff; color: var(--plum); border-color: var(--rose); }
.btn-light:hover { border-color: var(--plum); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--berry); }

/* ---------- À compléter ---------- */
.todo-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .66rem; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: #7a5200; background: #ffefc2; border-radius: 999px; padding: 4px 9px; font-family: var(--sans);
}
.todo { border: 2px dashed #e7b54a; background: #fffbf1; border-radius: 18px; padding: 18px; }
.todo-inline {
  display: inline-block; border: 1.5px dashed #e7b54a; background: #fffbf1; color: #7a5200;
  border-radius: 8px; padding: 0 8px; font-weight: 700; font-size: .88em; font-family: var(--sans); white-space: nowrap;
}
.illus { position: relative; }
.illus::after {
  content: "Photo d'illustration"; position: absolute; left: 12px; top: 12px;
  font-size: .68rem; font-weight: 700; letter-spacing: .03em; color: #fff; background: rgba(11, 24, 48, .6);
  padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}

/* ---------- Héros ---------- */
.hero { background: radial-gradient(760px 420px at 0% 35%, rgba(29, 95, 191, .16), transparent 62%), radial-gradient(700px 360px at 90% 0%, rgba(245, 179, 1, .16), transparent 65%), linear-gradient(180deg, #e3edfb, #f2f6fd 70%, #fff); padding: 26px 0 36px; }
.hero-grid { display: grid; gap: 26px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: var(--berry); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.hero h1 { font-size: clamp(2.1rem, 8vw, 3.2rem); margin: 16px 0 14px; }
.hero h1 em { font-style: normal; color: var(--berry); }
.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: 28px; box-shadow: var(--shadow); }
.hero-art .illus::after { left: 14px; top: 14px; }

/* ---------- Bande infos ---------- */
.facts { padding: 6px 0 4px; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: grid; gap: 8px; }
.fact .ico { width: 38px; height: 38px; border-radius: 12px; background: var(--blush); color: var(--plum); display: inline-flex; align-items: center; justify-content: center; }
.fact strong { color: var(--plum); font-size: .95rem; line-height: 1.25; }
.fact span { color: var(--muted); font-size: .83rem; line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-soft { background: radial-gradient(900px 380px at 100% 0%, rgba(29, 95, 191, .10), transparent 60%), var(--nude); }
.section-head { max-width: 660px; margin-bottom: 26px; }
.kicker { font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.section-head h2 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin: 8px 0 10px; }
.section-head p { color: var(--muted); font-size: 1.03rem; }
.fine { font-size: .78rem; color: var(--muted); margin-top: 12px; }

/* Deux métiers */
.duo { display: grid; gap: 18px; }
.duo-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(107, 42, 69, .04); }
.duo-card .media { aspect-ratio: 16 / 10; overflow: hidden; }
.duo-card .media img { width: 100%; height: 100%; object-fit: cover; }
.duo-card .body { padding: 22px; display: grid; gap: 10px; }
.duo-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }
.duo-card p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .8rem; font-weight: 600; color: var(--plum); background: var(--blush); border-radius: 999px; padding: 5px 11px; }

/* Prestations phares */
.top-list { display: grid; gap: 10px; }
.top-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: baseline; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.top-item b { color: var(--ink); font-weight: 700; }
.top-item small { grid-column: 1; color: var(--muted); font-size: .82rem; }
.top-item .price { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 800; color: var(--plum); font-size: 1.05rem; white-space: nowrap; }
.top-actions { display: grid; gap: 12px; margin-top: 20px; }

/* Avis */
.reviews { background: linear-gradient(135deg, var(--plum), #1b3a73); color: #fff; border-radius: 28px; padding: 30px 24px; display: grid; gap: 18px; text-align: center; justify-items: center; }
.reviews .score { font-family: var(--serif); font-size: 3.6rem; line-height: 1; color: #fff; }
.reviews .score small { font-family: var(--sans); font-size: 1rem; color: #f3d5dc; font-weight: 600; }
.reviews p { color: #f3d5dc; }
.reviews .btn-light { border-color: transparent; }

/* Horaires & adresse */
.visit { display: grid; gap: 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.panel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 12px; flex-wrap: wrap; }
.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(--berry); font-weight: 600; }
.addr { display: grid; gap: 14px; }
.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(--plum); 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 { color: var(--plum); font-weight: 700; text-decoration: none; }
.map-card {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background:
    repeating-linear-gradient(28deg, transparent 0 46px, rgba(29, 95, 191, .14) 46px 50px),
    repeating-linear-gradient(-62deg, transparent 0 70px, rgba(255, 255, 255, .9) 70px 78px),
    linear-gradient(135deg, #eef3fa, #e7eef8);
  min-height: 170px; display: grid; place-items: center; position: relative;
}
.map-card .pin { margin-bottom: 30px; width: 46px; height: 46px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--plum); box-shadow: 0 8px 18px rgba(15, 35, 71, .3); display: grid; place-items: center; }
.map-card .pin::after { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.map-card .label { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: #fff; border-radius: 999px; padding: 4px 12px; font-size: .78rem; font-weight: 700; color: var(--plum); white-space: nowrap; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }

/* Formulaires */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; 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 #d3dcea; background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(29, 95, 191, .18); border-color: var(--berry); }
.row-2 { display: grid; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--plum); flex: none; }

/* ---------- Page tarifs ---------- */
.page-head { background: linear-gradient(180deg, #e3edfb, #fff); padding: 26px 0 26px; }
.crumbs { font-size: .85rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.page-head h1 { font-size: clamp(2.1rem, 7.6vw, 3.2rem); margin: 12px 0 10px; }
.page-head p { color: var(--muted); font-size: 1.04rem; max-width: 40em; }
.source-note { display: inline-flex; gap: 8px; align-items: flex-start; line-height: 1.45; margin-top: 14px; font-size: .84rem; color: #6b4c00; background: #fff6e2; border: 1px solid #f0dca5; border-radius: 12px; padding: 8px 12px; }
.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: 700; color: var(--plum); 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: 90px; }
.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(--plum); 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: 650; 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: 800; color: var(--plum); white-space: nowrap; }
.cat-foot { padding: 0 20px 18px; }

/* ---------- Page formations ---------- */
.f-hero { background: radial-gradient(760px 420px at 0% 35%, rgba(29, 95, 191, .16), transparent 62%), radial-gradient(700px 360px at 90% 0%, rgba(245, 179, 1, .14), transparent 65%), linear-gradient(180deg, #e3edfb, #f2f6fd 70%, #fff); padding: 26px 0 36px; }
.f-grid { display: grid; gap: 18px; }
.f-card { background: #fff; border: 2px dashed #e7b54a; border-radius: 22px; padding: 22px; display: grid; gap: 12px; }
.f-card .todo-tag { justify-self: start; }
.f-card h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }
.f-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.f-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.f-list li span:first-child { color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 20px 20px 74px; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 38px; height: 38px; border-radius: 50%; background: var(--plum); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps p { color: var(--muted); font-size: .95rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: #0b1830; color: #d3dcec; padding: 44px 0 26px; }
.footer-grid { display: grid; gap: 26px; }
.footer-brand b { font-family: var(--serif); font-weight: 800; color: #fff; font-size: 1.4rem; text-transform: uppercase; }
.footer-brand p { margin-top: 6px; font-size: .92rem; }
.site-footer h4 { margin: 0 0 10px; color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: .93rem; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #eef3fb; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-todo { color: #f5d27a; font-size: .78rem; font-weight: 700; margin-left: 4px; white-space: nowrap; }
.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: #a9b6cc; }
.footer-bottom .made { color: #a9b6cc; }

/* ---------- 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.3fr; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15, 35, 71, .08);
}
.sticky-cta .btn { min-height: 50px; padding: 0 12px; font-size: .98rem; }
.capture .sticky-cta { display: none; }

/* ---------- Fenêtre « maquette » ---------- */
dialog.demo { border: 0; border-radius: 24px; padding: 26px 22px 22px; max-width: 420px; width: calc(100% - 32px); box-shadow: 0 30px 80px rgba(11, 24, 48, .35); color: var(--ink); }
dialog.demo::backdrop { background: rgba(11, 24, 48, .5); }
dialog.demo .todo-tag { margin-bottom: 10px; }
dialog.demo h2 { font-size: 1.5rem; margin-bottom: 8px; }
dialog.demo p { color: var(--muted); }
dialog.demo .btn { margin-top: 18px; width: 100%; }

/* ================= Tablette / ordinateur ================= */
@media (min-width: 640px) {
  .hero-cta, .top-actions { grid-template-columns: auto auto; justify-content: start; }
  .row-2 { grid-template-columns: 1fr 1fr; }
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .duo { grid-template-columns: 1fr 1fr; }
  .top-list { grid-template-columns: 1fr 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .header-inner { height: 78px; gap: 14px; }
  .brand b { font-size: 2rem; }
  .nav { display: flex; gap: 2px; }
  .menu-btn, .mobile-menu, .mobile-menu.open { display: none; }
  .icon-btn.head-call { display: inline-flex; }
  .btn.head-book { display: inline-flex; min-height: 46px; padding: 0 20px; }
  .hero { padding: 54px 0 64px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 54px; }
  .section { padding: 80px 0; }
  .reviews { grid-template-columns: auto 1fr auto; text-align: left; justify-items: start; align-items: center; padding: 36px 44px; gap: 30px; }
  .visit { grid-template-columns: 1fr 1fr 1fr; align-items: stretch; }
  .contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 22px; align-items: start; }
  .cats { display: block; columns: 2; column-gap: 22px; }
  .cats .cat { break-inside: avoid; margin-bottom: 22px; }
  .f-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

/* ---------- Propres à Forma System ---------- */
.split { display: grid; gap: 22px; align-items: center; }
.split .media { border-radius: 24px; 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); }
.todo-grid { display: grid; gap: 14px; }
.todo h3 { color: #5b3d00; margin: 10px 0 4px; font-size: 1.02rem; }
.todo p { color: #7a5a1c; font-size: .92rem; }
.call-band { background: linear-gradient(135deg, var(--plum), #1b3a73); color: #fff; border-radius: 26px; padding: 28px 22px; display: grid; gap: 16px; }
.call-band h2 { color: #fff; font-size: clamp(1.5rem, 5vw, 2rem); }
.call-band p { color: #c9d6ee; }
.call-band .btn { justify-self: start; }
.f-group { margin-top: 34px; }
.f-group h2 { font-size: clamp(1.5rem, 5vw, 2rem); display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.f-group h2 .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--blush); color: var(--plum); display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 640px) {
  .todo-grid { grid-template-columns: 1fr 1fr; }
  .call-band { grid-template-columns: 1fr auto; align-items: center; padding: 34px 40px; }
  .call-band .btn { justify-self: end; }
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .split.reverse .media { order: 2; }
  .todo-grid { grid-template-columns: repeat(4, 1fr); }
  .f-grid.two { grid-template-columns: 1fr 1fr; }
}

a.fact { color: inherit; }
.eyebrow + .todo-tag { margin-left: 6px; vertical-align: middle; }
@media (min-width: 900px) { #ecrire + form, #inscription + form { max-width: 760px; } }
.visit .panel.addr { align-content: start; }

/* ---------- Le logo, les trois domaines, les publics, les partenaires ---------- */
.brand img { height: 46px; width: auto; }
ul.tags { list-style: none; margin: 0; padding: 0; }
.tag.todo-inline { white-space: normal; }
.publics { display: grid; gap: 18px; }
.public { display: grid; gap: 10px; align-content: start; }
.public .ico, .why .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--blush); color: var(--plum); display: inline-flex; align-items: center; justify-content: center; }
.public h3 { font-family: var(--serif); font-size: 1.35rem; }
.public p { color: var(--muted); }
.why { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 8px; align-content: start; }
.why h3 { font-size: 1.02rem; }
.why p { color: var(--muted); font-size: .92rem; }
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.partners li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: grid; place-items: center; min-height: 110px; }
.partners img { width: 100%; max-width: 150px; height: auto; max-height: 82px; object-fit: contain; }
/* Le menu déroulant, dessiné aux couleurs du site. */
.field select { -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2347' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
@media (min-width: 640px) {
  .duo.trio { grid-template-columns: 1fr; }
  .publics { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .brand img { height: 56px; }
  .duo.trio { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
.hero-cta .btn { white-space: nowrap; }
@media (min-width: 900px) { .cats { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; } .cats .cat { margin-bottom: 0; } }

/* ================= Signature : les couleurs et l'hexagone du logo ================= */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(25, 176, 230, .65); outline-offset: 3px; }
.site-header::before { content: ""; display: block; height: 3px; background: var(--grad); }
h1, h2 { font-weight: 650; letter-spacing: -.025em; }
.btn { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; }
.hero, .f-hero { background: radial-gradient(680px 380px at 4% 30%, rgba(25, 176, 230, .20), transparent 62%), radial-gradient(620px 340px at 96% 4%, rgba(243, 146, 0, .15), transparent 64%), linear-gradient(180deg, #e6f1fb, #f4f8fd 70%, #fff); }
.hero h1 em { color: var(--berry); }
.hero-proof { display: flex; gap: 8px; align-items: center; margin-top: 18px; font-size: .92rem; color: var(--muted); }
.hero-proof .icon { color: var(--orange); }
.kicker::before { content: ""; display: inline-block; width: 9px; height: 10px; margin-right: 8px; background: linear-gradient(135deg, var(--cyan), var(--orange)); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.section-head h2::after, .h2-split::after { content: ""; display: block; width: 84px; height: 4px; margin-top: 14px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan) 0 58%, transparent 58% 66%, var(--orange) 66% 100%); }
.h2-split { font-size: clamp(1.6rem, 5.4vw, 2.3rem); }
.fact .ico, .public .ico, .why .ico, .addr-line .ico, .cat-head .ico, .f-group h2 .ico {
  border-radius: 0; clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
  background: linear-gradient(135deg, rgba(25, 176, 230, .22), rgba(243, 146, 0, .18)); color: var(--plum); width: 46px; height: 42px;
}
.cat-head .ico { background: linear-gradient(135deg, #fff, rgba(25, 176, 230, .16)); }
.fact strong { font-family: var(--serif); font-weight: 650; font-size: 1.02rem; }
.duo-card h3, .public h3 { font-weight: 650; }
.site-footer { background: linear-gradient(90deg, #19b0e6, #1470c4 45%, #f39200 80%, #f7c600) top / 100% 4px no-repeat, #0b1830; }
.foot-title { margin: 0 0 10px; color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.call-band { background: radial-gradient(420px 220px at 100% 0%, rgba(25, 176, 230, .35), transparent 70%), linear-gradient(135deg, var(--plum), #12407e); }

/* ---------- Les prix sur l'accueil ---------- */
.mini-prix { list-style: none; margin: 4px 0 0; padding: 0; display: grid; }
.mini-prix li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.mini-prix span { display: grid; color: var(--ink); font-weight: 600; font-size: .94rem; line-height: 1.3; }
.mini-prix small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.mini-prix b { color: var(--plum); font-family: var(--serif); font-weight: 650; white-space: nowrap; }

/* ---------- Pourquoi nous ---------- */
.why-grid { display: grid; gap: 14px; }

/* ---------- Les formations en volets ---------- */
.h1-page { font-size: clamp(2.1rem, 7.6vw, 3.2rem); margin: 12px 0 12px; }
.f-hero .lead { color: var(--muted); font-size: 1.06rem; max-width: 34em; }
.f-list-items { padding: 4px 20px 6px; }
.f-item + .f-item { border-top: 1px dashed var(--line); }
.f-item summary { list-style: none; display: grid; grid-template-columns: 1fr auto 18px; gap: 4px 14px; align-items: center; padding: 14px 0; cursor: pointer; touch-action: manipulation; }
.f-item summary::-webkit-details-marker { display: none; }
.f-item summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--berry); border-bottom: 2px solid var(--berry); transform: rotate(45deg); justify-self: center; margin-top: -4px; transition: transform .2s ease; }
.f-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.f-titre { display: grid; font-weight: 650; color: var(--ink); line-height: 1.3; }
.f-titre small { color: var(--muted); font-size: .82rem; font-weight: 500; }
.f-item .price { font-family: var(--serif); font-weight: 650; color: var(--plum); white-space: nowrap; }
.f-detail { padding: 0 0 16px; color: var(--muted); display: grid; gap: 10px; font-size: .95rem; }
.f-modules { margin: 0; padding-left: 18px; }
.f-detail dl { margin: 0; display: grid; gap: 6px; }
.f-detail dl div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; }
.f-detail dt { font-weight: 700; color: var(--plum); }
.f-detail dd { margin: 0; }

/* ---------- Mentions légales ---------- */
.legal { padding-top: 26px; padding-bottom: 64px; max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 12px; }
.legal p { color: var(--muted); }
.legal dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.legal dl div { display: grid; gap: 2px 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal dt { font-weight: 700; color: var(--plum); }
.legal dd { margin: 0; color: var(--ink); }

@media (min-width: 640px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .legal dl div { grid-template-columns: 220px 1fr; }
}
@media (min-width: 900px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Le haut de page sur téléphone : la photo en plein écran, le texte sur du verre ---------- */
@media (max-width: 899px) {
  .hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: calc(100svh - 150px); padding: 64px 0 22px; background: #0b1830; }
  .hero .hero-grid { display: block; width: 100%; }
  .hero .hero-art { position: absolute; inset: 0; z-index: -2; }
  .hero .hero-art .illus { height: 100%; }
  .hero .hero-art img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; box-shadow: none; }
  .hero .hero-art .illus::after { left: auto; right: 14px; top: 14px; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 24, 52, .10) 0%, rgba(8, 24, 52, .42) 45%, rgba(8, 24, 52, .80) 100%); }
  .hero .hero-text { padding: 22px 20px; border-radius: 28px; background: rgba(8, 24, 52, .36); border: 1px solid rgba(255, 255, 255, .26); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
  .hero h1 { color: #fff; margin-top: 14px; }
  .hero h1 em { color: #8fdcf7; }
  .hero .lead { color: rgba(255, 255, 255, .92); }
  .hero .eyebrow { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .34); color: #fff; }
  .hero .btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); }
  .hero .hero-proof { color: rgba(255, 255, 255, .9); }
  .hero .hero-proof .icon { color: #ffc24d; }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .hero .hero-text { background: rgba(8, 24, 52, .82); } }
  @media (prefers-reduced-transparency: reduce) { .hero .hero-text { background: rgba(8, 24, 52, .84); -webkit-backdrop-filter: none; backdrop-filter: none; } }
}

/* ---------- Le mouvement : une entrée au chargement, puis les blocs qui accompagnent le défilement ---------- */
@keyframes fs-monte { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fs-apparait { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-text > *, .hero-art { animation: fs-monte .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: .06s; }
  .hero-text > :nth-child(3) { animation-delay: .12s; }
  .hero-text > :nth-child(4) { animation-delay: .18s; }
  .hero-text > :nth-child(5) { animation-delay: .24s; }
  .hero-art { animation-delay: .1s; }
  @supports (animation-timeline: view()) {
    .fact, .duo-card, .public, .why, .partners li, .steps li, .cat, .visit .panel { animation: fs-apparait linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}
.foot-link { font: inherit; color: #eef3fb; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
.foot-link:hover { text-decoration: underline; }
@media (max-width: 899px) { .hero .hero-proof { display: none; } }
@media (min-width: 900px) { .hero h1 { font-size: clamp(2.8rem, 4.6vw, 4.1rem); line-height: 1.04; } }
.legal-list { color: var(--muted); margin: 8px 0; padding-left: 20px; }
a.map-card { text-decoration: none; }
.addr .map-card { margin-bottom: 4px; }

/* ---------- Les cartes : pastille et titre centrés, seules les listes restent à gauche (règle du gabarit de la charte) ---------- */
.fact, .why, .public { justify-items: center; text-align: center; }
.public .tags { justify-content: center; }
.duo-card .body > .kicker, .duo-card .body > h3, .duo-card .body > p { text-align: center; }
.duo-card .body > .link-arrow { justify-self: center; }
.mini-prix { text-align: left; }
@media (min-width: 900px) { .why-grid.trois { grid-template-columns: repeat(3, 1fr); } }
.nav a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1079px) { .nav a { padding: 8px 8px; font-size: .88rem; } .btn.head-book { padding: 0 14px; font-size: .92rem; } .brand img { height: 48px; } }

/* ---------- Le menu déroulant sur mesure : le bouton ET la liste ouverte sont les nôtres ---------- */
.choix { position: relative; }
.field select.choix-natif { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.choix-bouton { font: inherit; font-size: 1rem; color: var(--ink); min-height: 50px; padding: 12px 46px 12px 14px; border-radius: 14px; border: 1.5px solid #d3dcea; background: #fff; display: flex; align-items: center; cursor: pointer; user-select: none; touch-action: manipulation; position: relative; }
.choix-bouton::after { content: ""; position: absolute; right: 19px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--plum); border-bottom: 2px solid var(--plum); transform: translateY(-70%) rotate(45deg); transition: transform .18s ease; }
.choix.ouvert .choix-bouton::after { transform: translateY(-20%) rotate(-135deg); }
.choix-bouton:focus-visible, .choix.ouvert .choix-bouton { outline: 3px solid rgba(25, 176, 230, .25); outline-offset: 0; border-color: var(--berry); }
.choix-liste { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(11, 42, 87, .18); max-height: 292px; overflow: auto; overscroll-behavior: contain; }
.choix-liste li { position: relative; padding: 11px 12px 11px 38px; border-radius: 10px; cursor: pointer; color: var(--ink); line-height: 1.35; }
.choix-liste li.actif { background: var(--blush); color: var(--plum); }
.choix-liste li[aria-selected="true"] { font-weight: 650; color: var(--plum); }
.choix-liste li[aria-selected="true"]::before { content: ""; position: absolute; left: 15px; top: 50%; width: 10px; height: 5px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: translateY(-75%) rotate(-45deg); }
@media (prefers-reduced-motion: no-preference) { .choix.ouvert .choix-liste { animation: fs-monte .16s ease both; } }
.illus::after { content: none; display: none; }

/* Formulaires : le piège à robots, et le message après l'envoi */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-statut{margin:.75rem 0 0;font-weight:600}
.form-statut.ok{color:#0a7a3a}
.form-statut.err{color:#b42318}
