/* pro.css — Espace professionnel Kelki (kelki.fr/pro/). Charte de kelki.fr (annuaire/assets/style.css) :
   marine #00103f, bleu #001b75, orange #fd660b (jamais en petit texte sur blanc : boutons orange à texte marine),
   fond crème #fbf8f4, bordures chaudes, Plus Jakarta Sans auto-hébergée. Contrastes vérifiés ≥ 4,5:1.
   Rayons : 12 px (champs, boutons) · 16 px (cartes) · pilule (badges). Aucune dépendance, aucun script. */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/pro/assets/fonts/jakarta-latin.woff2) format('woff2');
}

:root {
  --marine: #00103f;
  --bleu: #001b75;
  --orange: #fd660b;
  --orange-survol: #e85d05;
  --orange-texte: #b34400;
  --orange-teinte: #fff4ec;
  --encre: #0a1440;
  --texte: #3d4459;
  --texte-doux: #5a6075;
  --fond: #fbf8f4;
  --panneau: #f4efe7;
  --blanc: #ffffff;
  --bord: #e6e0d6;
  --bord-champ: #8c8579;
  --vert: #14703b;
  --vert-teinte: #e8f3ec;
  --rouge: #9b2c1b;
  --rouge-teinte: #fdeeea;
  --ambre: #7a5a00;
  --ambre-teinte: #fff6dc;
  --ombre: 0 14px 36px -18px rgba(14, 19, 38, .18);
  --r-champ: 12px;
  --r-carte: 16px;
  --police: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
  font: 400 1rem/1.6 var(--police); color: var(--texte); background: var(--fond);
  -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-underline-offset: 3px; }
a:hover { color: var(--marine); }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--police); color: var(--encre); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 12px; top: -60px; background: var(--marine); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 10; }
.lien-evitement:focus { top: 12px; }

/* ── En-tête ── */
.entete { background: var(--blanc); border-bottom: 1px solid var(--bord); }
.entete-int { max-width: 1120px; margin: 0 auto; padding: 0 16px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.entete-logo img { height: 34px; width: auto; }
.entete-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.entete-pro { font-weight: 700; font-size: .8rem; color: var(--marine); background: var(--panneau); border-radius: 999px; padding: 3px 10px; }
.entete-nav { display: flex; align-items: center; gap: 6px; }
.entete-nav a { font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--marine); padding: 8px 12px; border-radius: 10px; }
.entete-nav a:hover { background: var(--panneau); }

/* ── Onglets de l'espace ── */
.onglets { background: var(--blanc); border-bottom: 1px solid var(--bord); }
.onglets ul { list-style: none; margin: 0 auto; padding: 0 8px; max-width: 1120px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.onglets a { display: block; padding: 13px 14px; font-weight: 600; font-size: .95rem; color: var(--texte); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.onglets a[aria-current="page"] { color: var(--marine); border-bottom-color: var(--orange); }
.onglets a:hover { color: var(--marine); }

/* ── Page ── */
main { flex: 1; width: 100%; }
.page { max-width: 1120px; margin: 0 auto; padding: 32px 16px 56px; }
.page--etroite { max-width: 640px; }
.chapeau { font-size: 1.125rem; color: var(--texte); max-width: 60ch; }
.pile > * + * { margin-top: 20px; }
.grille-2 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .grille-2 { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; } }
.grille-cartes { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grille-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.carte { background: var(--blanc); border: 1px solid var(--bord); border-radius: var(--r-carte); padding: 24px; }
.carte--ombre { box-shadow: var(--ombre); }
.carte--collante { position: sticky; top: 20px; }
.carte > :last-child { margin-bottom: 0; }
.carte-titre { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.carte-titre h2, .carte-titre h3 { margin: 0; }

/* ── Boutons ── */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px;
  padding: 12px 22px; border-radius: var(--r-champ); border: 2px solid transparent; cursor: pointer;
  font: 700 1rem/1.2 var(--police); text-decoration: none; text-align: center;
  background: var(--orange); color: var(--marine); transition: background-color .15s, transform .1s;
}
.bouton:hover { background: var(--orange-survol); color: var(--marine); }
.bouton:active { transform: translateY(1px); }
.bouton--marine { background: var(--marine); color: #fff; }
.bouton--marine:hover { background: var(--bleu); color: #fff; }
.bouton--contour { background: var(--blanc); color: var(--marine); border-color: var(--marine); }
.bouton--contour:hover { background: var(--panneau); color: var(--marine); }
.bouton--plein { width: 100%; }
.bouton--petit { min-height: 40px; padding: 8px 14px; font-size: .92rem; }
.bouton-lien { background: none; border: 0; padding: 0; font: inherit; color: var(--bleu); text-decoration: underline; cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
form.en-ligne { display: inline; }

/* ── Formulaires ── */
.champ { display: grid; gap: 6px; margin-bottom: 16px; }
.champ label, .legende { font-weight: 700; color: var(--encre); font-size: .95rem; }
.champ .aide { font-size: .875rem; color: var(--texte-doux); }
input[type=text], input[type=email], input[type=tel], input[type=search], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--bord-champ); border-radius: var(--r-champ);
  font: 400 1rem/1.4 var(--police); color: var(--encre); background: var(--blanc);
}
textarea { min-height: 96px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--bleu); outline-offset: 1px; border-color: var(--bleu); }
[aria-invalid="true"] { border-color: var(--rouge); }
.erreur-champ { color: var(--rouge); font-size: .875rem; font-weight: 600; }
.case { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 16px; font-size: .95rem; }
.case input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--marine); }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; }
.choix { display: grid; gap: 10px; }
.choix label { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--bord); border-radius: var(--r-champ); background: var(--blanc); cursor: pointer; }
.choix label:has(input:checked) { border-color: var(--marine); background: #f6f7fb; }
.choix input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--marine); }
.choix small { display: block; color: var(--texte-doux); font-size: .875rem; }
details.famille { border: 1px solid var(--bord); border-radius: var(--r-champ); background: var(--blanc); margin-bottom: 8px; }
details.famille summary { cursor: pointer; padding: 12px 14px; font-weight: 700; color: var(--encre); }
details.famille .cases { display: grid; gap: 4px 16px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); padding: 0 14px 12px; }
details.famille .cases label { display: flex; gap: 10px; align-items: center; min-height: 36px; font-size: .95rem; }
details.famille .cases input { width: 18px; height: 18px; accent-color: var(--marine); }

