/* fonts: https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@75..100,500..900&family=Inter:wght@400;500;600;700&display=swap */
/* ==========================================================================
   charte.css : charte claire « p » de drone-corp.com (maquette version 3).
   Fabriquee par build/charte-p/outils/nettoyer_charte.py a partir de
   build/maquette-v3/kit/charte-premium.css. Ne pas modifier a la main.
   Cette feuille se charge SEULE (ni a.css, ni e-<ecran>.css). Aucun selecteur .dca.
   Classes a- de la peau gardees ; composants neufs prefixes p-.
   ========================================================================== */

/* ---------- 1. Jetons ---------- */
:root {
  --p-nuit: #07101F;
  --p-nuit-pied: #040A14;
  --p-champ: #0C182B;
  --p-orange: #FF6B1A;
  --p-orange-clair: #FF8A47;
  --p-blanc: #FFFFFF;
  --p-pale: #E8EDF6;
  --p-encre: #0A1220;
  --p-second: #44546F;
  --p-filet: #C5CEDE;
  --p-gris-nuit: #A6B4CA;
  --p-bord-champ: #6F83A8;      /* bordure de champ et de bouton contour : 4,98:1 sur la nuit */
  --p-filet-nuit: rgba(255, 255, 255, 0.12);
  --p-filet-nuit-fort: rgba(255, 255, 255, 0.26);
  --p-titre: 'Archivo', Arial, sans-serif;
  --p-texte: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --p-large: 1304px;            /* 1 240 px de contenu + 2 x 32 px, comme le modèle */
  --p-goutte: clamp(16px, 4.2vw, 32px);
  --p-gg: max(var(--p-goutte), env(safe-area-inset-left, 0px));   /* repris de a.css (--a-gg) */
  --p-gd: max(var(--p-goutte), env(safe-area-inset-right, 0px));
  --p-entete-h: 72px;
  --p-air: clamp(56px, 7.2vw, 104px);
  --p-air-bande: clamp(40px, 5vw, 72px);
  --p-col-titre: 240px;
  --p-ecart: 96px;
  color-scheme: light;          /* a.css : color-scheme dark */
}

/* ---------- 2. Base (neutralise la base sombre de a.css) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, .a-corps {
  margin: 0; background: var(--p-blanc); color: var(--p-encre);
  font: 400 16px/1.6 var(--p-texte);                         /* a.css : fond nuit, texte clair */
}
.ecran { display: block; overflow-x: clip; background: var(--p-blanc); }   /* a.css : .ecran fond nuit */
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 4px; }             /* a.css : a orange, hover blanc */
a:hover { color: inherit; }
strong { font-weight: 700; color: inherit; }                  /* a.css : strong blanc (invisible sur blanc) */
:focus-visible { outline: 3px solid var(--p-encre); outline-offset: 3px; border-radius: 2px; }
.p-nuit :focus-visible, .a-entete :focus-visible, .a-pied :focus-visible { outline-color: var(--p-orange-clair); }
input::placeholder, textarea::placeholder { color: var(--p-gris-nuit); opacity: 1; }
.ecran [id] { scroll-margin-top: calc(var(--p-entete-h) + env(safe-area-inset-top, 0px) + 20px); }
.a-evitement { position: absolute; left: 16px; top: -100px; z-index: 1100; padding: 12px 16px; background: var(--p-orange); color: var(--p-encre); font-weight: 700; border-radius: 6px; }
.a-evitement:focus { top: 16px; }
.a-masque { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.a-conteneur {
  width: 100%; max-width: var(--p-large); margin-left: auto; margin-right: auto;
  padding-left: var(--p-gg); padding-right: var(--p-gd);       /* a.css : 16 puis 32 px fixes */
}

/* ---------- 3. Zones ---------- */
.p-nuit { background: var(--p-nuit); color: var(--p-pale); }
.p-clair { background: var(--p-blanc); color: var(--p-encre); }
.p-pale { background: var(--p-pale); color: var(--p-encre); }
.a-section { position: relative; padding: 0; }               /* a.css : padding vertical 88 px */
.a-section--relief { background: var(--p-pale); }            /* a.css : fond nuit-800 (sombre) */

/* ---------- 4. En-tête (structure de la peau : nav#a-menu, ul.a-entete__liens, bouton a-entete__bascule ; a.js) ---------- */
.a-entete {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1000;
  background: var(--p-nuit); color: var(--p-pale); border-bottom: 1px solid var(--p-filet-nuit);
  -webkit-backdrop-filter: none; backdrop-filter: none;      /* a.css : fond translucide flou */
}
.a-entete__barre { position: relative; display: flex; align-items: center; gap: 10px; min-height: var(--p-entete-h); }
.a-logo { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; color: var(--p-blanc); flex: none; }
.a-logo:hover { color: var(--p-blanc); }
.a-logo__symbole { width: 30px; height: 30px; flex: none; }
.a-logo__mot { font-family: var(--p-titre); font-weight: 900; font-stretch: 92%; font-size: 18px; line-height: 1; letter-spacing: 0.035em; }
.a-logo__mot b { font-weight: 900; color: var(--p-orange); }
/* Téléphone et tablette : menu déroulant ouvert par a.js (classe a-entete--ouvert, Échap ferme) */
.a-entete__nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - var(--p-entete-h)); overflow-y: auto;
  padding: 8px var(--p-gd) 24px var(--p-gg);
  background: var(--p-nuit); border-bottom: 1px solid var(--p-filet-nuit-fort);
}
.a-entete--ouvert .a-entete__nav { display: block; }
.a-entete__liens { display: grid; margin: 0; padding: 0; list-style: none; }
.a-entete__lien {
  display: flex; align-items: center; min-height: 54px; padding: 8px 0;
  border: 0; border-bottom: 1px solid var(--p-filet-nuit); border-radius: 0; background: none;
  font: 600 17px/1.2 var(--p-texte); color: var(--p-pale); text-decoration: none;
}
.a-entete__lien:hover { color: var(--p-blanc); background: none; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
/* Page courante : couleur ET soulignement épais (pas la couleur seule) */
.a-entete__lien[aria-current="page"] { color: var(--p-orange-clair); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.a-entete__annexe { display: grid; gap: 10px; margin: 16px 0 0; }
.a-entete__pilote { display: inline-flex; align-items: center; min-height: 48px; font: 600 15px/1.2 var(--p-texte); color: var(--p-pale); text-decoration: none; }
.a-entete__pilote:hover { color: var(--p-blanc); text-decoration: underline; text-underline-offset: 6px; }
.a-entete__note { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--p-gris-nuit); }
.a-entete__outils { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.a-entete__cta-long { display: none; }
.a-entete__cta-court { display: inline; }
.a-entete__bascule {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--p-bord-champ); border-radius: 6px; background: transparent; color: var(--p-blanc);
  font: 600 15px/1 var(--p-texte); cursor: pointer;
}
.a-entete__bascule:hover, .a-entete--ouvert .a-entete__bascule { border-color: var(--p-pale); }
@media (min-width: 600px) {
  .a-entete__cta-long { display: inline; }
  .a-entete__cta-court { display: none; }
}
@media (max-width: 359px) {
  .a-entete__outils .a-entete__cta { display: none; }        /* le même bouton reste dans le menu */
}
@media (min-width: 1024px) {
  .a-entete__barre { gap: 28px; }
  .a-entete__bascule { display: none; }
  .a-entete__nav { display: flex; align-items: center; gap: 28px; flex: 1; position: static; max-height: none; overflow: visible; padding: 0; background: none; border: 0; }
  .a-entete__liens { display: flex; align-items: center; gap: 28px; margin-left: auto; }
  .a-entete__lien { min-height: 44px; padding: 0; border: 0; font-size: 15px; }
  .a-entete__annexe { display: flex; align-items: center; margin: 0; }
  .a-entete__annexe .a-btn, .a-entete__note { display: none; }
  .a-entete__pilote { min-height: 44px; }
  .a-entete__outils { margin-left: 0; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .a-entete__barre, .a-entete__nav, .a-entete__liens { gap: 16px; }
  .a-entete__lien, .a-entete__pilote { font-size: 14px; }
}

/* ---------- 5. Fil d'Ariane ---------- */
.a-ariane { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; }
.a-ariane li { display: flex; align-items: center; }
.a-ariane li + li::before { content: "/"; padding: 0 10px; color: var(--p-gris-nuit); }
.a-ariane a { display: flex; align-items: center; min-height: 44px; color: var(--p-filet); text-decoration: underline; text-decoration-thickness: 1px; }
.a-ariane a:hover { color: var(--p-blanc); }
.a-ariane [aria-current="page"] { display: flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--p-blanc); }

/* ---------- 6. Photo d'ouverture ---------- */
.p-ouverture { margin: 0; }
.p-ouverture img { width: 100%; aspect-ratio: 3 / 1; min-height: 240px; object-fit: cover; object-position: 50% var(--p-cadrage, 40%); }
.p-legende { max-width: var(--p-large); margin: 0 auto; padding: 12px var(--p-gd) 0 var(--p-gg); font-size: 13px; line-height: 1.45; color: var(--p-gris-nuit); }

/* ---------- 7. Bloc d'identité ---------- */
.p-identite { padding-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px var(--p-ecart); }
.p-identite__texte { flex: 999 1 560px; min-width: 0; }
.p-identite__action { flex: 1 1 320px; max-width: 400px; min-width: 0; border-top: 1px solid var(--p-filet-nuit-fort); padding-top: 24px; }
.p-identite__action .a-btn { width: 100%; }
.p-identite__note { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--p-gris-nuit); }
.p-chapo-nuit { margin: 22px 0 0; max-width: 46ch; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.35; color: var(--p-pale); }
.p-lien-nuit { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 16px; color: var(--p-blanc); text-decoration: underline; text-decoration-thickness: 1px; }
.p-lien-nuit:hover { color: var(--p-blanc); text-decoration-color: var(--p-orange-clair); }
.p-fin-nuit { height: clamp(40px, 5vw, 64px); }

