/* ══════════════════════════════════════════════════════════════════════
   CARTEGRISE.NET — DIRECTION 1 « SERVICE PUBLIC MODERNE » — v2 (25/11/2026)
   ----------------------------------------------------------------------
   Feuille chargee APRES cartegrise.css (head.php). Elle ne modifie aucun
   fichier existant : retirer la ligne <link ... d1.css> de head.php rend
   l'ancien design, tel quel.

   SYSTEME
     Couleurs  Bleu nuit #1f4462 (bandeaux, titres forts) · Action #3F729B
               Lien #2f6390 · Bleu clair #e6eef6 / actif #dbe6f0
               Pied #13283b · Texte #2c3d50 · Texte 2 #4a5a6e
               Valide #15803d · Erreur #b32b23 · Fond #f3f6f9
               Filet #dde5ed · Bordure de champ #a9b9c9
     Formes    Rayon 12 px les cartes, 8 px les champs et boutons, 16 px les
               grands panneaux. Pas d'ombre, sauf la carte du formulaire posee
               sur le bandeau bleu (une seule ombre, douce).
     Motif     Guilloche fin (lignes ondulees des documents securises) sur les
               aplats bleu nuit : haut de page, bandeau du tunnel, attestation,
               appel final. Aucun symbole de l'Etat.
     Police    Public Sans (OFL), hebergee sur le site. 14 px minimum.
     Espaces   Sections 72 px (40 px mobile). Echelle 4/8.

   POURQUOI CE PREFIXE A RALLONGE. cartegrise.css empile des regles en
   !important dont certaines portent trois :not(#id). Chaque regle ci-dessous
   commence par  html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d)  (quatre
   identifiants qui n'existent nulle part) et chaque declaration est en
   !important : elle passe devant toutes, sans dependre de l'ordre.
   ══════════════════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'Public Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('/assets/fonts/public-sans-latin-wght-normal.woff2') format('woff2-variations'),
         url('/assets/fonts/public-sans-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── 1. JETONS ───────────────────────────────────────────────────────── */
:root {
    --d1-nuit: #1f4462;
    --d1-nuit-2: #183852;
    --d1-action: #3F729B;
    --d1-action-survol: #33607f;
    --d1-lien: #2f6390;
    --d1-clair: #e6eef6;
    --d1-actif: #dbe6f0;
    --d1-pied: #13283b;
    --d1-texte: #2c3d50;
    --d1-texte-2: #4a5a6e;
    --d1-sur-nuit: #c9d8e6;
    --d1-valide: #15803d;
    --d1-erreur: #b32b23;
    --d1-fond: #f3f6f9;
    --d1-filet: #dde5ed;
    --d1-champ: #a9b9c9;
    --d1-r-carte: 12px;
    --d1-r: 8px;
    --d1-police: 'Public Sans', Arial, sans-serif;
    --d1-ombre-flottante: 0 30px 60px -30px rgba(6, 20, 34, .55), 0 2px 6px rgba(6, 20, 34, .12);
    --d1-guil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='192' viewBox='0 0 640 192'%3E%3Cpath fill='none' stroke='%23fff' stroke-opacity='0.10' stroke-width='1' d='M0,4.0 L16,12.4 L32,17.0 L48,16.9 L64,14.4 L80,13.0 L96,14.4 L112,16.9 L128,17.0 L144,12.4 L160,4.0 L176,-4.4 L192,-9.0 L208,-8.9 L224,-6.4 L240,-5.0 L256,-6.4 L272,-8.9 L288,-9.0 L304,-4.4 L320,4.0 L336,12.4 L352,17.0 L368,16.9 L384,14.4 L400,13.0 L416,14.4 L432,16.9 L448,17.0 L464,12.4 L480,4.0 L496,-4.4 L512,-9.0 L528,-8.9 L544,-6.4 L560,-5.0 L576,-6.4 L592,-8.9 L608,-9.0 L624,-4.4 L640,4.0 M0,196.0 L16,204.4 L32,209.0 L48,208.9 L64,206.4 L80,205.0 L96,206.4 L112,208.9 L128,209.0 L144,204.4 L160,196.0 L176,187.6 L192,183.0 L208,183.1 L224,185.6 L240,187.0 L256,185.6 L272,183.1 L288,183.0 L304,187.6 L320,196.0 L336,204.4 L352,209.0 L368,208.9 L384,206.4 L400,205.0 L416,206.4 L432,208.9 L448,209.0 L464,204.4 L480,196.0 L496,187.6 L512,183.0 L528,183.1 L544,185.6 L560,187.0 L576,185.6 L592,183.1 L608,183.0 L624,187.6 L640,196.0 M0,27.2 L16,39.8 L32,42.6 L48,34.8 L64,27.6 L80,25.6 L96,20.6 L112,8.2 L128,-2.2 L144,-0.7 L160,8.2 L176,13.4 L192,15.3 L208,22.9 L224,36.2 L240,43.2 L256,37.9 L272,29.3 L288,26.0 L304,23.1 L320,12.8 L336,0.2 L352,-2.6 L368,5.2 L384,12.4 L400,14.4 L416,19.4 L432,31.8 L448,42.2 L464,40.7 L480,31.8 L496,26.6 L512,24.7 L528,17.1 L544,3.8 L560,-3.2 L576,2.1 L592,10.7 L608,14.0 L624,16.9 L640,27.2 M0,219.2 L16,231.8 L32,234.6 L48,226.8 L64,219.6 L80,217.6 L96,212.6 L112,200.2 L128,189.8 L144,191.3 L160,200.2 L176,205.4 L192,207.3 L208,214.9 L224,228.2 L240,235.2 L256,229.9 L272,221.3 L288,218.0 L304,215.1 L320,204.8 L336,192.2 L352,189.4 L368,197.2 L384,204.4 L400,206.4 L416,211.4 L432,223.8 L448,234.2 L464,232.7 L480,223.8 L496,218.6 L512,216.7 L528,209.1 L544,195.8 L560,188.8 L576,194.1 L592,202.7 L608,206.0 L624,208.9 L640,219.2 M0,46.3 L16,51.6 L32,55.9 L48,55.7 L64,50.0 L80,41.3 L96,33.6 L112,29.9 L128,29.2 L144,28.7 L160,25.7 L176,20.4 L192,16.1 L208,16.3 L224,22.0 L240,30.7 L256,38.4 L272,42.1 L288,42.8 L304,43.3 L320,46.3 L336,51.6 L352,55.9 L368,55.7 L384,50.0 L400,41.3 L416,33.6 L432,29.9 L448,29.2 L464,28.7 L480,25.7 L496,20.4 L512,16.1 L528,16.3 L544,22.0 L560,30.7 L576,38.4 L592,42.1 L608,42.8 L624,43.3 L640,46.3 M0,238.3 L16,243.6 L32,247.9 L48,247.7 L64,242.0 L80,233.3 L96,225.6 L112,221.9 L128,221.2 L144,220.7 L160,217.7 L176,212.4 L192,208.1 L208,208.3 L224,214.0 L240,222.7 L256,230.4 L272,234.1 L288,234.8 L304,235.3 L320,238.3 L336,243.6 L352,247.9 L368,247.7 L384,242.0 L400,233.3 L416,225.6 L432,221.9 L448,221.2 L464,220.7 L480,217.7 L496,212.4 L512,208.1 L528,208.3 L544,214.0 L560,222.7 L576,230.4 L592,234.1 L608,234.8 L624,235.3 L640,238.3 M0,57.5 L16,59.8 L32,62.1 L48,55.4 L64,44.2 L80,40.2 L96,44.3 L112,46.4 L128,42.8 L144,43.0 L160,52.4 L176,62.4 L192,62.9 L208,58.3 L224,58.5 L240,62.1 L256,58.7 L272,47.6 L288,40.3 L304,42.6 L320,46.5 L336,44.2 L352,41.9 L368,48.6 L384,59.8 L400,63.8 L416,59.7 L432,57.6 L448,61.2 L464,61.0 L480,51.6 L496,41.6 L512,41.1 L528,45.7 L544,45.5 L560,41.9 L576,45.3 L592,56.4 L608,63.7 L624,61.4 L640,57.5 M0,71.7 L16,68.9 L32,69.4 L48,70.9 L64,70.0 L80,65.3 L96,58.7 L112,54.1 L128,54.4 L144,58.9 L160,64.3 L176,67.1 L192,66.6 L208,65.1 L224,66.0 L240,70.7 L256,77.3 L272,81.9 L288,81.6 L304,77.1 L320,71.7 L336,68.9 L352,69.4 L368,70.9 L384,70.0 L400,65.3 L416,58.7 L432,54.1 L448,54.4 L464,58.9 L480,64.3 L496,67.1 L512,66.6 L528,65.1 L544,66.0 L560,70.7 L576,77.3 L592,81.9 L608,81.6 L624,77.1 L640,71.7 M0,87.8 L16,77.9 L32,76.5 L48,76.1 L64,70.1 L80,65.5 L96,71.6 L112,84.3 L128,91.3 L144,91.2 L160,93.3 L176,100.2 L192,101.8 L208,92.3 L224,80.3 L240,76.3 L256,76.8 L272,72.6 L288,66.1 L304,68.3 L320,80.2 L336,90.1 L352,91.5 L368,91.9 L384,97.9 L400,102.5 L416,96.4 L432,83.7 L448,76.7 L464,76.8 L480,74.7 L496,67.8 L512,66.2 L528,75.7 L544,87.7 L560,91.7 L576,91.2 L592,95.4 L608,101.9 L624,99.7 L640,87.8 M0,97.8 L16,87.8 L32,81.6 L48,80.8 L64,83.5 L80,86.2 L96,86.6 L112,85.8 L128,86.9 L144,92.6 L160,102.2 L176,112.2 L192,118.4 L208,119.2 L224,116.5 L240,113.8 L256,113.4 L272,114.2 L288,113.1 L304,107.4 L320,97.8 L336,87.8 L352,81.6 L368,80.8 L384,83.5 L400,86.2 L416,86.6 L432,85.8 L448,86.9 L464,92.6 L480,102.2 L496,112.2 L512,118.4 L528,119.2 L544,116.5 L560,113.8 L576,113.4 L592,114.2 L608,113.1 L624,107.4 L640,97.8 M0,109.1 L16,98.3 L32,96.2 L48,104.6 L64,112.7 L80,114.4 L96,117.0 L112,126.7 L128,135.8 L144,133.8 L160,124.0 L176,118.1 L192,117.4 L208,112.5 L224,101.5 L240,95.5 L256,101.2 L272,110.7 L288,114.3 L304,115.4 L320,122.9 L336,133.7 L352,135.8 L368,127.4 L384,119.3 L400,117.6 L416,115.0 L432,105.3 L448,96.2 L464,98.2 L480,108.0 L496,113.9 L512,114.6 L528,119.5 L544,130.5 L560,136.5 L576,130.8 L592,121.3 L608,117.7 L624,116.6 L640,109.1 M0,127.4 L16,123.7 L32,119.7 L48,119.0 L64,123.3 L80,130.5 L96,136.8 L112,139.1 L128,137.8 L144,135.9 L160,136.6 L176,140.3 L192,144.3 L208,145.0 L224,140.7 L240,133.5 L256,127.2 L272,124.9 L288,126.2 L304,128.1 L320,127.4 L336,123.7 L352,119.7 L368,119.0 L384,123.3 L400,130.5 L416,136.8 L432,139.1 L448,137.8 L464,135.9 L480,136.6 L496,140.3 L512,144.3 L528,145.0 L544,140.7 L560,133.5 L576,127.2 L592,124.9 L608,126.2 L624,128.1 L640,127.4 M0,143.0 L16,142.2 L32,139.9 L48,145.6 L64,156.6 L80,161.0 L96,156.3 L112,152.5 L128,155.0 L144,155.3 L160,146.8 L176,136.8 L192,136.0 L208,141.6 L224,143.1 L240,140.1 L256,142.6 L272,153.1 L288,160.7 L304,158.3 L320,153.0 L336,153.8 L352,156.1 L368,150.4 L384,139.4 L400,135.0 L416,139.7 L432,143.5 L448,141.0 L464,140.7 L480,149.2 L496,159.2 L512,160.0 L528,154.4 L544,152.9 L560,155.9 L576,153.4 L592,142.9 L608,135.3 L624,137.7 L640,143.0 M0,-35.8 L16,-30.3 L32,-28.2 L48,-27.7 L64,-25.6 L80,-20.1 L96,-12.9 L112,-7.6 L128,-7.6 L144,-12.9 L160,-20.2 L176,-25.7 L192,-27.8 L208,-28.3 L224,-30.4 L240,-35.9 L256,-43.1 L272,-48.4 L288,-48.4 L304,-43.1 L320,-35.8 L336,-30.3 L352,-28.2 L368,-27.7 L384,-25.6 L400,-20.1 L416,-12.9 L432,-7.6 L448,-7.6 L464,-12.9 L480,-20.2 L496,-25.7 L512,-27.8 L528,-28.3 L544,-30.4 L560,-35.9 L576,-43.1 L592,-48.4 L608,-48.4 L624,-43.1 L640,-35.8 M0,156.2 L16,161.7 L32,163.8 L48,164.3 L64,166.4 L80,171.9 L96,179.1 L112,184.4 L128,184.4 L144,179.1 L160,171.8 L176,166.3 L192,164.2 L208,163.7 L224,161.6 L240,156.1 L256,148.9 L272,143.6 L288,143.6 L304,148.9 L320,156.2 L336,161.7 L352,163.8 L368,164.3 L384,166.4 L400,171.9 L416,179.1 L432,184.4 L448,184.4 L464,179.1 L480,171.8 L496,166.3 L512,164.2 L528,163.7 L544,161.6 L560,156.1 L576,148.9 L592,143.6 L608,143.6 L624,148.9 L640,156.2 M0,-15.2 L16,-2.5 L32,0.7 L48,0.7 L64,4.9 L80,8.4 L96,1.1 L112,-13.8 L128,-23.6 L144,-24.5 L160,-25.6 L176,-30.8 L192,-31.4 L208,-20.4 L224,-5.9 L240,0.6 L256,0.4 L272,3.1 L288,8.1 L304,4.9 L320,-8.8 L336,-21.5 L352,-24.7 L368,-24.7 L384,-28.9 L400,-32.4 L416,-25.1 L432,-10.2 L448,-0.4 L464,0.5 L480,1.6 L496,6.8 L512,7.4 L528,-3.6 L544,-18.1 L560,-24.6 L576,-24.4 L592,-27.1 L608,-32.1 L624,-28.9 L640,-15.2 M0,176.8 L16,189.5 L32,192.7 L48,192.7 L64,196.9 L80,200.4 L96,193.1 L112,178.2 L128,168.4 L144,167.5 L160,166.4 L176,161.2 L192,160.6 L208,171.6 L224,186.1 L240,192.6 L256,192.4 L272,195.1 L288,200.1 L304,196.9 L320,183.2 L336,170.5 L352,167.3 L368,167.3 L384,163.1 L400,159.6 L416,166.9 L432,181.8 L448,191.6 L464,192.5 L480,193.6 L496,198.8 L512,199.4 L528,188.4 L544,173.9 L560,167.4 L576,167.6 L592,164.9 L608,159.9 L624,163.1 L640,176.8'/%3E%3C/svg%3E");

    --cg-primaire: #3F729B;
    --cg-primaire-fonce: #1f4462;
    --cg-bandeau: #1f4462;
    --cg-fond-page: #f3f6f9;
    --cg-fond-accent: #e6eef6;
    --cg-fond-info: #f3f6f9;
    --cg-titre: #2c3d50;
    --cg-texte: #2c3d50;
    --cg-texte-2: #4a5a6e;
    --cg-bordure: #dde5ed;
    --cg-bordure-champ: #a9b9c9;
    --cg-filet: #e6ecf2;
    --cg-police-titre: 'Public Sans', Arial, sans-serif;
    --cg-police: 'Public Sans', Arial, sans-serif;
    --cg-r-petit: 6px;
    --cg-r-moyen: 8px;
    --cg-r-carte: 12px;
    --cg-carte-rayon: 12px;
    --cg-ombre-carte: none;
    --cg-carte-ombre: none;
    --cg-focus: 0 0 0 3px rgba(63,114,155,.35);
}

