/* DRONECORP : charte claire sur les pages du theme droneconnect (lot 159). Feuille neuve, chargee par charte-claire-theme.php
   uniquement si l'interrupteur DC_CHARTE_THEME est vrai (mu-plugins/dc-allumage-charte-theme.php). Retour : lot 160.
   Partie 1 : en-tete, logo, menu, pied et boutons a-btn, extraits mot pour mot de mu-plugins/dc-skin-p/charte.css (aucune regle globale).
   Partie 2 : contenu des pages (jetons de la peau v4 -> valeurs de la charte). */
: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;      
  --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;            
  --p-goutte: clamp(16px, 4.2vw, 32px);
  --p-gg: max(var(--p-goutte), env(safe-area-inset-left, 0px));   
  --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-entete :focus-visible, .a-pied :focus-visible{ outline-color: var(--p-orange-clair); }
.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-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-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); }
.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; }
.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; }
}
@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; }
}
.p-identite__action .a-btn{ width: 100%; }
.p-ancres .a-conteneur{ display: flex; flex-wrap: wrap; gap: 0 32px; font-size: 15px; }
.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%; }
.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; }
.p-appel__actions .a-btn{ width: 100%; }
.a-form .a-btn{ align-self: flex-start; min-width: min(100%, 320px); }
.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-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); }
}
@media (max-width: 600px){
.a-form .a-btn{ align-self: stretch; }
.a-logo__mot{ font-size: 16px; }
.a-entete__outils .a-btn--petit{ padding: 0 12px; }
}
.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; }
:root{
  --p-encre-survol: #22324D;     
  --p-erreur: #A63A00;           
  --p-indice: #5B6A84;           
}
@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; }
}
.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); }
.a-btn--encre:focus-visible, .a-btn--trait:focus-visible{ outline: 3px solid var(--p-encre); outline-offset: 3px; }
.p-filtres__pied .a-btn{ flex: 1 1 100%; }
@media (max-width: 760px){
.p-resultat__actions .a-btn{ flex: 1 1 100%; }
}
.p-etape__nav .a-btn{ min-width: 168px; }
@media (max-width: 600px){
.p-etape__nav .a-btn{ width: 100%; margin-left: 0; }
}
@media (max-width: 600px){
.p-envoi .a-btn{ width: 100%; }
}
.p-offre__action .a-btn{ width: 100%; }
@media (prefers-reduced-motion: reduce){
.a-btn--encre:active{ transform: none; }
}
.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; }
.a-pied__etat strong{ color: var(--p-pale); font-weight: 600; }
@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; }
}
@media (min-width: 1024px){
.a-pied__colonnes--5{ grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@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; }
}
.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; }
}
.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; }
}
.p-carte__action .a-btn{ width: 100%; }

/* ==========================================================================
   Partie 2 : le contenu des pages du thème reprend la charte claire.
   Tout est précédé de « html.dcs body.dc-charte-claire » : sans la classe du corps (interrupteur éteint), aucune règle ne s'applique.
   La peau v4 (dc-skin.css) est pilotée par des jetons --dcs-* : on les redéfinit ici, on ne réécrit pas ses règles.
   ========================================================================== */

/* ---------- jetons : valeurs de la charte (Proposition 3) ---------- */
html.dcs body.dc-charte-claire {
  --dcs-bg: #FFFFFF;
  --dcs-bg-alt: #E8EDF6;
  --dcs-line: #C5CEDE;
  --dcs-field: #6F83A8;
  --dcs-ink: #0A1220;
  --dcs-ink-2: #44546F;
  --dcs-ink-3: #44546F;
  --dcs-action: #FF6B1A;
  --dcs-action-h: #FF8A47;
  --dcs-on-action: #0A1220;
  --dcs-link: #0A1220;
  --dcs-action-tint: #FFE9DC;
  --dcs-on-tint: #0A1220;
  --dcs-night: #07101F;
  --dcs-on-night: #FFFFFF;
  --dcs-on-night-2: #C5CEDE;
  --dcs-night-line: rgba(255, 255, 255, 0.12);
  --dcs-r-sm: 6px;
  --dcs-r-md: 6px;
  --dcs-shadow-card: none;
  --dcs-shadow-hover: none;
  --dcs-font-titre: 'Archivo', Arial, sans-serif;
  --dcs-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --dcs-wrap: 1304px;
  --dcs-gutter: clamp(16px, 4.2vw, 32px);
  --dcs-hd-h: 72px;
  background-color: var(--p-nuit-pied);
}
/* les jetons dérivés (--dct-*) de la peau sont posés sur <main> et ses blocs : ils lisent ceux ci-dessus. Pour <html> (contexte « nuit »), on les recopie. */
html.dcs body.dc-charte-claire #main-content,
html.dcs body.dc-charte-claire #dc-cookie {
  --dct-accent: var(--dcs-link);
  --dct-accent-h: var(--dcs-ink);
}