/* ---------- 8. Titres ---------- */
.a-h1 {
  margin: 0; color: var(--p-blanc); font-family: var(--p-titre); font-weight: 900; font-stretch: 88%;
  letter-spacing: -0.022em; font-size: clamp(44px, 5vw, 72px); line-height: 0.98; text-wrap: balance; max-width: none;
}
.p-h1--long { font-size: clamp(38px, 4.3vw, 62px); line-height: 1.02; word-spacing: 0.1em; }
.a-h1 em { font-style: normal; color: inherit; }            /* a.css : em orange */
.a-h2 {
  margin: 0; color: inherit; font-family: var(--p-titre); font-weight: 800; font-stretch: 88%;
  letter-spacing: -0.018em; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; text-wrap: balance; max-width: none;
}
.p-nuit .a-h2 { color: var(--p-blanc); }
/* Ordre unique partout : trait orange, puis libellé, puis titre */
.p-trait::before { content: ""; display: block; width: 28px; height: 3px; margin: 0 0 16px; background: var(--p-orange); }
.p-libelle { display: block; margin: 0 0 10px; font: 500 15px/1.4 var(--p-texte); font-stretch: 100%; letter-spacing: 0; text-transform: none; color: var(--p-second); }
.p-nuit .p-libelle { color: var(--p-gris-nuit); }
/* Libellé au-dessus d'un h1 (ancien a-surtitre) */
.a-surtitre { margin: 0 0 10px; font: 500 15px/1.4 var(--p-texte); letter-spacing: 0; text-transform: none; color: var(--p-gris-nuit); }
.a-surtitre::before, .a-surtitre::after { content: none; display: none; }   /* a.css : tiret orange avant le surtitre */

/* ---------- 9. Grille de faits ---------- */

/* ---------- 10. Barre d'ancres ---------- */
.p-ancres { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--p-filet-nuit); }
.p-ancres .a-conteneur { display: flex; flex-wrap: wrap; gap: 0 32px; font-size: 15px; }
.p-ancres a { display: flex; align-items: center; min-height: 52px; text-decoration: none; color: var(--p-filet); }
.p-ancres a:hover { color: var(--p-blanc); text-decoration: underline; text-underline-offset: 6px; }

/* ---------- 11. Sections de lecture latérales ---------- */
.p-section { padding-top: var(--p-air); padding-bottom: var(--p-air); }
.p-clair.p-section + .p-clair.p-section { padding-top: 0; }
.p-lat { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px var(--p-ecart); }
.p-lat__tete { flex: 0 0 var(--p-col-titre); max-width: 100%; min-width: 0; }
/* Colonne de titre large : pour un titre qui contient un mot de plus de 12 lettres. Le contenu reste au même x (312 + 24 = 240 + 96). */
.p-lat--large { --p-col-titre: 312px; --p-ecart: 24px; }
.p-lat__corps { flex: 999 1 520px; min-width: 0; }
.p-lat__corps--etroit { max-width: 720px; }
@media (min-width: 900px) { .p-lat__tete--collant { position: sticky; top: calc(var(--p-entete-h) + 24px); } }
.p-lat__tete .a-h2 { overflow-wrap: normal; hyphens: manual; }
.p-lead { margin: 0 0 32px; font-size: 21px; line-height: 1.6; max-width: 40em; }
.p-texte { margin: 20px 0 24px; font-size: 19px; line-height: 1.6; max-width: 40em; }
.p-lat__photo { flex: 0 0 var(--p-col-titre); min-width: 0; margin: 0; }
.p-lat__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--p-cadrage-x, 50%) 50%; }
.p-lat__photo figcaption { padding-top: 8px; font-size: 13px; line-height: 1.45; color: var(--p-second); }
.p-lat__corps > .a-h2 + .p-lead { margin-top: 24px; }
.p-duo { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 64px; }
.p-duo__photo { flex: 1 1 520px; min-width: 0; max-width: 744px; margin: 0; }
.p-duo__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% var(--p-cadrage, 50%); }
.p-duo__photo figcaption { padding-top: 10px; font-size: 13px; color: var(--p-second); }
.p-duo__texte { flex: 1 1 300px; min-width: 0; max-width: 432px; }
.p-large-photo { margin: clamp(24px, 3vw, 40px) 0 0; }
.p-large-photo img { width: 100%; aspect-ratio: 5 / 2; min-height: 220px; object-fit: cover; object-position: 50% var(--p-cadrage, 50%); }
.p-large-photo figcaption { padding-top: 10px; font-size: 13px; color: var(--p-second); }
.p-adresse { margin: 0 0 32px; font-family: var(--p-titre); font-weight: 800; font-stretch: 88%; letter-spacing: -0.015em; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; text-wrap: balance; }

/* ---------- 12. Lignes à filet ---------- */
.p-lignes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 48px; font-size: 19px; line-height: 1.35; }
.p-lignes > li { flex: 1 1 300px; min-width: 0; padding: 16px 0; border-top: 1px solid var(--p-filet); }
.p-lignes--une > li { flex-basis: 100%; font-size: 17px; }
.p-lignes small, .p-dl__sous { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--p-second); }
.p-dl { margin: 0; display: grid; grid-template-columns: 116px minmax(0, 1fr); }
.p-dl dt { padding: 16px 0; border-top: 1px solid var(--p-filet); font-size: 15px; color: var(--p-second); }
.p-dl dd { margin: 0; padding: 16px 0; border-top: 1px solid var(--p-filet); font-size: 19px; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.p-dl dd:last-of-type, .p-dl dt:last-of-type { border-bottom: 1px solid var(--p-filet); }
.p-dl address { font-style: normal; }

/* ---------- 13. Questions ---------- */
.a-faq { border-bottom: 1px solid var(--p-filet); display: block; gap: 0; }
.a-question { border: 0; border-top: 1px solid var(--p-filet); border-radius: 0; background: none; padding: 0; }
.a-question__titre {
  list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  min-height: 44px; padding: 20px 0; cursor: pointer; color: var(--p-encre);
  font: 500 19px/1.35 var(--p-texte); background: none;
}
.a-question__titre::-webkit-details-marker { display: none; }
.a-question__titre::before { content: none; display: none; }
.a-question__titre::after {
  content: ""; position: static; flex: none; width: 16px; height: 16px; margin-top: 5px; border: 0; transform: none;
  background: linear-gradient(currentColor, currentColor) center / 16px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 16px no-repeat;
}
.a-question[open] > .a-question__titre::after { background: linear-gradient(currentColor, currentColor) center / 16px 2px no-repeat; transform: none; }
.a-question__titre:hover > span { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--p-second); text-underline-offset: 5px; }
.a-question__reponse { padding: 0 40px 24px 0; font-size: 17px; line-height: 1.6; color: var(--p-encre); }
.a-question__reponse p { margin: 0; max-width: 64ch; color: inherit; }

/* ---------- 14. Liens ---------- */
/* Liens dans un texte : soulignement fin #44546F (6,5:1 sur pâle, 7,6:1 sur blanc), orange au survol seulement */
.p-clair a:not(.a-btn), .p-pale a:not(.a-btn) { color: var(--p-encre); text-decoration: underline; text-decoration-color: var(--p-second); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.p-clair a:not(.a-btn):hover, .p-pale a:not(.a-btn):hover { color: var(--p-encre); text-decoration-color: var(--p-orange); text-decoration-thickness: 2px; }
.p-lien-suite { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-size: 17px; font-weight: 600; }
.p-clair .p-lien-suite, .p-pale .p-lien-suite { text-decoration-color: var(--p-encre); text-decoration-thickness: 2px; }

/* ---------- 15. Boutons ---------- */
.a-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0; min-height: 44px; padding: 0 20px;
  border-radius: 6px; border: 1px solid transparent; box-shadow: none; font: 700 15px/1.2 var(--p-texte);
  text-decoration: none; cursor: pointer; text-align: center; letter-spacing: 0; text-transform: none;
}
.a-btn::before, .a-btn::after { content: none; display: none; }
.a-btn--primaire { background: var(--p-orange); color: var(--p-encre); border-color: var(--p-orange); }
.a-btn--primaire:hover { background: var(--p-orange-clair); border-color: var(--p-orange-clair); color: var(--p-encre); }
.a-btn--primaire:active { background: var(--p-orange); transform: translateY(1px); }
.a-btn[disabled], .a-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.a-btn--grand { min-height: 56px; padding: 0 28px; font-size: 17px; }
.a-btn--petit { min-height: 44px; padding: 0 16px; font-size: 14px; }
.a-btn--bloc { width: 100%; }
/* Bouton contour (ancien a-btn--contour), en bandeau nuit seulement : bordure #6F83A8, 4,98:1 */
.a-btn--contour { background: transparent; color: var(--p-blanc); border-color: var(--p-bord-champ); }
.a-btn--contour:hover { border-color: var(--p-pale); color: var(--p-blanc); background: transparent; }

/* ---------- 16. Bandeau photo nuit ---------- */
.p-bande-photo { padding: clamp(32px, 4vw, 56px) 0; }
.p-bande-photo figure { margin-top: 0; margin-bottom: 0; }
.p-bande-photo img { width: 100%; aspect-ratio: 5 / 2; min-height: 220px; object-fit: cover; object-position: 50% var(--p-cadrage, 50%); }
.p-bande-photo__pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 32px; padding-top: 12px; font-size: 15px; color: var(--p-gris-nuit); }
.p-bande-photo__pied p { margin: 0; }

/* ---------- 17. Bandeau d'appel nuit ---------- */
.p-appel { padding: var(--p-air-bande) 0; }
.p-appel__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px var(--p-ecart); }
.p-appel__texte { flex: 999 1 520px; min-width: 0; }
.p-appel .a-h2 { font-size: clamp(32px, 3.6vw, 52px); }
.p-appel__texte > p { margin: 16px 0 0; max-width: 52ch; font-size: 17px; line-height: 1.5; color: var(--p-gris-nuit); }
.p-appel__actions { flex: 1 1 320px; max-width: 400px; display: flex; flex-direction: column; gap: 12px; }
.p-appel__actions .a-btn { width: 100%; }

