/* Pure Process Pro — feuille de style du site
   Polices hébergées sur le site (aucun appel aux serveurs de Google). */

@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/instrument-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

/* ---------- Charte ---------- */
:root {
  --encre: #132238;
  --accent: #0B4F6C;
  --logo: #101F40;
  --fond-section: #F2F5F7;
  --bordure: #D5DEE6;
  --bordure-douce: #E3E8ED;
  --filet: #EBEEF2;
  --bordure-forte: #B9C5D1;
  --texte-2: #3D4A5C;
  --texte-3: #556070;
  --blanc: #FFFFFF;

  --recue-fond: #E4F2EA;      --recue-texte: #1D5C3A;
  --verifier-fond: #FFF3DF;   --verifier-texte: #6F3D00;
  --manquante-fond: #FCE8E6;  --manquante-texte: #8A1F17;
  --remettre-fond: #E6EEF7;   --remettre-texte: #0B4F6C;

  --f-titre: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --f-texte: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --largeur: 1200px;
  --gouttiere: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--encre); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.section-sombre :focus-visible { outline-color: #FFFFFF; }
.mono { font-family: var(--f-mono); }

.lien-evitement {
  position: absolute; left: 12px; top: -100px; z-index: 10;
  padding: 12px 16px; border-radius: 8px;
  background: var(--encre); color: #FFFFFF; font-weight: 600; text-decoration: none;
}
.lien-evitement:focus { top: 12px; color: #FFFFFF; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding-left: var(--gouttiere); padding-right: var(--gouttiere); }
.section { padding-top: 80px; padding-bottom: 80px; }
.fond-gris { background: var(--fond-section); }
.pile { display: flex; flex-direction: column; }

/* ---------- Typographie ---------- */
.titre-1 {
  font-family: var(--f-titre); font-weight: 700;
  font-size: clamp(36px, 6vw, 54px); line-height: 1.06; letter-spacing: -0.02em;
  text-wrap: balance;
}
.titre-2 {
  font-family: var(--f-titre); font-weight: 700;
  font-size: clamp(28px, 4.2vw, 38px); line-height: 1.12; letter-spacing: -0.01em;
  text-wrap: balance;
}
.surtitre {
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
}
.chapo { font-size: 19px; color: var(--texte-2); max-width: 56ch; }
.discret { font-size: 14px; color: var(--texte-3); }
.texte-2 { color: var(--texte-2); }
.entete-section { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; text-decoration: none; line-height: 1.2; text-align: center;
  border: 1px solid transparent;
}
.bouton svg { flex: none; }
.bouton-plein { background: var(--accent); color: #FFFFFF; }
.bouton-plein:hover { background: var(--encre); color: #FFFFFF; }
.bouton-contour { background: #FFFFFF; border-color: var(--bordure-forte); color: var(--encre); }
.bouton-contour:hover { border-color: var(--encre); color: var(--encre); }
.bouton-accent { background: #FFFFFF; border-color: var(--accent); color: var(--accent); }
.bouton-accent:hover { background: var(--remettre-fond); color: var(--accent); }
.bouton-petit { min-height: 44px; padding: 0 18px; }
/* Bouton avec pastille ronde pour la flèche (cartes des assistants) */
.bouton-fleche { min-height: 46px; padding: 0 7px 0 18px; }
.bouton-fleche .pastille {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
}
.bouton-plein .pastille { background: #FFFFFF; color: var(--accent); }
.bouton-accent .pastille { background: var(--remettre-fond); }

/* ---------- En-tête ---------- */
.entete { border-bottom: 1px solid var(--bordure-douce); background: #FFFFFF; }
.entete .conteneur {
  padding-top: 14px; padding-bottom: 14px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.marque {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  text-decoration: none; color: var(--encre);
}
.marque:hover { color: var(--encre); }
.marque svg, .marque img { width: 32px; height: 32px; flex: none; }
.marque span { font-family: var(--f-titre); font-weight: 700; font-size: 19px; letter-spacing: 0.01em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav a:not(.bouton) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  text-decoration: none; color: var(--encre); font-weight: 500;
}
.nav a:not(.bouton):hover { text-decoration: underline; text-underline-offset: 6px; }
.nav a[aria-current="page"] {
  font-weight: 700; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px;
}
.nav .bouton { margin-left: 8px; }

/* ---------- Accueil : héros ---------- */
.heros .conteneur {
  padding-top: 72px; padding-bottom: 80px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
}
.heros-texte { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.etiquette {
  align-self: flex-start; padding: 6px 12px; border-radius: 999px;
  background: #FFFFFF; border: 1px solid var(--bordure);
  font-size: 14px; font-weight: 600; color: var(--accent);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.heros-figure { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.heros-figure figcaption { font-size: 14px; color: var(--texte-3); }

/* Carte « extrait de fiche » */
.fiche {
  background: #FFFFFF; border: 1px solid var(--bordure); border-radius: 16px;
  padding: 20px 22px; display: flex; flex-direction: column; gap: 12px;
}
.fiche-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px; }
.fiche-tete strong { font-size: 17px; }
.fiche-tete span { font-size: 13px; color: var(--texte-3); }
.pieces { list-style: none; padding: 0; }
.piece {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 0; border-top: 1px solid var(--filet);
}
.piece-nom { display: flex; flex-direction: column; min-width: 0; }
.piece-nom strong { font-weight: 600; font-size: 15px; }
.piece-nom span { font-family: var(--f-mono); font-size: 12px; color: var(--texte-3); }

/* Pastilles d'état : couleur ET libellé, jamais la couleur seule */
.etat {
  flex: none; padding: 3px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.etat-recue { background: var(--recue-fond); color: var(--recue-texte); }
.etat-verifier { background: var(--verifier-fond); color: var(--verifier-texte); }
.etat-manquante { background: var(--manquante-fond); color: var(--manquante-texte); }
.etat-remettre { background: var(--remettre-fond); color: var(--remettre-texte); }

/* Bandeau de preuves */
.preuves { border-bottom: 1px solid var(--bordure-douce); }
.preuves .conteneur {
  padding-top: 28px; padding-bottom: 28px;
  display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between;
  font-size: 15px; color: var(--texte-2); list-style: none;
}
.preuves strong { color: var(--encre); }

/* ---------- Offres ---------- */
.offres { gap: 36px; }
.offres h3 { font-size: 22px; font-weight: 700; margin-top: 8px; }
.grille {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px;
}
.carte-offre {
  border: 1px solid var(--bordure); border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px; background: #FFFFFF;
}
.carte-offre.mise-en-avant { border: 2px solid var(--accent); padding: 23px; }
.carte-offre .etape { font-family: var(--f-mono); font-size: 14px; color: var(--accent); }
.carte-offre h4 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.carte-offre p { color: var(--texte-2); font-size: 15px; }
.carte-offre p.discret { color: var(--texte-3); font-size: 14px; }
.prix {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--filet);
  display: flex; flex-direction: column; gap: 2px;
}
.prix .montant { font-family: var(--f-titre); font-size: 30px; font-weight: 700; line-height: 1.2; }
.prix .montant small { font-family: var(--f-texte); font-size: 16px; font-weight: 600; }
.prix .discret { color: var(--texte-3); }

.encart-pilote {
  display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-radius: 16px; background: var(--remettre-fond);
}
.encart-pilote > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.encart-pilote .discret { font-size: 15px; color: var(--texte-2); }

.encart-chiffres {
  display: flex; flex-wrap: wrap; gap: 24px; padding: 24px;
  border: 1px dashed var(--bordure-forte); border-radius: 16px;
}
.encart-chiffres > div { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.encart-chiffres ul {
  padding-left: 20px; color: var(--texte-2); font-size: 15px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 4px 24px;
}
.encart-chiffres > p { flex: 1 1 300px; min-width: 0; }

/* ---------- Démarche ---------- */
.demarche { gap: 36px; }
.etapes {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px;
}
.etapes li {
  background: #FFFFFF; border: 1px solid var(--bordure); border-radius: 16px; padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.etapes .num { font-family: var(--f-mono); font-size: 14px; color: var(--accent); }
.etapes strong { font-size: 18px; }
.etapes span:last-child { color: var(--texte-2); font-size: 15px; }

/* ---------- Appel vers les assistants ---------- */
.appel .conteneur {
  padding-top: 72px; padding-bottom: 72px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.appel .conteneur > div { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.appel h2 { font-family: var(--f-titre); font-size: clamp(26px, 3.8vw, 34px); line-height: 1.15; font-weight: 700; }
.appel p { color: var(--texte-2); max-width: 60ch; }

/* ---------- À propos ---------- */
.section-sombre { background: var(--encre); color: #FFFFFF; }
.section-sombre a { color: #FFFFFF; }
.section-sombre a:hover { color: #C9D4DE; }
.apropos { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.apropos > div:first-child { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.apropos .surtitre { color: #9CC3D5; }
.apropos h2 { font-family: var(--f-titre); font-size: clamp(30px, 4vw, 36px); line-height: 1.12; font-weight: 700; }
.apropos .role { color: #C9D4DE; }
.apropos-texte { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; font-size: 17px; color: #E3EAF0; }
.liens { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.liens a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* ---------- Pied de page ---------- */
.pied { border-top: 1px solid var(--bordure-douce); }
.pied-haut {
  padding-top: 56px; padding-bottom: 56px;
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start;
}
.pied-haut.centre { align-items: center; gap: 24px; }
.pied-haut > div { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pied-haut > div:first-child { flex: 1 1 360px; }
.pied-haut h2 { font-family: var(--f-titre); font-size: clamp(26px, 3.4vw, 30px); line-height: 1.15; font-weight: 700; }
.pied-haut p { color: var(--texte-2); }
.contacts { flex: 1 1 320px; gap: 4px !important; }
.contacts .bouton { align-self: flex-start; margin-bottom: 8px; }
.contacts a:not(.bouton) { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; align-self: flex-start; }
.contacts a.tel { color: var(--encre); text-decoration: none; }
.pied-bas {
  padding-top: 16px; padding-bottom: 28px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px;
  font-size: 14px; color: var(--texte-3);
}
.pied-bas a { color: var(--texte-3); display: inline-flex; align-items: center; min-height: 44px; }
.pied-bas a:hover { color: var(--encre); }

/* ---------- Page Assistants ---------- */
.intro .conteneur {
  padding-top: 64px; padding-bottom: 56px;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.intro .titre-1 { font-size: clamp(34px, 5.4vw, 48px); line-height: 1.08; max-width: 18ch; }
.intro .chapo { max-width: 60ch; }
.retour {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-weight: 600; text-decoration: none;
}
.retour:hover { text-decoration: underline; }

.assistants { padding-top: 56px; padding-bottom: 72px; }
.assistants .grille { gap: 24px; }
.carte-assistant {
  border: 1px solid var(--bordure); border-radius: 20px; padding: 14px 14px 22px;
  display: flex; flex-direction: column; gap: 14px; background: #FFFFFF;
}
.carte-assistant .illustration { border-radius: 14px; overflow: hidden; }
.illu-clara { background: #E3EEF3; }
.illu-gabriel { background: #E9ECF6; }
.illu-leon { background: #F6EEE3; }
.illu-iris { background: #E5F0EA; }
.carte-assistant .illustration svg { display: block; width: 100%; height: 150px; }
.carte-assistant .corps { padding: 0 8px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.carte-assistant .ligne { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.carte-assistant .prenom { font-style: italic; font-weight: 600; }
.carte-assistant .etat { font-size: 12.5px; }
.carte-assistant h2 { font-size: 21px; line-height: 1.2; font-weight: 700; }
.carte-assistant p { color: var(--texte-2); font-size: 15px; }
.coches { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.coches li { display: flex; gap: 10px; }
.coches svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.carte-assistant .bouton { margin-top: auto; align-self: flex-start; }

.regles { gap: 32px; }
.regles h2 { font-family: var(--f-titre); font-size: clamp(26px, 3.8vw, 34px); line-height: 1.12; font-weight: 700; }
.carte-regle {
  background: #FFFFFF; border: 1px solid var(--bordure); border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.carte-regle h3 { font-size: 19px; font-weight: 700; }
.carte-regle p { color: var(--texte-2); font-size: 15px; }

/* ---------- Mentions légales ---------- */
.entete .retour-accueil { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.legal {
  max-width: 760px; margin: 0 auto; padding: 56px var(--gouttiere) 72px;
  display: flex; flex-direction: column; gap: 36px; line-height: 1.6;
}
.legal h1 { font-family: var(--f-titre); font-size: clamp(32px, 5vw, 42px); line-height: 1.1; font-weight: 700; }
.legal section { display: flex; flex-direction: column; gap: 8px; }
.legal h2 { font-size: 22px; font-weight: 700; }
.legal h3 { font-size: 18px; font-weight: 700; margin-top: 12px; }
.legal #confidentialite { padding-top: 12px; border-top: 1px solid var(--bordure-douce); }
.legal #confidentialite > h2 { font-family: var(--f-titre); font-size: clamp(26px, 4vw, 32px); }

/* ---------- Téléphone ---------- */
@media (max-width: 720px) {
  :root { --gouttiere: 16px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .heros .conteneur { padding-top: 40px; padding-bottom: 56px; gap: 36px; }
  .heros-texte, .heros-figure, .appel .conteneur > div, .apropos > div, .pied-haut > div,
  .encart-pilote > div, .encart-chiffres > div, .encart-chiffres > p { flex-basis: 100%; }
  .chapo { font-size: 17px; }
  .nav { gap: 0; }
  .nav a:not(.bouton) { padding: 0 10px; }
  .nav .bouton { margin-left: 0; }
  .entete .conteneur { justify-content: flex-start; }
  /* Toujours sur sa propre ligne : évite un saut de mise en page au chargement des polices */
  .entete .retour-accueil { flex-basis: 100%; }
  .actions .bouton { width: 100%; }
  .piece { align-items: flex-start; }
  .preuves .conteneur { flex-direction: column; gap: 8px; }
}

/* ---------- Impression ---------- */
@media print {
  .lien-evitement, .nav, .actions, .bouton { display: none !important; }
  .section-sombre { background: #FFFFFF; color: var(--encre); }
  .section-sombre a, .apropos-texte, .apropos .role, .apropos .surtitre { color: var(--encre); }
  .section { padding-top: 24px; padding-bottom: 24px; }
}