/* bandeaux bleu nuit : boutons orange (la peau les faisait blancs) */
html.dcs body.dc-charte-claire #main-content :is(.dc-hero, .dc-page-header, .dc-card-overlay),
html.dcs body.dc-charte-claire #main-content > section[style*="min-height"] {
  --dct-btn-bg: #FF6B1A;
  --dct-btn-bg-h: #FF8A47;
  --dct-btn-ink: #0A1220;
  --dct-contour: #FFFFFF;
  --dct-accent: #FF8A47;
  --dct-accent-h: #FFFFFF;
}

/* ---------- titres : Archivo serré ---------- */
html.dcs body.dc-charte-claire #main-content :is(h1, h2, h3) {
  font-family: var(--p-titre);
  font-stretch: 92%;
}
html.dcs body.dc-charte-claire #main-content h1 { font-weight: 800; letter-spacing: -0.02em; }
html.dcs body.dc-charte-claire #main-content h2 { font-weight: 800; letter-spacing: -0.015em; }

/* trait orange 28 x 3 px : sur le surtitre quand il existe, sinon sur le titre de section */
html.dcs body.dc-charte-claire #main-content :is(.eyebrow, .dc-eyebrow):not([hidden])::before {
  content: ""; display: block; width: 28px; height: 3px; margin-bottom: 12px; background: #FF6B1A;
}
html.dcs body.dc-charte-claire #main-content :is(.text-center, [style*="text-align: center"]) :is(.eyebrow, .dc-eyebrow):not([hidden])::before { margin-inline: auto; }
html.dcs body.dc-charte-claire #main-content :where(section, .dc-section) > :where(.dc-container, .dc-container-narrow, .dc-container-wide) h2::before,
html.dcs body.dc-charte-claire #main-content :where(section, .dc-section) > h2::before {
  content: ""; display: block; width: 28px; height: 3px; margin-bottom: 14px; background: #FF6B1A;
}
html.dcs body.dc-charte-claire #main-content :is(.text-center, [style*="text-align: center"]) h2::before { margin-inline: auto; }
html.dcs body.dc-charte-claire #main-content :is(.eyebrow, .dc-eyebrow) + :is(h1, h2)::before,
html.dcs body.dc-charte-claire #main-content :is(.dc-card, .dc-pillar, .dc-faq, .dc-banner-cta, .dc-prose blockquote, .dc-page-header, .dc-hero) h2::before { display: none; }

/* ---------- bandeau d'ouverture : nuit, court ---------- */
html.dcs body.dc-charte-claire #main-content .dc-page-header {
  padding: 40px var(--dcs-gutter) 40px;
  background: var(--p-nuit);
}
html.dcs body.dc-charte-claire #main-content .dc-hero { padding-block-start: 0; background: var(--p-nuit); }
html.dcs body.dc-charte-claire #main-content > section[style*="min-height"]:not(.dc-hero) {
  padding-top: 40px !important; background: var(--p-nuit) !important;
}
html.dcs body.dc-charte-claire #main-content .dc-page-header-inner { max-width: 1240px; }
@media (max-width: 768px) {
  html.dcs body.dc-charte-claire #main-content .dc-page-header { padding-top: 28px; padding-bottom: 28px; }
}