/* ---------- 18. Formulaire en bandeau nuit ---------- */
.p-form-bande { padding: var(--p-air-bande) 0; color-scheme: dark; }
.p-form-bande .p-lat__tete > p { margin: 16px 0 0; max-width: 40ch; font-size: 15px; line-height: 1.5; color: var(--p-gris-nuit); }
.p-form-bande .p-lat__tete a { color: var(--p-blanc); text-decoration: underline; text-decoration-thickness: 1px; }
.a-form { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.p-rangee { display: flex; flex-wrap: wrap; gap: 20px 24px; }
.a-champ { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; margin: 0; }
.a-form > .a-champ { flex: none; }
.a-champ__label { font: 600 14px/1.4 var(--p-texte); color: var(--p-filet); }
.a-champ__label small { font-size: 14px; font-weight: 400; color: var(--p-gris-nuit); }
.a-champ__controle {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--p-bord-champ); border-radius: 6px;
  background: var(--p-champ); color: var(--p-blanc); font: 400 16px/1.4 var(--p-texte); box-shadow: none;
}
.a-champ__controle:hover { border-color: var(--p-filet); }
.a-champ__controle:focus-visible { outline: 3px solid var(--p-orange-clair); outline-offset: 2px; border-color: var(--p-pale); }
.a-champ__controle:disabled { opacity: 0.6; cursor: not-allowed; }
.a-champ__controle[aria-invalid="true"] { border-color: var(--p-orange-clair); }
textarea.a-champ__controle { resize: vertical; min-height: 140px; }
.a-coche { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; font-size: 15px; line-height: 1.45; color: var(--p-pale); }
.a-coche a { color: var(--p-blanc); text-decoration: underline; text-decoration-thickness: 1px; }
.a-coche input { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1px solid var(--p-bord-champ); border-radius: 4px; background: var(--p-champ); cursor: pointer; }
.a-coche input:checked { border-color: var(--p-orange); background: var(--p-orange) url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%230A1220' stroke-width='2'/%3E%3C/svg%3E") center / 16px no-repeat; }
.a-form .a-btn { align-self: flex-start; min-width: min(100%, 320px); }

/* ---------- 19. Pied de page, nuit à plat ---------- */
.a-pied { background: var(--p-nuit-pied); color: var(--p-gris-nuit); font-size: 14px; line-height: 1.5; padding: 0; border: 0; }
.a-pied a { color: var(--p-filet); }
.a-pied a:hover { color: var(--p-blanc); }
.a-pied__haut { padding-top: 48px; display: flex; flex-wrap: wrap; gap: 32px 64px; }
.a-pied__marque { flex: 0 0 220px; min-width: 0; }
.a-pied__phrase { margin: 14px 0 0; }
.a-pied__rappel { margin: 6px 0 0; }
.a-pied__colonnes { flex: 999 1 640px; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
.a-pied__titre { margin: 0 0 6px; font: 600 14px/1.4 var(--p-texte); color: var(--p-pale); letter-spacing: 0; text-transform: none; }
.a-pied__liste { list-style: none; margin: 0; padding: 0; }
.a-pied__liste a { display: block; padding: 4px 0; line-height: 1.4; text-decoration: none; }
.a-pied__liste a:hover { text-decoration: underline; }
.a-pied__regles { margin-top: 32px; border-top: 1px solid var(--p-filet-nuit); display: flex; flex-wrap: wrap; gap: 0 64px; }
.a-pied__regle { flex: 1 1 360px; min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--p-gris-nuit); display: block; }
details.a-pied__regle > summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 48px; cursor: pointer; margin: 0;
}
details.a-pied__regle > summary::-webkit-details-marker { display: none; }
details.a-pied__regle > summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
}
details.a-pied__regle[open] > summary::after { background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat; }
.a-pied__regle > p, .a-pied__regle > ol { margin: 0 0 10px; max-width: 70ch; }
.a-pied__regle ol { padding-left: 1.3em; list-style: decimal; }    /* a.css : listes sans puce */
.a-pied__bas { margin-top: 0; border-top: 1px solid var(--p-filet-nuit); padding: 14px 0 calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; font-size: 13px; }
.a-pied__editeur { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; flex: 1 1 100%; }
.a-pied__editeur strong { color: var(--p-pale); font-weight: 600; }
.a-pied__editeur a { display: inline-flex; align-items: center; min-height: 32px; }
.a-pied__bas > p { margin: 0; padding: 6px 0; }
.a-pied__bas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 28px; }
.a-pied__bas ul a { display: flex; align-items: center; min-height: 36px; }
@media (max-width: 1023px) {
  .a-pied__colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .a-pied__haut { padding-top: 40px; }
  .a-pied__marque { flex-basis: 100%; }
  .a-pied__colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; padding-bottom: 16px; border-bottom: 1px solid var(--p-filet-nuit); }
  .a-pied__liste { padding-bottom: 8px; }
  .a-pied__liste a, .a-pied__bas ul a, .a-pied__editeur a { display: flex; align-items: center; min-height: 44px; padding: 0; }
  .a-pied__regles { margin-top: 0; border-top: 0; }
  .a-pied__regle { flex-basis: 100%; border-bottom: 1px solid var(--p-filet-nuit); }
}

/* ---------- 20. Téléphone ---------- */
@media (max-width: 600px) {
  :root { --p-ecart: 40px; }
  .p-ouverture img { min-height: 220px; aspect-ratio: 4 / 3; }
  .p-lead { font-size: 19px; }
  .p-lignes { font-size: 17px; }
  .p-lignes > li { flex-basis: 100%; }
  .a-question__titre { font-size: 17px; padding: 16px 0; }
  .a-question__reponse { padding-right: 0; font-size: 16px; }
  .p-identite__action, .p-appel__actions { max-width: none; }
  .a-form .a-btn { align-self: stretch; }
  .a-logo__mot { font-size: 16px; }
  .a-entete__outils .a-btn--petit { padding: 0 12px; }
  .p-lat__photo { flex-basis: 100%; }
  .p-lat__photo img { aspect-ratio: 3 / 2; }
  .p-lat--large { --p-ecart: 24px; }
}
@media (max-width: 480px) { .p-dl { grid-template-columns: 1fr; } .p-dl dd { border-top: 0; padding-top: 0; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ---------- 21. Regles gardees de l'ancienne section « cohabitation » (elles changent le rendu meme sans a.css) ---------- */
.a-evitement { font: 700 15px/1.2 var(--p-texte); text-decoration: none; }
.a-ariane { gap: 0; color: var(--p-filet); }
.a-champ__controle { transition: none; }
select.a-champ__controle {
  -webkit-appearance: none; appearance: none; padding-right: 40px; line-height: 1.4;
  background: var(--p-champ) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A6B4CA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right 12px center / 20px no-repeat;
}
select.a-champ__controle option { background: var(--p-champ); color: var(--p-blanc); line-height: 1.4; }
.a-coche { padding: 0; grid-template-columns: none; cursor: pointer; }
.a-coche input { accent-color: var(--p-orange); }
.a-pied__editeur strong { font: 600 13px/1.4 var(--p-texte); letter-spacing: 0; }
.a-pied__rappel { width: 100%; max-width: none; align-items: normal; justify-self: stretch; }
.a-evitement { min-height: 44px; display: inline-flex; align-items: center; }
.p-dl dd > a { display: inline-flex; align-items: center; min-height: 44px; }
.p-adresse .p-dl__sous { font: 400 15px/1.45 var(--p-texte); font-stretch: 100%; letter-spacing: 0; margin-top: 8px; }


/* ==========================================================================
   KIT MAQUETTE V3 (17/11/2026, soir) : composants des 26 écrans du plan
   Dans build/maquette-v3, cette feuille se charge SEULE (a.css et a.js ne sont pas chargés) :
   le menu, Échap, les filtres et les règles du pied sont gérés par premium.js.
   Les sections 1 à 21 ci-dessus sont reprises telles quelles de build/theme-premium.
   Mode d'emploi, squelettes, états : kit/KIT-COMPOSANTS.md.
   ========================================================================== */

/* ---------- 22. Jetons ajoutés ---------- */
:root {
  --p-encre-survol: #22324D;     /* survol du bouton encre */
  --p-erreur: #A63A00;           /* message d'erreur sur fond clair : 6,1:1 sur blanc, 5,1:1 sur pâle */
  --p-indice: #5B6A84;           /* texte indicatif des champs clairs : 5,4:1 sur blanc */
}


/* ---------- 24. En-tête v3 : six entrées, menu replié jusqu'à 1 199 px ---------- */
@media (min-width: 1024px) and (max-width: 1199px) {
  .p-entete .a-entete__barre { gap: 10px; }
  .p-entete .a-entete__bascule { display: inline-flex; }
  .p-entete .a-entete__nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex: none;
    max-height: calc(100vh - var(--p-entete-h)); overflow-y: auto;
    padding: 8px var(--p-gd) 24px var(--p-gg); background: var(--p-nuit); border-bottom: 1px solid var(--p-filet-nuit-fort);
  }
  .p-entete.a-entete--ouvert .a-entete__nav { display: block; }
  .p-entete .a-entete__liens { display: grid; gap: 0; margin-left: 0; }
  .p-entete .a-entete__lien { min-height: 54px; padding: 8px 0; border-bottom: 1px solid var(--p-filet-nuit); font-size: 17px; }
  .p-entete .a-entete__annexe { display: grid; gap: 10px; margin: 16px 0 0; }
  .p-entete .a-entete__annexe .a-btn { display: inline-flex; }
  .p-entete .a-entete__note { display: block; }
  .p-entete .a-entete__pilote { min-height: 48px; font-size: 15px; }
  .p-entete .a-entete__outils { margin-left: auto; }
}
@media (min-width: 1200px) {
  .p-entete .a-entete__barre, .p-entete .a-entete__nav, .p-entete .a-entete__liens { gap: 24px; }
  .p-entete .a-entete__lien, .p-entete .a-entete__pilote { font-size: 15px; }
}

/* ---------- 25. Boutons de zone claire ---------- */
/* L'orange reste réservé aux bandeaux nuit (2,85:1 contre le blanc). En zone claire : bouton encre (16,9:1) ou bouton trait. */
.a-btn--encre { background: var(--p-encre); color: var(--p-blanc); border-color: var(--p-encre); }
.a-btn--encre:hover { background: var(--p-encre-survol); border-color: var(--p-encre-survol); color: var(--p-blanc); }
.a-btn--encre:active { transform: translateY(1px); }
.a-btn--trait { background: transparent; color: var(--p-encre); border-color: var(--p-encre); }
.a-btn--trait:hover { background: var(--p-pale); color: var(--p-encre); }
.p-pale .a-btn--trait:hover { background: var(--p-blanc); }
.a-btn--encre:focus-visible, .a-btn--trait:focus-visible { outline: 3px solid var(--p-encre); outline-offset: 3px; }
.p-clair a.a-btn--encre, .p-pale a.a-btn--encre { color: var(--p-blanc); text-decoration: none; }
.p-clair a.a-btn--trait, .p-pale a.a-btn--trait { color: var(--p-encre); text-decoration: none; }


/* ---------- 27. Tête d'écran utilitaire (sans photo) ---------- */
.p-tete { padding-bottom: clamp(32px, 4vw, 56px); }
.p-tete__titre { margin-top: clamp(8px, 2vw, 24px); }
.p-h1--outil { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.02; }
.p-tete .p-chapo-nuit { margin-top: 14px; font-size: clamp(17px, 1.4vw, 20px); max-width: 60ch; color: var(--p-filet); }
.p-tete .p-recherche { margin-top: clamp(20px, 2.6vw, 32px); }
.p-section--outil { padding-top: clamp(24px, 3.4vw, 48px); padding-bottom: var(--p-air); }
.p-h3 { margin: 0 0 12px; font-family: var(--p-titre); font-weight: 800; font-stretch: 88%; letter-spacing: -0.012em; font-size: clamp(21px, 1.8vw, 24px); line-height: 1.15; color: inherit; }
.p-deux { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px var(--p-ecart); }
.p-deux > * { flex: 1 1 420px; min-width: 0; }
.p-note { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--p-second); max-width: 70ch; }
.p-nuit .p-note { color: var(--p-gris-nuit); }
.p-note-forte { margin: 20px 0 0; font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--p-encre); }
.p-nuit .p-note-forte { color: var(--p-blanc); }