/* ── Bandeaux ── */
.bandeau { border-radius: var(--r-champ); padding: 14px 16px; margin-bottom: 20px; font-weight: 600; }
.bandeau--ok { background: var(--vert-teinte); color: var(--vert); }
.bandeau--info { background: #eef1fa; color: var(--bleu); }
.bandeau--attention { background: var(--ambre-teinte); color: var(--ambre); }
.bandeau--erreur { background: var(--rouge-teinte); color: var(--rouge); }
.bandeau p { margin: 0; }

/* ── Badges ── */
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; background: var(--panneau); color: var(--marine); }
.badge--vert { background: var(--vert-teinte); color: var(--vert); }
.badge--orange { background: var(--orange-teinte); color: var(--orange-texte); }
.badge--gris { background: #eef0f4; color: var(--texte); }
.badge svg { width: 16px; height: 16px; }

/* ── Offre ── */
.offre-metier { font-weight: 700; color: var(--orange-texte); font-size: .95rem; margin-bottom: 6px; }
.offre-lieu { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--texte); font-weight: 600; margin-bottom: 4px; }
.resume { background: var(--fond); border-left: 4px solid var(--orange); border-radius: 0 var(--r-champ) var(--r-champ) 0; padding: 16px 18px; color: var(--encre); font-size: 1.05rem; }
.resume p { margin: 0; }
.resume-source { font-size: .85rem; color: var(--texte-doux); margin-top: 8px; }
.liste-faits { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.liste-faits li { display: flex; gap: 10px; align-items: flex-start; }
.liste-faits svg { width: 20px; height: 20px; color: var(--vert); margin-top: 2px; flex: none; }
.prix { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.prix strong { font-size: 2.4rem; font-weight: 800; color: var(--marine); letter-spacing: -.03em; line-height: 1; }
.prix span { color: var(--texte-doux); font-weight: 600; }
.note { font-size: .875rem; color: var(--texte-doux); }
.separateur { border: 0; border-top: 1px solid var(--bord); margin: 20px 0; }

/* ── Coordonnées ── */
.coordonnees { display: grid; gap: 14px; margin: 0; }
.coordonnees div { display: grid; gap: 2px; }
.coordonnees dt { font-size: .85rem; font-weight: 700; color: var(--texte-doux); }
.coordonnees dd { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--encre); }
.appel { font-size: 1.15rem; }

/* ── Chiffres / solde ── */
.chiffres { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.chiffre { background: var(--fond); border-radius: var(--r-champ); padding: 14px 16px; }
.chiffre b { display: block; font-size: 1.6rem; font-weight: 800; color: var(--marine); letter-spacing: -.02em; }
.chiffre span { font-size: .875rem; color: var(--texte-doux); font-weight: 600; }
.solde-grand { font-size: 2.6rem; font-weight: 800; color: var(--marine); letter-spacing: -.03em; line-height: 1; margin: 6px 0 8px; }

.paliers { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .paliers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.palier { position: relative; display: flex; flex-direction: column; gap: 6px; border: 1.5px solid var(--bord); border-radius: var(--r-carte); padding: 20px; background: var(--blanc); }
.palier--phare { border-color: var(--marine); box-shadow: var(--ombre); }
.palier-etiquette { position: absolute; top: -12px; left: 18px; background: var(--marine); color: #fff; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.palier-montant { font-size: 1.9rem; font-weight: 800; color: var(--marine); letter-spacing: -.02em; }
.palier-bonus { font-weight: 700; color: var(--vert); }
.palier form { margin-top: auto; padding-top: 10px; }

/* ── Listes ── */
.liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ligne { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 16px 18px; background: var(--blanc); border: 1px solid var(--bord); border-radius: var(--r-champ); }
.ligne-titre { font-weight: 700; color: var(--encre); }
.ligne-meta { font-size: .9rem; color: var(--texte-doux); }
.vide { text-align: left; padding: 22px; border: 1.5px dashed var(--bord-champ); border-radius: var(--r-carte); background: var(--blanc); }
.vide p:last-child { margin-bottom: 0; }

.tableau-defile { overflow-x: auto; border: 1px solid var(--bord); border-radius: var(--r-champ); background: var(--blanc); }
table.tableau { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tableau th, .tableau td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--bord); vertical-align: top; }
.tableau th { font-size: .8rem; color: var(--texte-doux); font-weight: 700; background: var(--fond); white-space: nowrap; }
.tableau tr:last-child td { border-bottom: 0; }
.montant { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.positif { color: var(--vert); font-weight: 700; }

/* ── Accueil public ── */
.hero { display: grid; gap: 28px; align-items: center; padding: 8px 0 12px; }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; } }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.08; }
.apercu { background: var(--blanc); border: 1px solid var(--bord); border-radius: var(--r-carte); padding: 22px; box-shadow: var(--ombre); }
.section { padding: 40px 0 0; }
.etapes { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: etape; }
@media (min-width: 820px) { .etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.etapes li { counter-increment: etape; background: var(--blanc); border: 1px solid var(--bord); border-radius: var(--r-carte); padding: 20px; }
.etapes li::before { content: counter(etape); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--marine); color: #fff; font-weight: 800; margin-bottom: 12px; }
.etapes p { margin: 0; }
.bande-finale { margin-top: 40px; background: var(--marine); color: #fff; border-radius: var(--r-carte); padding: 28px 24px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.bande-finale h2 { color: #fff; margin: 0; }
.bande-finale p { color: #c9cde0; margin: 6px 0 0; }

/* ── Pied de page ── */
.pied { background: var(--marine); color: #c9cde0; margin-top: auto; }
.pied-int { max-width: 1120px; margin: 0 auto; padding: 28px 16px; display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; font-size: .9rem; }
.pied img { height: 30px; width: auto; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pied a { color: #fff; }
.pied a:hover { color: #fff; text-decoration-thickness: 2px; }

@media (max-width: 560px) {
  .page { padding: 24px 16px 44px; }
  .carte { padding: 18px; }
  .entete-int { height: 60px; }
  .entete-logo img { height: 28px; }
  .entete-nav a { padding: 8px; font-size: .9rem; }
  .entete-pro { display: none; }
  .prix strong { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.actions--haut { margin-top: 22px; }
.marge-haut { margin-top: 28px; }
.bouton + .note { margin: 8px 0 14px; }
.mobile-seul { display: none; }
@media (max-width: 879px) { .mobile-seul { display: flex; margin-top: 16px; } }
.tel, .appel { white-space: nowrap; }
.page--large { max-width: 1400px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }

/* ── Contact, échanges, FAQ (21/10/2026) ── */
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pastille { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--marine); color: #fff; font-size: .78rem; font-weight: 800; margin-left: 4px; }
.fil { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 14px; }
.fil li { border-radius: var(--r-carte); padding: 16px 18px; border: 1px solid var(--bord); background: var(--blanc); }
.fil li.de-kelki { background: #eef1fa; border-color: #d5dcf0; }
.fil-auteur { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: .875rem; font-weight: 700; color: var(--encre); margin-bottom: 6px; }
.fil-auteur span { font-weight: 600; color: var(--texte-doux); }
.fil p { margin: 0; white-space: pre-wrap; }
.ligne--non-lu { border-color: var(--marine); box-shadow: inset 4px 0 0 var(--marine); }
.sommaire { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.sommaire a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--bord); color: var(--marine); font-weight: 600; font-size: .92rem; text-decoration: none; }
.sommaire a:hover { border-color: var(--marine); }
.rubrique { margin-bottom: 32px; scroll-margin-top: 16px; }
.rubrique details { background: var(--blanc); border: 1px solid var(--bord); border-radius: var(--r-champ); margin-bottom: 10px; scroll-margin-top: 16px; }
.rubrique summary { cursor: pointer; padding: 15px 18px; font-weight: 700; color: var(--encre); list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.rubrique summary::-webkit-details-marker { display: none; }
.rubrique summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--panneau); color: var(--marine); font-weight: 800; line-height: 1; }
.rubrique details[open] summary::after { content: "\2212"; }
.rubrique summary:hover { color: var(--marine); }
.rubrique details[open] summary { border-bottom: 1px solid var(--bord); }
.rubrique details > :not(summary) { margin: 14px 18px; }
.rubrique details ul { padding-left: 20px; }
.rubrique details li { margin-bottom: 6px; }
/* Lien direct vers une question (#ancre) : la question ciblée est mise en évidence et dépliée là où le navigateur
   le permet (::details-content), sans script. */
.rubrique details:target { border-color: var(--marine); box-shadow: 0 0 0 2px var(--marine); }
.rubrique details:target::details-content { content-visibility: visible; display: block; }
@media (min-width: 720px) { .page--large { padding-left: 32px; padding-right: 32px; } }