/* ---------- boutons : charte (orange plein, contour encre, 6 px) ---------- */
html.dcs body.dc-charte-claire #main-content .dc-btn { border-radius: 6px; font-weight: 700; font-size: 15px; }
html.dcs body.dc-charte-claire #main-content :is(.dc-btn-secondary, .dc-btn-ghost):is(:hover, :focus) { background: var(--p-pale) !important; }
html.dcs body.dc-charte-claire #main-content :is(.dc-hero, .dc-page-header) :is(.dc-btn-secondary, .dc-btn-ghost):is(:hover, :focus) { background: rgba(255, 255, 255, 0.12) !important; }

/* ---------- liens dans le texte : encre, soulignés orange ---------- */
html.dcs body.dc-charte-claire #main-content :is(p, li, dd, td, .dc-prose, .dc-faq-a) a:not(.dc-btn):not(.dc-card):not([class*="dc-card"]):not(.dc-secteur-row):not(.dc-breadcrumb a) {
  color: var(--p-encre);
  text-decoration: underline; text-decoration-color: #FF6B1A; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
html.dcs body.dc-charte-claire #main-content :is(.dc-hero, .dc-page-header) :is(p, li) a:not(.dc-btn) { color: #FFFFFF; }

/* ---------- cartes : à plat, filet fin, pas d'ombre ---------- */
html.dcs body.dc-charte-claire #main-content :is(.dc-card, .dc-pillar, .dc-testimonial, .dc-carte-sombre, .dc-carte-claire, .dc-region-carte, .dc-secteur-row) {
  box-shadow: none; border-color: var(--p-filet); border-radius: 6px;
}
html.dcs body.dc-charte-claire #main-content :is(a.dc-card, .dc-card.dc-card-link, a.dc-carte-claire, .dc-secteur-row):is(:hover, :focus) {
  box-shadow: none; border-color: var(--p-encre);
}
html.dcs body.dc-charte-claire #main-content .dc-badge { border-radius: 4px; }
html.dcs body.dc-charte-claire #main-content .dc-pillar-num { border-radius: 4px; }

/* ---------- barre des liens légaux : fondue dans le pied (le pied porte les mêmes liens) ---------- */
html.dcs body.dc-charte-claire .dc-legal-liens { display: none; }

/* ---------- pied : l'en-tête sticky et le pied ne dépendent pas des règles globales du thème ---------- */
/* style.css impose h2 { font-size ... !important } sous 768 px : les titres de colonnes du pied reprennent leur taille de la charte */
html.dcs body.dc-charte-claire .a-pied :is(h1, h2, h3) { font-size: 14px !important; line-height: 1.4 !important; font-weight: 600 !important; font-stretch: 100% !important; text-transform: none; }
html.dcs body.dc-charte-claire :is(.a-entete, .a-pied) :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
html.dcs body.dc-charte-claire :is(.a-entete, .a-pied) :is(a, a:visited) { text-decoration-color: currentColor; }
html.dcs body.dc-charte-claire .a-entete { font-family: var(--p-texte); font-size: 16px; line-height: 1.6; }
html.dcs body.dc-charte-claire .a-pied { font-family: var(--p-texte); font-size: 16px; line-height: 1.6; }
html.dcs body.dc-charte-claire .a-entete :is(button, summary) { font-family: var(--p-texte); }
/* l'en-tête reste collé en haut : le thème ne lui réserve plus de place */
html.dcs body.dc-charte-claire #main-content { padding-top: 0; }
html.dcs body.dc-charte-claire .dc-scroll-progress { display: none; }

/* fil d'Ariane : zone de toucher de 44 px au téléphone (le lien reste de la taille du texte, c'est la zone qui grandit) */
@media (max-width: 768px) {
  html.dcs body.dc-charte-claire #main-content .dc-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* bandeau à photo (héros, guides, articles) : court. min-height seulement : si le texte est plus haut, le bandeau grandit, rien n'est coupé. */
html.dcs body.dc-charte-claire #main-content .dc-hero,
html.dcs body.dc-charte-claire #main-content > section[style*="min-height"]:not(.dc-hero) { min-height: min(520px, 62vh) !important; }