/* ---------- 28. Recherche à deux champs ---------- */
.p-recherche { margin: 0; }
.p-recherche__champs { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.p-recherche__quoi { flex: 3 1 320px; }
.p-recherche__ou { flex: 2 1 240px; }
.p-recherche .a-champ__label { font-size: 15px; color: var(--p-pale); }
.p-recherche .a-champ__controle { min-height: 56px; font-size: 17px; padding: 12px 14px; }
.p-recherche__bouton { flex: 0 0 auto; min-width: 168px; min-height: 56px; }
.p-recherche__aide { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--p-gris-nuit); }
.p-recherche--grande .a-champ__controle, .p-recherche--grande .p-recherche__bouton { min-height: 64px; }
.p-recherche--grande .a-champ__controle { font-size: 18px; }
.p-recherche--grande .p-recherche__bouton { font-size: 17px; padding: 0 32px; }
.p-recherche--compacte .a-champ__controle, .p-recherche--compacte .p-recherche__bouton { min-height: 48px; }
.p-recherche--compacte .a-champ__controle { font-size: 16px; padding: 10px 12px; }
.p-recherche input[type="search"]::-webkit-search-cancel-button { filter: invert(1); }
@media (max-width: 600px) {
  .p-recherche__champs { gap: 12px; }
  .p-recherche__quoi, .p-recherche__ou, .p-recherche__bouton { flex: 1 1 100%; }
  .p-recherche--grande .a-champ__controle, .p-recherche--grande .p-recherche__bouton { min-height: 56px; }
}