/* ── 2. BASE ─────────────────────────────────────────────────────────── */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d),
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) *:not([class^="fi-"]):not([class*=" fi-"]):not(.navbar-toggler-icon):not(code):not(pre) {
    font-family: var(--d1-police) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) {
    color: var(--d1-texte) !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) main a:not(.btn):not([class*="cg-"]):not([class*="d1-"]):not(.nav-link):not(.dropdown-item):not(.accordion-button) {
    color: var(--d1-lien) !important;
    text-underline-offset: 3px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) main h2.fw-bold { font-weight: 600 !important; letter-spacing: -.02em !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :focus-visible { outline: 3px solid var(--d1-action) !important; outline-offset: 2px !important; }

/* Titres de section (un seul style sur tout le site) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.d1-h2, .cg-section-title, .cg-ccm-titre, .cg-accueil-demarches-titre) {
    margin: 0 0 10px !important;
    font-size: 32px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    letter-spacing: -.02em !important;
    color: var(--d1-texte) !important;
    text-align: left !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.d1-lead, .cg-ccm-sous, .cg-accueil-demarches-sous) {
    display: block !important;
    margin: 0 !important;
    max-width: 40em !important;
    font-size: 17px !important;
    line-height: 1.55 !important;
    color: var(--d1-texte-2) !important;
    text-align: left !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-section-label { display: none !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.d1-h2, .cg-section-title, .cg-ccm-titre, .cg-accueil-demarches-titre) { font-size: 25px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.d1-lead, .cg-ccm-sous, .cg-accueil-demarches-sous) { font-size: 16px !important; }
}

/* ── 3. BOUTONS ─────────────────────────────────────────────────────── */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn {
    border-radius: var(--d1-r) !important;
    box-shadow: none !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-primary {
    --bs-btn-bg: #2f6390 !important; --bs-btn-border-color: #2f6390 !important;
    --bs-btn-hover-bg: #24527a !important; --bs-btn-hover-border-color: #24527a !important;
    --bs-btn-active-bg: #1f4462 !important; --bs-btn-active-border-color: #1f4462 !important;
    background: #2f6390 !important;
    background-image: none !important;
    border-color: #2f6390 !important;
    color: #fff !important;
    transition: background-color .15s ease !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-primary:hover { background: #24527a !important; border-color: #24527a !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-primary:active { background: #1f4462 !important; border-color: #1f4462 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-lg { min-height: 54px !important; font-size: 17px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.btn-outline-secondary, .btn-outline-primary) {
    border: 1.5px solid var(--d1-champ) !important;
    color: var(--d1-texte) !important;
    background: #fff !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.btn-outline-secondary, .btn-outline-primary):hover { border-color: var(--d1-nuit) !important; color: var(--d1-nuit) !important; background: #fff !important; }

/* ── 4. CHAMPS ──────────────────────────────────────────────────────────
   Un seul champ pour tout le site : blanc, 50 px, filet fin, rayon 8.
   Survol : filet plus marque. Focus : filet bleu nuit + halo doux. */
:root { --d1-champ-filet: #9fb0c3; --d1-champ-survol: #6f849b; --d1-halo: 0 0 0 4px rgba(63,114,155,.18); }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.form-control, .form-select, .choices__inner):not(.btn-check) {
    min-height: 50px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    border: 1px solid var(--d1-champ-filet) !important;
    border-radius: var(--d1-r) !important;
    box-shadow: none !important;
    color: var(--d1-texte) !important;
    background-color: #fff !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    transition: border-color .15s ease, box-shadow .15s ease !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .form-select { padding-right: 40px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) textarea.form-control { min-height: 104px !important; padding-top: 12px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.form-control, .form-select, .choices__inner):hover { border-color: var(--d1-champ-survol) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.form-control, .form-select):focus,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .choices.is-focused .choices__inner,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .choices.is-open .choices__inner {
    border-color: var(--d1-nuit) !important;
    box-shadow: var(--d1-halo) !important;
    outline: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.form-control, .form-select).is-invalid,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .was-validated :is(.form-control, .form-select):invalid {
    border-color: var(--d1-erreur) !important;
    background-image: none !important;
    box-shadow: 0 0 0 3px rgba(179,43,35,.12) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .form-control::placeholder { color: #8796a8 !important; opacity: 1 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .form-control:disabled, html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .form-control[readonly] { background-color: var(--d1-fond) !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.form-label, .cg-label) {
    display: block !important;
    margin-bottom: 7px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: var(--d1-texte) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.form-label, .cg-label) :is(small, .text-muted, .fw-normal) { font-size: 14px !important; font-weight: 400 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.form-text, .cg-immat-aide) { margin-top: 6px !important; font-size: 14px !important; line-height: 1.45 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.invalid-feedback, .cg-select-erreur) { margin-top: 6px !important; font-size: 14px !important; color: var(--d1-erreur) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .form-check-input { border: 1.5px solid var(--d1-champ-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .form-check-input[type="checkbox"] { width: 20px !important; height: 20px !important; border-radius: 5px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .form-check-input:focus { box-shadow: var(--d1-halo) !important; border-color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .form-check-input:checked { background-color: var(--d1-nuit) !important; border-color: var(--d1-nuit) !important; }

/* Champ plaque (accueil, page demarche, formulaire quand le format francais
   s'applique) : la plaque est redessinee aux couleurs de la charte. Une seule
   bande a gauche (etoiles + F) dans un bleu accorde au bleu nuit, le filet du
   champ autour de toute la plaque, numero en Public Sans grasse et espacee.
   L'identifiant dans le selecteur passe devant la regle « plaque » de
   cartegrise.css (bandes #0b6ba8 a gauche ET a droite). */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-field-immat input, input[data-format-plaque="1"])#vehiculeImmatriculation {
    height: 60px !important;
    min-height: 60px !important;
    padding: 0 16px 0 60px !important;
    border: 0 !important;
    border-radius: var(--d1-r) !important;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='60' viewBox='0 0 44 60'%3E%3Crect width='44' height='60' fill='%232f6390'/%3E%3Ccircle cx='30.00' cy='19.00' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='28.93' cy='23.00' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='26.00' cy='25.93' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='22.00' cy='27.00' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='18.00' cy='25.93' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='15.07' cy='23.00' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='14.00' cy='19.00' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='15.07' cy='15.00' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='18.00' cy='12.07' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='22.00' cy='11.00' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='26.00' cy='12.07' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='28.93' cy='15.00' r='1.3' fill='%23ffd23f'/%3E%3Ctext x='22' y='49' text-anchor='middle' font-family='Arial,sans-serif' font-weight='700' font-size='15' fill='%23fff'%3EF%3C/text%3E%3C/svg%3E") left center / 44px 100% no-repeat !important;
    box-shadow: inset 0 0 0 1px var(--d1-champ-filet) !important;
    color: var(--d1-texte) !important;
    font-family: var(--d1-police) !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    letter-spacing: .08em !important;
    text-align: center !important;
    text-transform: uppercase !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-field-immat input, input[data-format-plaque="1"])#vehiculeImmatriculation::placeholder {
    color: #a7b3c2 !important;
    font-weight: 600 !important;
    letter-spacing: .08em !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-field-immat input, input[data-format-plaque="1"])#vehiculeImmatriculation:hover:not(:focus) {
    box-shadow: inset 0 0 0 1px var(--d1-champ-survol) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-field-immat input, input[data-format-plaque="1"])#vehiculeImmatriculation:focus {
    box-shadow: inset 0 0 0 1.5px var(--d1-nuit), var(--d1-halo) !important;
    outline: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-field-immat input, input[data-format-plaque="1"])#vehiculeImmatriculation.is-invalid,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .was-validated :is(.cg-field-immat input, input[data-format-plaque="1"])#vehiculeImmatriculation:invalid {
    box-shadow: inset 0 0 0 1.5px var(--d1-erreur), 0 0 0 3px rgba(179,43,35,.12) !important;
}
@media (max-width: 575.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-field-immat input, input[data-format-plaque="1"])#vehiculeImmatriculation { height: 56px !important; min-height: 56px !important; font-size: 22px !important; }
}

/* Choix Oui / Non et Particulier / Professionnel : meme bouton partout */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .custom-control-label,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-type-btn {
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid var(--d1-champ) !important;
    border-radius: var(--d1-r) !important;
    background: #fff !important;
    color: var(--d1-texte) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    transition: border-color .15s ease, background-color .15s ease !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .custom-control-label { min-width: 64px !important; padding: 0 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-type-btn { min-height: 48px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check-input[type="radio"]:not(:checked) + .custom-control-label:hover,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-check:not(:checked) + .cg-type-btn:hover { border-color: var(--d1-nuit) !important; background: #f8fafc !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check-input[type="radio"]:checked + .custom-control-label,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-check:checked + .cg-type-btn {
    border-color: var(--d1-nuit) !important;
    background: var(--d1-actif) !important;
    color: var(--d1-nuit) !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-check:checked + .cg-type-btn .cg-type-icon { color: var(--d1-nuit) !important; }

/* ── 5. CARTES : filet, rayon 12, sans ombre ─────────────────────────── */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.card, .cg-demarche-card, .cg-vehicle-banner, .cg-vehicule-card-wrap, .cg-aside-hero) {
    border-radius: var(--d1-r-carte) !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.card, .cg-demarche-card) { border: 1px solid var(--d1-filet) !important; }

/* ── 6. BARRE HAUTE ET EN-TETE ───────────────────────────────────────── */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-topbar {
    padding: 7px 0 !important;
    background: var(--d1-fond) !important;
    border-bottom: 1px solid var(--d1-filet) !important;
    color: var(--d1-texte-2) !important;
    font-size: 14px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-topbar a { color: var(--d1-lien) !important; font-weight: 600 !important; }

html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar {
    min-height: 72px !important;
    background: #fff !important;
    border-bottom: 1px solid var(--d1-filet) !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .navbar-brand { color: var(--d1-nuit) !important; font-size: 21px !important; font-weight: 600 !important; letter-spacing: -.01em !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .navbar-brand .fs-sm { font-size: 21px !important; font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .navbar-nav .nav-link { color: var(--d1-texte) !important; font-size: 16px !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .navbar-nav .nav-link:hover,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .navbar-nav .nav-link.show { color: var(--d1-action) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .navbar-nav .nav-link .fi-home { display: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .dropdown-menu {
    border: 1px solid var(--d1-filet) !important;
    border-radius: var(--d1-r-carte) !important;
    box-shadow: 0 18px 40px -12px rgba(19,40,59,.22) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .dropdown-item { font-size: 15px !important; color: var(--d1-texte) !important; border-radius: 6px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .dropdown-item:hover { background: var(--d1-fond) !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .dropdown-header { font-size: 13px !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: .06em !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .btn-outline-secondary,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .cg-nav-compte {
    height: 42px !important;
    padding: 0 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    border: 1.5px solid var(--d1-nuit) !important;
    border-radius: var(--d1-r) !important;
    background: #fff !important;
    color: var(--d1-nuit) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .btn-outline-secondary:hover,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .cg-nav-compte:hover { background: var(--d1-clair) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mnav-pied { background: var(--d1-fond) !important; border-radius: var(--d1-r) !important; color: var(--d1-texte-2) !important; font-size: 14px !important; }

/* ── 7. HAUT DE PAGE (accueil ET pages demarche) ─────────────────────────
   Bleu nuit, guilloche a droite qui s'efface vers le texte, coins bas
   arrondis. Le motif est sur ::after, sous le contenu. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero {
    position: relative !important;
    isolation: isolate !important;
    display: block !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 64px 0 64px !important;
    overflow: visible !important;
    background: var(--d1-nuit) !important;
    background-image: none !important;
    border-radius: 0 0 40px 40px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    background: radial-gradient(70% 90% at 85% 10%, rgba(91,140,181,.28) 0%, rgba(31,68,98,0) 70%) !important;
    width: auto !important; height: auto !important; border-radius: inherit !important; transform: none !important; opacity: 1 !important;
    pointer-events: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    background: var(--d1-guil) right top / 640px 192px repeat !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%) !important;
            mask-image: linear-gradient(90deg, transparent 20%, #000 75%) !important;
    border-radius: inherit !important;
    width: auto !important; height: auto !important; transform: none !important; opacity: 1 !important;
    pointer-events: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero :is(.container, .cg-hero-inner) { position: relative !important; z-index: 1 !important; }
/* La rangee texte + formulaire passe AU-DESSUS du bandeau de preuves : la liste
   deroulante du pays (pages WW, vehicule etranger, quitus) s'ouvre par-dessus et
   reste cliquable. Avec le meme z-index, le bandeau, venu apres dans le HTML,
   recouvrait la liste : elle s'ouvrait mais aucun choix ne passait. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .cg-hero-inner { z-index: 5 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .cg-form-card .choices__list--dropdown { z-index: 20 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero-h1 {
    margin: 0 0 18px !important;
    max-width: 12.5em !important;
    font-size: 52px !important;
    line-height: 1.07 !important;
    font-weight: 600 !important;
    letter-spacing: -.022em !important;
    color: #fff !important;
    text-wrap: wrap !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero-h1 em { font-style: normal !important; color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero-desc {
    margin: 0 !important;
    max-width: 33em !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: var(--d1-sur-nuit) !important;
    text-wrap: wrap !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero-trust-item {
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    font-size: 14px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-trust-check { color: #fff !important; }

html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 0 22px !important;
    padding: 6px 12px 6px 8px !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-badge svg {
    flex: 0 0 24px !important;
    width: 24px !important; height: 24px !important;
    padding: 4px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.14) !important;
}

/* Carte du formulaire posee sur le bandeau : la seule carte avec une ombre */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .cg-form-card {
    position: relative !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 16px !important;
    box-shadow: var(--d1-ombre-flottante) !important;
    padding: 28px !important;
    overflow: visible !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .cg-form-card .cg-form-body { padding: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-form-titre {
    margin: 0 0 16px !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: -.01em !important;
    color: var(--d1-texte) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .cg-form-card .btn-primary { min-height: 56px !important; font-size: 17px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-sans-plaque { margin: 14px 0 0 !important; font-size: 14px !important; color: var(--d1-texte-2) !important; text-align: center !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-sans-plaque a { color: var(--d1-lien) !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-form-footer {
    display: flex !important;
    justify-content: center !important;
    gap: 22px !important;
    margin: 16px 0 0 !important;
    padding: 14px 0 0 !important;
    border-top: 1px solid var(--d1-filet) !important;
    background: transparent !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-form-footer-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--d1-texte-2) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-form-footer-item i { color: var(--d1-valide) !important; font-size: 15px !important; }

/* Bandeau de preuves (accueil) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-hero { padding-bottom: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-preuves-wrap { padding-top: 52px !important; padding-bottom: 48px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-preuves {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    border-top: 1px solid rgba(255,255,255,.16) !important;
    padding-top: 26px !important;
    color: #fff !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-preuve + .d1-preuve { padding-left: 28px !important; border-left: 1px solid rgba(255,255,255,.16) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-preuve strong { display: block !important; font-size: 26px !important; font-weight: 600 !important; line-height: 1.2 !important; letter-spacing: -.015em !important; color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-preuve span { display: block !important; margin-top: 3px !important; font-size: 14px !important; line-height: 1.4 !important; color: var(--d1-sur-nuit) !important; }

@media (max-width: 991.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero { padding: 28px 0 32px !important; border-radius: 0 0 28px 28px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-hero { padding-bottom: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).cg-hero-page section.cg-hero { padding-top: 28px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero::after {
        background-size: 480px 144px !important;
        -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 55%) !important;
                mask-image: linear-gradient(180deg, #000 0%, transparent 55%) !important;
        opacity: .8 !important;
    }
    /* cartegrise.css passe la colonne texte en display:contents sous 992 px pour
       remettre le titre avant le formulaire (utile sur les pages demarche, ou le
       formulaire vient en premier dans le HTML). Sur l'accueil le texte est deja
       en premier : la colonne redevient un bloc, alignee a gauche. */
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-hero .row > .col-lg-6.text-center { display: block !important; text-align: left !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-hero .row > .col-lg-6.text-center > * { padding-left: 0 !important; padding-right: 0 !important; text-align: left !important; flex: none !important; max-width: none !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-hero .row > .col-lg-6.text-center > .d1-badge { display: inline-flex !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-hero .row > .col-lg-6.text-center > .cg-hero-h1 { margin-top: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-hero .row > .col-lg-6.text-center > .cg-hero-desc { margin: 0 !important; padding: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .row > .col-lg-6.text-center > :is(.cg-hero-h1, .cg-hero-desc) { text-align: left !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero-h1 { font-size: 31px !important; line-height: 1.12 !important; margin-bottom: 10px !important; max-width: none !important; text-wrap: balance !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero-desc { font-size: 16px !important; line-height: 1.5 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-badge { margin-bottom: 16px !important; font-size: 13px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .cg-form-card { padding: 18px !important; border-radius: 14px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-preuves-wrap { padding-top: 24px !important; padding-bottom: 28px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-preuves { grid-template-columns: 1fr 1fr !important; row-gap: 18px !important; border-top: 0 !important; padding-top: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-preuve,
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-preuve + .d1-preuve { padding: 0 0 0 14px !important; border-left: 2px solid rgba(255,255,255,.22) !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-preuve strong { font-size: 20px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-preuve span { font-size: 13px !important; }
}

/* ── 8. ACCUEIL ──────────────────────────────────────────────────────── */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .content-wrapper { background: #fff !important; }

/* 8a. Demarches : cartes horizontales, icone lisible, chevron */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-demarches { padding-top: 72px !important; padding-bottom: 24px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-demarches-tete { margin-bottom: 28px !important; text-align: left !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-grille {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-carte {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    min-height: 0 !important;
    padding: 18px 18px 18px 18px !important;
    background: #fff !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: var(--d1-r-carte) !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: none !important;
    transition: border-color .15s ease, background-color .15s ease !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-carte:hover {
    border-color: var(--d1-action) !important;
    background: #fbfcfe !important;
    box-shadow: none !important;
    transform: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-carte-visuel {
    flex: 0 0 52px !important;
    width: 52px !important; height: 52px !important; min-width: 52px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 12px !important;
    background: var(--d1-clair) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-carte-visuel img { width: 30px !important; height: 30px !important; object-fit: contain !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-carte-corps { flex: 1 1 auto !important; display: flex !important; flex-direction: column !important; gap: 3px !important; padding: 0 !important; margin: 0 !important; min-width: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-carte-titre { font-size: 17px !important; line-height: 1.3 !important; font-weight: 600 !important; letter-spacing: -.005em !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-carte-texte { font-size: 14px !important; line-height: 1.45 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-carte-fleche {
    position: static !important;
    flex: 0 0 32px !important;
    width: 32px !important; height: 32px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: var(--d1-fond) !important;
    color: var(--d1-lien) !important;
    transition: background-color .15s ease, color .15s ease !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-carte:hover .cg-accueil-carte-fleche { background: var(--d1-action) !important; color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-demarches-pied { margin-top: 18px !important; text-align: left !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-lien {
    display: inline-flex !important; align-items: center !important; gap: 6px !important;
    padding: 0 !important; border: 0 !important; background: none !important;
    color: var(--d1-lien) !important; font-size: 16px !important; font-weight: 600 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-lien:hover { color: var(--d1-nuit) !important; text-decoration: underline !important; }
@media (max-width: 991.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-grille { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-demarches { padding-top: 40px !important; padding-bottom: 8px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-demarches-tete { margin-bottom: 18px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-grille { grid-template-columns: 1fr !important; gap: 10px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-carte { padding: 14px !important; gap: 14px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-carte-visuel { flex-basis: 44px !important; width: 44px !important; height: 44px !important; min-width: 44px !important; border-radius: 10px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-carte-visuel img { width: 26px !important; height: 26px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-carte-titre { font-size: 16px !important; }
}

/* 8b. Comment ca marche : panneau clair, pastilles numerotees reliees */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm { padding: 48px 0 16px !important; background: #fff !important; border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm > .container {
    width: calc(100% - 24px) !important;
    max-width: 1296px !important;
    padding-top: 40px !important;
    padding-bottom: 44px !important;
    background: var(--d1-fond) !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: 16px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-titre,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-sous { padding-left: 40px !important; padding-right: 40px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-sous { margin-bottom: 32px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-liste {
    position: relative !important;
    counter-reset: d1ccm !important;
    display: grid !important;
    grid-template-columns: repeat(var(--d1-ccm-n, 3), minmax(0, 1fr)) !important;
    gap: 32px !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 40px !important;
    list-style: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-liste::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 19px !important;
    left: 80px !important;
    right: calc(33.33% - 20px) !important;
    height: 2px !important;
    background: repeating-linear-gradient(90deg, #b9c8d7 0 6px, transparent 6px 12px) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-liste::after { content: none !important; display: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-etape {
    position: relative !important;
    counter-increment: d1ccm !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: left !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-etape::before, html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-etape::after { content: none !important; display: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-ico {
    position: relative !important;
    width: 40px !important; height: 40px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    margin: 0 !important; padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--d1-nuit) !important;
    box-shadow: 0 0 0 6px var(--d1-fond) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-ico :is(svg, .cg-ccm-num) { display: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-ico::before { content: counter(d1ccm) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-txt { display: flex !important; flex-direction: column !important; gap: 6px !important; padding: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-txt strong { display: block !important; margin: 0 !important; font-size: 18px !important; line-height: 1.3 !important; font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-txt > span { display: block !important; font-size: 15px !important; line-height: 1.6 !important; color: var(--d1-texte-2) !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm { padding: 8px 0 40px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm > .container { padding-top: 28px !important; padding-bottom: 28px !important; border-radius: 14px !important; width: calc(100% - 24px) !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-titre, html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-sous { padding-left: 20px !important; padding-right: 20px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-sous { margin-bottom: 22px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-liste { grid-template-columns: 1fr !important; gap: 22px !important; padding: 0 20px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-liste::before {
        top: 20px !important; bottom: 20px !important; left: 39px !important; right: auto !important;
        width: 2px !important; height: auto !important;
        background: repeating-linear-gradient(180deg, #b9c8d7 0 6px, transparent 6px 12px) !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-etape { flex-direction: row !important; gap: 14px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-ico { flex: 0 0 40px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-txt { padding-top: 8px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-txt strong { font-size: 17px !important; }
}

/* 8c. Service habilite : texte + attestation + deux engagements */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-habil { padding: 72px 0 !important; background: #fff !important; border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-habil .d1-lead { margin-top: 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-mention {
    display: flex !important; gap: 10px !important; align-items: flex-start !important;
    margin: 22px 0 0 !important;
    padding: 14px 16px !important;
    border-radius: var(--d1-r) !important;
    background: var(--d1-fond) !important;
    font-size: 14px !important; line-height: 1.55 !important; color: var(--d1-texte-2) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    padding: 26px 28px !important;
    border-radius: 16px !important;
    background: var(--d1-nuit) !important;
    color: #fff !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest::after {
    content: "" !important;
    position: absolute !important; inset: 0 !important; z-index: -1 !important;
    background: var(--d1-guil) center / 640px 192px repeat !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 90%) !important;
            mask-image: linear-gradient(90deg, transparent 10%, #000 90%) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-tete { display: flex !important; align-items: center !important; gap: 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-sceau {
    flex: 0 0 48px !important; width: 48px !important; height: 48px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.12) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.25) !important;
    color: #fff !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-titre { font-size: 19px !important; font-weight: 600 !important; line-height: 1.25 !important; color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-sous { margin-top: 2px !important; font-size: 14px !important; line-height: 1.4 !important; color: var(--d1-sur-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-lignes { margin-top: 20px !important; border-top: 1px solid rgba(255,255,255,.16) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-ligne {
    display: flex !important; justify-content: space-between !important; align-items: baseline !important; gap: 16px !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.16) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-ligne:last-child { border-bottom: 0 !important; padding-bottom: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-ligne span { font-size: 15px !important; color: var(--d1-sur-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-ligne strong { font-size: 22px !important; font-weight: 600 !important; letter-spacing: .01em !important; color: #fff !important; white-space: nowrap !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-engag { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 14px !important; margin-top: 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-engag-item {
    display: flex !important; gap: 14px !important; align-items: flex-start !important;
    padding: 18px !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: var(--d1-r-carte) !important;
    background: #fff !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-engag-ico {
    flex: 0 0 40px !important; width: 40px !important; height: 40px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    border-radius: 10px !important;
    background: var(--d1-clair) !important;
    color: var(--d1-nuit) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-engag-item strong { display: block !important; font-size: 16px !important; line-height: 1.3 !important; font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-engag-item > div > span { display: block !important; margin-top: 4px !important; font-size: 14px !important; line-height: 1.5 !important; color: var(--d1-texte-2) !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-habil { padding: 40px 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest { padding: 20px !important; border-radius: 14px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-titre { font-size: 17px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-ligne { flex-direction: column !important; gap: 2px !important; padding: 12px 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-ligne strong { font-size: 20px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-engag { grid-template-columns: 1fr !important; gap: 10px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-engag-item { padding: 16px !important; }
}

/* 8d. Avis */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-avis { padding: 64px 0 32px !important; background: var(--d1-fond) !important; border-top: 1px solid var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-avis .d1-h2 { margin-bottom: 24px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-avis .skeepers_carousel_container { margin-bottom: 0 !important; }
@media (max-width: 767.98px) { html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-avis { padding: 40px 0 16px !important; } }

/* 8e. FAQ */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil section.py-5:has(#faq) {
    padding: 64px 0 72px !important;
    background: var(--d1-fond) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-faq > .col-lg-4 { position: sticky !important; top: 104px !important; align-self: flex-start !important; }
@media (max-width: 991.98px) { html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-faq > .col-lg-4 { position: static !important; } }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-faq-aide { margin: 6px 0 0 !important; font-size: 16px !important; line-height: 1.55 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq {
    --bs-accordion-bg: transparent !important;
    --bs-accordion-border-color: #dde5ed !important;
    --bs-accordion-active-bg: transparent !important;
    --bs-accordion-active-color: #2c3d50 !important;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(63,114,155,.3) !important;
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 4px 28px !important;
    background: #fff !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq .accordion-item {
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--d1-filet) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq .accordion-item:last-child { border-bottom: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq .accordion-button {
    padding: 20px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--d1-texte) !important;
    text-decoration: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq .accordion-button > span.me-2 { font-size: 17px !important; font-weight: 600 !important; line-height: 1.4 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq .accordion-button:not(.collapsed) > span.me-2 { color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq .accordion-body { padding: 0 0 22px !important; max-width: 46em !important; font-size: 16px !important; line-height: 1.65 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq .accordion-body :is(p, li) { font-size: 16px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq .accordion-body :is(h4, strong) { color: var(--d1-texte) !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil section.py-5:has(#faq) { padding: 40px 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq { padding: 0 18px !important; border-radius: 14px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq .accordion-button { padding: 16px 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq .accordion-button > span.me-2 { font-size: 16px !important; }
}

/* 8f. Texte de reference (SEO) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) section.py-5.fs-sm { background: #fff !important; border-top: 1px solid var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) section.py-5.fs-sm :is(p, li) { font-size: 15px !important; line-height: 1.65 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) section.py-5.fs-sm :is(h2, h3, h4) { color: var(--d1-texte) !important; font-weight: 600 !important; }

/* 8g. Appel final */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin { padding: 8px 0 80px !important; background: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-carte {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    padding: 48px 56px !important;
    background: var(--d1-nuit) !important;
    border: 0 !important;
    border-radius: 20px !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-carte::after {
    content: "" !important;
    position: absolute !important; inset: 0 !important; z-index: -1 !important;
    background: var(--d1-guil) right center / 640px 192px repeat !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 85%) !important;
            mask-image: linear-gradient(90deg, transparent 30%, #000 85%) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-titre { margin: 0 !important; font-size: 30px !important; font-weight: 600 !important; letter-spacing: -.02em !important; color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-texte { margin: 8px 0 0 !important; font-size: 17px !important; color: var(--d1-sur-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-btn {
    display: inline-flex !important; align-items: center !important;
    min-height: 56px !important;
    padding: 0 28px !important;
    background: #fff !important;
    border-color: #fff !important;
    color: var(--d1-nuit) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-btn:hover { background: var(--d1-actif) !important; border-color: var(--d1-actif) !important; color: var(--d1-nuit) !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin { padding: 8px 0 40px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-carte { padding: 28px 22px !important; border-radius: 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-titre { font-size: 24px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-texte { font-size: 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-btn { width: 100% !important; justify-content: center !important; }
}

/* ── 9. PIED DE PAGE ─────────────────────────────────────────────────── */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer {
    --bs-body-bg: #13283b !important;
    --bs-body-color: #c9d8e6 !important;
    --bs-secondary-color: #c9d8e6 !important;
    --bs-border-color: rgba(255,255,255,.12) !important;
    background: var(--d1-pied) !important;
    color: var(--d1-sur-nuit) !important;
    border-top: 0 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer .bg-dark { background: #0f2131 !important; border-color: rgba(255,255,255,.08) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer :is(h6, .accordion-header span, .accordion-button) {
    background: transparent !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer .accordion-item { background: transparent !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer strong { color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer :is(p, .text-body-secondary, .fs-xs) { color: var(--d1-sur-nuit) !important; font-size: 14px !important; line-height: 1.6 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer :is(.nav-link, .text-body, a) { color: var(--d1-sur-nuit) !important; font-size: 15px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer :is(.nav-link, a):hover { color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer .bg-light { background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.1) !important; border-radius: var(--d1-r-carte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer .bg-light img { max-width: 100% !important; padding: 4px 6px !important; background: #fff !important; border-radius: 6px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer hr { border-color: rgba(255,255,255,.12) !important; opacity: 1 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-pied-mention {
    margin: 0 !important;
    padding: 16px 0 28px !important;
    border-top: 1px solid rgba(255,255,255,.12) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: var(--d1-sur-nuit) !important;
    text-align: center !important;
}

/* ── 10. TUNNEL : choix de la demarche, formulaire, paiement ─────────────
   Meme bandeau que l'accueil (bleu nuit + guilloche), cartes blanches a
   filet sur fond gris bleute, en-tetes de carte identiques partout. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d):is(.page-tunnel, .page-paiement, .page-demarche) { background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d):is(.page-tunnel, .page-paiement, .page-demarche) main { background: transparent !important; }

html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background: var(--d1-nuit) !important;
    background-image: none !important;
    border-radius: 0 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete::before {
    content: "" !important;
    display: block !important;
    position: absolute !important; inset: 0 !important; z-index: -1 !important;
    background: radial-gradient(60% 120% at 85% 0%, rgba(91,140,181,.28) 0%, rgba(31,68,98,0) 70%) !important;
    pointer-events: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete::after {
    content: "" !important;
    display: block !important;
    position: absolute !important; inset: 0 !important; z-index: -1 !important;
    background: var(--d1-guil) right top / 640px 192px repeat !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 80%) !important;
            mask-image: linear-gradient(90deg, transparent 25%, #000 80%) !important;
    pointer-events: none !important;
}
/* cartegrise.css dessinait des halos ronds sur ces pseudo-elements : on les remet a plat. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete::before,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete::after { top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; width: auto !important; height: auto !important; border-radius: 0 !important; transform: none !important; opacity: 1 !important; filter: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-dem-titre, .cg-dem-titre--page) { color: #fff !important; font-weight: 600 !important; letter-spacing: -.02em !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape-lib { color: var(--d1-sur-nuit) !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-active .cg-dem-etape-lib { color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape-num { font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-fil > * {
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
}

/* Choix de la demarche (/demarche/) : memes cartes que l'accueil */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-demarche-groupe-count { background: var(--d1-actif) !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-demarche-card {
    background: #fff !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: var(--d1-r-carte) !important;
    transform: none !important;
    transition: border-color .15s ease, background-color .15s ease !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-demarche-card:hover { border-color: var(--d1-action) !important; background: #fbfcfe !important; box-shadow: none !important; transform: none !important; }

/* Cartes du formulaire : en-tete blanc, filet dessous, icone en pastille */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) form .card,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .card { border: 1px solid var(--d1-filet) !important; border-radius: var(--d1-r-carte) !important; box-shadow: none !important; background: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-section-header {
    padding: 18px 24px !important;
    background: #fff !important;
    border-bottom: 1px solid var(--d1-filet) !important;
    border-radius: var(--d1-r-carte) var(--d1-r-carte) 0 0 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-section-header-title { font-size: 18px !important; font-weight: 600 !important; letter-spacing: -.01em !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-section-header-sub { font-size: 14px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-section-header-icon {
    width: 40px !important; height: 40px !important;
    border-radius: 10px !important;
    background: var(--d1-clair) !important;
    color: var(--d1-nuit) !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-section-step { background: var(--d1-nuit) !important; color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-row { padding-top: 12px !important; padding-bottom: 12px !important; border-color: var(--d1-filet) !important; font-size: 16px !important; font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-row .fi-chevron-right { display: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .d-flex.align-items-start.p-3 { border: 1px solid var(--d1-filet) !important; border-radius: var(--d1-r-carte) !important; box-shadow: none !important; }

/* Recapitulatif et vehicule */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-vehicle-banner { background: #fff !important; border: 1px solid var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .mobile-recap-compact { border: 0 !important; border-radius: var(--d1-r-carte) !important; box-shadow: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .mobile-recap-price { color: var(--d1-nuit) !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-demarche-sticky { box-shadow: 0 -1px 0 var(--d1-filet) !important; background: #fff !important; }

/* Paiement (presentation v2) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .pv2-garde { border-radius: var(--d1-r-carte) !important; box-shadow: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .nav-pills .nav-link.custom-pay-btn {
    border: 1.5px solid var(--d1-champ) !important;
    border-radius: var(--d1-r) !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .nav-pills .nav-link.custom-pay-btn.active {
    border-color: var(--d1-nuit) !important;
    background: var(--d1-actif) !important;
    color: var(--d1-nuit) !important;
    box-shadow: inset 0 0 0 1px var(--d1-nuit) !important;
}

html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .alert { border-radius: var(--d1-r) !important; }

/* ── 11. CALAGES MOBILE (25/11) ──────────────────────────────────────────
   Gouttiere de 16 px partout (12 px auparavant : les blocs touchaient
   presque le bord), memes retraits dans tous les blocs. */
@media (max-width: 575.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .container,
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .container-fluid { padding-left: 16px !important; padding-right: 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-badge { max-width: 100% !important; padding: 6px 14px 6px 6px !important; font-size: 13px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .cg-form-card { padding: 20px 18px !important; }
    /* Comment ca marche : le panneau prend la largeur du contenu, retrait 20 px */
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm { padding: 8px 0 8px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm > .container { width: calc(100% - 32px) !important; padding: 24px 0 26px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-titre, html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-sous { padding-left: 20px !important; padding-right: 20px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-liste { padding: 0 20px !important; }
    /* Trait vertical : d'une pastille a la suivante, plus de depassement sous la derniere */
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-liste::before { display: none !important; content: none !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-etape:not(:last-child)::after {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        left: 19px !important;
        top: 48px !important;
        bottom: -16px !important;
        border-left: 2px dashed #b9c8d7 !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-habil { padding: 40px 0 40px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-mention { margin-top: 18px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-tete { align-items: flex-start !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-sceau { flex-basis: 42px !important; width: 42px !important; height: 42px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-carte { text-align: left !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-carte > div { text-align: left !important; }
    /* Pied : titres des volets alignes sur le reste (le bouton avait 20 px de retrait) */
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer .accordion-button { padding-left: 0 !important; padding-right: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer .accordion-collapse .nav { padding-left: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #footerLinks { margin-left: 0 !important; margin-right: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #footerLinks > [class*="col-"] { padding-left: 0 !important; padding-right: 0 !important; }
}

/* ── 12. BANDEAU DU TUNNEL : ETAPES, TITRE, AGREMENTS (25/11) ────────────
   Commun a /demarche/, au formulaire et au paiement.
   Etapes : une pilule compacte au lieu de trois jalons etires sur toute la
   largeur. L'etape en cours est en blanc (on la voit d'un coup d'oeil), les
   etapes faites portent une coche, les suivantes restent discretes. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete {
    padding-top: 26px !important;
    border-radius: 0 0 32px 32px !important;
}
/* Sans carte vehicule (attribut pose par demarche.php) : plus d'air sous le titre */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete[style*="padding-bottom:18px"] { padding-bottom: 40px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps[style*="margin-top:18px"] { margin-top: 28px !important; }

html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    gap: 0 !important;
    max-width: 100% !important;
    margin: 0 0 22px !important;
    padding: 5px !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.06) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 5px 14px 5px 5px !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    transition: background-color .15s ease !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape-num {
    width: 24px !important; height: 24px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    border: 1.5px solid rgba(255,255,255,.38) !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: rgba(255,255,255,.8) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape-lib { font-size: 14px !important; font-weight: 600 !important; color: rgba(255,255,255,.72) !important; white-space: nowrap !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-active { background: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-active .cg-dem-etape-num { border-color: var(--d1-nuit) !important; background: var(--d1-nuit) !important; color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-active .cg-dem-etape-lib { color: var(--d1-nuit) !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-faite .cg-dem-etape-num { border-color: transparent !important; background: rgba(255,255,255,.2) !important; color: #fff !important; font-size: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-faite .cg-dem-etape-num::after { content: "✓" !important; font-size: 12px !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-faite .cg-dem-etape-lib { color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) a.cg-dem-etape:hover { background: rgba(255,255,255,.1) !important; opacity: 1 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape-lien {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 12px !important;
    height: 1.5px !important;
    margin: 0 10px !important;
    border-radius: 2px !important;
    background: rgba(255,255,255,.28) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape-lien.est-faite { background: rgba(255,255,255,.6) !important; }

html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-titre,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-titre--page {
    margin: 0 0 6px !important;
    font-size: 36px !important;
    line-height: 1.12 !important;
    font-weight: 600 !important;
    letter-spacing: -.022em !important;
    color: #fff !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-sous { margin: 0 !important; font-size: 17px !important; line-height: 1.5 !important; color: var(--d1-sur-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-haut { align-items: flex-end !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-fil { gap: 8px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-fil span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 14px 7px 8px !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.08) !important;
    color: var(--d1-sur-nuit) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-fil b { color: #fff !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-fil i {
    width: 20px !important; height: 20px !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(126,226,168,.18) !important;
    color: #9be8bb !important;
    font-size: 11px !important;
}

@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete { padding-top: 16px !important; border-radius: 0 0 24px 24px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete[style*="padding-bottom:18px"] { padding-bottom: 28px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps[style*="margin-top:18px"] { margin-top: 20px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes { margin: 0 0 16px !important; padding: 4px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape { padding: 4px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-active { padding-right: 12px !important; }
    /* Sur mobile, seul le libelle de l'etape en cours reste affiche */
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape:not(.est-active) .cg-dem-etape-lib { display: none !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape-lien { margin: 0 6px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-titre, html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-titre--page { font-size: 27px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-sous { font-size: 15px !important; }
}

/* ── 13. CHOIX DE LA DEMARCHE (/demarche/) : memes cartes que l'accueil ── */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps { padding-bottom: 64px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe { margin-bottom: 36px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:last-child { margin-bottom: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe-titre {
    gap: 10px !important;
    margin: 0 0 14px !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    letter-spacing: -.015em !important;
    color: var(--d1-texte) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe-titre::after { background: var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe-count {
    min-width: 26px !important;
    padding: 2px 9px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--d1-actif) !important;
    color: var(--d1-nuit) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-cards {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 18px !important;
    background: #fff !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: var(--d1-r-carte) !important;
    box-shadow: none !important;
    transform: none !important;
    transition: border-color .15s ease, background-color .15s ease !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card::before { display: none !important; content: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card:hover,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card:focus-visible {
    border-color: var(--d1-action) !important;
    background: #fbfcfe !important;
    box-shadow: none !important;
    transform: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card-media {
    flex: 0 0 52px !important;
    width: 52px !important; height: 52px !important;
    display: flex !important;
    padding: 0 !important;
    border-radius: 12px !important;
    background: var(--d1-clair) !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card-media img { width: 30px !important; height: 30px !important; object-fit: contain !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card-body { flex: 1 1 auto !important; min-width: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card-title {
    margin: 0 0 3px !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    letter-spacing: -.005em !important;
    color: var(--d1-texte) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card-text { margin: 0 !important; font-size: 14px !important; line-height: 1.45 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card-cta {
    flex: 0 0 32px !important;
    width: 32px !important; height: 32px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: var(--d1-fond) !important;
    color: var(--d1-lien) !important;
    transform: none !important;
    transition: background-color .15s ease, color .15s ease !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card-cta svg { width: 15px !important; height: 15px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card:hover .cg-demarche-card-cta { background: var(--d1-action) !important; color: #fff !important; transform: none !important; }
/* Groupe de quatre (« Les plus populaires ») : 2 x 2 plutot que 3 + 1 orpheline.
   Les cartes plus larges mettent aussi en avant les demarches les plus demandees. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-cards:has(> .cg-demarche-card:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (max-width: 1199.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps { padding-bottom: 40px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe { margin-bottom: 28px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe-titre { font-size: 18px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-cards { grid-template-columns: 1fr !important; gap: 10px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card { padding: 14px !important; gap: 14px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card-media { display: flex !important; flex-basis: 44px !important; width: 44px !important; height: 44px !important; border-radius: 10px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card-media img { width: 26px !important; height: 26px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card-title { font-size: 16px !important; }
}

/* ── 14. /demarche/ : LES AUTRES CATEGORIES EN PANNEAUX (25/11) ──────────
   Seules « Les plus populaires » gardent de grandes cartes. Les autres
   categories deviennent des panneaux blancs (titre + liste), poses cote a
   cote : on lit d'un coup d'oeil quelles familles existent, puis la liste
   courte de chacune. Une categorie de plus de 4 demarches prend toute la
   largeur, sa liste sur 3 colonnes. CSS seul : le HTML de demarche.php ne
   change pas. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-dem-corps form {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: start !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-dem-corps form > :not(.cg-demarche-groupe) { grid-column: 1 / -1 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe { margin: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type { grid-column: 1 / -1 !important; margin-bottom: 16px !important; }

/* Panneau */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) {
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: var(--d1-r-carte) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type):has(.cg-demarche-card:nth-child(5)) { grid-column: 1 / -1 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-groupe-titre {
    margin: 0 !important;
    padding: 16px 18px !important;
    border-bottom: 1px solid var(--d1-filet) !important;
    background: #fff !important;
    font-size: 17px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-groupe-titre::after { display: none !important; content: none !important; }

/* Liste du panneau : des lignes, plus des cartes */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin-top: -1px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-card {
    gap: 12px !important;
    min-height: 0 !important;
    padding: 13px 18px !important;
    border: 0 !important;
    border-top: 1px solid var(--d1-filet) !important;
    border-radius: 0 !important;
    background: #fff !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-card:hover { background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-card-media {
    flex: 0 0 38px !important; width: 38px !important; height: 38px !important; border-radius: 9px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-card-media img { width: 22px !important; height: 22px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-card-title { margin-bottom: 1px !important; font-size: 15px !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-card-text {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 14px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-card-cta {
    flex: 0 0 24px !important; width: 24px !important; height: 24px !important;
    background: transparent !important;
    color: #8aa0b6 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-card:hover .cg-demarche-card-cta { background: transparent !important; color: var(--d1-action) !important; }

/* Panneau pleine largeur : liste sur 3 colonnes, separees par un filet */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type):has(.cg-demarche-card:nth-child(5)) .cg-demarche-cards { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type):has(.cg-demarche-card:nth-child(5)) .cg-demarche-card:not(:nth-child(3n+1)) { border-left: 1px solid var(--d1-filet) !important; }

@media (max-width: 1199.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-dem-corps form { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type):has(.cg-demarche-card:nth-child(5)) .cg-demarche-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type):has(.cg-demarche-card:nth-child(5)) .cg-demarche-card:not(:nth-child(3n+1)) { border-left: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type):has(.cg-demarche-card:nth-child(5)) .cg-demarche-card:nth-child(2n) { border-left: 1px solid var(--d1-filet) !important; }
}
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-dem-corps form { grid-template-columns: 1fr !important; gap: 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type { margin-bottom: 8px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type):has(.cg-demarche-card:nth-child(5)) .cg-demarche-cards { grid-template-columns: 1fr !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type):has(.cg-demarche-card:nth-child(5)) .cg-demarche-card:nth-child(2n) { border-left: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-groupe-titre { padding: 14px 16px !important; font-size: 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-card { padding: 12px 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-card-media { display: flex !important; flex-basis: 36px !important; width: 36px !important; height: 36px !important; }
}

/* ── 15. ETAPES : TRAIT ENTRE PASTILLES, QUEL QUE SOIT LEUR NOMBRE (25/11) ─
   Un trait par etape (de sa pastille a la suivante) au lieu d'un trait unique
   sur la liste : il fonctionne avec 3 etapes (accueil) comme avec 5 (pages
   demarche). */
@media (min-width: 768px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-liste::before { display: none !important; content: none !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-etape:not(:last-child)::after {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        top: 19px !important;
        left: 52px !important;
        right: -26px !important;
        height: 0 !important;
        border-top: 2px dashed #b9c8d7 !important;
    }
}

/* ── 16. PAGES DEMARCHE (page satellite de demarcheSlug.php) (25/11) ─────
   Meme haut de page que l'accueil (bandeau de preuves compris), meme bloc
   « Comment ca marche » avec le nombre d'etapes de la demarche, avis et atouts
   aux couleurs de la charte. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug .cg-ccm-liste { gap: 24px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug .cg-ccm-etape:not(:last-child)::after { right: -18px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug .cg-ccm-txt strong { font-size: 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug .cg-ccm-txt > span { font-size: 14px !important; line-height: 1.55 !important; }
/* Pastilles de duree (styles en ligne dans demarcheSlug.php) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-txt .fw-semibold {
    display: inline-block !important;
    margin: 6px 4px 0 0 !important;
    padding: 2px 9px !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--d1-nuit) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-txt .fw-semibold + .fw-semibold { color: var(--d1-texte-2) !important; background: transparent !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-explic {
    margin: 30px 40px 0 !important;
    padding: 16px 20px !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: var(--d1-r-carte) !important;
    background: #fff !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-explic .fw-bold { font-size: 15px !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-explic svg { stroke: var(--d1-action) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-cta-zone { margin: 26px 40px 0 !important; text-align: center !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-cta { gap: 8px !important; padding: 0 28px !important; }
/* Sous 992 px : liste verticale (5 colonnes ne tiennent pas) */
@media (max-width: 991.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug .cg-ccm-liste { grid-template-columns: 1fr !important; gap: 20px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug .cg-ccm-etape { flex-direction: row !important; gap: 14px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug .cg-ccm-ico { flex: 0 0 40px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug .cg-ccm-txt { padding-top: 8px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug .cg-ccm-etape:not(:last-child)::after {
        top: 48px !important; bottom: -14px !important; left: 19px !important; right: auto !important;
        width: 0 !important; height: auto !important;
        border-top: 0 !important;
        border-left: 2px dashed #b9c8d7 !important;
    }
}
@media (max-width: 767.98px) {
    /* Les phrases tombent, les durees restent : le bloc reste court au-dessus du pli */
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug .d1-ccm-desc { display: none !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug .cg-ccm-txt .fw-semibold { margin-top: 2px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-explic { margin: 22px 20px 0 !important; padding: 14px 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-cta-zone { margin: 20px 20px 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-cta { width: 100% !important; justify-content: center !important; }
}

/* Atouts (bas des pages demarche) : cartes de la charte */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atouts { padding: 56px 0 72px !important; background: #fff !important; border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atouts-grille { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atouts-grille:not(.cg-atouts-grille--3) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 22px !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: var(--d1-r-carte) !important;
    background: #fff !important;
    box-shadow: none !important;
    text-align: left !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-icone {
    width: 44px !important; height: 44px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    margin: 0 0 6px !important;
    border-radius: 10px !important;
    background: var(--d1-clair) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-icone svg { width: 24px !important; height: 24px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-icone svg :is(path, rect, circle, polyline, line) { stroke: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-titre { margin: 0 !important; font-size: 17px !important; font-weight: 600 !important; color: var(--d1-texte) !important; text-align: left !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-texte { margin: 0 !important; font-size: 15px !important; line-height: 1.55 !important; color: var(--d1-texte-2) !important; text-align: left !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atouts { padding: 40px 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atouts-grille,
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atouts-grille:not(.cg-atouts-grille--3) { grid-template-columns: 1fr !important; gap: 10px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout { flex-direction: row !important; align-items: flex-start !important; gap: 14px !important; padding: 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-icone { flex: 0 0 40px !important; width: 40px !important; height: 40px !important; margin: 0 !important; }
}

/* Page demarche : bandeau de preuves = espace du bas du haut de page (comme l'accueil) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero:has(.d1-preuves) { padding-bottom: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atouts-grille { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }

/* Texte de reference de la page demarche (article + questions) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 { padding: 56px 0 24px !important; background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article > h2 { margin: 0 0 12px !important; font-size: 24px !important; line-height: 1.25 !important; font-weight: 600 !important; letter-spacing: -.015em !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article :is(p, li) { font-size: 15px !important; line-height: 1.65 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article :is(h3, h4) { font-size: 17px !important; font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion {
    --bs-accordion-bg: transparent !important;
    --bs-accordion-active-bg: transparent !important;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(63,114,155,.3) !important;
    margin-top: 22px !important;
    padding: 4px 24px !important;
    background: #fff !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: 16px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion-item { margin: 0 !important; background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--d1-filet) !important; border-radius: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion-item:last-child { border-bottom: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion-button { padding: 18px 0 !important; background: transparent !important; box-shadow: none !important; color: var(--d1-texte) !important; font-size: 16px !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion-body { padding: 0 0 18px !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 { padding: 40px 0 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion { padding: 0 16px !important; border-radius: 14px !important; }
}

/* Carte du formulaire (accueil et pages demarche) : la ligne « Paiement securise ·
   Traite sous 24 a 48 h » est retiree (25/11, choix de Julien). Elle redisait le
   bandeau de preuves juste en dessous et allongeait la carte. Retirer cette regle
   la fait revenir. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .cg-form-footer { display: none !important; }

/* ── 17. PAGES DEMARCHE : BAS DE PAGE (25/11) ────────────────────────────
   Alternance blanc / gris, meme rythme que l'accueil (72 px par section,
   40 px sur mobile) :
     haut de page bleu nuit > Comment ca marche (blanc, panneau gris)
     > Service habilite (gris) > Avis (blanc) > Questions (gris)
     > Atouts (blanc) > pied bleu nuit. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug { padding: 56px 0 72px !important; background: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-habil--slug {
    padding: 72px 0 !important;
    background: var(--d1-fond) !important;
    border-top: 1px solid var(--d1-filet) !important;
    border-bottom: 1px solid var(--d1-filet) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-habil--slug .d1-mention { background: #fff !important; border: 1px solid var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .d1-avis { padding: 72px 0 56px !important; background: #fff !important; border-top: 0 !important; }

/* Questions (texte de reference) : fond gris, titre a gauche, questions a droite
   dans une carte blanche, comme la FAQ de l'accueil */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 {
    padding: 72px 0 !important;
    background: var(--d1-fond) !important;
    border-top: 1px solid var(--d1-filet) !important;
    border-bottom: 1px solid var(--d1-filet) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 .container.fs-sm { font-size: 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article > h2 {
    margin: 0 0 12px !important;
    font-size: 32px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    letter-spacing: -.02em !important;
    color: var(--d1-texte) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article > p { margin: 0 0 12px !important; font-size: 16px !important; line-height: 1.65 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion {
    --bs-accordion-bg: transparent !important;
    --bs-accordion-active-bg: transparent !important;
    --bs-accordion-active-color: #2c3d50 !important;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(63,114,155,.3) !important;
    margin: 0 !important;
    padding: 4px 28px !important;
    background: #fff !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion-item {
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--d1-filet) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion-item:last-child { border-bottom: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion-header { margin: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion-button {
    padding: 20px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--d1-texte) !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion-button:not(.collapsed) { color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion-body { padding: 0 0 22px !important; max-width: 46em !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion-body :is(p, li) { font-size: 16px !important; line-height: 1.65 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion-body :is(h4, strong) { color: var(--d1-texte) !important; }
@media (min-width: 992px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article:has(> .accordion) {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important;
        column-gap: 48px !important;
        align-items: start !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article:has(> .accordion) > :not(.accordion) { grid-column: 1 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article:has(> .accordion) > .accordion { grid-column: 2 !important; grid-row: 1 / span 30 !important; }
}

/* Atouts : dernier bloc avant le pied, sur blanc */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .cg-atouts { padding: 72px 0 !important; background: #fff !important; border: 0 !important; }

@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug { padding: 32px 0 40px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-habil--slug { padding: 40px 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .d1-avis { padding: 40px 0 32px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 { padding: 40px 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article > h2 { font-size: 25px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion { margin-top: 16px !important; padding: 0 18px !important; border-radius: 14px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion-button { padding: 16px 0 !important; font-size: 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .cg-atouts { padding: 40px 0 !important; }
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atouts::before, html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atouts::after { display: none !important; content: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-atout-titre, .cg-atout-texte) { max-width: none !important; }

/* ── 18. BANDEAU DU TUNNEL, VERSION COMPACTE (25/11) ─────────────────────
   Titre et agrements sur une ligne, etapes en barre de progression fine sur
   toute la largeur, en bas du bandeau. Environ 60 px de hauteur gagnes.
   Les etapes passent sous le titre par « order » : aucun HTML modifie. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete { padding-top: 22px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete[style*="padding-bottom:18px"] { padding-bottom: 28px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-centre { display: flex !important; flex-direction: column !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-haut { order: 1 !important; align-items: center !important; gap: 24px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes { order: 2 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-titre,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-titre--page { margin: 0 0 2px !important; font-size: 30px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-sous { font-size: 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-fil span { padding: 6px 12px 6px 7px !important; font-size: 13px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-fil i { width: 18px !important; height: 18px !important; font-size: 10px !important; }

html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes {
    display: flex !important;
    width: 100% !important;
    gap: 8px !important;
    margin: 20px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape-lien { display: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    gap: 8px !important;
    padding: 0 0 10px !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: inset 0 -3px 0 rgba(255,255,255,.18) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-active { background: none !important; padding-right: 0 !important; box-shadow: inset 0 -3px 0 #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-faite { box-shadow: inset 0 -3px 0 rgba(255,255,255,.6) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) a.cg-dem-etape:hover { background: none !important; box-shadow: inset 0 -3px 0 rgba(255,255,255,.85) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape-num { width: 22px !important; height: 22px !important; font-size: 12px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-active .cg-dem-etape-num { border-color: #fff !important; background: #fff !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-active .cg-dem-etape-lib { color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape-lib { font-size: 14px !important; }

@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete { padding-top: 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete[style*="padding-bottom:18px"] { padding-bottom: 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-haut { gap: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-titre, html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-titre--page { font-size: 24px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-sous { font-size: 14px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes { margin-top: 14px !important; gap: 6px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape { padding: 0 0 8px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-active { padding-right: 0 !important; }
    /* Sur mobile, les libelles des trois etapes restent : la barre a la place */
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape:not(.est-active) .cg-dem-etape-lib { display: inline !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape-lib { font-size: 13px !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
}

/* ── 19. ACCUEIL : MEME RYTHME QUE LES PAGES DEMARCHE (25/11) ────────────
   haut de page > demarches (blanc) > comment ca marche (blanc, panneau gris)
   > service habilite (gris) > avis (blanc) > FAQ (gris) > texte (blanc)
   > appel final (blanc) > pied. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .d1-habil {
    background: var(--d1-fond) !important;
    border-top: 1px solid var(--d1-filet) !important;
    border-bottom: 1px solid var(--d1-filet) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .d1-habil .d1-mention { background: #fff !important; border: 1px solid var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .d1-avis { padding: 72px 0 56px !important; background: #fff !important; border-top: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil section.py-5:has(#faq) {
    padding: 72px 0 !important;
    border-top: 1px solid var(--d1-filet) !important;
    border-bottom: 1px solid var(--d1-filet) !important;
}

/* Texte de reference de l'accueil : un titre, puis chaque article en deux
   colonnes (intertitre a gauche, texte a droite), comme la FAQ des pages
   demarche. Replie a ~600 px avec « Lire la suite » sur toutes les tailles
   (il faisait 3 300 px de haut sur ordinateur) : il reste entierement dans
   la page, donc lu par Google. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil section.py-5.fs-sm { padding: 72px 0 64px !important; background: #fff !important; border-top: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil section.py-5.fs-sm > .container {
    max-width: 1320px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-seo-titre { margin-bottom: 28px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli > article {
    margin: 0 !important;
    padding: 28px 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--d1-filet) !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli > article > h4 {
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    letter-spacing: -.01em !important;
    color: var(--d1-texte) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli > article > h4::before { display: none !important; content: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli :is(p, li, td, u) { font-size: 15px !important; line-height: 1.65 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli :is(strong, b) { color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli img { border-radius: var(--d1-r) !important; box-shadow: none !important; }
@media (min-width: 992px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli > article {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important;
        column-gap: 48px !important;
        align-items: start !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli > article > h4 { grid-column: 1 !important; grid-row: 1 / span 30 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli > article > :not(h4) { grid-column: 2 !important; }
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli:not(.cg-seo-repli--ouvert) {
    position: relative !important;
    max-height: 620px !important;
    overflow: hidden !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli:not(.cg-seo-repli--ouvert)::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important; right: 0 !important; bottom: 0 !important;
    height: 140px !important;
    background: linear-gradient(rgba(255,255,255,0), #fff 85%) !important;
    pointer-events: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-suite {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: max-content !important;
    min-height: 46px !important;
    margin: 18px auto 0 !important;
    padding: 0 22px !important;
    border: 1.5px solid var(--d1-champ) !important;
    border-radius: var(--d1-r) !important;
    background: #fff !important;
    color: var(--d1-texte) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-suite:hover { border-color: var(--d1-nuit) !important; color: var(--d1-nuit) !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .d1-avis { padding: 40px 0 32px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil section.py-5:has(#faq) { padding: 40px 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil section.py-5.fs-sm { padding: 40px 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli > article { padding: 22px 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli > article > h4 { font-size: 18px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli:not(.cg-seo-repli--ouvert) { max-height: 480px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-suite { width: 100% !important; }
}

/* ── 20. ATOUTS DU BAS DES PAGES DEMARCHE, NOUVEAU STYLE (25/11) ─────────
   Un seul panneau gris clair, trois colonnes separees par un filet, icone
   blanche sur pastille bleu nuit : un bandeau de reassurance, plus trois
   cartes vides. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atouts-grille,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atouts-grille:not(.cg-atouts-grille--3) {
    gap: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: 16px !important;
    background: var(--d1-fond) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    column-gap: 16px !important;
    row-gap: 0 !important;
    align-items: start !important;
    padding: 28px 26px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout + .cg-atout { border-left: 1px solid var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-icone {
    flex: 0 0 44px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    background: var(--d1-nuit) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-icone svg :is(path, rect, circle, polyline, line) { stroke: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-icone svg[fill]:not([fill="none"]) { fill: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-icone { grid-column: 1 !important; grid-row: 1 / span 2 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-titre { grid-column: 2 !important; margin: 2px 0 4px !important; font-size: 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-texte { grid-column: 2 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-texte { font-size: 14px !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout { grid-template-columns: 40px minmax(0, 1fr) !important; column-gap: 14px !important; padding: 18px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout + .cg-atout { border-left: 0 !important; border-top: 1px solid var(--d1-filet) !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-icone { flex-basis: 40px !important; }
}

/* ── 21. FORMULAIRE DE LA DEMARCHE, REFAIT (25/11) ───────────────────────
   - Cartes de section : plus d'en-tete separe par un filet ni d'icone
     generique ; un numero d'etape (1, 2, 3...) dans une pastille bleu nuit,
     comme « Comment ca marche ».
   - Choix Particulier / Professionnel et Oui / Non : un meme controle
     segmente (fond gris, l'option choisie en blanc), plus deux gros boutons.
   - Recapitulatif : etiquette, demarche, plaque sur fond clair, total mis
     en avant, delai en pied. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form form { counter-reset: d1sec !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form form .card { border-radius: 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header-wrap { counter-increment: d1sec !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 24px 28px 6px !important;
    border: 0 !important;
    background: transparent !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header .cg-section-header-icon {
    flex: 0 0 32px !important;
    width: 32px !important; height: 32px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    border-radius: 50% !important;
    background: var(--d1-nuit) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header .cg-section-header-icon > * { display: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header .cg-section-header-icon::before { content: counter(d1sec) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header-title { font-size: 20px !important; line-height: 1.25 !important; font-weight: 600 !important; letter-spacing: -.015em !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header-sub { margin-top: 1px !important; font-size: 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form form .card > .card-body { padding: 18px 28px 28px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form form .card + .card { margin-top: 20px !important; }

/* Controle segmente : Particulier / Professionnel */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-type-toggle {
    display: flex !important;
    gap: 4px !important;
    padding: 4px !important;
    border-radius: 12px !important;
    background: var(--d1-fond) !important;
    box-shadow: inset 0 0 0 1px var(--d1-filet) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-type-toggle .cg-type-btn {
    flex: 1 1 0 !important;
    min-height: 42px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: var(--d1-texte-2) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-check:not(:checked) + .cg-type-btn:hover { border: 0 !important; background: rgba(255,255,255,.6) !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-check:checked + .cg-type-btn {
    border: 0 !important;
    background: #fff !important;
    color: var(--d1-nuit) !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 2px rgba(19,40,59,.12), 0 0 0 1px var(--d1-filet) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-check:focus-visible + .cg-type-btn { outline: 3px solid var(--d1-action) !important; outline-offset: 1px !important; }

/* Controle segmente : Oui / Non (les deux .form-check forment une pilule) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col { display: flex !important; justify-content: flex-end !important; align-items: center !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check { margin: 0 !important; padding: 4px !important; background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check:first-child { padding-right: 2px !important; border-radius: 12px 0 0 12px !important; box-shadow: inset 1px 0 0 var(--d1-filet), inset 0 1px 0 var(--d1-filet), inset 0 -1px 0 var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check:last-child { padding-left: 2px !important; border-radius: 0 12px 12px 0 !important; box-shadow: inset -1px 0 0 var(--d1-filet), inset 0 1px 0 var(--d1-filet), inset 0 -1px 0 var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .custom-control-label {
    min-width: 62px !important;
    min-height: 36px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: var(--d1-texte-2) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check-input[type="radio"]:not(:checked) + .custom-control-label:hover { border: 0 !important; background: rgba(255,255,255,.6) !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check-input[type="radio"]:checked + .custom-control-label {
    border: 0 !important;
    background: #fff !important;
    color: var(--d1-nuit) !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 2px rgba(19,40,59,.12), 0 0 0 1px var(--d1-filet) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-row { padding-top: 14px !important; padding-bottom: 14px !important; font-weight: 500 !important; }

/* Recapitulatif (colonne de droite, ordinateur) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .card {
    overflow: hidden !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .aside-card-header {
    display: block !important;
    padding: 22px 22px 14px !important;
    border: 0 !important;
    background: #fff !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .aside-card-header-icon { display: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .aside-card-header > div:last-child { display: flex !important; flex-direction: column-reverse !important; gap: 2px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .aside-card-header-sub {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
    color: var(--d1-texte-2) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .aside-card-header-title { font-size: 19px !important; line-height: 1.3 !important; font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .cg-aside-hero {
    margin: 0 16px !important;
    padding: 18px 16px 14px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--d1-fond) !important;
    text-align: center !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .cg-aside-plaque { max-width: 220px !important; margin: 0 auto !important; border-radius: 6px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .cg-aside-hero-vehicule { margin-top: 10px !important; font-size: 15px !important; font-weight: 600 !important; color: var(--d1-texte) !important; text-decoration: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .cg-aside-hero-badge { background: rgba(21,128,61,.1) !important; color: var(--d1-valide) !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .card > .d-flex.justify-content-between {
    margin: 0 !important;
    padding: 18px 22px 14px !important;
    border: 0 !important;
    background: #fff !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .card > .d-flex.justify-content-between > span:first-child { font-size: 15px !important; font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .card > .d-flex.justify-content-between > span:last-child { font-size: 28px !important; font-weight: 600 !important; letter-spacing: -.02em !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .card > .px-3.pb-3.pt-1 {
    margin: 0 22px !important;
    padding: 12px 0 18px !important;
    border-top: 1px solid var(--d1-filet) !important;
    background: transparent !important;
    font-size: 14px !important;
    color: var(--d1-texte-2) !important;
}

@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header { padding: 18px 18px 4px !important; gap: 12px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header .cg-section-header-icon { flex-basis: 28px !important; width: 28px !important; height: 28px !important; font-size: 14px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header-title { font-size: 18px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form form .card > .card-body { padding: 14px 18px 20px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .custom-control-label { min-width: 52px !important; padding: 0 10px !important; }
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header-wrap { border: 0 !important; box-shadow: none !important; background: transparent !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form form .card > .card-body { border-top: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-type-toggle { margin-bottom: 6px !important; }

/* Options : cartes selectionnables, alignees sur le contenu de la carte */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .d-flex.flex-column { gap: 10px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .d-flex.align-items-start.p-3 {
    margin: 0 !important;
    padding: 16px 18px !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: border-color .15s ease, background-color .15s ease !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .d-flex.align-items-start.p-3:hover { border-color: var(--d1-action) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .d-flex.align-items-start.p-3:has(.cg-option-check:checked) {
    border-color: var(--d1-nuit) !important;
    background: #f6f9fc !important;
    box-shadow: inset 0 0 0 1px var(--d1-nuit) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .cg-option-check { margin-top: 2px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .form-check-label { font-size: 15px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .form-check-label > span:first-child > span:first-child,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .form-check-label > span:first-child > strong { font-size: 16px !important; font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .form-check-label > span:last-child { font-size: 16px !important; font-weight: 600 !important; color: var(--d1-nuit) !important; white-space: nowrap !important; }

/* ── 22. FORMULAIRE, VERSION 3 (25/11, retours de Julien) ────────────────
   - Etapes EN HAUT du bandeau, titre dessous, plus d'air avant les cartes.
   - Plus de numeros dans les en-tetes : l'icone revient, en pastille claire.
   - Champs plus legers (filet clair, rayon 10).
   - Choix (Particulier / Professionnel, Oui / Non) : l'option choisie est
     pleine, en bleu nuit ; l'autre reste blanche a filet. Lisible d'un coup
     d'oeil, sans fond gris supplementaire.
   - Options : une liste a filets dans la carte, plus une carte par option. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes { order: 1 !important; margin: 0 0 22px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-haut { order: 2 !important; margin-bottom: 14px !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes { margin: 0 0 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-haut { margin-bottom: 8px !important; }
}

/* En-tetes de carte : icone de retour */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header { padding: 26px 28px 4px !important; gap: 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header .cg-section-header-icon {
    flex: 0 0 42px !important;
    width: 42px !important; height: 42px !important;
    border-radius: 12px !important;
    background: var(--d1-clair) !important;
    color: var(--d1-nuit) !important;
    font-size: 19px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header .cg-section-header-icon > * { display: inline-block !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header .cg-section-header-icon::before { content: none !important; display: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header-title { font-size: 19px !important; }

/* Champs plus legers */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form :is(.form-control, .form-select, .choices__inner):not(.btn-check) {
    min-height: 48px !important;
    border-color: #c3cfdb !important;
    border-radius: 10px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form :is(.form-control, .form-select, .choices__inner):hover { border-color: #93a6b9 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form :is(.form-control, .form-select):focus { border-color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form :is(.form-label, .cg-label) { margin-bottom: 6px !important; font-size: 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form form .card > .card-body { padding: 16px 28px 28px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form form .card + .card { margin-top: 24px !important; }

/* Choix : option choisie pleine */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-type-toggle { display: flex !important; gap: 10px !important; margin-bottom: 18px !important; padding: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-type-toggle .cg-type-btn {
    min-height: 46px !important;
    border: 1px solid #c3cfdb !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--d1-texte) !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-check:not(:checked) + .cg-type-btn:hover { border: 1px solid var(--d1-nuit) !important; background: #fff !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-check:checked + .cg-type-btn,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-check:checked + .cg-type-btn .cg-type-icon {
    border: 1px solid var(--d1-nuit) !important;
    background: var(--d1-nuit) !important;
    color: #fff !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col { gap: 8px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check:first-child,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check:last-child { padding: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .custom-control-label {
    min-width: 64px !important;
    min-height: 40px !important;
    padding: 0 16px !important;
    border: 1px solid #c3cfdb !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--d1-texte) !important;
    font-weight: 600 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check-input[type="radio"]:not(:checked) + .custom-control-label:hover { border: 1px solid var(--d1-nuit) !important; background: #fff !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check-input[type="radio"]:checked + .custom-control-label {
    border: 1px solid var(--d1-nuit) !important;
    background: var(--d1-nuit) !important;
    color: #fff !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-row { border-color: var(--d1-filet) !important; }

/* Options : liste a filets */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .d-flex.flex-column { gap: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .d-flex.align-items-start.p-3,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .d-flex.align-items-start.p-3:hover {
    padding: 16px 0 !important;
    border: 0 !important;
    border-top: 1px solid var(--d1-filet) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .d-flex.align-items-start.p-3:first-child { border-top: 0 !important; padding-top: 6px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .d-flex.align-items-start.p-3:has(.cg-option-check:checked) { border-color: var(--d1-filet) !important; background: transparent !important; box-shadow: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .d-flex.align-items-start.p-3:has(.cg-option-check:checked) .form-check-label > span:first-child > :first-child { color: var(--d1-nuit) !important; }

/* ── 23. /demarche/ : CARTE VEHICULE, AERATION, MOBILE (25/11) ───────────
   Carte vehicule : plaque sur un panneau clair a gauche, nom du vehicule
   en titre, caracteristiques en colonnes separees par un filet, « Modifier »
   en lien discret. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner {
    overflow: hidden !important;
    padding: 0 !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 18px 40px -28px rgba(19,40,59,.35) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-inner {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-plate {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 22px 28px !important;
    background: var(--d1-fond) !important;
    border-right: 1px solid var(--d1-filet) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-plate img { width: 230px !important; max-width: 230px !important; border-radius: 6px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-body { flex: 1 1 auto !important; min-width: 0 !important; padding: 20px 28px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-head { display: flex !important; align-items: center !important; gap: 10px !important; margin: 0 0 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-marque {
    display: inline-flex !important; align-items: center !important; gap: 10px !important;
    font-size: 20px !important; line-height: 1.25 !important; font-weight: 600 !important; letter-spacing: -.01em !important;
    color: var(--d1-texte) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-marque img { width: 28px !important; height: 28px !important; object-fit: contain !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner .cg-aside-hero-badge {
    padding: 3px 9px !important;
    border-radius: 999px !important;
    background: rgba(21,128,61,.1) !important;
    color: var(--d1-valide) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-specs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, auto)) !important;
    justify-content: start !important;
    gap: 0 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-spec { padding: 0 28px 0 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-spec + .cg-vehicle-banner-spec { padding-left: 28px !important; border-left: 1px solid var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-spec-label {
    display: block !important;
    margin-bottom: 3px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    color: var(--d1-texte-2) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-spec-value { display: block !important; font-size: 16px !important; font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-action { display: flex !important; align-items: center !important; padding: 20px 28px 20px 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-action .btn {
    min-height: 40px !important;
    padding: 0 14px !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--d1-lien) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-action .btn:hover { border-color: var(--d1-nuit) !important; color: var(--d1-nuit) !important; background: #fff !important; }

/* Aeration de la liste des demarches */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps { padding-top: 40px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-dem-corps form { gap: 24px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type { margin-bottom: 24px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type .cg-demarche-groupe-titre { margin-bottom: 18px !important; font-size: 22px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type .cg-demarche-cards { gap: 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type .cg-demarche-card { padding: 22px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-groupe-titre { padding: 18px 22px !important; font-size: 18px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-card { padding: 16px 22px !important; gap: 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-card-media { flex-basis: 40px !important; width: 40px !important; height: 40px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-card-title { font-size: 16px !important; }

/* Mobile : « Les plus populaires » en liste dans un panneau, comme les
   autres categories (quatre lignes compactes au lieu de quatre grandes cartes) */
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps { padding-top: 24px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-dem-corps form { gap: 18px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type {
        margin-bottom: 0 !important;
        overflow: hidden !important;
        background: #fff !important;
        border: 1px solid var(--d1-filet) !important;
        border-radius: var(--d1-r-carte) !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type .cg-demarche-groupe-titre {
        margin: 0 !important;
        padding: 14px 16px !important;
        border-bottom: 1px solid var(--d1-filet) !important;
        font-size: 16px !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type .cg-demarche-groupe-titre::after { display: none !important; content: none !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type .cg-demarche-cards,
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type .cg-demarche-cards:has(> .cg-demarche-card:nth-child(4):last-child) {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        margin-top: -1px !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type .cg-demarche-card {
        gap: 12px !important;
        padding: 12px 16px !important;
        border: 0 !important;
        border-top: 1px solid var(--d1-filet) !important;
        border-radius: 0 !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type .cg-demarche-card-media { flex-basis: 36px !important; width: 36px !important; height: 36px !important; border-radius: 9px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type .cg-demarche-card-media img { width: 22px !important; height: 22px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type .cg-demarche-card-title { font-size: 15px !important; font-weight: 600 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type .cg-demarche-card-cta { flex-basis: 24px !important; width: 24px !important; height: 24px !important; background: transparent !important; color: #8aa0b6 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-groupe-titre { padding: 14px 16px !important; font-size: 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-card { padding: 12px 16px !important; }
}

/* ── 24. BANDEAUX : BORD DROIT ET TRAME DE POINTS (25/11) ────────────────
   Le bas arrondi faisait « application » : bord droit, plus institutionnel.
   Le guilloche (lignes ondulees) est remplace par une trame de points fins,
   reguliere comme le fond d'un formulaire imprime, qui s'efface vers le
   texte. */
:root { --d1-trame: radial-gradient(rgba(255,255,255,.17) 1px, transparent 1.4px) 0 0 / 16px 16px; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete { border-radius: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero::after,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete::after { background: var(--d1-trame) !important; opacity: 1 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero::after { -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 85%) !important; mask-image: linear-gradient(90deg, transparent 35%, #000 85%) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete::after { -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 90%) !important; mask-image: linear-gradient(90deg, transparent 40%, #000 90%) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest::after,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-carte::after { background: var(--d1-trame) !important; }
@media (max-width: 991.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero,
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete { border-radius: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero::after { background-size: 14px 14px !important; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 60%) !important; mask-image: linear-gradient(180deg, #000 0%, transparent 60%) !important; }
}

/* /demarche/ : « Les plus populaires » remonte */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps { padding-top: 26px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps[style*="margin-top:18px"] { margin-top: 8px !important; }
@media (max-width: 767.98px) { html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps { padding-top: 18px !important; } }

/* ── 25. PAGE DE PAIEMENT, REFAITE (25/11) ───────────────────────────────
   La structure du module (lignes Carte bancaire / PayPal / Wero, volets,
   champs HiPay dans leurs iframes) ne change pas : seul l'habillage change.
   - Les lignes ne portent plus de cadre ni de fond bleu : c'est la carte
     entiere qui a un filet, la ligne choisie se reconnait a son bouton radio.
   - Champs de carte : blancs a filet, comme le formulaire.
   - Bouton Payer plein, bleu de l'action.
   - Recapitulatif identique a celui du formulaire.
   - Reassurance du bas : panneau gris, carte d'habilitation bleu nuit. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .nav-pills .nav-link.custom-pay-btn,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .nav-pills .nav-link.custom-pay-btn.active,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .nav-pills .nav-link.custom-pay-btn:hover,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .nav-pills .nav-link.custom-pay-btn:focus {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--d1-texte) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .nav-link.custom-pay-btn:not(.active):hover { background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .nav-link.custom-pay-btn:focus-visible { box-shadow: inset 0 0 0 3px rgba(63,114,155,.35) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .nav-item,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #pills-tabContent > .tab-pane.active,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module > #cg-applepay-wrap,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #hipay-hostedfields-form-ready { box-shadow: 0 0 0 1px var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-cb:has(> .active) { box-shadow: 0 0 0 1px var(--d1-filet), inset 0 -1px 0 var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-radio { width: 20px !important; height: 20px !important; border: 2px solid #9fb0c3 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .nav-link.active .pv2-radio { border: 6px solid var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-nom { font-size: 16px !important; font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .nav-link.active .pv2-nom { font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-desc { font-size: 14px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #pills-tabContent > .tab-pane.active { padding: 20px 22px 22px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-ou { margin: 22px 0 14px !important; font-size: 14px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-ou span { background: var(--d1-filet) !important; }

/* Champs de carte (conteneurs des iframes HiPay) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .hipay-static-label { margin-bottom: 6px !important; font-size: 14px !important; font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .hipay-hostedfields-field-container {
    border: 1px solid #c3cfdb !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: border-color .15s ease, box-shadow .15s ease !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .hipay-hostedfields-field-container:hover { border-color: #93a6b9 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .hipay-hostedfields-field-container:has(.HiPayField--focused) { border-color: var(--d1-nuit) !important; box-shadow: var(--d1-halo) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .hipay-hostedfields-field-container:has(.HiPayField--invalid) { border-color: var(--d1-erreur) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .hipay-hostedfields-field-container .hipay-hostedfields-field { background: transparent !important; border: 0 !important; box-shadow: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-titulaire-ligne { font-size: 14px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-titulaire-modifier { color: var(--d1-lien) !important; font-weight: 600 !important; }

/* Bouton Payer */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement #hipay-hostedfields-submit-button {
    min-height: 56px !important;
    margin-top: 14px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: var(--d1-lien) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement #hipay-hostedfields-submit-button:hover:not(:disabled) { background: #24527a !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement #hipay-hostedfields-submit-button:disabled,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement #hipay-hostedfields-submit-button.disabled { background: var(--d1-lien) !important; opacity: .78 !important; cursor: not-allowed !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement #hipay-hostedfields-submit-button :is(span, .badge) { border-radius: 6px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-banque { margin-top: 12px !important; font-size: 14px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-secur { margin-top: 16px !important; padding-top: 14px !important; border-top: 1px solid var(--d1-filet) !important; background: transparent !important; }

/* Recapitulatif (colonne de droite) : meme habillage que le formulaire */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .col-xl-4 .card,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .d-xl-block > .card {
    overflow: hidden !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-card-header { display: block !important; padding: 22px 22px 14px !important; border: 0 !important; background: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-card-header-icon { display: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-card-header > div:last-child { display: flex !important; flex-direction: column-reverse !important; gap: 2px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-card-header-sub { font-size: 12px !important; font-weight: 600 !important; letter-spacing: .07em !important; text-transform: uppercase !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-card-header-title { font-size: 19px !important; line-height: 1.3 !important; font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-aside-hero {
    margin: 0 16px !important;
    padding: 18px 16px 14px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--d1-fond) !important;
    text-align: center !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-aside-plaque { max-width: 220px !important; margin: 0 auto !important; border-radius: 6px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-aside-hero-vehicule { margin-top: 10px !important; font-size: 15px !important; font-weight: 600 !important; color: var(--d1-texte) !important; text-decoration: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-aside-hero-badge { background: rgba(21,128,61,.1) !important; color: var(--d1-valide) !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-aside-ligne { padding: 12px 6px !important; font-size: 15px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-total-footer { border: 0 !important; background: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-total-btn {
    padding: 16px 22px 12px !important;
    border: 0 !important;
    border-top: 1px solid var(--d1-filet) !important;
    background: #fff !important;
    color: var(--d1-texte) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-total-amount { font-size: 28px !important; font-weight: 600 !important; letter-spacing: -.02em !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-total-footer > .px-3 { margin: 0 22px !important; padding: 10px 0 18px !important; border-top: 1px solid var(--d1-filet) !important; font-size: 14px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pay-avis-block {
    padding: 20px 22px !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pay-avis-text { font-size: 15px !important; line-height: 1.55 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pay-avis-author { font-weight: 600 !important; color: var(--d1-texte) !important; }

/* 25b. Corrections paiement (retour du 25/11) */
/* Plus de carte dans la carte : le conteneur s'efface, chaque bloc porte son filet */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .payment-zone { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .payment-zone > .card-body { padding: 0 !important; background: transparent !important; }
/* Rayons alignés sur le reste du site (16 px) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-cb,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-paypal { border-radius: 16px 16px 0 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-wero,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #pills-tabContent > .tab-pane.active { border-radius: 0 0 16px 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-cb:not(:has(> .active)) { border-radius: 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-cb > .nav-link,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-paypal > .nav-link { border-radius: 16px 16px 0 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-wero > .nav-link { border-radius: 0 0 16px 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-wero { border-top: 0 !important; box-shadow: 0 0 0 1px var(--d1-filet), inset 0 1px 0 var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .nav-link.custom-pay-btn { min-height: 64px !important; padding: 14px 22px !important; }
/* Bas de carte « Paiement chiffré » : calé exactement sur le padding du volet */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-secur { margin: 18px -22px -22px !important; padding: 14px 22px !important; border-radius: 0 0 16px 16px !important; background: var(--d1-fond) !important; font-size: 13px !important; color: var(--d1-texte-2) !important; }
/* Bouton Payer : aplat, sans reflet dégradé */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement #hipay-hostedfields-submit-button::before,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement #hipay-hostedfields-submit-button::after { content: none !important; display: none !important; background: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement #hipay-hostedfields-submit-button { background-image: none !important; box-shadow: 0 1px 2px rgba(19,40,59,.18) !important; letter-spacing: 0 !important; }
/* Séparateur « Ou payer avec » */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-ou { margin: 26px 0 16px !important; }
/* Récapitulatif : lignes alignées sur l'en-tête, mention de délai sans pavé gris décalé */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-aside-ligne { margin: 0 !important; padding: 12px 2px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-total-footer > .px-3 { background: transparent !important; margin: 0 22px !important; padding: 12px 0 20px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-total-footer > .px-3 * { background: transparent !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-total-btn { padding: 16px 22px 14px !important; }
/* Réassurance PC : colonnes calées en haut (cartegrise.css les centrait verticalement) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] { align-items: stretch !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] > [class*="col-"] { align-self: stretch !important; align-content: start !important; }
/* Mobile : titre du bandeau aligné à gauche, comme les étapes et les cartes */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-haut-texte { flex: 1 1 auto !important; min-width: 0 !important; }
/* Mobile : carte de garde (total + habilitation) au même habillage que les autres cartes */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-garde { overflow: hidden !important; border: 1px solid var(--d1-filet) !important; border-radius: 16px !important; box-shadow: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-garde-habil { background: var(--d1-fond) !important; border-top: 1px solid var(--d1-filet) !important; }

/* Reassurance du bas de page (footer.php) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance { padding: 48px 0 !important; background: #fff !important; border-top: 1px solid var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: 16px !important;
    background: var(--d1-fond) !important;
    text-align: left !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] > [class*="col-"] { margin: 0 !important; padding: 24px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] > [class*="col-"] + [class*="col-"] { border-left: 1px solid var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] > [class*="col-"] > .mb-3 {
    width: 44px !important; height: 44px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    margin: 0 0 12px !important;
    border-radius: 12px !important;
    background: var(--d1-nuit) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] > [class*="col-"] > .mb-3 svg { stroke: #fff !important; width: 22px !important; height: 22px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] h6 { margin: 0 0 6px !important; font-size: 16px !important; font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] p { margin: 0 !important; padding: 0 !important; font-size: 14px !important; line-height: 1.55 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil { padding: 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-carte {
    height: 100% !important;
    padding: 20px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--d1-nuit) !important;
    box-shadow: none !important;
    color: #fff !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-sceau { background: rgba(255,255,255,.12) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-sceau svg { stroke: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-titre { color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-titre strong { color: #fff !important; font-size: 17px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-titre span { color: var(--d1-sur-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] .cg-rass-habil-carte p,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-texte { color: var(--d1-sur-nuit) !important; }


/* ── 26. ALLEGEMENT ET MOBILE (25/11, retours de Julien) ────────────────
   - Graisses : 600 au plus (les 700 sont passes a 600 dans tout le fichier),
     500 pour les libelles et les questions.
   - Texte principal #2c3d50 au lieu de #1b2a3a : moins noir, contraste 11:1.
   - Le bleu nuit plein reste reserve aux bandeaux (haut de page, tunnel).
     Dans les conteneurs : fond bleu tres clair, icone bleu nuit, filet.
   - Etapes du tunnel : sur mobile, seule l'etape en cours, avec une barre.
   - Titres et sous-titres alignes a gauche partout, marges mobiles 16 px. */

/* 26a. Graisses */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.form-label, .cg-label) { font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq .accordion-button > span.me-2 { font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion-button { font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-txt strong,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-engag-item strong,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-titre { font-weight: 600 !important; }

/* 26b. Comment ca marche : numeros sur pastille claire */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm-ico { background: var(--d1-clair) !important; color: var(--d1-nuit) !important; font-weight: 600 !important; box-shadow: 0 0 0 6px var(--d1-fond), inset 0 0 0 1px #c9d7e5 !important; }

/* 26c. Attestation « Professionnel habilite » : carte claire, liseré bleu en haut */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest {
    padding: 24px 26px !important;
    border: 1px solid var(--d1-filet) !important;
    background: #fff !important;
    color: var(--d1-texte) !important;
    box-shadow: inset 0 3px 0 var(--d1-action) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest::after { content: none !important; display: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-sceau { background: var(--d1-clair) !important; box-shadow: none !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-sceau svg { stroke: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-titre { color: var(--d1-texte) !important; font-size: 18px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-sous { color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-lignes { border-top-color: var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-ligne { border-bottom-color: var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-ligne span { color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-ligne strong { color: var(--d1-nuit) !important; font-size: 20px !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest { padding: 20px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest-ligne strong { font-size: 18px !important; }
}

/* 26d. Appel final : panneau clair, bouton principal */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-carte { background: var(--d1-clair) !important; border: 1px solid #d3e0ec !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-carte::after { content: none !important; display: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-titre { color: var(--d1-texte) !important; font-size: 28px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-texte { color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-btn { background: var(--d1-lien) !important; border-color: var(--d1-lien) !important; color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-btn:hover { background: #24527a !important; border-color: #24527a !important; color: #fff !important; }
@media (max-width: 767.98px) { html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-titre { font-size: 22px !important; } }

/* 26e. Atouts et reassurance du pied : pastilles claires */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-icone { background: var(--d1-clair) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-icone svg :is(path, rect, circle, polyline, line) { stroke: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atout-icone svg[fill]:not([fill="none"]) { fill: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] > [class*="col-"] > .mb-3 { background: var(--d1-clair) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] > [class*="col-"] > .mb-3 svg { stroke: var(--d1-nuit) !important; }
/* Carte d'habilitation du pied (paiement, formulaire) : discrete, le module de paiement reste au premier plan */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-carte {
    border: 1px solid var(--d1-filet) !important;
    background: #fff !important;
    color: var(--d1-texte) !important;
    box-shadow: inset 0 3px 0 var(--d1-action) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-sceau { background: var(--d1-clair) !important; color: var(--d1-nuit) !important; box-shadow: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-sceau svg { stroke: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-titre,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-titre strong { color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-titre strong { font-size: 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-titre span { color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] .cg-rass-habil-carte p,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-texte { color: var(--d1-texte-2) !important; }

/* 26f. Choix Particulier / Professionnel et Oui / Non : selection claire */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-check:checked + .cg-type-btn,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check-input[type="radio"]:checked + .custom-control-label {
    border: 1px solid var(--d1-action) !important;
    background: var(--d1-clair) !important;
    color: var(--d1-nuit) !important;
    box-shadow: inset 0 0 0 1px var(--d1-action) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-check:checked + .cg-type-btn .cg-type-icon { border: 0 !important; background: transparent !important; color: var(--d1-nuit) !important; box-shadow: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-type-toggle .cg-type-btn,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .custom-control-label { font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-check:checked + .cg-type-btn,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check-input[type="radio"]:checked + .custom-control-label { font-weight: 600 !important; }

/* 26g. Titres du bandeau : toujours a gauche */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-haut { justify-content: space-between !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-haut-texte { flex: 1 1 auto !important; min-width: 0 !important; text-align: left !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-dem-titre, .cg-dem-titre--page, .cg-dem-sous) { text-align: left !important; }

/* 26h. Etapes du tunnel sur mobile : uniquement l'etape en cours
   « Étape 2 sur 3 » au-dessus du nom de l'etape, puis une barre en trois
   segments. Les etapes sont aux positions 1, 3 et 5 (les liens entre elles
   occupent 2 et 4). */
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes {
        position: relative !important;
        display: block !important;
        margin: 14px 0 0 !important;
        padding: 0 0 12px !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes::after {
        content: "" !important;
        position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
        height: 4px !important;
        border-radius: 2px !important;
        background:
            linear-gradient(90deg, transparent calc(33.333% - 2px), var(--d1-nuit) calc(33.333% - 2px) calc(33.333% + 2px), transparent calc(33.333% + 2px) calc(66.666% - 2px), var(--d1-nuit) calc(66.666% - 2px) calc(66.666% + 2px), transparent calc(66.666% + 2px)),
            linear-gradient(90deg, #fff var(--d1-etape-pct, 33.333%), rgba(255,255,255,.22) var(--d1-etape-pct, 33.333%)) !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes:has(> :nth-child(3).est-active) { --d1-etape-pct: 66.666% !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes:has(> :nth-child(5).est-active) { --d1-etape-pct: 100% !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape:not(.est-active),
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape-lien { display: none !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-active {
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        gap: 6px !important;
        padding: 0 !important;
        box-shadow: none !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-active .cg-dem-etape-num {
        width: auto !important; height: auto !important;
        display: inline !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: none !important;
        color: var(--d1-sur-nuit) !important;
        font-size: 0 !important;
        line-height: 1.3 !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-active .cg-dem-etape-num::before {
        font-size: 13px !important;
        font-weight: 500 !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes:has(> :nth-child(1).est-active) .cg-dem-etape-num::before { content: "Étape 1 sur 3 ·" !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes:has(> :nth-child(3).est-active) .cg-dem-etape-num::before { content: "Étape 2 sur 3 ·" !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes:has(> :nth-child(5).est-active) .cg-dem-etape-num::before { content: "Étape 3 sur 3 ·" !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etape.est-active .cg-dem-etape-lib {
        display: inline !important;
        overflow: visible !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #fff !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes { margin: 0 0 16px !important; padding: 0 0 10px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes::after { height: 3px !important; }
    /* Titre du bandeau sur toute la largeur (la colonne etait centree) */
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-haut { align-items: stretch !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-haut-texte { align-self: stretch !important; width: 100% !important; }
    /* Cartes du formulaire : 20 px de marge interieure sur mobile */
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .cg-section-header { padding: 20px 20px 4px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form form .card > .card-body { padding: 16px 20px 22px !important; }
}

/* 26i. Marges mobiles : 16 px de chaque cote, partout */
@media (max-width: 575.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) main .container,
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer .container,
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .navbar .container { padding-left: 16px !important; padding-right: 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-centre { padding-left: 16px !important; padding-right: 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-ccm > .container { width: calc(100% - 32px) !important; padding-left: 0 !important; padding-right: 0 !important; }
}

/* 26j. En-tete mobile sur une seule ligne : menu, logo, panier, compte.
   Le bouton « Paiement » garde son icone et son compteur, sans le mot. */
@media (max-width: 991.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar > .container { flex-wrap: nowrap !important; align-items: center !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .navbar-brand { flex: 0 1 auto !important; width: auto !important; min-width: 0 !important; margin-right: auto !important; justify-content: flex-start !important; gap: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .container > .d-flex:not(.navbar-brand) { flex: 0 0 auto !important; align-items: center !important; gap: 6px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar a.btn[href="/paiement/"] {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0 !important;
        height: 40px !important; min-height: 40px !important;
        padding: 0 10px !important;
        font-size: 0 !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar a.btn[href="/paiement/"] i { margin: 0 !important; font-size: 18px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar a.btn[href="/paiement/"] .badge { margin-left: 6px !important; font-size: 12px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .cg-nav-compte { margin-right: 0 !important; }
}

/* 26k. Paiement mobile : sceau et icones de confiance sur pastille claire */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-garde-sceau { background: var(--d1-clair) !important; color: var(--d1-nuit) !important; box-shadow: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-garde-sceau svg { stroke: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pay-trust-icon { background: var(--d1-clair) !important; box-shadow: none !important; border: 0 !important; }

/* ── 27. SURFACES, RYTHME, PAIEMENT (25/11, retours de Julien) ──────────
   - Moins de cadres : les cartes ne portent plus de bordure. Elles se
     detachent par une ombre douce en plusieurs couches (un anneau presque
     invisible + une ombre portee diffuse) ou par un fond teinte.
   - Accueil : une section sur deux en gris, memes marges (72 px / 48 px).
   - Bandeau du tunnel : titre centre entre les etapes et le contenu.
   - Plaque : bande bleue a droite aussi, saisie centree.
   - Carte vehicule de /demarche/ : caracteristiques reparties sur toute
     la largeur, plus d'air, textes plus petits.
   - Paiement et recapitulatif : en-tete teinte, total mis en avant. */
:root {
    --d1-teinte: #edf3f9;
    --d1-surface: 0 0 0 1px rgba(19,40,59,.06), 0 1px 3px rgba(19,40,59,.06), 0 8px 24px -12px rgba(19,40,59,.16);
    --d1-surface-survol: 0 0 0 1px rgba(19,40,59,.08), 0 2px 6px rgba(19,40,59,.07), 0 16px 32px -14px rgba(19,40,59,.24);
    --d1-surface-haute: 0 0 0 1px rgba(19,40,59,.05), 0 2px 6px rgba(19,40,59,.06), 0 28px 56px -28px rgba(19,40,59,.34);
}

/* 27a. Cartes : ombre au lieu du filet */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.card, .cg-demarche-card) { border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-carte { border: 0 !important; box-shadow: var(--d1-surface) !important; transition: box-shadow .18s ease, transform .18s ease !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-carte:hover { border: 0 !important; box-shadow: var(--d1-surface-survol) !important; transform: translateY(-1px) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) form .card,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .card { border: 0 !important; box-shadow: var(--d1-surface) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form form .card:first-child { box-shadow: var(--d1-surface-haute) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-card { border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type .cg-demarche-card { box-shadow: var(--d1-surface) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type .cg-demarche-card:hover { box-shadow: var(--d1-surface-survol) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) { border: 0 !important; box-shadow: var(--d1-surface) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-groupe-titre { border-bottom-color: #e8eef4 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type) .cg-demarche-card { border-top-color: #e8eef4 !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type { border: 0 !important; box-shadow: var(--d1-surface) !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type .cg-demarche-card { box-shadow: none !important; border-top-color: #e8eef4 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:first-of-type .cg-demarche-groupe-titre { border-bottom-color: #e8eef4 !important; }
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-explic { border: 0 !important; background: var(--d1-teinte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atouts-grille,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-atouts-grille:not(.cg-atouts-grille--3) { border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance { border-top: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] { border: 0 !important; }

/* 27b. Accueil : alternance blanc / gris, sans filets entre sections */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-accueil-demarches { padding-top: 72px !important; padding-bottom: 64px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-ccm { padding: 72px 0 !important; background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-ccm > .container {
    width: 100% !important;
    padding-top: 0 !important; padding-bottom: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-ccm-titre,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-ccm-sous { padding-left: 0 !important; padding-right: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-ccm-liste { padding: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-ccm-liste::before { left: 52px !important; right: calc(33.333% - 12px) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-ccm-ico { box-shadow: 0 0 0 6px var(--d1-fond), inset 0 0 0 1px #c9d7e5 !important; background: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .d1-habil { padding: 72px 0 !important; background: #fff !important; border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .d1-habil .d1-mention { border: 0 !important; background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-engag-item { border: 0 !important; background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-attest { border: 0 !important; background: var(--d1-teinte) !important; box-shadow: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .d1-avis { padding: 72px 0 56px !important; background: var(--d1-fond) !important; border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil section.py-5:has(#faq) { padding: 72px 0 !important; background: #fff !important; border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq .accordion-item:first-child { border-top: 1px solid var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq .accordion-item:last-child { border-bottom: 1px solid var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil section.py-5.fs-sm { padding: 72px 0 !important; background: var(--d1-fond) !important; border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli > article { border-top-color: #dfe7ef !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-seo-repli:not(.cg-seo-repli--ouvert)::after { background: linear-gradient(rgba(243,246,249,0), var(--d1-fond) 85%) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-accueil-fin { padding: 72px 0 80px !important; background: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-accueil-fin-carte { border: 0 !important; background: var(--d1-teinte) !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-accueil-demarches { padding-top: 48px !important; padding-bottom: 40px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-ccm { padding: 48px 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-ccm > .container { width: 100% !important; padding-left: 16px !important; padding-right: 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-ccm-liste::before { left: 19px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .d1-habil,
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil section.py-5:has(#faq),
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil section.py-5.fs-sm { padding: 48px 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .d1-avis { padding: 48px 0 32px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-accueil-fin { padding: 48px 0 !important; }
}
/* Pages demarche : memes regles, sans filets entre sections */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-habil--slug { border-top: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-habil--slug .d1-mention { border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 { border-top: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion { border: 0 !important; border-radius: 0 !important; background: transparent !important; padding: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 article .accordion-item:first-child { border-top: 1px solid var(--d1-filet) !important; }

/* 27c. Bandeau du tunnel : le titre au centre de l'espace bleu visible */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes { margin-bottom: 30px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-haut { margin-bottom: 18px !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes { margin-bottom: 18px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-haut { margin-bottom: 10px !important; }
}

/* 27d. Champ plaque : bande bleue a droite aussi (comme une vraie plaque),
   la saisie tombe au centre */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-field-immat input, input[data-format-plaque="1"])#vehiculeImmatriculation {
    padding: 0 60px !important;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='60' viewBox='0 0 44 60'%3E%3Crect width='44' height='60' fill='%232f6390'/%3E%3Ccircle cx='30.00' cy='19.00' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='28.93' cy='23.00' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='26.00' cy='25.93' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='22.00' cy='27.00' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='18.00' cy='25.93' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='15.07' cy='23.00' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='14.00' cy='19.00' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='15.07' cy='15.00' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='18.00' cy='12.07' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='22.00' cy='11.00' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='26.00' cy='12.07' r='1.3' fill='%23ffd23f'/%3E%3Ccircle cx='28.93' cy='15.00' r='1.3' fill='%23ffd23f'/%3E%3Ctext x='22' y='49' text-anchor='middle' font-family='Arial,sans-serif' font-weight='700' font-size='15' fill='%23fff'%3EF%3C/text%3E%3C/svg%3E") left center / 44px 100% no-repeat,
        linear-gradient(#2f6390, #2f6390) right center / 44px 100% no-repeat,
        #fff !important;
}

/* 27e. Carte vehicule de /demarche/ */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner { border: 0 !important; box-shadow: var(--d1-surface-haute) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-plate { padding: 24px 32px !important; border-right: 0 !important; background: var(--d1-teinte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-plate img { width: 210px !important; max-width: 210px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 22px 36px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-head { margin: 0 0 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-marque { font-size: 18px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-marque img { width: 24px !important; height: 24px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-specs {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    column-gap: 24px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-spec,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-spec + .cg-vehicle-banner-spec { padding: 0 !important; border-left: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-spec-label { margin-bottom: 4px !important; font-size: 11px !important; font-weight: 500 !important; letter-spacing: .07em !important; color: #6b7a8c !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-spec-value { font-size: 15px !important; font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-action { padding: 22px 32px 22px 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-action .btn { border: 0 !important; background: var(--d1-fond) !important; color: var(--d1-lien) !important; font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-action .btn:hover { border: 0 !important; background: var(--d1-actif) !important; color: var(--d1-nuit) !important; }
@media (max-width: 991.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-specs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 14px !important; }
}

/* 27f. Recapitulatif (formulaire et paiement) : en-tete teinte, lignes lisibles */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-dem-corps-form, .page-paiement) .col-xl-4 .card,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .d-xl-block > .card { border: 0 !important; box-shadow: var(--d1-surface-haute) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-dem-corps-form, .page-paiement) .col-xl-4 .aside-card-header,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-card-header { padding: 20px 22px 12px !important; background: var(--d1-teinte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-dem-corps-form, .page-paiement) .col-xl-4 .cg-aside-hero,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-aside-hero { margin: 0 !important; padding: 6px 22px 20px !important; border-radius: 0 !important; background: var(--d1-teinte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-aside-plaque,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .cg-aside-plaque { box-shadow: 0 1px 2px rgba(19,40,59,.12) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-aside-ligne { margin: 0 20px !important; padding: 14px 2px !important; border-top: 0 !important; font-size: 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-aside-ligne :is(strong, b, span:last-child) { color: var(--d1-texte) !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-total-btn { padding: 18px 22px 6px !important; border-top: 1px solid #e8eef4 !important; font-size: 15px !important; font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-total-amount { font-size: 30px !important; font-weight: 600 !important; font-variant-numeric: tabular-nums !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-total-footer > .px-3 { margin: 10px 20px 20px !important; padding: 10px 12px !important; border: 0 !important; border-radius: 10px !important; background: #eef7f1 !important; color: #1f5f3a !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-total-footer > .px-3 * { color: inherit !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .card > .d-flex.justify-content-between { border-top: 1px solid #e8eef4 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .card > .d-flex.justify-content-between > span:last-child { font-size: 30px !important; font-weight: 600 !important; font-variant-numeric: tabular-nums !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .card > .px-3.pb-3.pt-1 { margin: 0 20px 20px !important; padding: 10px 12px !important; border: 0 !important; border-radius: 10px !important; background: #eef7f1 !important; color: #1f5f3a !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .card > .px-3.pb-3.pt-1 * { color: inherit !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pay-avis-block { border: 0 !important; box-shadow: var(--d1-surface) !important; }

/* 27g. Module de paiement : anneau tres fin + ombre, en-tete de la carte
   bancaire teinte, bas « paiement chiffre » gris */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .nav-item,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #pills-tabContent > .tab-pane.active,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module > #cg-applepay-wrap,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #hipay-hostedfields-form-ready { box-shadow: 0 0 0 1px rgba(19,40,59,.08) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-cb:has(> .active) { box-shadow: 0 0 0 1px rgba(19,40,59,.08) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #pills-tabContent > .tab-pane.active { box-shadow: 0 0 0 1px rgba(19,40,59,.08), 0 28px 48px -30px rgba(19,40,59,.32) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-wero { box-shadow: 0 0 0 1px rgba(19,40,59,.08), inset 0 1px 0 #e8eef4, 0 18px 32px -24px rgba(19,40,59,.22) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-cb > .nav-link.active { background: var(--d1-teinte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-cb > .nav-link.active .pv2-nom { color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #pills-tabContent > .tab-pane.active { padding: 22px 24px 24px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-secur { margin: 20px -24px -24px !important; padding: 14px 24px !important; border-top: 0 !important; background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .hipay-static-label { font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-ou { color: #6b7a8c !important; }

/* 27h. Accueil : « Comment ca marche » aligne sur la grille des autres sections */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-ccm > .container { max-width: 1328px !important; }

/* 27i. Pages demarche (satellite) : meme rythme que l'accueil
   haut de page > Comment ca marche (gris, pleine largeur) > Service habilite
   (blanc) > Avis (gris) > Questions (blanc) > Atouts (gris) > pied. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug { padding: 72px 0 !important; background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug > .container {
    width: 100% !important;
    max-width: 1328px !important;
    padding-top: 0 !important; padding-bottom: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug :is(.cg-ccm-titre, .cg-ccm-sous) { padding-left: 0 !important; padding-right: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug .cg-ccm-liste { padding: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug .cg-ccm-ico { background: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-explic { margin: 32px 0 0 !important; background: #fff !important; box-shadow: var(--d1-surface) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-cta-zone { margin: 28px 0 0 !important; text-align: left !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-habil--slug { background: #fff !important; border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-habil--slug .d1-mention { background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .d1-avis { background: var(--d1-fond) !important; border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4 { background: #fff !important; border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .cg-atouts { background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .cg-atouts-grille,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .cg-atouts-grille:not(.cg-atouts-grille--3) { background: #fff !important; box-shadow: var(--d1-surface) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .cg-atout + .cg-atout { border-left-color: #e8eef4 !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug { padding: 48px 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-slug > .container { padding-left: 16px !important; padding-right: 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-explic { margin: 24px 0 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-ccm-cta-zone { margin: 20px 0 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-habil--slug,
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche section.py-4,
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .cg-atouts { padding: 48px 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .d1-avis { padding: 48px 0 32px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .cg-atout + .cg-atout { border-top-color: #e8eef4 !important; }
}

/* ── 28. FINITION (25/11, socle de qualite du plugin « impeccable ») ─────
   - Une seule elevation par carte : ombre douce sans anneau (l'anneau
     1 px sous une ombre large fait une « carte fantome »).
   - Pas d'etiquette au-dessus d'un titre : « VOTRE RECAPITULATIF » retire,
     le titre de la demarche suffit.
   - Pas de liseré sur un seul cote d'un bloc arrondi : la carte
     d'habilitation du pied passe en simple fond teinte.
   - Surfaces du navigateur aux couleurs du site : selection, curseur,
     cases et boutons radio natifs.
   - Titres equilibres, paragraphes sans mot orphelin, chiffres a chasse
     fixe pour les montants. */
:root {
    --d1-surface: 0 1px 2px rgba(19,40,59,.06), 0 8px 24px -10px rgba(19,40,59,.16);
    --d1-surface-survol: 0 2px 4px rgba(19,40,59,.07), 0 16px 32px -12px rgba(19,40,59,.24);
    --d1-surface-haute: 0 2px 6px rgba(19,40,59,.07), 0 28px 56px -26px rgba(19,40,59,.34);
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .nav-item,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-cb:has(> .active),
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module > #cg-applepay-wrap,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #hipay-hostedfields-form-ready { box-shadow: 0 1px 2px rgba(19,40,59,.06) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #pills-tabContent > .tab-pane.active { box-shadow: 0 1px 2px rgba(19,40,59,.06), 0 28px 48px -28px rgba(19,40,59,.32) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-wero { box-shadow: inset 0 1px 0 #e8eef4, 0 1px 2px rgba(19,40,59,.06), 0 18px 32px -22px rgba(19,40,59,.24) !important; }

/* Etiquette au-dessus du titre du recapitulatif */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .aside-card-header-sub,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .aside-card-header-sub,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-card-header-sub { display: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .aside-card-header,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-corps-form .col-xl-4 .aside-card-header { padding-top: 22px !important; }

/* Carte d'habilitation du pied : teinte, sans liseré */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-carte { border: 0 !important; background: var(--d1-teinte) !important; box-shadow: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-sceau { background: #fff !important; }

/* Surfaces du navigateur */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) ::selection { background: #cfe0ef !important; color: #1f3347 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(input, textarea) { caret-color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) { accent-color: var(--d1-nuit) !important; }
html { scrollbar-color: #b6c4d2 transparent; }

/* Typographie */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(h1, h2, h3, .cg-hero-h1, .d1-h2, .cg-dem-titre, .cg-ccm-titre, .cg-accueil-demarches-titre, .cg-accueil-fin-titre) { text-wrap: balance !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(p, .d1-lead, .cg-ccm-sous, .cg-dem-sous) { text-wrap: pretty !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.aside-total-amount, .pv2-montant, .d1-attest-ligne strong, #hipay-hostedfields-submit-button, .cg-dem-corps-form .col-xl-4 .card > .d-flex.justify-content-between > span:last-child) { font-variant-numeric: tabular-nums !important; }

/* Pages demarche sans bloc de questions : les atouts suivent directement
   les avis (gris), ils passent donc en blanc pour garder l'alternance */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .d1-avis + .cg-atouts { background: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .d1-avis + .cg-atouts .cg-atouts-grille,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .d1-avis + .cg-atouts .cg-atouts-grille:not(.cg-atouts-grille--3) { background: var(--d1-fond) !important; box-shadow: none !important; }

/* ── 29. PAIEMENT : ETAT DE CHARGEMENT (25/11) ─────────────────────────
   Pendant le chargement de HiPay, le formulaire carte est masque (hauteur
   nulle) et le spinner #hipay-hostedfields-form-ready s'affiche JUSTE
   APRES le volet carte. Le volet gardait son fond, sa marge interieure et
   son ombre : on voyait une bande vide puis le spinner dans une seconde
   carte. Pendant cet etat, le volet s'efface et le spinner devient le bas
   de la carte « Carte bancaire ». */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module:has(#hipay-hostedfields-form-ready:not(.d-none)) #pills-tabContent > .tab-pane.active {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #hipay-hostedfields-form-ready:not(.d-none) {
    margin-top: -1px !important;
    border: 0 !important;
    border-radius: 0 0 16px 16px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(19,40,59,.06), 0 28px 48px -28px rgba(19,40,59,.32) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #hipay-hostedfields-form-ready > div { padding: 44px 24px 48px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #hipay-hostedfields-form-ready .spinner-border { width: 32px !important; height: 32px !important; border-width: 3px !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #hipay-hostedfields-form-ready .hipay-loading-title { margin-top: 14px !important; font-size: 16px !important; font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #hipay-hostedfields-form-ready .hipay-loading-sub { margin-top: 4px !important; font-size: 14px !important; color: var(--d1-texte-2) !important; }

/* ── 30. DIRECTION C « LE STANDARD, EXECUTE AU CORDEAU » (25/11) ────────
   Choisie par Julien parmi trois maquettes. Bandeaux bleu nuit unis, sans
   aucune trame (ni points, ni traits) : seulement les deux grands ronds
   translucides du site actuel. Ils sont peints en fond (radial-gradient)
   et non en pseudo-elements : le bandeau n'a pas a couper ce qui depasse,
   la liste du choix du pays (vehicule etranger) peut donc deborder. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero::before,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero::after,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete::before,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete::after { content: none !important; display: none !important; background: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero {
    background-color: var(--d1-nuit) !important;
    background-image:
        radial-gradient(circle at calc(100% - 140px) 100px, rgba(255,255,255,.055) 260px, transparent 260.5px),
        radial-gradient(circle at 110px 100%, rgba(255,255,255,.04) 200px, transparent 200.5px) !important;
    background-repeat: no-repeat !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete {
    background-color: var(--d1-nuit) !important;
    background-image:
        radial-gradient(circle at calc(100% - 120px) 80px, rgba(255,255,255,.055) 210px, transparent 210.5px),
        radial-gradient(circle at 90px calc(100% + 10px), rgba(255,255,255,.04) 160px, transparent 160.5px) !important;
    background-repeat: no-repeat !important;
}
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero {
        background-image:
            radial-gradient(circle at calc(100% - 40px) 40px, rgba(255,255,255,.055) 170px, transparent 170.5px),
            radial-gradient(circle at 20px 100%, rgba(255,255,255,.04) 130px, transparent 130.5px) !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete {
        background-image:
            radial-gradient(circle at calc(100% - 30px) 30px, rgba(255,255,255,.055) 140px, transparent 140.5px) !important;
    }
}

/* Bouton principal : bleu des liens #2f6390, survol plus sombre (maquette C) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-primary { background-color: var(--d1-lien) !important; border-color: var(--d1-lien) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-primary:hover,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-primary:focus-visible { background-color: #24527a !important; border-color: #24527a !important; }

/* Recapitulatif du paiement : « Nouveau titulaire » aligne sur le titre */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-aside-ligne { margin: 0 !important; padding: 14px 0 !important; }
/* Pas de fleche ajoutee au texte des boutons (maquette C) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn .fi-arrow-right { display: none !important; }

/* ── 31. CORRECTIONS DE LA RELECTURE INDEPENDANTE (25/11) ───────────────
   - Bouton « Haut » (theme Finder) : il recouvrait le contenu sur mobile.
     Masque sur le paiement, colle au bord droit ailleurs.
   - Chargement du paiement : le bloc d'attente prend la hauteur du
     formulaire, PayPal et Wero ne sautent plus quand la carte arrive.
   - En-tete mobile : boutons panier et compte a 44 px (cible tactile).
   - Preuves du haut de page sur mobile : meme filet fin que sur ordinateur. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-scroll-top { right: 8px !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .btn-scroll-top { display: none !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-scroll-top { right: 4px !important; bottom: 12px !important; opacity: .92 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar a.btn[href="/paiement/"],
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .cg-nav-compte { height: 44px !important; min-height: 44px !important; min-width: 44px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-preuve + .d1-preuve { border-left-width: 1px !important; border-left-color: rgba(255,255,255,.16) !important; }
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #hipay-hostedfields-form-ready:not(.d-none) > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 330px !important;
}
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #hipay-hostedfields-form-ready:not(.d-none) > div { min-height: 380px !important; }
}

/* ── 32. DIRECTION C, PASSE 2 (25/11, retours de Julien) ─────────────────
   Bordures : une seule epaisseur (1 px) et deux teintes pour tout le site.
     #d5dee7  boutons secondaires, choix Particulier/Pro et Oui/Non
     #b9c6d3  champs de saisie (survol #8b9db0, focus bleu nuit + halo)
     #edf1f5  separateurs a l'interieur d'une carte */
:root {
    --d1-champ-filet: #b9c6d3;
    --d1-champ-survol: #8b9db0;
    --d1-champ: #d5dee7;
    --d1-bord: #d5dee7;
    --d1-sep: #edf1f5;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.btn-outline-secondary, .btn-outline-primary) { border-width: 1px !important; border-color: var(--d1-bord) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.btn-outline-secondary, .btn-outline-primary):hover { border-color: var(--d1-champ-filet) !important; background: var(--d1-fond) !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .btn-outline-secondary,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .cg-nav-compte { border: 1px solid var(--d1-bord) !important; color: var(--d1-texte) !important; font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .btn-outline-secondary:hover,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .cg-nav-compte:hover { border-color: var(--d1-champ-filet) !important; background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-type-toggle .cg-type-btn,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .custom-control-label { border: 1px solid var(--d1-bord) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-check:not(:checked) + .cg-type-btn:hover,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check-input[type="radio"]:not(:checked) + .custom-control-label:hover { border: 1px solid var(--d1-champ-filet) !important; background: var(--d1-fond) !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-check:checked + .cg-type-btn,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check-input[type="radio"]:checked + .custom-control-label { border: 1px solid var(--d1-action) !important; box-shadow: none !important; background: var(--d1-teinte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-row { border-color: var(--d1-sep) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .d-flex.align-items-start.p-3,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .d-flex.align-items-start.p-3:hover { border-top-color: var(--d1-sep) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-options-list .d-flex.align-items-start.p-3:has(.cg-option-check:checked) { border-color: var(--d1-sep) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .hipay-hostedfields-field-container { border-color: var(--d1-champ-filet) !important; }

/* Bandeau du tunnel : plus bas, le contenu remonte (l'air reste) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-tete { padding-top: 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes { margin-bottom: 20px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-haut { margin-bottom: 6px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-titre,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-titre--page { font-size: 30px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-sous { margin-top: 2px !important; font-size: 16px !important; }

/* Paiement : ombres plus courtes (l'ombre de la carte bancaire faisait
   un bloc gris autour de « Ou payer avec »), fond teinte sur TOUT moyen
   choisi, PayPal et Wero compris */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #pills-tabContent > .tab-pane.active,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #hipay-hostedfields-form-ready:not(.d-none) { box-shadow: 0 1px 2px rgba(19,40,59,.06), 0 10px 24px -18px rgba(19,40,59,.28) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-wero { box-shadow: inset 0 1px 0 var(--d1-sep), 0 1px 2px rgba(19,40,59,.06), 0 10px 24px -18px rgba(19,40,59,.28) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .nav-item > .nav-link.custom-pay-btn { background: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .nav-item > .nav-link.custom-pay-btn.active { background: var(--d1-teinte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .nav-item > .nav-link.custom-pay-btn.active .pv2-nom { color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .nav-item > .nav-link.custom-pay-btn:not(.active):hover { background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module #pills-tabContent > .tab-pane.active:not(:last-child) { border-radius: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-wero:has(> .active),
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module .pv2-li-wero > .nav-link.active { border-radius: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-ou { margin: 28px 0 18px !important; background: transparent !important; }

/* Recapitulatif : details du vehicule et du titulaire sans cadre, decolles */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .aside-vehicule-detail {
    margin: 14px 16px 4px !important;
    padding: 8px 14px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: var(--d1-fond) !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .aside-vehicule-detail > .d-flex { padding: 7px 0 !important; border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .aside-vehicule-detail .text-muted { color: var(--d1-texte-2) !important; }

/* Reassurance du pied : sur blanc, colonnes simples, sans panneau ni filet */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance { padding: 56px 0 !important; background: #fff !important; background-image: none !important; border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] { overflow: visible !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; --bs-gutter-x: 32px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] > [class*="col-"] { padding: 0 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] > [class*="col-"] + [class*="col-"] { border-left: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil { padding: 0 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-carte { height: auto !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-sceau { background: var(--d1-clair) !important; }
@media (max-width: 991.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] > [class*="col-"],
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil { padding: 0 12px 28px !important; }
}

/* /demarche/ : comme l'ancienne version, chaque categorie est une section
   (titre, compteur, filet) et ses demarches des cartes, deux par ligne */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-dem-corps form { display: block !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) {
    margin: 0 0 44px !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n):last-child { margin-bottom: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-groupe-titre {
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 21px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-groupe-titre::after { display: block !important; content: "" !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-cards,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-cards:has(> .cg-demarche-card:nth-child(4):last-child) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin: 0 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-card {
    gap: 16px !important;
    padding: 20px 22px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: var(--d1-surface) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-card:hover { background: #fff !important; box-shadow: var(--d1-surface-survol) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-card-media { flex: 0 0 48px !important; width: 48px !important; height: 48px !important; border-radius: 12px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-card-media img { width: 28px !important; height: 28px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-card-title { font-size: 17px !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-card-text { font-size: 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-card-cta { flex-basis: 32px !important; width: 32px !important; height: 32px !important; background: var(--d1-fond) !important; color: var(--d1-lien) !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) { margin-bottom: 32px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-groupe-titre { margin-bottom: 14px !important; font-size: 18px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-cards,
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-cards:has(> .cg-demarche-card:nth-child(4):last-child) { grid-template-columns: 1fr !important; gap: 10px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-card { padding: 14px 16px !important; gap: 14px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-card-media { flex-basis: 42px !important; width: 42px !important; height: 42px !important; border-radius: 10px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-card-media img { width: 24px !important; height: 24px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:nth-of-type(n) .cg-demarche-card-title { font-size: 16px !important; }
}

/* Menu « Demarches en ligne » (nav.php, classes cg-mm-*) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .dropdown-menu.cg-mm {
    margin-top: 10px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 2px 6px rgba(19,40,59,.08), 0 30px 60px -24px rgba(19,40,59,.36) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mm-corps { padding: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mm-pop { padding: 24px 18px !important; background: var(--d1-teinte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mm-autres { padding: 24px 26px 8px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mm-titre { display: flex !important; align-items: center !important; gap: 8px !important; margin: 0 0 12px !important; padding: 0 10px !important; font-size: 15px !important; font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mm-nb { min-width: 24px !important; padding: 1px 8px !important; border-radius: 999px !important; background: var(--d1-fond) !important; color: var(--d1-nuit) !important; font-size: 12px !important; font-weight: 600 !important; text-align: center !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mm-pop .cg-mm-nb { background: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mm-famille { margin: 0 0 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mm-famille-nom { margin: 0 0 4px !important; padding: 0 10px !important; font-size: 13px !important; font-weight: 600 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .dropdown-item.cg-mm-lien {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    color: var(--d1-texte) !important;
    white-space: normal !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .dropdown-item.cg-mm-lien:hover,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .dropdown-item.cg-mm-lien:focus-visible { background: var(--d1-fond) !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .cg-mm-pop .dropdown-item.cg-mm-lien:hover,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .cg-mm-pop .dropdown-item.cg-mm-lien:focus-visible { background: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mm-ico { flex: 0 0 36px !important; width: 36px !important; height: 36px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; border-radius: 10px !important; background: var(--d1-clair) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mm-pop .cg-mm-ico { background: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mm-ico img { width: 22px !important; height: 22px !important; object-fit: contain !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mm-nom { min-width: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mm-pied { display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: space-between !important; gap: 8px !important; padding: 14px 26px !important; border-top: 1px solid var(--d1-sep) !important; background: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mm-pied-txt { font-size: 14px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mm-tout { font-size: 15px !important; font-weight: 600 !important; color: var(--d1-lien) !important; text-decoration: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-mm-tout:hover { color: var(--d1-nuit) !important; text-decoration: underline !important; }

/* Illustration de la carte grise (accueil et pages demarche) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-illu-cg { margin: 32px 0 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-illu-cg svg { display: block !important; width: 100% !important; max-width: 460px !important; height: auto !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-illu-cg figcaption { max-width: 30em !important; margin-top: 8px !important; font-size: 15px !important; line-height: 1.5 !important; color: var(--d1-texte-2) !important; }
@media (max-width: 991.98px) { html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-illu-cg { max-width: 420px !important; margin-top: 24px !important; } }

/* FAQ de l'accueil : recherche + affichage progressif */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-faq-outils { position: relative !important; margin: 0 0 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-faq-outils .form-control { min-height: 52px !important; padding-left: 46px !important; border-radius: 12px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-faq-loupe { position: absolute !important; left: 16px !important; top: 50% !important; transform: translateY(-50%) !important; color: var(--d1-texte-2) !important; pointer-events: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faq .accordion-item[hidden] { display: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-faq-plus { margin-top: 20px !important; min-height: 46px !important; padding: 0 20px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-faq-vide { margin: 16px 0 0 !important; font-size: 16px !important; color: var(--d1-texte-2) !important; }
/* Categories de plus de 4 demarches : deux par ligne aussi, sans filets */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type):has(.cg-demarche-card:nth-child(5)) .cg-demarche-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type):has(.cg-demarche-card:nth-child(5)) .cg-demarche-card:nth-child(n) { border-left: 0 !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-demarche-groupe:not(:first-of-type):has(.cg-demarche-card:nth-child(5)) .cg-demarche-cards { grid-template-columns: 1fr !important; }
}

/* Bloc « Service habilite » : texte + attestation a gauche, illustration
   + engagements a droite (colonnes de hauteur voisine) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-habil .d1-mention + .d1-attest { margin-top: 24px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-habil .col-lg-7 > .d1-illu-cg { display: flex !important; flex-direction: column !important; align-items: center !important; margin: 0 0 22px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-habil .col-lg-7 > .d1-illu-cg figcaption { text-align: center !important; }
@media (max-width: 991.98px) { html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .d1-habil .col-lg-7 > .d1-illu-cg { max-width: none !important; } }

/* ── 33. RETOURS DU 25/11, 13 H 52 ──────────────────────────────────────
   Logo, espacement de /demarche/, en-tete mobile du tunnel, Oui/Non sur
   mobile, badge d'habilitation, haut de page mobile plus compact (le
   formulaire de la plaque tient dans le premier ecran). */

/* Logo : « CarteGrise » un peu plus gras, « .net » plus petit */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .navbar-brand { font-weight: 700 !important; letter-spacing: -.015em !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .navbar-brand .fs-sm { font-size: 16px !important; font-weight: 500 !important; letter-spacing: 0 !important; }
@media (max-width: 575.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .navbar-brand { font-size: 20px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .navbar-brand .fs-sm { font-size: 15px !important; }
}

/* /demarche/ : meme ecart sous la carte vehicule que sous les cartes du formulaire */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-dem-corps { padding-top: 0 !important; }

/* En-tete mobile du tunnel. Formulaire : pas de menu (comme sur ordinateur),
   logo a gauche, « Mon compte » a droite. Paiement (ni menu ni compte) :
   logo centre. */
@media (max-width: 991.98px) {
    /* Panier et compte : meme boite, meme bordure, meme hauteur */
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar a.btn[href="/paiement/"],
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .cg-nav-compte {
        box-sizing: border-box !important;
        height: 44px !important;
        min-height: 44px !important;
        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        border: 1px solid var(--d1-bord) !important;
        line-height: 1 !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .cg-nav-compte { width: 44px !important; padding: 0 !important; justify-content: center !important; }
}

/* Questions Oui / Non sur mobile : la question a gauche sur plusieurs
   lignes, Oui / Non toujours a droite */
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-row {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-row > [class*="col-"] { width: auto !important; max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-row > [class*="col-"]:first-child { flex: 1 1 auto !important; min-width: 0 !important; line-height: 1.4 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-row > .cg-radio-col { flex: 0 0 auto !important; justify-content: flex-end !important; gap: 6px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .custom-control-label { min-width: 54px !important; min-height: 40px !important; padding: 0 12px !important; }
}

/* Badge d'habilitation : jamais etire, jamais coupe */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .d1-badge {
    align-self: flex-start !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: normal !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .d1-badge svg { flex: 0 0 auto !important; }

/* Haut de page mobile (accueil et pages demarche) : plus compact, le
   formulaire de la plaque tient dans le premier ecran, titre et texte gardes */
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero { padding-top: 20px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .d1-badge { margin-bottom: 12px !important; padding: 5px 12px 5px 6px !important; font-size: 12.5px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .cg-hero-h1 { margin-bottom: 8px !important; font-size: 27px !important; line-height: 1.12 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .cg-hero-desc { margin-bottom: 16px !important; font-size: 15px !important; line-height: 1.45 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .cg-hero-desc.mb-4 { margin-bottom: 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .cg-form-card { padding: 18px 16px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .d1-form-titre { margin-bottom: 10px !important; font-size: 17px !important; }
}
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check,
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check-inline { margin: 0 !important; padding: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .custom-control-label { min-width: 48px !important; padding: 0 10px !important; }
}
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .custom-control-label { width: auto !important; }
}
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check,
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-radio-col .form-check-inline { flex: 0 0 auto !important; width: auto !important; }
}
/* Bouton « Haut » : masque sur mobile (il recouvrait Oui/Non et les cartes) */
@media (max-width: 767.98px) { html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .btn-scroll-top { display: none !important; } }

/* ── 34. RETOURS DU 25/11, 13 H 56 ──────────────────────────────────────
   1. Paiement : le grand cadre .payment-zone (une .card dans
      .cg-dem-corps-form) recevait l'ombre des cartes du formulaire ;
      elle dessinait un rectangle gris autour de « Ou payer avec ».
   2. Reassurance du pied : « Service habilite » dans un bloc bleu clair ;
      halo central et filets degrades de cartegrise.css retires.
   3. Boutons d'action : meme police, meme graisse (600) partout. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .payment-zone,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-dem-corps-form .payment-zone.card,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .payment-zone > .card-body,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }

html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance::before,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance::after,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .row > div + div::before,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] > *::before,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] > *::after { content: none !important; display: none !important; background: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] > * { border: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] { align-items: stretch !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil { padding: 0 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-carte {
    height: 100% !important;
    padding: 20px 22px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--d1-teinte) !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-sceau { background: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] > [class*="col-"]:not(.cg-rass-habil) { padding-top: 20px !important; }
@media (max-width: 991.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance [class*="cg-rass-n"] > [class*="col-"]:not(.cg-rass-habil) { padding-top: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .footer-reassurance .cg-rass-habil-carte { height: auto !important; }
}

html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.btn, #hipay-hostedfields-submit-button, #hipay-hostedfields-submit-button-paypal, .cg-accueil-fin-btn, .d1-ccm-cta, .cg-seo-suite, .d1-faq-plus) {
    font-family: var(--d1-police) !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .btn-outline-secondary,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .cg-nav-compte,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-vehicle-banner-action .btn { font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(#hipay-hostedfields-submit-button, #hipay-hostedfields-submit-button-paypal) { font-size: 17px !important; }

/* Chargement du paiement : tant que HiPay n'est pas pret, la ligne « Carte
   bancaire » (#hipay-hostedfields-form-btn) est masquee (d-none) ; le bloc
   d'attente est alors seul : quatre coins arrondis, pas de marge negative. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module:has(#hipay-hostedfields-form-btn.d-none) #hipay-hostedfields-form-ready:not(.d-none),
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .pv2-module:has(#hipay-hostedfields-form-btn[hidden]) #hipay-hostedfields-form-ready:not(.d-none) { margin-top: 0 !important; border-radius: 16px !important; }

/* /demarche/ sur mobile : meme marge laterale (16 px) que le formulaire et
   le paiement ; .cg-dem-corps n'est pas un .container et restait a 12 px */
@media (max-width: 575.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page .cg-dem-corps { padding-left: 16px !important; padding-right: 16px !important; }
}

/* Tunnel sous 768 px : les quatre conteneurs (bandeau, vehicule, choix de
   la demarche, formulaire/paiement) ont la meme largeur et la meme marge.
   Le formulaire heritait du .container du theme (95 % puis 540 px centres)
   et se decalait de 13 px par rapport a /demarche/ entre 480 et 767 px. */
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-dem-centre, .cg-dem-vehicule, .cg-dem-corps, .cg-dem-corps-form) {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Logo : « CarteGrise » un tout petit peu moins gras */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .navbar-brand { font-weight: 650 !important; }

/* ==========================================================================
   35. Retours du 25/11, 14h05
   Menu sur toutes les pages, logo sur une ligne de base, badge et titre du
   haut de page mobile, alignement des pages demarche, fil d'etapes mobile
   cliquable, pied de page.
   ========================================================================== */

/* 35a. Menu present partout (les regles qui le masquaient dans le tunnel
   sont retirees). Le paiement, ou nav.php ne rend qu'un bouton invisible,
   garde son logo centre. */
@media (max-width: 991.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .navbar-toggler[style*="hidden"] { display: none !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar:not(:has(.navbar-toggler:not([style*="hidden"]))):not(:has(.cg-nav-compte)) .navbar-brand { margin-left: auto !important; margin-right: auto !important; }
}

/* 35b. Logo : « .net » pose sur la ligne de base de « CarteGrise » (le bas
   des lettres aligne), l'icone reste centree. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .navbar-brand { align-items: baseline !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .navbar-brand > .flex-shrink-0 { align-self: center !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) header.navbar .navbar-brand .fs-sm { position: static !important; top: auto !important; vertical-align: baseline !important; line-height: 1 !important; }

/* 35c. Badge d'habilitation de l'accueil : la regle « > * { padding: 0 } »
   de la colonne texte lui retirait sa marge interieure, le texte touchait le
   bord de la pastille. */
@media (max-width: 991.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-hero .row > .col-lg-6.text-center > .d1-badge { padding: 6px 14px 6px 7px !important; }
}
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil .cg-hero .row > .col-lg-6.text-center > .d1-badge { padding: 5px 12px 5px 6px !important; }
}

/* 35d. Titre du haut de page : toute la largeur sur mobile (l'equilibrage
   des lignes le resserrait au centre). */
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-hero .cg-hero-h1 { text-wrap: wrap !important; max-width: none !important; width: 100% !important; font-size: 28px !important; }
}

/* 35e. Pages demarche (satellites) sur mobile et tablette : la colonne texte
   est en display:contents, ses enfants deviennent des elements de la rangee
   et recevaient chacun une marge differente (badge 6 px, titre 12 px, texte
   18 px). Tout est ramene sur le bord du formulaire, aligne a gauche. */
@media (max-width: 991.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .cg-hero .row > .col-lg-6.text-center > * {
        margin-left: 8px !important;
        margin-right: 8px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
        flex: 0 0 calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        width: calc(100% - 16px) !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .cg-hero .row > .col-lg-6.text-center > .d1-badge {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: calc(100% - 16px) !important;
        align-self: flex-start !important;
        justify-content: flex-start !important;
        padding: 6px 14px 6px 7px !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .cg-hero .row > .col-lg-6.text-center > .cg-hero-desc { margin-top: 0 !important; margin-bottom: 8px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .cg-hero .row > .col-lg-6.text-center > .d1-badge + * { margin-top: 0 !important; }
    /* Meme respiration que l'accueil : la rangee remonte de 16 px (gouttiere
       g-3), le badge collait au haut du bandeau (12 px au lieu de 28) et
       l'ecart texte / formulaire etait de 38 px au lieu de 30. */
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .cg-hero .row > .col-lg-6.text-center > .d1-badge { margin-top: 16px !important; }
}
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-demarche .cg-hero .row > .col-lg-6.text-center > .d1-badge { padding: 5px 12px 5px 6px !important; }
}

/* 35f. Fil d'etapes mobile : l'etape precedente redevient un lien
   (« ‹ Démarche », « ‹ Informations ») a gauche de l'etape en cours. */
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes:has(.cg-dem-etape.est-faite) {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: baseline !important;
        gap: 10px !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes a.cg-dem-etape.est-faite:has(+ .cg-dem-etape-lien + .cg-dem-etape.est-active),
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes a.cg-dem-etape.est-faite:has(+ .cg-dem-etape.est-active) {
        position: relative !important;
        display: inline-flex !important;
        flex: 0 0 auto !important;
        align-items: baseline !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 10px 0 0 !important;
        border-right: 1px solid rgba(255,255,255,.28) !important;
        box-shadow: none !important;
        background: none !important;
        color: #fff !important;
        text-decoration: none !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes a.cg-dem-etape.est-faite:has(+ .cg-dem-etape-lien + .cg-dem-etape.est-active)::after,
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes a.cg-dem-etape.est-faite:has(+ .cg-dem-etape.est-active)::after {
        content: "" !important;
        position: absolute !important;
        left: -8px !important; right: -4px !important; top: -14px !important; bottom: -14px !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes a.cg-dem-etape.est-faite .cg-dem-etape-num { display: none !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes a.cg-dem-etape.est-faite .cg-dem-etape-lib {
        display: inline !important;
        overflow: visible !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #fff !important;
        text-decoration: underline !important;
        text-decoration-color: rgba(255,255,255,.45) !important;
        text-underline-offset: 3px !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes a.cg-dem-etape.est-faite .cg-dem-etape-lib::before {
        content: "‹" !important;
        display: inline-block !important;
        margin-right: 5px !important;
        font-size: 16px !important;
        line-height: 1 !important;
        text-decoration: none !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes a.cg-dem-etape.est-faite:hover .cg-dem-etape-lib { text-decoration-color: #fff !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes .cg-dem-etape.est-active { min-width: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-etapes .cg-dem-etape.est-active .cg-dem-etape-lib { overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
}

/* 35g. Pied de page : bleu de la marque (le meme que le haut des pages),
   titres blancs, liens bleu clair, carte telephone blanche, bande des
   arguments integree au pied. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer {
    --d1-pied-txt: #c9d8e6 !important;
    --d1-pied-filet: rgba(255,255,255,.12) !important;
    background: var(--d1-nuit) !important;
    border-top: 0 !important;
    color: var(--d1-pied-txt) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer > .bg-dark {
    background: transparent !important;
    border-bottom: 1px solid var(--d1-pied-filet) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer > .bg-dark .py-4 { padding-top: 32px !important; padding-bottom: 32px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer > .bg-dark svg {
    box-sizing: content-box !important;
    width: 32px !important;
    height: 32px !important;
    padding: 6px !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.08) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer > .bg-dark h3 { font-size: 15px !important; font-weight: 600 !important; color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer > .bg-dark p { font-size: 14px !important; color: var(--d1-pied-txt) !important; opacity: 1 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #footerLinks { padding-top: 48px !important; padding-bottom: 24px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #footerLinks .accordion-item { background: transparent !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #footerLinks h6,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #footerLinks h6 > span {
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    color: #fff !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #footerLinks .nav-link,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #footerLinks .text-body {
    color: var(--d1-pied-txt) !important;
    font-size: 15px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #footerLinks .nav-link:hover,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #footerLinks .nav-link:focus-visible { color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #footerLinks .text-body-secondary { color: var(--d1-pied-txt) !important; font-size: 14px !important; line-height: 1.55 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer .d1-pied-logo {
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 0 !important;
    font-size: 20px !important;
    font-weight: 650 !important;
    letter-spacing: -.015em !important;
    color: #fff !important;
    text-decoration: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer .d1-pied-logo img { align-self: center !important; width: 26px !important; height: auto !important; margin-right: 8px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer .d1-pied-logo small { font-size: 15px !important; font-weight: 500 !important; letter-spacing: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #logocb .card-logo {
    border-radius: 6px !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,.14) !important;
}
/* Carte telephone */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer .d1-pied-tel {
    margin-top: 12px !important;
    padding: 16px 18px !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: var(--d1-texte) !important;
    text-align: center !important;
    box-shadow: 0 18px 36px -22px rgba(0,0,0,.55) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer .d1-pied-tel p { color: var(--d1-texte-2) !important; font-size: 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer .d1-pied-tel .d1-pied-tel-titre { margin: 0 0 8px !important; color: var(--d1-texte) !important; font-size: 14px !important; font-weight: 600 !important; white-space: nowrap !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer .d1-pied-tel img { display: block !important; max-width: 100% !important; height: auto !important; margin: 0 auto !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer .d1-pied-tel strong { color: var(--d1-texte) !important; font-weight: 600 !important; white-space: nowrap !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer .d1-pied-tel p.mt-2 { font-size: 13px !important; }
/* Bas de page */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer > .container:last-child > .d-flex {
    border-top: 1px solid var(--d1-pied-filet) !important;
    padding-top: 20px !important;
    padding-bottom: 24px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer > .container:last-child p,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer > .container:last-child .text-body-secondary { color: var(--d1-pied-txt) !important; font-size: 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer > .container:last-child a,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer > .container:last-child .text-body { color: #fff !important; font-size: 14px !important; }
/* Tunnel : seul le bas de page reste, sans filet au-dessus */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer:not(:has(#footerLinks)) > .container:last-child > .d-flex { border-top: 0 !important; }
@media (max-width: 575.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #footerLinks { padding-top: 28px !important; padding-bottom: 8px !important; }
    /* Colonne de la marque : logo et texte toujours visibles, pas d'accordeon */
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer .d1-pied-logo { display: inline-flex !important; margin-bottom: 10px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #profileLinksHeading .accordion-button { display: none !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #profileLinks { display: block !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #profileLinks + hr { display: none !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #profileLinks .row { margin-bottom: 20px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #footerLinks .accordion-button {
        background: transparent !important;
        color: #fff !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        box-shadow: none !important;
    }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #footerLinks .accordion-button::after { filter: none !important; opacity: .85 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer #footerLinks hr { border-color: var(--d1-pied-filet) !important; opacity: 1 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer > .bg-dark .py-4 { padding-top: 24px !important; padding-bottom: 24px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer > .bg-dark h3 { font-size: 14px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) footer.footer > .bg-dark p { font-size: 13px !important; }
}

/* ==========================================================================
   36. Pages de contenu et espace client a la charte C (25/11, 14h13)
   FAQ, avis, CGV, mentions legales, confidentialite, mot de passe oublie,
   reinitialisation, espace client (demande, informations, titulaire, mon
   compte), validation, complement. STYLE SEUL : aucun fichier PHP touche.
   Les blocs <style> propres a ces pages restent en place ; ces regles
   passent devant grace au prefixe B (et a !important).
   ========================================================================== */

/* 36a. Bandeaux des pages de contenu : bleu nuit uni et les deux ronds,
   comme le haut des pages demarche. Plus de degrade ni de trame. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.faq-hero, .avis-hero, .cgv-tete) {
    background-color: var(--d1-nuit) !important;
    background-image:
        radial-gradient(circle at calc(100% - 120px) 80px, rgba(255,255,255,.055) 210px, transparent 210.5px),
        radial-gradient(circle at 90px calc(100% + 10px), rgba(255,255,255,.04) 160px, transparent 160.5px) !important;
    background-repeat: no-repeat !important;
    border: 0 !important;
    padding: 36px 0 44px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-hero { padding-bottom: 72px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.faq-hero, .avis-hero)::before { content: none !important; display: none !important; background: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.faq-hero, .avis-hero, .cgv-tete) h1 {
    margin: 0 0 10px !important;
    font-size: 40px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    letter-spacing: -.02em !important;
    color: #fff !important;
}
/* Surtitre (« Centre d'aide », « Ce que disent nos clients ») : texte garde,
   sans capitales espacees */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.faq-hero, .avis-hero) h1 > span {
    display: block !important;
    margin: 0 0 8px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    opacity: 1 !important;
    color: var(--d1-sur-nuit) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.faq-hero, .avis-hero) p,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-tete .cgv-sous {
    max-width: 680px !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
    color: var(--d1-sur-nuit) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.faq-hero, .avis-hero, .cgv-tete) .breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255,255,255,.45) !important;
    font-size: 14px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.faq-hero, .avis-hero, .cgv-tete) .breadcrumb-item,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.faq-hero, .avis-hero, .cgv-tete) .breadcrumb-item a:not(#d1x) { color: var(--d1-sur-nuit) !important; text-decoration: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.faq-hero, .avis-hero, .cgv-tete) .breadcrumb-item a:not(#d1x):hover { color: #fff !important; text-decoration: underline !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.faq-hero, .avis-hero, .cgv-tete) .breadcrumb-item.active { color: #fff !important; text-decoration: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.faq-hero, .avis-hero, .cgv-tete) .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.45) !important; }
/* Illustration decorative des avis : retiree (la charte n'a que les ronds) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .avis-hero .col-lg-5[aria-hidden="true"] { display: none !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.faq-hero, .avis-hero, .cgv-tete) { padding: 24px 0 32px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-hero { padding-bottom: 32px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.faq-hero, .avis-hero, .cgv-tete) h1 { font-size: 30px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.faq-hero, .avis-hero, .cgv-tete) h1 > span { font-size: 15px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.faq-hero, .avis-hero) p,
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-tete .cgv-sous { font-size: 16px !important; }
}

/* 36b. FAQ */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-search-wrap .form-control {
    height: 54px !important;
    padding: 0 18px 0 48px !important;
    border: 0 !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    box-shadow: 0 18px 36px -20px rgba(6,20,34,.6) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-search-wrap .form-control:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.35) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-search-wrap .search-icon { color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-tabs { gap: 8px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-tab-btn {
    gap: 8px !important;
    padding: 8px 14px 8px 8px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: var(--d1-surface) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--d1-texte-2) !important;
    transition: background-color .15s ease, color .15s ease !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-tab-btn .tab-icon { width: 30px !important; height: 30px !important; background: var(--d1-teinte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-tab-btn:hover { background: var(--d1-teinte) !important; color: var(--d1-nuit) !important; box-shadow: var(--d1-surface) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-tab-btn.active { background: var(--d1-nuit) !important; color: #fff !important; box-shadow: var(--d1-surface) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-tab-btn.active .tab-icon { background: rgba(255,255,255,.14) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-tab-btn.active svg { fill: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-tab-btn .tab-count { padding: 1px 8px !important; background: var(--d1-teinte) !important; color: var(--d1-texte-2) !important; font-size: 12.5px !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-tab-btn.active .tab-count { background: rgba(255,255,255,.16) !important; color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-cat-header { gap: 14px !important; padding: 8px 0 18px !important; border-bottom: 1px solid var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-cat-icon { width: 44px !important; height: 44px !important; border-radius: 12px !important; background: var(--d1-teinte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-cat-icon svg { fill: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-cat-title { font-size: 20px !important; font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-cat-desc { font-size: 15px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-accordion .accordion-item { border-bottom: 1px solid var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-accordion .accordion-button { padding: 18px 4px !important; font-size: 16px !important; font-weight: 500 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-accordion .accordion-button:not(.collapsed) { color: var(--d1-nuit) !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-accordion .accordion-button::after { width: 24px !important; height: 24px !important; background-color: var(--d1-teinte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-accordion .accordion-body { font-size: 15.5px !important; line-height: 1.65 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-accordion .accordion-body strong { color: var(--d1-texte) !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-accordion .accordion-body a:not(.btn) { color: var(--d1-lien) !important; font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-accordion .accordion-body .btn-outline-primary { border-color: var(--d1-filet) !important; color: var(--d1-lien) !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-accordion .accordion-body .btn-outline-primary:hover { background: var(--d1-teinte) !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) #faqNoResult { color: var(--d1-texte-2) !important; }
@media (max-width: 767.98px) {
    /* Onglets en bande defilante (cartegrise.css) : de l'air pour l'ombre,
       et la bande va jusqu'aux bords de l'ecran */
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-tabs { margin-left: -16px !important; margin-right: -16px !important; padding: 4px 16px 10px !important; scrollbar-width: none !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-tabs::-webkit-scrollbar { display: none !important; }
}
/* Colonne « Acces rapide » */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) main:has(.faq-hero) .col-lg-4 > .card { border: 0 !important; border-radius: 16px !important; box-shadow: var(--d1-surface) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) main:has(.faq-hero) .col-lg-4 > .card h6 { font-size: 16px !important; font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-quicklinks { font-size: 15px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-quicklinks li { margin-bottom: 10px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-quicklinks a { color: var(--d1-lien) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .faq-quicklinks a:hover { color: var(--d1-nuit) !important; }

/* 36c. Avis */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .avis-hero .score-badge {
    padding: 12px 18px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.1) !important;
    backdrop-filter: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .avis-hero .score-badge .score-num { font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .avis-hero .score-badge .score-label { color: var(--d1-sur-nuit) !important; font-size: 14px !important; }
/* Note a droite du titre sur ordinateur : le bandeau perd une ligne de
   hauteur. Le badge sort du flux de la colonne texte et se cale en bas a
   droite du conteneur, sur la ligne du paragraphe. */
@media (min-width: 992px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .avis-hero .container { position: relative !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .avis-hero .row > .col-lg-7 { position: static !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .avis-hero p.mb-4 { margin-bottom: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .avis-hero .score-badge {
        position: absolute !important;
        right: calc(var(--bs-gutter-x, 1.5rem) * .5) !important;
        bottom: 0 !important;
    }
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .avis-stat-pill {
    padding: 10px 16px 10px 10px !important;
    border: 0 !important;
    background: #fff !important;
    box-shadow: var(--d1-surface) !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: var(--d1-texte-2) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .avis-stat-pill .pill-icon { width: 30px !important; height: 30px !important; background: var(--d1-teinte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .avis-stat-pill .pill-icon svg { fill: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .avis-stat-pill strong { color: var(--d1-nuit) !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .avis-stats-scroll { padding: 4px 2px 8px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .avis-mentions {
    padding: 18px 20px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--d1-teinte) !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    color: var(--d1-texte-2) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .avis-mentions strong { color: var(--d1-texte) !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .avis-mentions a { color: var(--d1-lien) !important; font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .review-card {
    padding: 24px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: var(--d1-surface) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .review-card:hover { border: 0 !important; box-shadow: var(--d1-surface-survol) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .review-avatar { background: var(--d1-nuit) !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .review-name { font-size: 16px !important; font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .review-date { font-size: 13px !important; line-height: 1.4 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .review-text { font-size: 15.5px !important; line-height: 1.6 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .review-action-badge { padding: 4px 10px !important; background: var(--d1-teinte) !important; color: var(--d1-nuit) !important; font-size: 13px !important; font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .review-card > .mt-3.pt-3 { border-top-color: var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .review-reponse { border-left-color: var(--d1-action) !important; background: var(--d1-fond) !important; font-size: 14.5px !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .review-reponse-tete { font-size: 13.5px !important; font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .review-reponse-tete span { color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .review-signaler:not(#d1x) { font-size: 13px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .review-archive { background: var(--d1-fond) !important; color: var(--d1-texte-2) !important; font-size: 12.5px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .pagination .page-link { border-color: var(--d1-filet) !important; border-radius: 10px !important; color: var(--d1-lien) !important; font-size: 15px !important; font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .pagination .page-link:hover { background: var(--d1-teinte) !important; border-color: var(--d1-filet) !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .pagination .page-item.active .page-link { background: var(--d1-nuit) !important; border-color: var(--d1-nuit) !important; color: #fff !important; }

/* 36d. Pages legales (CGV, mentions legales, confidentialite) : les
   variables de leur bloc <style> sont rebranchees sur la charte, puis les
   textes passent a une taille de lecture. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).cgv-page {
    --cgv-bleu: #2f6390 !important;
    --cgv-encre: #1f4462 !important;
    --cgv-gris: #4a5a6e !important;
    --cgv-trait: #dde5ed !important;
    --cgv-fond: #f3f6f9 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).cgv-page main.content-wrapper { background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-tete .cgv-jalon {
    padding: 6px 12px !important;
    border: 0 !important;
    background: rgba(255,255,255,.1) !important;
    color: #dbe6f0 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-tete .cgv-jalon i { color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-somm { top: 96px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-somm-titre { margin: 0 0 10px !important; font-size: 15px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-somm a:not(#d1x) { padding: 6px 10px !important; border-radius: 8px !important; font-size: 14.5px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-somm a::before { font-size: 12.5px !important; font-weight: 600 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-somm a:not(#d1x):hover { background: #fff !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-somm a:hover::before { color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art {
    margin-bottom: 16px !important;
    padding: 26px 30px !important;
    border: 0 !important;
    border-radius: 16px !important;
    box-shadow: var(--d1-surface) !important;
    scroll-margin-top: 96px !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art > h2 { gap: 12px !important; margin: 0 0 16px !important; padding-bottom: 14px !important; font-size: 20px !important; font-weight: 600 !important; color: var(--d1-nuit) !important; border-bottom-color: var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-num { min-width: 28px !important; height: 28px !important; border-radius: 8px !important; background: var(--d1-nuit) !important; font-size: 13.5px !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art :is(p, li) { font-size: 15.5px !important; line-height: 1.65 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art h3 { margin: 20px 0 8px !important; font-size: 16px !important; font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art :is(.cgv-bloc, .cgv-adr) { font-size: 15px !important; line-height: 1.65 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-bloc { border: 0 !important; border-radius: 12px !important; background: var(--d1-teinte) !important; padding: 16px 18px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-adr { border-left-color: var(--d1-action) !important; border-radius: 0 10px 10px 0 !important; background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-note { border: 0 !important; border-left: 3px solid var(--d1-action) !important; border-radius: 0 12px 12px 0 !important; background: var(--d1-teinte) !important; padding: 16px 18px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-alerte { border: 0 !important; border-left: 3px solid #c98a2c !important; border-radius: 0 12px 12px 0 !important; background: #fdf6ea !important; padding: 16px 18px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-tarif { border-color: var(--d1-filet) !important; border-radius: 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-tarif-tete { background: var(--d1-teinte) !important; border-bottom-color: var(--d1-filet) !important; padding: 14px 18px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-tarif-prix { font-size: 22px !important; font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-tarif-prix small { font-size: 13px !important; font-weight: 500 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-pill { border-color: var(--d1-filet) !important; font-size: 13px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-tarif-corps { padding: 14px 18px 6px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-poste-montant { width: 104px !important; font-size: 15px !important; font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-poste-nom { font-size: 15px !important; font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-poste-txt { font-size: 14px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-opt { font-size: 15px !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-opt-prix { font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-legende { font-size: 13.5px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art a { color: var(--d1-lien) !important; }
@media (max-width: 991.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art { padding: 20px 18px !important; border-radius: 14px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art > h2 { font-size: 18px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-poste { flex-direction: column !important; gap: 2px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cgv-art .cgv-poste-montant { width: auto !important; text-align: left !important; }
}

/* 36e. Connexion, mot de passe oublie, reinitialisation : la meme carte.
   La reinitialisation n'a pas la classe .cg-compte-card (carte Bootstrap
   « card p-4 ») : elle est visee par sa place dans la page. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).bg-body-tertiary:not(:has(header.navbar.sticky-top)) { background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-compte-card, main:not(.content-wrapper) .row.justify-content-center > .card) {
    max-width: 520px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 40px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: var(--d1-surface-haute) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) main:not(.content-wrapper) .row.justify-content-center > .card { flex: 0 0 auto !important; width: 100% !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-compte-card, main:not(.content-wrapper) .row.justify-content-center > .card) > header.navbar .navbar-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: var(--d1-nuit) !important;
    text-decoration: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-compte-card, main:not(.content-wrapper) .row.justify-content-center > .card) > header.navbar .offcanvas-title {
    margin: 0 0 0 0 !important;
    font-size: 20px !important;
    font-weight: 650 !important;
    letter-spacing: -.015em !important;
    color: var(--d1-nuit) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-compte-card, main:not(.content-wrapper) .row.justify-content-center > .card) > header.navbar .offcanvas-title .fs-sm { font-size: 15px !important; font-weight: 500 !important; letter-spacing: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-compte-titre, main:not(.content-wrapper) .row.justify-content-center > .card > h1) {
    margin: 0 0 6px !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    letter-spacing: -.015em !important;
    color: var(--d1-nuit) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-compte-card, main:not(.content-wrapper) .row.justify-content-center > .card) > .nav.fs-sm { font-size: 16px !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-compte-card, main:not(.content-wrapper) .row.justify-content-center > .card) .form-control-lg { height: 52px !important; border-radius: 10px !important; font-size: 16px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-compte-card, main:not(.content-wrapper) .row.justify-content-center > .card) .btn-lg { min-height: 52px !important; border-radius: 10px !important; font-size: 16px !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-compte-card, main:not(.content-wrapper) .row.justify-content-center > .card) > footer .nav-link { color: var(--d1-lien) !important; font-size: 15px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-compte-card, main:not(.content-wrapper) .row.justify-content-center > .card) > footer p { color: var(--d1-texte-2) !important; font-size: 13.5px !important; }
@media (max-width: 575.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) main:not(.content-wrapper) .row.justify-content-center.p-5 { padding: 24px 12px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-compte-card, main:not(.content-wrapper) .row.justify-content-center > .card) { padding: 28px 22px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-compte-titre, main:not(.content-wrapper) .row.justify-content-center > .card > h1) { font-size: 24px !important; }
}

/* 36f. Bandeau bleu des pages espace client et de validation
   (breadcrumb4-bar : suivi de dossier, compte, validation) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.breadcrumb4-bar, .breadcrumb4-bar-mobile) {
    background-color: var(--d1-nuit) !important;
    background-image:
        radial-gradient(circle at calc(100% - 120px) 60px, rgba(255,255,255,.055) 180px, transparent 180.5px) !important;
    background-repeat: no-repeat !important;
    box-shadow: none !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.breadcrumb4-bar, .breadcrumb4-bar-mobile) .badge.bg-info-subtle {
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.1) !important;
    color: #dbe6f0 !important;
    font-weight: 500 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .bc-step { border-width: 1px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .bc-step--active { color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-bc-compte-titre { font-weight: 600 !important; letter-spacing: -.015em !important; color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-bc-compte-sous { color: var(--d1-sur-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-bc-compte-fil a:not(#d1x) { color: var(--d1-sur-nuit) !important; text-decoration: none !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-bc-compte-fil a:not(#d1x):hover { color: #fff !important; text-decoration: underline !important; }

/* 36g. Espace client : titre du dossier, statut, onglets, cartes */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main.content-wrapper { background: var(--d1-fond) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main > section.container h1.h2 { font-size: 28px !important; font-weight: 600 !important; letter-spacing: -.015em !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main > section.container h1.h2 + .badge { margin-top: 8px !important; padding: 5px 10px !important; border-radius: 999px !important; font-size: 13px !important; font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dossier-tab {
    border: 0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: var(--d1-surface) !important;
    color: var(--d1-texte-2) !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dossier-tab i { color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dossier-tab:hover { background: var(--d1-teinte) !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dossier-tab:hover i { color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-dossier-tab--active, .cg-dossier-tab--active:hover) { background: var(--d1-nuit) !important; color: #fff !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.cg-dossier-tab--active, .cg-dossier-tab--active:hover) i { color: #fff !important; }
/* Cartes de l'espace client */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main section.card,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client :is(.cg-traitement, .cg-info-rappel, .cg-info-docs, .cg-docs-notice) {
    border: 0 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: var(--d1-surface) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main section.card h2.h4 { font-size: 20px !important; font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main .alert-info {
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--d1-teinte) !important;
    color: var(--d1-texte) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main .alert-info a { color: var(--d1-lien) !important; font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main .alert-success { border: 0 !important; border-radius: 12px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-docs-notice { border-left: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-docs-notice-head { color: var(--d1-nuit) !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-docs-notice-head :is(i, svg) { color: var(--d1-action) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-docs-notice-list { font-size: 15px !important; line-height: 1.6 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-docs-notice-list strong { color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-traitement-titre { font-size: 20px !important; font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-traitement-sous { color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-traitement-icone:not(.cg-traitement-icone--valide) { background: var(--d1-teinte) !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-info-rappel-titre { font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-info-docs-titre { font-size: 20px !important; font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-info-docs-count { background: var(--d1-teinte) !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-info-doc { border-color: var(--d1-filet) !important; border-radius: 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-info-doc-nom { font-weight: 600 !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-info-doc-desc { color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-info-doc-btn.btn-primary { background: var(--d1-lien) !important; border-color: var(--d1-lien) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-info-doc-btn.btn-primary:hover { background: #24527a !important; border-color: #24527a !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-info-doc-btn.btn-outline-secondary { border-color: var(--d1-filet) !important; color: var(--d1-lien) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-info-doc-btn.btn-outline-secondary:hover { background: var(--d1-teinte) !important; color: var(--d1-nuit) !important; }
/* Tableau des pieces (etape 7) */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main .table { --bs-table-bg: transparent !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main .table th { font-weight: 600 !important; color: var(--d1-texte) !important; }

/* 36h. Validation de la commande */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-valid-titre { font-weight: 600 !important; letter-spacing: -.015em !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-valid-sous { color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-valid-acces,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-valid-etapes { border: 0 !important; border-radius: 16px !important; background: #fff !important; box-shadow: var(--d1-surface) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-valid-acces-titre { font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-valid-infos dt { color: var(--d1-texte-2) !important; font-weight: 500 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-valid-infos dd { color: var(--d1-texte) !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-valid-etapes-titre { font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-valid-num { background: var(--d1-nuit) !important; color: #fff !important; font-weight: 600 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-valid-liste strong { color: var(--d1-texte) !important; font-weight: 600 !important; }

/* 36i. Complement de paiement : le recapitulatif a les reglages de la
   page de paiement (libelle sans capitales, montant en bleu nuit). */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement aside .card { border: 0 !important; border-radius: 16px !important; box-shadow: var(--d1-surface) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement aside .card .text-uppercase { font-size: 17px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement aside .card .fw-bold,
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-dem-corps-form > .row .d-lg-none .fw-bold { font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-dem-corps-form > .row .d-lg-none { box-shadow: var(--d1-surface) !important; border-radius: 14px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-dem-corps-form .col-lg-7 > .card.border-0.shadow-sm h2 { font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-dem-corps-form .row.justify-content-center .card { border: 0 !important; border-radius: 16px !important; box-shadow: var(--d1-surface-haute) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-paiement .cg-dem-corps-form .row.justify-content-center .card h2 { font-size: 22px !important; font-weight: 600 !important; color: var(--d1-nuit) !important; }

/* ==========================================================================
   37. Recette en production (25/11, 14h33)
   ========================================================================== */

/* 37a. /demarche/ sans vehicule (« Choisissez directement votre demarche ») :
   le premier groupe collait au bandeau (8 px). La regle 33 qui retire le
   padding ne vaut que lorsque la carte vehicule est la. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page:not(:has(.cg-dem-vehicule)) .cg-dem-corps { padding-top: 32px !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-dem-page:not(:has(.cg-dem-vehicule)) .cg-dem-corps { padding-top: 24px !important; }
}

/* 37b. Paiement mobile, recapitulatif deplie : plus de capitales espacees */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) :is(.mobile-recap-total-label-top, .mobile-recap-spec-label, .mobile-recap-section-header, .mobile-recap-section-header span) {
    text-transform: none !important;
    letter-spacing: 0 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .mobile-recap-total-label-top { font-size: 13px !important; font-weight: 500 !important; color: var(--d1-texte-2) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .mobile-recap-section-header { font-size: 14px !important; font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .mobile-recap-spec-label { font-size: 13px !important; font-weight: 500 !important; color: var(--d1-texte-2) !important; }

/* 37c. Demande de retractation : meme bandeau bleu nuit que les pages
   legales. Le titre est dans le conteneur : le fond est etendu a toute la
   largeur par une ombre, coupee aux bords de l'ecran. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-retractation main > section.py-5 { padding-top: 0 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-retractation main > section.py-5 > .container > .text-center.mb-5 {
    margin-bottom: 40px !important;
    padding: 36px 0 44px !important;
    text-align: left !important;
    background: var(--d1-nuit) !important;
    box-shadow: 0 0 0 100vmax var(--d1-nuit) !important;
    clip-path: inset(0 -100vmax) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-retractation main > section.py-5 > .container > .text-center.mb-5 > .text-uppercase {
    margin-bottom: 8px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--d1-sur-nuit) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-retractation main > section.py-5 > .container > .text-center.mb-5 > h1 {
    margin: 0 0 10px !important;
    font-size: 40px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    letter-spacing: -.02em !important;
    color: #fff !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-retractation main > section.py-5 > .container > .text-center.mb-5 > p {
    max-width: 680px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
    color: var(--d1-sur-nuit) !important;
}
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-retractation main > section.py-5 > .container > .text-center.mb-5 { margin-bottom: 28px !important; padding: 24px 0 32px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-retractation main > section.py-5 > .container > .text-center.mb-5 > h1 { font-size: 30px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-retractation main > section.py-5 > .container > .text-center.mb-5 > p { font-size: 16px !important; }
}

/* 37d. « Comment bien lire sa carte grise » : colonne de lecture (les lignes
   faisaient 1 000 px), titres en bleu nuit, interligne de lecture */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) main.content-wrapper > section.container > article {
    max-width: 760px !important;
    font-size: 16.5px !important;
    line-height: 1.7 !important;
    color: var(--d1-texte) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) main.content-wrapper > section.container > article h1 { margin-bottom: 12px !important; font-size: 36px !important; font-weight: 600 !important; line-height: 1.15 !important; letter-spacing: -.02em !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) main.content-wrapper > section.container > article :is(h2, h3) { color: var(--d1-nuit) !important; font-weight: 600 !important; letter-spacing: -.01em !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) main.content-wrapper > section.container > article h2 { margin-top: 32px !important; font-size: 24px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) main.content-wrapper > section.container > article h3 { margin-top: 28px !important; font-size: 19px !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) main.content-wrapper > section.container > article :is(p, li) { line-height: 1.7 !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) main.content-wrapper > section.container > article li { margin-bottom: 4px !important; }
@media (max-width: 767.98px) {
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) main.content-wrapper > section.container > article h1 { font-size: 28px !important; }
    html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) main.content-wrapper > section.container > article h2 { font-size: 21px !important; }
}

/* 37e. Accueil, texte de fond de page : un intertitre souligne etait en
   capitales (« Liste des vehicules non soumis a la taxe pollution ») */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-accueil section.py-5.fs-sm :is(u, .mt-4) { text-transform: none !important; letter-spacing: 0 !important; }

/* 37f. Espace client, recette connectee (25/11, 14h53) */
/* Onglet « Informations » : l'icone fi-info-circle n'existe pas dans la
   police d'icones (onglet vide sur mobile) ; on lui donne le glyphe fi-info. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .fi-info-circle::before { content: "\f1b4" !important; }
/* Liste « Mes demandes » : cartes sans bordure, ombre de la charte */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-demande { border: 0 !important; border-radius: 16px !important; background: #fff !important; box-shadow: var(--d1-surface) !important; transition: box-shadow .18s ease !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-demande:hover { border: 0 !important; box-shadow: var(--d1-surface-survol) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d) .cg-demande-produit { font-weight: 600 !important; color: var(--d1-nuit) !important; }
/* Onglet Informations : le bloc des documents n'avait pas de marge interieure */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client .cg-info-docs { padding: 24px 26px !important; }
@media (max-width: 575.98px) { html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client .cg-info-docs { padding: 20px 18px !important; } }
/* Demande rejetee ou remboursee (etapes 9 et 11) : le texte etait pose a nu
   sur le fond gris ; il passe dans une carte comme les autres etapes. */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main .row.mt-4 > .col-12:has(> h4, > .h5) {
    flex: 1 1 auto !important;
    width: auto !important;
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * .5) !important;
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * .5) !important;
    padding: 26px 30px !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: var(--d1-surface) !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main .row.mt-4 > .col-12 > :is(h4, .h5) { font-size: 20px !important; font-weight: 600 !important; color: var(--d1-nuit) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main .row.mt-4 > .col-12 > h4.mt-5 { margin-top: 24px !important; padding-top: 20px !important; border-top: 1px solid var(--d1-filet) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main .row.mt-4 > .col-12 > p { font-size: 15.5px !important; color: var(--d1-texte) !important; }
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main .row.mt-4 > .col-12 > p:last-child { margin-bottom: 0 !important; }
/* Mon compte : Particulier / Professionnel comme dans le formulaire */
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main .nav-pills .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 0 18px !important;
    border: 1px solid var(--d1-filet) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--d1-texte-2) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}
html body:not(#d1a):not(#d1b):not(#d1c):not(#d1d).page-client main .nav-pills .btn-check:checked + .nav-link { border-color: var(--d1-action) !important; background: var(--d1-teinte) !important; color: var(--d1-nuit) !important; }
