/* ---- bloc <style id="charte-cop31"> d'origine ---- */

:root{
  /* jetons de la charte (thème clair) */
  --c-orange:#F6821F; --c-orange-survol:#E06F0D; --c-foret:#285340; --c-foret-survol:#1C3F30; --c-menthe:#D0F0DF;
  --c-ecorce:#665231; --c-nuit:#12291F; --c-surface:#FBF8F2; --c-releve:#FFFFFF; --c-teinte:#EEF9F3;
  --c-encre:#12291F; --c-encre-douce:#4B5A52; --c-accent-texte:#A9520A; --c-trait:#D8DED9; --c-trait-fort:#7D8C84;
  --c-succes:#1F6F4A; --c-alerte:#8A5A00; --c-danger:#B3261E; --c-info:#1D5FA8;
  --police-charte:"Sora","Poppins",Arial,sans-serif;
  /* variables historiques du portail, alignées sur la charte */
  --vert-profond:#285340; --vert:#1F6F4A; --vert-clair:#3D7A5E; --vert-pale:#EEF9F3;
  --orange:#A9520A; --orange-vif:#F6821F; --orange-pale:#FDF1E6;
  --bleu:#1D5FA8; --bleu-pale:#E8F0FA;
  --fond:#FBF8F2; --papier:#FFFFFF; --encre:#12291F; --gris:#4B5A52; --gris-clair:#5F6E66;
  --ligne:#E1E6E1; --ligne-forte:#C9D2CB; --rouge:#B3261E; --rouge-pale:#FBEBE9;
  --surface:#FFFFFF; --surface-2:#FBF8F2; --trait:#E1E6E1; --trait-fort:#C9D2CB;
  --foret-nuit:#12291F; --foret-nuit2:#17302A;
  --bookman:var(--police-charte); --sans:var(--police-charte); --serif:var(--police-charte); --mono:var(--police-charte); --texte-ui:var(--police-charte);
  --r:12px; --r-s:6px; --r-l:24px;
  --om1:0 1px 2px rgba(18,41,31,.05), 0 1px 1px rgba(18,41,31,.04);
  --om2:0 2px 4px rgba(18,41,31,.05), 0 8px 20px -8px rgba(18,41,31,.14);
  --om3:0 24px 60px -20px rgba(18,41,31,.30), 0 4px 12px rgba(18,41,31,.08);
  --ombre-douce:0 1px 2px rgba(18,41,31,.04), 0 8px 24px -14px rgba(18,41,31,.16);
  --ombre-carte:0 1px 3px rgba(18,41,31,.05), 0 12px 32px -18px rgba(18,41,31,.24);
  --etat-ok:#1F6F4A; --etat-ok-fond:#E6F4EC; --etat-att:#8A5A00; --etat-att-fond:#FDF3DF; --etat-err:#B3261E; --etat-err-fond:#FBEBE9;
}
html body{font-family:var(--police-charte);background:var(--c-surface);color:var(--c-encre)}
html body h1,html body h2,html body h3,html body h4,html body .titre-page,html body .panneau-entete h3,html body .modale-entete h3,html body .entete-titre{font-family:var(--police-charte);color:var(--c-nuit);letter-spacing:-.01em;font-weight:700}
html body .titre-page{font-weight:800;letter-spacing:-.02em}
html body input,html body select,html body textarea,html body button,html body table{font-family:var(--police-charte)}
/* boutons : pilule ; un seul orange par écran (action principale) */
html body .btn,html body .mini,html body .pt-cta,html body .pt-btn-connexion,html body .intro-passer,html body .pc-lire,html body .pt-infolettre .nl-btn{border-radius:999px}
html body .btn-orange,html body .pt-cta,html body .pc-lire,html body .pt-infolettre .nl-btn,html body #btnMajMaintenant{background:var(--c-orange);color:var(--c-nuit);border:0;font-weight:700}
html body .btn-orange:hover,html body .pt-cta:hover,html body .pc-lire:hover,html body .pt-infolettre .nl-btn:hover{background:var(--c-orange-survol);color:var(--c-nuit)}
html body .pt-cta{box-shadow:0 14px 30px -12px rgba(246,130,31,.55)}
html body .btn-principal{background:var(--c-foret);color:#FFF}
html body .btn-principal:hover{background:var(--c-foret-survol)}
html body .btn-contour{border:1.5px solid var(--c-foret);color:var(--c-foret);background:#FFF}
html body .btn-contour:hover{background:var(--c-teinte);border-color:var(--c-foret);color:var(--c-foret)}
html body .mini{border-color:var(--c-trait);color:var(--c-foret)}
html body .mini:hover{border-color:var(--c-foret);background:var(--c-teinte)}
/* champs de saisie */
html body .champ input,html body .champ select,html body .champ textarea{border:1px solid var(--c-trait-fort);border-radius:12px;background:#FFF;color:var(--c-encre)}
html body .champ input:focus,html body .champ select:focus,html body .champ textarea:focus{border-color:var(--c-accent-texte);box-shadow:0 0 0 3px rgba(169,82,10,.16);outline:none}
html body :focus-visible{outline:2px solid var(--c-accent-texte);outline-offset:2px}
/* cartes et panneaux arrondis */
html body .panneau{border-radius:24px;border-color:var(--c-trait);box-shadow:var(--ombre-douce)}
html body .panneau-entete{border-bottom-color:var(--c-trait)}
html body .modale{border-radius:24px}
html body .etiquette{border-radius:999px}
html body .e-ok{background:#E6F4EC;color:#1F6F4A}
html body .e-att{background:#FDF3DF;color:#8A5A00}
html body .e-rej{background:#FBEBE9;color:#B3261E}
html body .e-adm{background:var(--c-menthe);color:var(--c-nuit)}
/* alertes : cadre coloré arrondi */
html body .bandeau-alerte{border-radius:16px;border:1.5px solid currentColor;background:#FFF}
html body .bandeau-alerte.ok{color:#1F6F4A;background:#F2FAF5}
html body .bandeau-alerte.err{color:#B3261E;background:#FDF4F3}
/* surtitre de section (overline) */
html body .surtitre,html body .pt-surtitre{font-family:var(--police-charte);font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--c-accent-texte)}
/* liens */
html body a{color:inherit}
html body .pt-menu a.actif,html body .pt-menu a:hover{color:var(--c-foret)}
/* hiérarchie typographique de la charte : display ExtraBold, titres Bold, pas d'italique (Sora n'en a pas) */
html body #portail h1,html body .titre-connexion,html body .intro-titre{font-weight:800;letter-spacing:-.02em;color:var(--c-nuit)}
html body .intro-titre{color:#FFF}
html body #portail h2,html body #portail h3,html body .pt-section h2{font-weight:700;letter-spacing:-.01em}
html body h1 em,html body h2 em,html body h3 em,html body .titre-connexion em,html body .acces-titre h1 em{font-style:normal!important;color:var(--c-accent-texte)}
html body #portail h1 small,html body #portail h2 small,html body #portail h3 small{font-weight:400;letter-spacing:0}
html body #portail .pt-hero h1 em{color:var(--c-accent-texte)}
/* bouton secondaire de l'en-tête : un seul orange par écran (l'action principale) */
html body .pt-btn-connexion{background:var(--c-foret);color:#FFF;box-shadow:none}
html body .pt-btn-connexion:hover{background:var(--c-foret-survol)}
html body .connexion-logo-charte{display:block;width:200px;height:auto;margin:6px auto 14px}
/* intégration du logo (v13.2.0) */
html body .pt-logo-charte{gap:14px}
html body .pt-logo-charte img{width:176px;height:auto;background:none;border-radius:0;padding:4px 0}
html body .pt-logo-lib{display:flex;flex-direction:column;font-weight:700;font-size:13px;color:var(--c-foret);line-height:1.2;border-left:1px solid var(--c-trait);padding-left:14px}
html body .pt-logo-lib small{font-weight:500;color:var(--c-encre-douce);font-size:11px;letter-spacing:.08em}
@media (max-width:1600px){html body .pt-logo-lib{display:none}}
@media (max-width:1120px){html body .pt-logo-charte img{width:160px}}
html body .acces-logo-charte{width:170px;height:auto;margin:6px 0 10px}
html body .pt-pied-logo{width:188px;height:auto;margin-bottom:12px}
html body .bl-tete-charte{flex-direction:column;align-items:flex-start;gap:4px;padding:14px 16px 12px}
html body .bl-logo-charte{width:176px;height:auto}
html body .bl-tete-charte .bl-marque b{font-size:12.5px;font-weight:700;color:var(--c-foret)}
html body .bl-tete-charte .bl-marque small{font-size:10.5px}
html body .intro-logos-off img.logo-cop31ci{background:#fff;padding:8px 12px;border-radius:12px}
html body .bl-pied{color:#5F6E66}
/* logo de la charte : zone de protection et tailles minimales (écran : horizontal 160 px, symbole 40 px) */
.logo-cop31ci{display:block;height:auto;max-width:100%}
.logo-cop31ci.horizontal{min-width:160px}
.logo-cop31ci.symbole{min-width:40px}

/* v13.3.0 — Armoiries de la République À GAUCHE, logo COP31 À DROITE (jamais l'un à la place de l'autre) */
html body .duo-logos{display:flex;flex-direction:row;align-items:center;gap:14px;flex-wrap:nowrap}
html body .duo-logos .duo-sep{width:1px;align-self:stretch;min-height:40px;background:var(--c-trait,#D9D2C4);flex:0 0 1px}
html body .duo-logos .duo-arm{height:58px;width:auto;flex:0 0 auto;background:none;padding:0;border-radius:0;box-shadow:none}
html body .duo-logos .duo-cop{flex:0 1 auto;height:auto}
html body .pt-logo-charte.duo-logos{gap:10px;flex:0 0 auto}
html body .pt-logo-charte .duo-arm{height:46px;width:auto!important;padding:0}
html body .pt-logo-charte .duo-cop{width:128px!important;min-width:0!important}
html body .pt-logo-charte .duo-sep{min-height:34px}
html body .pt-logo-charte.duo-logos .pt-logo-lib{display:none}
@media (min-width:1121px) and (max-width:1440px){html body #portail .pt-menu a{padding:9px 10px;font-size:12.5px}html body #portail .pt-entete-corps{gap:10px}}
@media (min-width:1121px) and (max-width:1300px){html body #portail .pt-menu a{padding:8px 7px;font-size:12px}html body .pt-logo-charte .duo-cop{width:112px!important}html body .pt-logo-charte .duo-arm{height:40px}}
@media (min-width:1121px) and (max-width:1880px){html body #portail .pt-cta-entete{display:none}}
@media (max-width:1120px){html body .pt-logo-charte .duo-cop{width:120px!important}html body .pt-logo-charte .duo-arm{height:42px}}
@media (max-width:520px){html body .pt-logo-charte .duo-cop{width:118px!important}html body .pt-logo-charte .duo-arm{height:40px}}
html body .pt-pied-duo{margin-bottom:14px}
html body .pt-pied-duo .duo-cop{width:170px}
html body .connexion-duo{justify-content:center;margin:6px auto 14px}
html body .connexion-duo .duo-cop{width:180px}
html body .duo-acces{justify-content:center;margin:0 auto 12px}
html body .duo-acces .armoiries-img{margin:0}
html body .duo-acces .duo-sep{background:rgba(255,255,255,.35)}
html body .duo-acces .duo-cop{width:auto;height:96px}
html body .bl-tete-charte .bl-duo{gap:10px}
html body .bl-duo .duo-arm{height:44px;width:auto;border:0;padding:0;background:none;border-radius:0}
html body .bl-duo .duo-cop{width:128px}
html body .bl-duo .duo-sep{min-height:34px}
body.bl-reduite .bl-duo .duo-sep,body.bl-reduite .bl-duo .duo-cop{display:none}
html body .pt-pied h4{font-family:var(--police-charte);font-weight:700;font-size:14px}

/* ---- bloc <style> d'origine ---- */

/* v13.6.2 — Bandeau d'accueil du portail : fond vert uni dégradé, sans photo
   et sans texte en filigrane. Cette règle l'emporte aussi sur une image de fond
   choisie dans Communication (style posé en ligne), qui ne réapparaît pas.
   Titre : première partie en blanc, partie en exergue (em) en orange. */
html body #portail .pt-hero,html body.avec-photo #portail .pt-hero,html body #portail #ptAccueil{
  background:linear-gradient(150deg,#1E4D3A 0%,#14503C 55%,#1B6448 100%)!important;color:#FFFFFF}
html body #portail .pt-hero::before,html body #portail .pt-hero::after{content:none!important;display:none!important;background:none!important}
html body #portail .pt-hero [class*="filigrane"],html body #portail .pt-hero [class*="watermark"]{display:none!important}
html body #portail .pt-hero h1{color:#FFFFFF!important}
html body #portail .pt-hero h1 em{color:#F79A4A!important}
html body #portail .pt-hero p{color:rgba(255,255,255,.88)!important}
html body #portail .pt-hero .pt-chapeau{background:rgba(255,255,255,.12)!important;color:#FFFFFF!important;border-color:rgba(255,255,255,.35)!important}

/* ---- bloc <style id="styles-accueil-20261020"> d'origine ---- */

/* ============================================================================
   Correctif accueil 20/10/2026 — CORRECTIONS DE LA PAGE D'ACCUEIL (20/10/2026)
   Placée après la charte COP31 : elle l'emporte sur les couches précédentes.
   Couleurs de la charte inchangées (Vert Forêt, Orange Ivoire, blanc).
============================================================================ */

/* ---- B5 — Bandeau officiel : armoiries + mentions | titre | logo COP31 ---- */
html body #portail .pt-utilitaire .pt-bandeau{max-width:1240px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:24px;row-gap:8px;padding-top:18px;padding-bottom:14px}
html body #portail .pt-officiel{display:flex;flex-direction:row;align-items:center;gap:12px;justify-self:start;text-align:left;max-width:none;min-width:0;line-height:1.35}
html body #portail .pt-officiel .pt-armoirie{height:56px;width:auto;margin:0;flex:0 0 auto}
html body #portail .pt-officiel-txt{display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0}
html body #portail .pt-officiel b{font-size:11.5px;letter-spacing:.08em;white-space:nowrap;color:var(--c-foret)}
html body #portail .pt-officiel small{font-size:10.5px;letter-spacing:.04em;color:var(--gris)}
html body #portail .pt-officiel .pt-ministere{font-size:10.5px;letter-spacing:.01em;color:var(--vert);max-width:250px}
html body #portail .pt-titre-portail{justify-self:center;text-align:center}
html body #portail .pt-util-droite{justify-self:end;display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:0}
html body #portail .pt-logo-cop31{display:block;height:56px;width:auto;max-width:100%}
html body #portail .pt-util-liens{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:nowrap}
html body #portail .pt-util-liens .pt-rech{display:flex}
html body #portail .pt-util-liens .pt-rech input{width:150px}
html body #portail .pt-util-liens .pt-rech input:focus{width:190px}
html body #portail .pt-util-liens a{white-space:nowrap;font-size:12.5px}

/* ---- B5 — Barre de menu : plus aucun logo, le menu et « Espaces professionnels » ---- */
html body #portail .pt-entete-corps{justify-content:space-between;gap:16px}
html body #portail .pt-menu{margin-left:0}
html body #portail .pt-espaces{margin-left:auto}
html body #portail .pt-espaces-menu a{display:block;text-align:left;padding:11px 13px;border-radius:9px;font-size:13.5px;font-weight:700;color:var(--vert-profond);background:transparent;text-decoration:none;cursor:pointer;min-height:0}
html body #portail .pt-espaces-menu a:hover,html body #portail .pt-espaces-menu a:focus-visible{background:var(--vert-pale)}
html body #portail .pt-espaces-menu a small{display:block;font-weight:400;font-size:11px;color:var(--gris);margin-top:2px}

@media (min-width:1121px) and (max-width:1300px){
  html body #portail .pt-menu a{padding:9px 11px;font-size:13px}
}
@media (max-width:1120px){
  html body #portail .pt-espaces{margin-left:0}
  html body #portail .pt-burger{margin-left:auto}
  html body #portail .pt-utilitaire .pt-bandeau{column-gap:16px}
  html body #portail .pt-titre-portail{font-size:19px}
  html body #portail .pt-util-liens .pt-rech{display:none}
}
@media (max-width:860px){
  html body #portail .pt-utilitaire .pt-bandeau{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"officiel cop" "titre titre" "liens liens";justify-items:stretch;padding-top:14px;padding-bottom:10px}
  html body #portail .pt-officiel{grid-area:officiel}
  html body #portail .pt-util-droite{display:contents}
  html body #portail .pt-logo-cop31{grid-area:cop;justify-self:end;height:46px}
  html body #portail .pt-titre-portail{grid-area:titre;font-size:19px}
  html body #portail .pt-util-liens{grid-area:liens;justify-content:center}
}
@media (max-width:520px){
  html body #portail .pt-utilitaire .pt-bandeau{column-gap:10px;padding-left:16px;padding-right:16px}
  html body #portail .pt-officiel{gap:8px}
  html body #portail .pt-officiel .pt-armoirie{height:42px}
  html body #portail .pt-officiel b{font-size:9.5px;letter-spacing:.04em}
  html body #portail .pt-officiel small{font-size:9px;letter-spacing:.02em}
  html body #portail .pt-officiel .pt-ministere{font-size:9px;max-width:170px}
  html body #portail .pt-logo-cop31{height:38px}
  html body #portail .pt-titre-portail{font-size:17px}
  html body #portail .pt-titre-portail::after{margin-top:5px}
}

/* ---- A4 — Carte du diaporama : étiquette, titre, résumé ; hauteur adaptée ---- */
html body #portail .pt-hero .pt-diapo{min-height:0!important;height:auto;align-self:center}
html body #portail .pt-hero .pt-diapo h3{margin:14px 0 8px}
html body #portail .pt-hero .pt-diapo p{color:var(--gris)!important;flex:none;margin:0;font-size:14px;line-height:1.65}
html body #portail .pt-hero .pt-diapo .pt-diapo-points{margin-top:18px;gap:8px;align-items:center}
/* points du diaporama : barres fines, visibles sur la carte blanche ; zone tactile de 44 px conservée */
html body #portail .pt-diapo-points button{position:relative;height:4px!important;min-height:0!important;min-width:0!important;padding:0!important;border:0;border-radius:2px;background:var(--c-trait-fort)!important;width:22px}
html body #portail .pt-diapo-points button.actif{background:var(--c-orange)!important;width:38px}
html body #portail .pt-diapo-points button::before{content:"";position:absolute;left:-4px;right:-4px;top:-20px;bottom:-20px}

/* ---- C8 — Sous-titres de section : taille du texte courant, gris ---- */
html body #portail .pt-h2 > small{font-size:15px!important;line-height:1.6!important;font-weight:400!important;color:var(--gris)!important;letter-spacing:0!important;max-width:860px}
html body #portail .pt-h2.pt-h2--sous > small{font-size:14px!important}

/* ---- C11 — Titres des étapes, FAQ, agenda et actualités : police sans empattement ---- */
html body #portail .pt-jalon-t,html body #portail .pt-faq summary,html body #portail .pt-agenda-item b,
html body #portail .pt-actu h3,html body #portail .pc-news h4,html body #portail .pc-une h3,
html body #portail .pt-etape b,html body #portail .pt-service b,html body #portail .pt-volet-tete b,
html body #portail .pt-diapo h3,html body #portail .pc-res-carte h4,
html body .lect-titre,html body #lectTitre{font-family:var(--police-charte)!important;font-style:normal}
html body #portail .pt-faq summary{font-weight:600}

/* ---- C9 — FAQ + encadré « Besoin d'aide ? » ---- */
html body #portail .pt-faq-grille{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start;margin-top:30px}
html body #portail .pt-faq-grille .pt-faq{margin-top:0;max-width:none}
html body #portail .pt-aide{position:sticky;top:84px;background:#FFF;border:1px solid var(--c-trait);border-left:5px solid var(--c-orange);border-radius:24px;padding:20px 22px;box-shadow:var(--ombre-douce)}
html body #portail .pt-aide h3{font-size:18px;margin:0 0 6px;color:var(--c-foret)}
html body #portail .pt-aide p{font-size:13.5px;line-height:1.6;color:var(--gris);margin:0 0 12px}
html body #portail .pt-aide-liste{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
html body #portail .pt-aide-liste li{display:flex;flex-direction:column;gap:2px;padding:10px 12px;background:var(--c-teinte);border-radius:12px}
html body #portail .pt-aide-nom{font-size:13.5px;font-weight:600;color:var(--c-nuit)}
html body #portail .pt-aide-tel{font-size:14px;font-weight:700;color:var(--c-foret);text-decoration:none;align-self:flex-start;min-height:0}
html body #portail .pt-aide-tel:hover{color:var(--c-accent-texte);text-decoration:underline}
html body #portail .pt-aide-mail{display:inline-block;margin-top:14px;font-size:13px;color:var(--c-foret);text-decoration:none}
@media (max-width:900px){
  html body #portail .pt-faq-grille{grid-template-columns:1fr}
  html body #portail .pt-aide{position:static}
}

/* ---- C12 — Partenariat : étapes en ligne sous la carte, sans vide ---- */
html body #portail #ptPartenariat .pt-tele-grille{grid-template-columns:1fr;gap:20px}
html body #portail #ptPartenariat .pt-etapes{grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-top:0;align-items:stretch}
html body #portail #ptPartenariat .pt-etape{height:100%}
@media (max-width:860px){html body #portail #ptPartenariat .pt-etapes{grid-template-columns:1fr!important}}

/* ---- A3/C13 — Cartes d'actualités : vrai gras, 4 cartes, bouton ---- */
html body #portail .pt-actu-texte p{margin:0}
html body #portail .pt-actu-texte p + p{margin-top:8px}
html body #portail .pt-actu-texte b,html body #portail .pt-actu-texte .ce-fort{font-weight:700;color:var(--c-nuit)}
html body #portail .pt-actus-plus{display:flex;justify-content:center;margin-top:24px}
html body #portail .pt-actus-plus.hidden{display:none}
html body #portail .pt-btn-plus{background:#FFF;color:var(--c-foret);border:1.5px solid var(--c-foret);border-radius:999px;padding:11px 22px;font-size:14px;font-weight:700;cursor:pointer}
html body #portail .pt-btn-plus:hover{background:var(--c-teinte)}

/* ---- C15 — Infolettre : champ e-mail élargi ---- */
html body #portail .pt-infolettre .nl-form{flex-wrap:nowrap;align-items:center}
html body #portail .pt-infolettre .pt-conteneur > div:last-child{flex:0 1 640px;min-width:0}
html body #portail .pt-infolettre #nlNom{flex:0 1 200px;min-width:160px}
html body #portail .pt-infolettre #nlEmail{flex:1 1 300px;min-width:220px}
html body #portail .pt-infolettre .nl-btn{flex:0 0 auto}
@media (max-width:620px){
  html body #portail .pt-infolettre .nl-form{flex-direction:column;align-items:stretch;width:100%}
  html body #portail .pt-infolettre .nl-form > *,html body #portail .pt-infolettre #nlNom,html body #portail .pt-infolettre #nlEmail{width:100%;min-width:0;flex:none}
  html body #portail .pt-infolettre .pt-conteneur > div{width:100%}
}

/* ---- D16 — Ancres : la cible ne passe pas sous la barre de menu collante ---- */
html body #portail .pt-ancre{display:block;height:0;width:0;overflow:hidden;scroll-margin-top:84px}
html body #portail section[id^="pt"]{scroll-margin-top:84px}
/* empreinte de livraison (contrôle des copies périmées du CDN) */ .emp--portail-03-charte-cop31--13-8-9{--empreinte:1}