/* ---------- 29. Champs, cases et messages en zone claire ---------- */
.p-clair .a-champ__label, .p-pale .a-champ__label { color: var(--p-encre); }
.p-clair .a-champ__label small, .p-pale .a-champ__label small { color: var(--p-second); }
.p-clair .a-champ__controle, .p-pale .a-champ__controle { background-color: var(--p-blanc); color: var(--p-encre); border-color: var(--p-bord-champ); }
.p-clair .a-champ__controle:hover, .p-pale .a-champ__controle:hover { border-color: var(--p-encre); }
.p-clair .a-champ__controle:focus-visible, .p-pale .a-champ__controle:focus-visible { outline: 3px solid var(--p-encre); outline-offset: 2px; border-color: var(--p-encre); }
.p-clair .a-champ__controle[aria-invalid="true"], .p-pale .a-champ__controle[aria-invalid="true"] { border-color: var(--p-erreur); border-width: 2px; }
.p-clair .a-champ__controle::placeholder, .p-pale .a-champ__controle::placeholder { color: var(--p-indice); }
.p-clair select.a-champ__controle, .p-pale select.a-champ__controle {
  background: var(--p-blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1220' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right 12px center / 20px no-repeat;
}
.p-clair select.a-champ__controle option, .p-pale select.a-champ__controle option { background: var(--p-blanc); color: var(--p-encre); }
.p-clair .a-coche, .p-pale .a-coche { color: var(--p-encre); }
.p-clair .a-coche a, .p-pale .a-coche a { color: var(--p-encre); }
.p-clair .a-coche input, .p-pale .a-coche input { background-color: var(--p-blanc); border-color: var(--p-bord-champ); }
.p-clair .a-coche input:hover, .p-pale .a-coche input:hover { border-color: var(--p-encre); }
.p-clair .a-coche input:checked, .p-pale .a-coche input:checked { border-color: var(--p-encre); background-color: var(--p-encre); background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23FFFFFF' stroke-width='2'/%3E%3C/svg%3E"); }
.a-coche input:disabled { opacity: 0.5; cursor: not-allowed; }
.a-coche input[type="radio"] { border-radius: 50%; }
.a-coche input[type="radio"]:checked { background-image: none; box-shadow: inset 0 0 0 5px var(--p-champ); }
.p-clair .a-coche input[type="radio"]:checked, .p-pale .a-coche input[type="radio"]:checked { background-image: none; box-shadow: inset 0 0 0 5px var(--p-blanc); }
.a-coche input:focus-visible { outline: 3px solid var(--p-orange-clair); outline-offset: 2px; }
.p-clair .a-coche input:focus-visible, .p-pale .a-coche input:focus-visible { outline-color: var(--p-encre); }
.a-champ__aide { margin: 0; font-size: 14px; line-height: 1.45; color: var(--p-gris-nuit); }
.p-clair .a-champ__aide, .p-pale .a-champ__aide { color: var(--p-second); }
.a-champ__erreur { margin: 0; font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--p-orange-clair); }
.p-clair .a-champ__erreur, .p-pale .a-champ__erreur { color: var(--p-erreur); }
.p-groupe { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.p-groupe > legend { padding: 0; margin: 0 0 4px; font-family: var(--p-titre); font-weight: 800; font-stretch: 88%; letter-spacing: -0.012em; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.p-choix { display: flex; flex-direction: column; gap: 4px; }
.p-choix--ligne { flex-direction: row; flex-wrap: wrap; gap: 4px 28px; }
.p-message { margin: 0; padding: 14px 18px; border-left: 3px solid var(--p-encre); background: var(--p-pale); font-size: 16px; line-height: 1.5; color: var(--p-encre); }
.p-pale .p-message { background: var(--p-blanc); }
.p-message--erreur { border-left-color: var(--p-erreur); }
.p-message--succes { border-left-color: var(--p-orange); }
.p-message strong { display: block; margin-bottom: 2px; }
.p-nuit .p-message { background: var(--p-champ); color: var(--p-pale); border-left-color: var(--p-orange-clair); }
.p-copie { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.p-copie .a-champ__controle { flex: 1 1 280px; width: auto; font-family: ui-monospace, Consolas, monospace; font-size: 15px; }

/* ---------- 30. Résultats : cadre, filtres, liste, carte ---------- */
.p-resultats-cadre { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 56px; }
.p-resultats-zone { flex: 999 1 560px; min-width: 0; }
.p-resultats__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 32px; padding-bottom: 16px; font-size: 15px; color: var(--p-second); }
.p-resultats__tete p { margin: 0; }
.p-resultats__nombre { font-size: 17px; color: var(--p-encre); }
.p-resultats__nombre strong { font-weight: 700; }
.p-resultats { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--p-filet); }

/* Filtres : colonne de 240 px sur ordinateur ; bouton et corps ferme sous 900 px (section 43) */
.p-filtres { flex: 0 0 var(--p-col-titre); min-width: 0; border-top: 2px solid var(--p-encre); }
.p-filtres__actifs { font-weight: 400; color: var(--p-second); }
.p-filtres__form { margin: 0; padding-bottom: 8px; }
.p-filtre { margin: 0; padding: 14px 0 12px; border: 0; border-top: 1px solid var(--p-filet); min-width: 0; }
.p-filtre > legend { float: left; width: 100%; padding: 0; margin: 0 0 6px; font: 600 15px/1.4 var(--p-texte); color: var(--p-encre); }
.p-filtre > legend + * { clear: left; }
.p-filtre .a-coche { min-height: 40px; align-items: center; font-size: 15px; }
.p-filtre .a-coche input { margin-top: 0; }
.p-filtre .a-champ__controle { min-height: 44px; }
.p-filtre__compte { color: var(--p-second); font-variant-numeric: tabular-nums; }
.p-filtres__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-top: 12px; border-top: 1px solid var(--p-filet); }
.p-filtres__pied .a-btn { flex: 1 1 100%; }
@media (min-width: 900px) {
  .p-filtres__appliquer { display: none; }
}
@media (max-width: 899px) {
  .p-filtres { flex-basis: 100%; border-bottom: 1px solid var(--p-encre); }
  .p-filtres .a-coche { min-height: 44px; }
}

/* Carte de résultat : ligne à filet, photo facultative à gauche */
.p-resultat { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px 40px; padding: 32px 0; border-top: 1px solid var(--p-filet); }
.p-resultat:first-child { border-top: 2px solid var(--p-encre); }
.p-resultat--sans-photo, .p-resultat--reduite { grid-template-columns: minmax(0, 1fr); }
.p-resultat__photo { margin: 0; min-width: 0; }
.p-resultat__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% var(--p-cadrage, 50%); }
.p-resultat__photo figcaption { padding-top: 6px; font-size: 12px; line-height: 1.4; color: var(--p-second); }
.p-resultat__corps { min-width: 0; }
.p-resultat__marque { display: flex; align-items: center; gap: 14px; }
.p-resultat__logo { flex: none; width: 48px; height: 48px; object-fit: contain; }
.p-resultat__nom { margin: 0; font-family: var(--p-titre); font-weight: 800; font-stretch: 88%; letter-spacing: -0.015em; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.p-clair .p-resultat__nom a, .p-pale .p-resultat__nom a { text-decoration: none; }
.p-clair .p-resultat__nom a:hover, .p-pale .p-resultat__nom a:hover { text-decoration: underline; text-decoration-color: var(--p-orange); text-decoration-thickness: 2px; }
.p-resultat__activite { margin: 8px 0 0; font-size: 18px; line-height: 1.4; }
.p-resultat__faits { margin: 16px 0 0; display: grid; grid-template-columns: 168px minmax(0, 1fr); font-size: 15px; line-height: 1.45; }
.p-resultat__faits dt { padding: 8px 16px 8px 0; border-top: 1px solid var(--p-filet); color: var(--p-second); }
.p-resultat__faits dd { margin: 0; padding: 8px 0; border-top: 1px solid var(--p-filet); min-width: 0; }
.p-confiance { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.45; color: var(--p-second); }
.p-confiance > li { padding: 0; }
.p-resultat__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 20px; }
.p-resultat__fiche { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; }
.p-garder { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.p-garder input { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1px solid var(--p-bord-champ); border-radius: 4px; background: var(--p-blanc); cursor: pointer; }
.p-garder input:hover { border-color: var(--p-encre); }
.p-garder input:checked { border-color: var(--p-encre); background: var(--p-encre) url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23FFFFFF' stroke-width='2'/%3E%3C/svg%3E") center / 16px no-repeat; }
.p-garder input:focus-visible { outline: 3px solid var(--p-encre); outline-offset: 2px; }
/* Fiche réduite (nom seul, sans abonnement) : plus discrète */
.p-resultat--reduite { padding: 24px 0; }
.p-resultat--reduite .p-resultat__nom { font-family: var(--p-texte); font-weight: 600; font-stretch: 100%; letter-spacing: 0; font-size: 20px; color: var(--p-second); }
.p-resultat--reduite .p-resultat__activite { font-size: 15px; color: var(--p-second); }
@media (max-width: 760px) {
  .p-resultat { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 0; }
  .p-resultat__photo img { aspect-ratio: 16 / 9; }
  .p-resultat__faits { grid-template-columns: minmax(0, 1fr); }
  .p-resultat__faits dd { border-top: 0; padding-top: 0; }
  .p-resultat__activite { font-size: 17px; }
  .p-resultat__actions { gap: 4px 24px; }
  .p-resultat__actions .a-btn { flex: 1 1 100%; }
}

/* Étiquette de place payante : texte et trait orange, jamais une pastille */
.p-etiquette-tete { display: inline-block; margin: 0 0 10px; padding: 1px 0 1px 10px; border-left: 3px solid var(--p-orange); font: 600 14px/1.35 var(--p-texte); color: var(--p-encre); }
.p-nuit .p-etiquette-tete { color: var(--p-blanc); }

/* Suite de liste */
.p-suite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 28px; font-size: 15px; color: var(--p-second); }
.p-suite p { margin: 0; }

/* ---------- 31. État vide ---------- */
.p-vide { padding: 32px 0 8px; border-top: 2px solid var(--p-encre); max-width: 760px; }
.p-vide__titre { margin: 0; font-family: var(--p-titre); font-weight: 800; font-stretch: 88%; letter-spacing: -0.015em; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.p-vide > p { margin: 14px 0 0; font-size: 18px; line-height: 1.55; max-width: 60ch; }
.p-vide .p-lignes { margin-top: 24px; }
.p-vide__actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 28px; }

/* ---------- 32. Tableau à filets ---------- */
.p-tableau-cadre { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.p-tableau-cadre:focus-visible { outline: 3px solid var(--p-encre); outline-offset: 4px; }
.p-tableau { width: 100%; border-collapse: collapse; text-align: left; font-size: 16px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.p-tableau caption { caption-side: top; text-align: left; padding: 0 0 12px; font-size: 15px; color: var(--p-second); }
.p-tableau thead th { padding: 10px 20px 10px 0; border-bottom: 1px solid var(--p-encre); font-size: 14px; font-weight: 500; color: var(--p-second); vertical-align: bottom; }
.p-tableau tbody th, .p-tableau tbody td { padding: 16px 20px 16px 0; border-bottom: 1px solid var(--p-filet); vertical-align: top; }
.p-tableau tbody th { font-weight: 600; }
.p-tableau thead th:last-child, .p-tableau tbody td:last-child { padding-right: 0; }
.p-tableau .p-num { text-align: right; white-space: nowrap; }
.p-tableau small { display: block; margin-top: 2px; font-size: 14px; color: var(--p-second); }
.p-tableau tfoot td, .p-tableau tfoot th { padding: 14px 20px 0 0; font-size: 14px; color: var(--p-second); font-weight: 400; }
.p-nuit .p-tableau thead th { border-bottom-color: var(--p-filet-nuit-fort); color: var(--p-gris-nuit); }
.p-nuit .p-tableau tbody th, .p-nuit .p-tableau tbody td { border-bottom-color: var(--p-filet-nuit); }
/* Tableau qui s'empile au téléphone : chaque cellule porte data-titre */
@media (max-width: 600px) {
  .p-tableau--pile thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .p-tableau--pile, .p-tableau--pile tbody, .p-tableau--pile tr, .p-tableau--pile th, .p-tableau--pile td { display: block; width: 100%; }
  .p-tableau--pile tbody tr { padding: 14px 0; border-bottom: 1px solid var(--p-filet); }
  .p-tableau--pile tbody tr:first-child { border-top: 1px solid var(--p-encre); }
  .p-tableau--pile tbody th, .p-tableau--pile tbody td { padding: 3px 0; border: 0; text-align: left; white-space: normal; }
  .p-tableau--pile tbody td[data-titre]::before { content: attr(data-titre) " : "; color: var(--p-second); font-size: 14px; }
}

/* ---------- 33. Texte long (guide, règles, glossaire) ---------- */
.p-article { max-width: 70ch; font-size: 18px; line-height: 1.65; }
.p-article > :first-child { margin-top: 0; }
.p-article p { margin: 0 0 18px; }
.p-article h2 { margin: 56px 0 16px; font-family: var(--p-titre); font-weight: 800; font-stretch: 88%; letter-spacing: -0.015em; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.12; text-wrap: balance; }
.p-article h2::before { content: ""; display: block; width: 28px; height: 3px; margin: 0 0 14px; background: var(--p-orange); }
.p-article h3 { margin: 36px 0 10px; font-family: var(--p-titre); font-weight: 700; font-stretch: 92%; letter-spacing: -0.01em; font-size: clamp(20px, 1.7vw, 23px); line-height: 1.2; }
.p-article ul, .p-article ol { margin: 0 0 20px; padding-left: 1.3em; }
.p-article li { margin: 0 0 8px; padding-left: 4px; }
.p-article li::marker { color: var(--p-second); }
.p-article blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--p-encre); font-size: 20px; line-height: 1.5; }
.p-article blockquote p { margin: 0; }
.p-article blockquote footer { margin-top: 8px; font-size: 14px; color: var(--p-second); }
.p-article .p-note { font-size: 15px; }
.p-article aside { margin: 28px 0; padding: 18px 0; border-top: 1px solid var(--p-filet); border-bottom: 1px solid var(--p-filet); font-size: 16px; line-height: 1.55; color: var(--p-encre); }
.p-article aside strong { display: block; margin-bottom: 4px; }
.p-maj { margin: 0 0 24px; font-size: 14px; color: var(--p-second); }
.p-sommaire { list-style: none; margin: 0; padding: 0; counter-reset: p-som; font-size: 16px; line-height: 1.35; }
.p-sommaire li { counter-increment: p-som; border-top: 1px solid var(--p-filet); }
.p-sommaire li:last-child { border-bottom: 1px solid var(--p-filet); }
.p-sommaire a { display: flex; gap: 12px; align-items: center; min-height: 48px; padding: 6px 0; }
.p-clair .p-sommaire a, .p-pale .p-sommaire a { text-decoration: none; }
.p-clair .p-sommaire a:hover, .p-pale .p-sommaire a:hover { text-decoration: underline; text-decoration-color: var(--p-orange); }
.p-sommaire a::before { content: counter(p-som); flex: none; width: 22px; color: var(--p-second); font-variant-numeric: tabular-nums; }
.p-glossaire { margin: 0; max-width: 70ch; }
.p-glossaire dt { padding-top: 22px; border-top: 1px solid var(--p-filet); font-family: var(--p-titre); font-weight: 700; font-stretch: 92%; font-size: 21px; line-height: 1.2; }
.p-glossaire dd { margin: 8px 0 22px; font-size: 17px; line-height: 1.6; }
.p-glossaire dd + dd { margin-top: -12px; font-size: 15px; color: var(--p-second); }
@media (max-width: 600px) { .p-article { font-size: 17px; } .p-article blockquote { font-size: 18px; } }

/* ---------- 34. Formulaire en étapes ---------- */
.p-etapes { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0 12px; counter-reset: p-etape; }
.p-etapes > li { counter-increment: p-etape; min-width: 0; padding-top: 12px; border-top: 3px solid var(--p-filet); font-size: 14px; line-height: 1.35; color: var(--p-second); }
.p-etapes > li::before { content: "Étape " counter(p-etape); display: block; font-size: 13px; }
.p-etapes > li.p-etapes__fait { border-top-color: var(--p-encre); color: var(--p-encre); }
.p-etapes > li[aria-current="step"] { border-top-color: var(--p-orange); color: var(--p-encre); font-weight: 600; }
.p-etapes > li[aria-current="step"]::before { font-weight: 400; }
.p-etapes a { display: inline-flex; min-height: 24px; }
.p-etape { display: flex; flex-direction: column; gap: 28px; max-width: 760px; margin: 0; }
.p-etape__compteur { margin: 0 0 6px; font-size: 15px; color: var(--p-second); }
.p-etape__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--p-filet); }
.p-etape__nav .a-btn { min-width: 168px; }
.p-etape__nav-suite { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-left: auto; }
.p-etape .p-rangee { gap: 20px 24px; }
@media (max-width: 600px) {
  .p-etapes > li { font-size: 13px; }
  .p-etapes__nom { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .p-etapes > li[aria-current="step"] .p-etapes__nom { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .p-etape__nav { flex-direction: column-reverse; align-items: stretch; }
  .p-etape__nav .a-btn, .p-etape__nav-suite { width: 100%; margin-left: 0; }
  .p-etape__nav-suite { flex-direction: column; align-items: stretch; }
}

/* ---------- 35. Vérifier avant d'envoyer ---------- */
.p-recap { margin: 0; display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; border-bottom: 1px solid var(--p-filet); font-size: 16px; line-height: 1.5; }
.p-recap > div { display: contents; }
.p-recap dt, .p-recap dd { margin: 0; padding: 14px 0; border-top: 1px solid var(--p-filet); min-width: 0; }
.p-recap dt { padding-right: 16px; color: var(--p-second); font-size: 15px; }
.p-recap dd { overflow-wrap: anywhere; }
.p-recap dd.p-recap__modifier { padding-left: 16px; text-align: right; }
.p-recap__modifier a { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; }
.p-destinataires { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--p-filet); }
.p-destinataire { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: start; padding: 20px 0; border-top: 1px solid var(--p-filet); }
.p-destinataire:first-child { border-top: 2px solid var(--p-encre); }
.p-destinataire__nom { margin: 0; font-family: var(--p-titre); font-weight: 800; font-stretch: 88%; letter-spacing: -0.012em; font-size: 22px; line-height: 1.15; }
.p-destinataire__raison { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--p-second); }
.p-destinataire__etat { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--p-encre); }
.p-destinataire--retire .p-destinataire__nom, .p-destinataire--retire .p-destinataire__raison { color: var(--p-second); text-decoration: line-through; text-decoration-thickness: 1px; }
.p-destinataire__etat[hidden] { display: none; }
.p-envoi { margin-top: 40px; padding-top: 28px; border-top: 2px solid var(--p-encre); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.p-envoi > p { flex: 1 1 320px; margin: 0; font-size: 15px; line-height: 1.5; color: var(--p-second); }
@media (max-width: 600px) {
  .p-recap { grid-template-columns: minmax(0, 1fr) auto; }
  .p-recap dt { grid-column: 1 / -1; padding-bottom: 0; }
  .p-recap dd { border-top: 0; padding-top: 4px; }
  .p-destinataire { grid-template-columns: minmax(0, 1fr); }
  .p-envoi .a-btn { width: 100%; }
}

/* ---------- 36. Espace entreprise : tête et onglets ---------- */
.p-espace-tete { padding-top: clamp(20px, 3vw, 40px); }
.p-espace-tete__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }
.p-espace-tete__nom { display: flex; align-items: center; gap: 18px; min-width: 0; }
.p-espace-tete__logo { flex: none; width: 64px; height: 64px; padding: 8px; background: var(--p-blanc); border-radius: 6px; object-fit: contain; }
.p-espace-tete .a-h1, .p-espace-tete .a-h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.02; color: var(--p-blanc); }
.p-espace-tete__liens { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; font-size: 15px; }
.p-espace-tete__liens a { display: inline-flex; align-items: center; min-height: 44px; color: var(--p-pale); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.p-espace-tete__liens a:hover { color: var(--p-blanc); text-decoration-color: var(--p-orange-clair); }
.p-onglets { margin-top: clamp(20px, 3vw, 36px); border-top: 1px solid var(--p-filet-nuit); }
.p-onglets__defile { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.p-onglets__defile::-webkit-scrollbar { display: none; }
.p-onglets ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0 32px; white-space: nowrap; }
.p-onglets a { display: flex; align-items: center; min-height: 54px; font-size: 15px; color: var(--p-filet); text-decoration: none; box-shadow: inset 0 -3px 0 transparent; }
.p-onglets a:hover { color: var(--p-blanc); box-shadow: inset 0 -3px 0 var(--p-filet-nuit-fort); }
.p-onglets a[aria-current="page"] { color: var(--p-blanc); font-weight: 600; box-shadow: inset 0 -3px 0 var(--p-orange); }
.p-onglets a:focus-visible { outline-offset: -3px; }
/* Variante claire (sous-onglets dans une section) */
.p-onglets--clair { margin-top: 0; border-top: 0; border-bottom: 1px solid var(--p-filet); }
.p-onglets--clair a { color: var(--p-second); }
.p-onglets--clair a:hover { color: var(--p-encre); box-shadow: inset 0 -3px 0 var(--p-filet); }
.p-onglets--clair a[aria-current="page"] { color: var(--p-encre); box-shadow: inset 0 -3px 0 var(--p-encre); }
@media (max-width: 600px) {
  .p-onglets ul { gap: 0 22px; }
  .p-espace-tete__logo { width: 52px; height: 52px; }
}

/* ---------- 37. Compteurs du tableau de bord ---------- */
.p-compteurs-groupe + .p-compteurs-groupe { margin-top: 40px; }
.p-compteurs__titre { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 14px; font: 700 16px/1.35 var(--p-texte); color: var(--p-encre); }
.p-compteurs__titre span { font-weight: 400; font-size: 14px; color: var(--p-second); }
.p-compteurs { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
@media (max-width: 760px) { .p-compteurs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; } }
.p-compteur { display: flex; flex-direction: column; min-width: 0; padding: 18px 0 20px; border-top: 2px solid var(--p-encre); }
.p-compteur--declare { border-top: 2px dashed var(--p-bord-champ); }
.p-compteur dt { order: 2; margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--p-encre); }
.p-compteur__n { order: 1; margin: 0; font-family: var(--p-titre); font-weight: 900; font-stretch: 88%; letter-spacing: -0.02em; font-size: clamp(44px, 4.2vw, 60px); line-height: 1; font-variant-numeric: tabular-nums; }
.p-compteur--declare .p-compteur__n { font-weight: 700; color: var(--p-second); }
.p-compteur__origine { order: 3; margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: var(--p-second); }
.p-compteur--declare .p-compteur__origine { font-style: italic; }
.p-compteurs__note { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--p-filet); font-size: 14px; line-height: 1.5; color: var(--p-second); }
.p-periode { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 24px; font-size: 15px; color: var(--p-second); }
.p-periode .a-champ__controle { width: auto; min-width: 200px; min-height: 44px; }

/* ---------- 38. Demandes reçues (lignes) ---------- */
.p-demandes { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--p-filet); }
.p-demande { display: grid; grid-template-columns: 112px minmax(0, 1fr) 210px auto; gap: 6px 24px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--p-filet); font-size: 16px; line-height: 1.45; }
.p-demande:first-child { border-top: 2px solid var(--p-encre); }
.p-demande__date { color: var(--p-second); font-size: 15px; font-variant-numeric: tabular-nums; }
.p-demande__besoin { margin: 0; min-width: 0; }
.p-demande__besoin small { display: block; margin-top: 2px; font-size: 14px; color: var(--p-second); }
.p-demande__etat { font-size: 14px; color: var(--p-second); }
.p-demande__etat em { font-style: italic; }
.p-demande__action a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.p-demande--nouvelle .p-demande__besoin, .p-demande--nouvelle .p-demande__date { font-weight: 700; color: var(--p-encre); }
.p-demande--nouvelle .p-demande__etat { color: var(--p-encre); font-weight: 600; padding-left: 10px; border-left: 3px solid var(--p-orange); }
@media (max-width: 760px) {
  .p-demande { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 0; }
  .p-demande__date { grid-column: 1 / -1; }
  .p-demande__besoin { grid-column: 1 / -1; }
  .p-demande__etat { align-self: center; }
}

/* ---------- 39. Offre et places en tête (colonnes à filet, pas de carte encadrée) ---------- */
.p-offres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px 40px; }
.p-offre { display: flex; flex-direction: column; min-width: 0; padding-top: 22px; border-top: 1px solid var(--p-encre); }
.p-offre--principale { border-top: 3px solid var(--p-orange); padding-top: 20px; }
.p-offre__nom { margin: 0; font-family: var(--p-titre); font-weight: 800; font-stretch: 88%; letter-spacing: -0.012em; font-size: clamp(21px, 1.8vw, 24px); line-height: 1.15; }
.p-offre__prix { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.p-offre__montant { font-family: var(--p-titre); font-weight: 900; font-stretch: 88%; letter-spacing: -0.02em; font-size: clamp(40px, 3.6vw, 52px); line-height: 1; font-variant-numeric: tabular-nums; }
.p-offre__unite { font-size: 15px; color: var(--p-second); }
.p-offre .p-lignes { margin-top: 18px; font-size: 16px; }
.p-offre .p-lignes > li { flex-basis: 100%; padding: 10px 0; }
.p-offre__condition { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--p-second); }
.p-offre__action { margin-top: auto; padding-top: 22px; }
.p-offre__action .a-btn { width: 100%; }
.p-nuit .p-offre { border-top-color: var(--p-filet-nuit-fort); }
.p-nuit .p-offre--principale { border-top-color: var(--p-orange); }
.p-nuit .p-offre__nom, .p-nuit .p-offre__montant { color: var(--p-blanc); }
.p-nuit .p-offre__unite, .p-nuit .p-offre__condition { color: var(--p-gris-nuit); }
.p-nuit .p-offre .p-lignes > li { border-top-color: var(--p-filet-nuit); }

/* ---------- 40. Tuiles d'entrée par besoin ---------- */
.p-tuiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 40px 32px; }
.p-tuile { min-width: 0; }
.p-tuile > a { display: block; color: var(--p-encre); text-decoration: none; }
.p-clair .p-tuile > a, .p-pale .p-tuile > a { text-decoration: none; }
.p-tuile__photo { margin: 0; }
.p-tuile__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% var(--p-cadrage, 50%); }
.p-tuile__titre { display: block; margin-top: 14px; font-family: var(--p-titre); font-weight: 800; font-stretch: 88%; letter-spacing: -0.012em; font-size: clamp(20px, 1.7vw, 23px); line-height: 1.15; }
.p-tuile__texte { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--p-second); }
.p-tuile > a:hover .p-tuile__titre { text-decoration: underline; text-decoration-color: var(--p-orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.p-tuile > a:focus-visible { outline: 3px solid var(--p-encre); outline-offset: 4px; }
.p-tuiles__legende { margin: 20px 0 0; font-size: 13px; color: var(--p-second); }
/* Sans photo : liste de grandes entrées à filet */
.p-tuiles--texte { gap: 0 32px; }
.p-tuiles--texte .p-tuile > a { display: flex; flex-direction: column; justify-content: center; min-height: 88px; padding: 18px 0; border-top: 1px solid var(--p-encre); }
.p-tuiles--texte .p-tuile__titre { margin-top: 0; font-size: 20px; }
.p-nuit .p-tuile > a { color: var(--p-blanc); }
.p-nuit .p-tuile__texte { color: var(--p-gris-nuit); }
.p-nuit .p-tuiles--texte .p-tuile > a { border-top-color: var(--p-filet-nuit-fort); }
.p-nuit .p-tuile > a:hover .p-tuile__titre { text-decoration-color: var(--p-orange-clair); }
.p-nuit .p-tuile > a:focus-visible { outline-color: var(--p-orange-clair); }
@media (max-width: 600px) {
  .p-tuiles:not(.p-tuiles--texte) { gap: 0; }
  .p-tuiles:not(.p-tuiles--texte) .p-tuile > a { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--p-filet); }
  .p-tuiles:not(.p-tuiles--texte) .p-tuile__photo { grid-row: 1 / span 2; }
  .p-tuiles:not(.p-tuiles--texte) .p-tuile__photo img { aspect-ratio: 1 / 1; }
  .p-tuiles:not(.p-tuiles--texte) .p-tuile__titre { margin-top: 0; align-self: end; font-size: 19px; }
  .p-tuiles:not(.p-tuiles--texte) .p-tuile__texte { align-self: start; font-size: 14px; }
  .p-nuit .p-tuiles:not(.p-tuiles--texte) .p-tuile > a { border-top-color: var(--p-filet-nuit); }
}

/* ---------- 41. Divers ---------- */
.p-section-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 24px; }
.p-section-tete .a-h2 { flex: 1 1 auto; }
@media (prefers-reduced-motion: reduce) { .a-btn--encre:active { transform: none; } }
.p-identite > .p-recherche { flex: 0 0 100%; min-width: 0; }
.p-lat__tete .p-sommaire { margin-top: 24px; }
.p-h3--espace { margin-top: 40px; }
.p-espace-tete .a-surtitre { margin-bottom: 4px; }
.p-groupe > legend .p-etape__compteur { display: block; font-family: var(--p-texte); font-weight: 400; font-stretch: 100%; letter-spacing: 0; font-size: 15px; }
.p-filtres__pied a, .p-vide__actions a { display: inline-flex; align-items: center; min-height: 44px; }
.p-resultat__nom a { display: inline-flex; align-items: center; min-height: 44px; }

.p-groupe > .a-champ, .p-etape > .a-champ { flex: none; }
.p-groupe > legend { margin-bottom: 8px; }
.p-filtres__actifs { margin-right: auto; }
@media (max-width: 600px) { .p-tableau--pile caption { display: block; width: 100%; } }

/* ==========================================================================
   42. Corrections de la relecture v3 (17/11/2026, 22 h 30). Aucun !important.
   Ajouts seulement : aucune classe existante n'est renommée ni retirée.
   ========================================================================== */

/* 42.1 Espace entreprise : règles remontées de espace/espace.css (mêmes noms de classes) */
/* Sous-onglets clairs : sans soulignement de lien, cible de 48 px ; onglet courant marqué aussi par aria-current="true" (ancres internes) */
.p-clair .p-onglets--clair a:not(.a-btn), .p-pale .p-onglets--clair a:not(.a-btn) { text-decoration: none; min-height: 48px; }
.p-onglets--clair a[aria-current="true"] { color: var(--p-encre); font-weight: 600; box-shadow: inset 0 -3px 0 var(--p-encre); }
.p-onglets--clair a[aria-current="page"] { font-weight: 600; }
/* Téléphone : tête d'espace et tête d'outil plus courtes, pour que l'outil paraisse dès le premier écran */
@media (max-width: 600px) {
  .p-espace-tete { padding-top: 16px; }
  .p-espace-tete__in { gap: 4px 20px; }
  .p-espace-tete__nom { gap: 14px; }
  .p-espace-tete .p-espace-tete__logo { width: 44px; height: 44px; padding: 6px; }
  .p-espace-tete .a-h1, .p-espace-tete .a-h2 { font-size: 30px; }
  .p-espace-tete__liens { gap: 0 20px; font-size: 14px; }
  .p-espace-tete .p-onglets { margin-top: 8px; }
  .p-tete { padding-bottom: 24px; }
}

/* 42.2 Offre : état « Pas encore en vente » (arbitrage E). Grisé mais lisible : texte #44546F (7,5:1 sur blanc, 6,3:1 sur #E8EDF6). */
.p-offre--pas-en-vente { border-top: 1px dashed var(--p-bord-champ); }
.p-offre--pas-en-vente .p-offre__nom,
.p-offre--pas-en-vente .p-offre__montant,
.p-offre--pas-en-vente .p-etiquette-tete { color: var(--p-second); }
.p-offre--pas-en-vente .p-etiquette-tete { border-left-color: var(--p-filet); }
.p-offre__vente { margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--p-filet); font-size: 15px; line-height: 1.5; color: var(--p-second); }
.p-offre__vente strong { display: block; font-weight: 700; color: var(--p-encre); }
.p-offre--pas-en-vente .p-offre__action .a-btn[aria-disabled="true"],
.p-offre--pas-en-vente .p-offre__action .a-btn[disabled] { opacity: 1; color: var(--p-second); background: transparent; border: 1px dashed var(--p-bord-champ); box-shadow: none; }
.p-nuit .p-offre--pas-en-vente { border-top-color: var(--p-bord-champ); }
.p-nuit .p-offre--pas-en-vente .p-offre__nom,
.p-nuit .p-offre--pas-en-vente .p-offre__montant,
.p-nuit .p-offre--pas-en-vente .p-etiquette-tete,
.p-nuit .p-offre__vente { color: var(--p-gris-nuit); }
.p-nuit .p-offre__vente { border-top-color: var(--p-filet-nuit); }
.p-nuit .p-offre__vente strong { color: var(--p-blanc); }
.p-nuit .p-offre--pas-en-vente .p-offre__action .a-btn[aria-disabled="true"] { color: var(--p-gris-nuit); }
/* Même état ailleurs (cellule de tableau, ligne d'abonnement, case désactivée) */
.p-pas-en-vente { font-weight: 700; color: var(--p-encre); }
.p-nuit .p-pas-en-vente { color: var(--p-blanc); }
.p-pas-en-vente + small { display: block; margin-top: 2px; font-weight: 400; font-size: 14px; line-height: 1.45; color: var(--p-second); }
.p-nuit .p-pas-en-vente + small { color: var(--p-gris-nuit); }

/* 42.3 Vérifier avant d'envoyer, un seul destinataire (demander/verifier-une) : un nom, pas de bouton Retirer */
.p-destinataires--une { border-bottom: 0; }
.p-destinataires--une + .p-envoi { margin-top: 8px; }
.p-destinataires--une .p-destinataire { grid-template-columns: minmax(0, 1fr); padding: 24px 0; }
.p-destinataires--une .p-destinataire__nom { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.p-destinataire__seule { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--p-encre); }

/* 42.4 Pied : état des places dans la règle repliée */
.a-pied__etat strong { color: var(--p-pale); font-weight: 600; }

/* 42.5 Téléphone (sous 600 px) : recherche empilée, carte de résultat sans photo, fil d'Ariane sur une ligne */
.p-recherche .a-champ__controle { text-overflow: ellipsis; }
@media (max-width: 600px) {
  .p-recherche__champs { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .p-recherche__champs > .a-champ, .p-recherche__champs > .p-recherche__bouton { flex: 0 0 auto; width: 100%; min-width: 0; }
  .p-resultat .p-resultat__photo { display: none; }
  .p-resultat { grid-template-columns: minmax(0, 1fr); }
  .a-ariane { flex-wrap: nowrap; min-width: 0; overflow-x: auto; overflow-y: hidden; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .a-ariane::-webkit-scrollbar { display: none; }
  .a-ariane li { flex: none; }
  .a-ariane li + li::before { flex: none; }
  .a-ariane a, .a-ariane [aria-current="page"] { display: block; white-space: nowrap; line-height: 44px; }
  .a-ariane a:focus-visible { outline-offset: -3px; }
}

/* Barre d'ancres sur une ligne qui défile au téléphone (au lieu de trois lignes de 52 px) */
@media (max-width: 600px) {
  .p-ancres--defile .a-conteneur { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0 24px; }
  .p-ancres--defile .a-conteneur::-webkit-scrollbar { display: none; }
  .p-ancres--defile a { flex: none; white-space: nowrap; }
}

/* ---------- 43. Socle « p » : balisage reel du site que la maquette n'a pas ---------- */
/* Champ piege des formulaires (dcops_a_antirobot) : jamais visible. Regle reprise de a.css. */
.a-piege { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; }
/* Calcul contre les robots */
.a-champ--calcul .a-champ__controle { max-width: 140px; }
.p-corps { background: var(--p-blanc); color: var(--p-encre); }
/* Pied : colonnes toujours ouvertes (plus de <details>), cinq colonnes sur ordinateur */
@media (min-width: 1024px) {
  .a-pied__colonnes--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* Filtres des resultats : titre fixe sur ordinateur, bouton sous 900 px ; le corps est ferme en CSS sous 900 px */
.p-filtres__titre { display: flex; align-items: center; min-height: 52px; margin: 0; font: 700 16px/1.3 var(--p-texte); color: var(--p-encre); }
.p-filtres__bascule {
  display: none; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 52px; padding: 0;
  border: 0; background: none; cursor: pointer; text-align: left; font: 700 16px/1.3 var(--p-texte); color: var(--p-encre);
}
.p-filtres__bascule::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
}
.p-filtres--ouvert .p-filtres__bascule::after { background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat; }
@media (max-width: 899px) {
  .p-filtres__titre { display: none; }
  .p-filtres__bascule { display: flex; }
  .p-filtres__corps { display: none; }
  .p-filtres--ouvert .p-filtres__corps { display: block; }
}
/* Pastille de l'apercu reserve (jamais servie a un visiteur) */
.p-apercu {
  position: fixed; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 1200; display: flex; align-items: center; gap: 4px; padding: 4px 6px 4px 14px;
  background: var(--p-nuit); color: var(--p-blanc); border: 1px solid var(--p-filet-nuit-fort); border-radius: 999px; font: 600 13px/1 var(--p-texte);
}
.p-apercu__quitter { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--p-pale); text-decoration: underline; }
/* Au telephone : une barre en bas d'ecran, sur toute la largeur. Elle ne recouvre ni le fil d'Ariane ni un bouton isole ; le pied garde sa place. */
@media (max-width: 1023px) {
  .p-apercu { left: 0; right: 0; bottom: 0; justify-content: space-between; padding: 0 8px env(safe-area-inset-bottom, 0px) 16px; border-width: 1px 0 0; border-radius: 0; }
  .p-corps { padding-bottom: 45px; }
}

/* ---------- 44. Integration des ecrans (20/11/2026) : besoins communs remontes des feuilles de groupe ---------- */
/* Un element cache par l'attribut hidden le reste, meme s'il porte une regle display d'un composant (etapes d'un formulaire). */
.p-corps [hidden][hidden] { display: none; }
/* Cases et boutons radio : 24 px. La ligne entiere (.a-coche) reste la cible de 44 px. */
.a-coche input { width: 24px; height: 24px; }
/* Message dans un formulaire : le paragraphe interne n'ajoute pas de marge. */
.p-message > p { margin: 0; }
/* Titre des filtres : l'espace entre « Filtres » et le nombre de filtres actifs est tenue par la grille. */
.p-filtres__titre { gap: 6px; }
/* Recherche dont un champ est une liste : place de la fleche. */
.p-recherche select.a-champ__controle { padding-right: 44px; }
/* Titre de section : le libelle est un paragraphe AU-DESSUS du h2, dans .p-titre (relecture du 20/11 : le h2 ne porte que le titre). Rendu inchange. */
.p-titre { min-width: 0; }
.p-section-tete > .p-titre { flex: 1 1 auto; }
.p-lat__corps > .p-titre + .p-lead { margin-top: 24px; }
/* Liens d'un sommaire : cible d'au moins 44 px de large (un mot court, comme Prix ou Zone). */
.p-ancres a { min-width: 44px; }
@media (max-width: 600px) {
  /* Fil d'Ariane : UNE ligne (regle 42.5, reecrite le 20/11 au soir : la ligne defile, aucun maillon n'est coupe). Le passage a la ligne
     laissait une barre oblique en tete de ligne ; les points de suspension rendaient les maillons illisibles. */
  /* Liste deroulante de la recherche : un choix long tient mieux (une liste native ne passe pas a la ligne). */
  .p-recherche select.a-champ__controle { font-size: 15px; padding-left: 12px; padding-right: 36px; letter-spacing: -0.01em; }
}

/* ---------- 45. Place de marche (20/11/2026) : bouton de demande, menu « Prestations », pied, tuiles de domaines, carte de telepilote ---------- */
/* 45.1 Bouton de demande de l'en-tete : un seul nom. Sous 600 px il tient sur deux lignes au lieu d'etre raccourci. */
@media (max-width: 599px) {
  .a-entete__outils .a-entete__cta { max-width: 108px; padding: 0 10px; font-size: 13px; line-height: 1.15; white-space: normal; }
}
/* 45.2 Menu « Prestations » : un <details> dans la liste de l'en-tete. Liste depliee dans le menu jusqu'a 1 199 px, panneau large au-dela.
   Ouvert au clic ou au clavier (Entree, Espace), jamais au survol seul ; p.js ajoute Echap et le clic ailleurs. */
.p-menu-li { min-width: 0; }
.p-menu > summary { list-style: none; justify-content: space-between; gap: 10px; cursor: pointer; }
.p-menu > summary::-webkit-details-marker { display: none; }
.p-menu > summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg);
}
.p-menu[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.p-menu__titre[aria-current] { color: var(--p-orange-clair); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.p-menu__panneau { padding: 4px 0 12px; border-bottom: 1px solid var(--p-filet-nuit); }
.p-menu__liste { list-style: none; margin: 0; padding: 0; display: grid; }
.p-menu__liste a, .p-menu__tout a {
  display: flex; align-items: center; justify-content: space-between; gap: 4px 16px; min-height: 48px; padding: 6px 0 6px 14px;
  font-size: 16px; line-height: 1.3; color: var(--p-pale); text-decoration: none;
}
.p-menu__liste a:hover, .p-menu__tout a:hover { color: var(--p-blanc); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.p-menu__nom { min-width: 0; }
.p-menu__n { flex: none; font-size: 13px; color: var(--p-gris-nuit); font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-menu__tout { margin: 0; }
.p-menu__tout a { font-weight: 600; color: var(--p-blanc); }
.p-menu__tout a[aria-current="page"] { color: var(--p-orange-clair); }
@media (min-width: 1200px) {
  .p-menu > summary { gap: 8px; }
  .p-menu__panneau {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 5; padding: 20px 28px 16px;
    background: var(--p-nuit); border: 1px solid var(--p-filet-nuit-fort); border-top: 0; border-radius: 0 0 10px 10px;
    box-shadow: 0 18px 40px rgba(7, 16, 31, 0.35);
  }
  .p-menu__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
  .p-menu__liste a { padding: 6px 0; border-bottom: 1px solid var(--p-filet-nuit); font-size: 15px; }
  .p-menu__tout { margin-top: 10px; }
  .p-menu__tout a { display: inline-flex; padding: 0; font-size: 15px; }
}
/* 45.3 Pied : les domaines en tete, sur toute la largeur du bloc des colonnes */
.p-pied-prestations { grid-column: 1 / -1; min-width: 0; padding-bottom: 20px; border-bottom: 1px solid var(--p-filet-nuit); }
.p-pied-prestations__liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
@media (max-width: 1023px) {
  .p-pied-prestations__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
}
@media (max-width: 767px) {
  .p-pied-prestations { padding-bottom: 8px; }
  .p-pied-prestations__liste a { padding: 4px 0; }
}
/* 45.4 Grille dense des tuiles de domaines (dcops_p_tuiles_domaines) : six par rangee, puis quatre, puis deux. Toutes visibles, aucun carrousel.
   Memes valeurs que la grille de l'accueil. */
.p-tuiles.p-tuiles--dense { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 20px; }
.p-tuiles.p-tuiles--dense .p-tuile > a { display: block; padding: 0; border-top: 0; }
.p-tuiles.p-tuiles--dense .p-tuile__photo { overflow: hidden; border-radius: 8px; background: var(--p-pale); }
.p-tuiles.p-tuiles--dense .p-tuile__photo img { display: block; height: auto; aspect-ratio: 4 / 3; transition: transform 0.35s ease; }
.p-tuiles.p-tuiles--dense .p-tuile > a:hover .p-tuile__photo img { transform: scale(1.04); }
.p-tuiles.p-tuiles--dense .p-tuile__titre { margin: 10px 0 0; font-size: 17px; line-height: 1.18; }
.p-tuiles.p-tuiles--dense .p-tuile__texte { margin-top: 4px; font-size: 14px; line-height: 1.4; }
.p-tuile__n { display: block; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--p-encre); font-variant-numeric: tabular-nums; }
.p-nuit .p-tuile__n { color: var(--p-blanc); }
@media (max-width: 1099px) {
  .p-tuiles.p-tuiles--dense { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
}
@media (max-width: 699px) {
  .p-tuiles.p-tuiles--dense { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .p-tuiles.p-tuiles--dense .p-tuile__photo img { aspect-ratio: 3 / 2; }
  .p-tuiles.p-tuiles--dense .p-tuile__titre { margin-top: 8px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .p-tuiles.p-tuiles--dense .p-tuile__photo img { transition: none; }
  .p-tuiles.p-tuiles--dense .p-tuile > a:hover .p-tuile__photo img { transform: none; }
}
/* 45.5 Carte de telepilote (dcops_p_carte) : nom, lieu, trois prestations au plus, etiquette « Mis en avant », un seul bouton. Zone claire. */
.p-cartes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 20px; }
.p-carte { display: flex; flex-direction: column; min-width: 0; padding: 20px; background: var(--p-blanc); border: 1px solid var(--p-filet); border-radius: 10px; }
.p-carte--avant { border-color: var(--p-encre); }
.p-carte__avant { align-self: flex-start; margin: 0 0 10px; padding: 1px 0 1px 10px; border-left: 3px solid var(--p-orange); font: 600 13px/1.35 var(--p-texte); color: var(--p-encre); }
.p-carte__nom { margin: 0; font-family: var(--p-titre); font-weight: 800; font-stretch: 88%; letter-spacing: -0.012em; font-size: 21px; line-height: 1.15; overflow-wrap: anywhere; }
.p-carte__lieu { margin: 6px 0 0; font-size: 15px; line-height: 1.4; color: var(--p-second); }
.p-carte__prestas { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.p-carte__prestas li { padding: 3px 10px; border: 1px solid var(--p-filet); border-radius: 999px; font-size: 13px; line-height: 1.4; color: var(--p-encre); }
.p-carte__action { margin: auto 0 0; padding-top: 16px; }
.p-carte__action .a-btn { width: 100%; }
@media (max-width: 600px) {
  .p-cartes { gap: 12px; }
  .p-carte { padding: 16px; }
}
/* 45.6 Liste de definitions : variante a termes longs ; a une colonne, plus de filet entre le dernier terme et sa definition */
.p-dl--large { grid-template-columns: 180px minmax(0, 1fr); }
@media (max-width: 480px) {
  .p-dl--large { grid-template-columns: 1fr; }
  .p-dl dt:last-of-type { border-bottom: 0; }
}

/* ---------- 46. Integration « place de marche » (21/11/2026) : besoins communs remontes des quatre groupes d'ecrans ---------- */
/* 46.1 Cases et boutons radio : la case dessinee garde 24 px ; sa zone de clic fait 44 px (bord transparent de 10 px, repris par des marges
   negatives). Le trait du dessin passe en ombre interieure. Une seule regle pour la demande, les organisations et la candidature. */
.a-coche input { width: 44px; height: 44px; margin: -9px -10px -10px; border: 10px solid transparent; border-radius: 14px; background-clip: padding-box; box-shadow: inset 0 0 0 1px var(--p-bord-champ); }
.a-coche input:checked { border-color: transparent; box-shadow: inset 0 0 0 1px var(--p-orange); }
.p-clair .a-coche input, .p-pale .a-coche input { border-color: transparent; }
.p-clair .a-coche input:hover, .p-pale .a-coche input:hover, .p-clair .a-coche input:checked, .p-pale .a-coche input:checked { border-color: transparent; box-shadow: inset 0 0 0 1px var(--p-encre); }
.a-coche input[type="radio"] { border-radius: 50%; }
.a-coche input[type="radio"]:checked { box-shadow: inset 0 0 0 1px var(--p-orange), inset 0 0 0 5px var(--p-champ); }
.p-clair .a-coche input[type="radio"]:checked, .p-pale .a-coche input[type="radio"]:checked { box-shadow: inset 0 0 0 1px var(--p-encre), inset 0 0 0 5px var(--p-blanc); }
.a-coche input:focus-visible { outline-offset: -8px; }
.p-filtre .a-coche input { margin-top: -10px; }
/* 46.2 Fil d'Ariane au telephone : la ligne defile (regle 42.5). Un fondu a droite dit qu'elle continue ; la marge de fin laisse lire le
   dernier maillon en entier une fois la ligne glissee. */
@media (max-width: 600px) {
  .a-ariane { padding-right: 28px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
}
/* 46.3 Recherche en bande bleu nuit (.p-recherche--bande) : au telephone, la liste sur toute la largeur ; dessous, le lieu et le bouton sur
   la meme rangee. Memes valeurs que la bande de l'accueil (g-chercher.css, 7.5) ; ici pour un ecran sans feuille de groupe (page introuvable). */
.p-recherche--bande .p-recherche__champs { gap: 12px; }
.p-recherche--bande { margin-top: clamp(12px, 1.6vw, 20px); }
@media (max-width: 600px) {
  .p-recherche--bande .p-recherche__champs { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; }
  .p-recherche--bande .p-recherche__quoi { grid-column: 1 / -1; }
  .p-recherche--bande .p-recherche__champs > .p-recherche__bouton { width: auto; min-width: 112px; }
  .p-recherche--bande .a-champ { gap: 3px; }
  .p-recherche--bande .a-champ__label { font-size: 13px; }
  .p-recherche--bande .a-champ__controle, .p-recherche--bande .p-recherche__bouton { min-height: 48px; }
  .p-recherche--bande input.a-champ__controle { padding-left: 12px; padding-right: 8px; font-size: 15px; letter-spacing: -0.01em; }
  .p-recherche--bande .p-recherche__ou .a-champ__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
