.elementor-kit-8{--e-global-color-primary:#4F2F17;--e-global-color-secondary:#C03D27;--e-global-color-text:#4F2F17;--e-global-color-accent:#C03D27;--e-global-typography-primary-font-family:"Barlow";--e-global-typography-primary-font-weight:500;--e-global-typography-secondary-font-family:"Barlow";--e-global-typography-secondary-font-weight:600;--e-global-typography-text-font-family:"Mulish";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Barlow";--e-global-typography-accent-font-weight:600;background-color:#4F2F17;color:#4F2F17;font-family:"Mulish", sans-serif;font-size:18px;font-weight:400;line-height:1.65em;}.elementor-kit-8 e-page-transition{background-color:#FFBC7D;}.elementor-kit-8 a{color:#007D7F;}.elementor-kit-8 a:hover{color:#006A6C;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1280px;}.e-con{--container-max-width:1280px;}.elementor-widget:not(:last-child){--kit-widget-spacing:0px;}.elementor-element{--widgets-spacing:0px 0px;--widgets-spacing-row:0px;--widgets-spacing-column:0px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1199px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}:root { --couleur-brique:#C03D27; --couleur-orange-brule:#D44E28; --couleur-rouge-orange:#E65642; --couleur-ocre:#E2A82B; --couleur-or-fonce:#CD9124; --couleur-salmon:#A34B24; --couleur-espresso:#4F2F17; --couleur-brun-fonce:#503D2E; --couleur-brun:#655045; --couleur-gris-texte:#6B6256; --couleur-noir-ui:#1E140C; --couleur-blanc:#FFFFFF; --couleur-creme:#FAF6EC; --couleur-creme-clair:#EEEAC7; --couleur-sable:#E7DBA6; --couleur-bordure:#E0DDD3; --couleur-bordeaux:#913339; --couleur-rose-poudre:#8F4E51; --couleur-rose-clair:#9E4A5A; --couleur-sarcelle:#007D7F; --couleur-sarcelle-vif:#068789; --couleur-sauge:#8EBEA8; --aplat-espresso-84:rgba(79,47,23,0.84); --aplat-espresso-94:rgba(79,47,23,0.94); --aplat-bordeaux-88:rgba(145,51,57,0.88); --aplat-rose-poudre-92:rgba(143,78,81,0.92); --aplat-salmon-88:rgba(163,75,36,0.88); --aplat-gris-90:rgba(107,98,86,0.90); --aplat-rose-clair-88:rgba(158,74,90,0.88); --voile-espresso-55:rgba(79,47,23,0.55); --voile-espresso-40:rgba(79,47,23,0.40); --voile-espresso-0:rgba(79,47,23,0); --filet-creme-28:rgba(238,234,199,0.28); --entete-creme-96:rgba(250,246,236,0.96); --police-titres:Barlow Condensed; --police-texte:Mulish; --espace-4:4px; --espace-8:8px; --espace-16:16px; --espace-24:24px; --espace-32:32px; --espace-48:48px; --espace-64:64px; --espace-96:96px; --espace-128:128px; --espace-160:160px; --largeur-conteneur:1280px; --largeur-surface:1040px; --largeur-lecture:680px; --rayon-controle:2px; --hauteur-controle:48px; --hauteur-entete:88px; --taille-legende:0.8125rem; --taille-bouton:1rem; --taille-nav:0.9375rem; --taille-mention:0.875rem; --taille-display:clamp(2.5rem, 1.268rem + 5.258vw, 6rem); --taille-h1:clamp(1.875rem, 1.567rem + 1.315vw, 2.75rem); --taille-h2:clamp(1.5rem, 1.368rem + 0.563vw, 1.875rem); --taille-h3:clamp(1.1875rem, 1.144rem + 0.188vw, 1.3125rem); --taille-chapo:clamp(1.25rem, 1.118rem + 0.563vw, 1.625rem); --taille-corps:clamp(1.0625rem, 1.041rem + 0.094vw, 1.125rem); --taille-petit:clamp(0.875rem, 0.853rem + 0.094vw, 0.9375rem); --taille-surtitre:clamp(0.75rem, 0.728rem + 0.094vw, 0.8125rem); --taille-chiffre:clamp(2.75rem, 2.134rem + 2.629vw, 4.5rem); --espace-section:clamp(4rem, 2.591rem + 6.009vw, 8rem); --marge-laterale:clamp(1.5rem, 0.62rem + 3.756vw, 4rem); --surface-marge-verticale:clamp(2rem, 1.296rem + 3.005vw, 4rem); --surface-marge-horizontale:clamp(1.5rem, 0.268rem + 5.258vw, 5rem); --gouttiere:clamp(1rem, 0.648rem + 1.502vw, 2rem); --duree-survol:160ms; --duree-ouverture:240ms; --filet-creme-60:rgba(238,234,199,0.6); --filet-bordure-50:rgba(224,221,211,0.5); --couleur-rouge-bandeau:#9E292D; --couleur-jaune:#FFC824; --couleur-jaune-clair:#FFDE7A; --couleur-gris-rubrique:#6B6256; --couleur-gris-nav:#555555; --couleur-orange-carte:#FFA61A; --voile-blanc-12:rgba(255,255,255,0.12); --voile-blanc-20:rgba(255,255,255,0.2); --voile-blanc-60:rgba(255,255,255,0.6); --voile-noir-30:rgba(0,0,0,0.3); --couleur-salmon-clair:#EB8C65; --voile-blanc-85:rgba(255,255,255,0.85); --couleur-sable-fiche:#EACF8C; }
/* Start custom CSS *//* =====================================================================
   Chiwarà Project : compléments du kit
   Refonte du 14 octobre 2026 : le site d'origine (Wix) est la référence graphique.
   Uniquement ce que les éléments V4 n'expriment pas nativement.
   ===================================================================== */

/* 1. Fond de page photographique fixe, sous aplat de couleur (calque .ch-fond
      injecté par wp-content/novamira-sandbox/chiwara-fond.php, réglé par page
      dans le champ ACF « Fond de page »). Photo à 15 %, immobile au défilement.
      Contraste (22 oct. 2026) : la photo est posée en mode « produit » (multiply), elle ne peut
      qu'assombrir l'aplat ; le contraste du texte blanc se calcule donc sur l'aplat seul. */
body { background-color: var(--ch-fond-couleur, #FFFFFF); }
.ch-fond { position: fixed; inset: 0; z-index: -1; pointer-events: none; background-color: var(--ch-fond-couleur, #FFFFFF); }
.ch-fond::after { content: ""; position: absolute; inset: 0; background-image: var(--ch-fond-photo, none); background-size: cover; background-position: center; opacity: 0.15; mix-blend-mode: multiply; }
.site-main, .page-content, .elementor { background-color: transparent; }

/* 2. En-tête blanc collant, comme l'original. */
.elementor-location-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .elementor-location-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .elementor-location-header { top: 46px; } }

/* 3. Rubrique active dans la navigation (classes posées par chiwara-theme.php). */
.ch-rubrique-vision .ch-nav-lien:has(a[href$="/vision/"]),
.ch-rubrique-design .ch-nav-lien:has(a[href$="/conception-construction/"]),
.ch-pilier-design:not(.ch-rubrique-projets) .ch-nav-lien:has(a[href$="/conception-construction/"]),
.ch-rubrique-training .ch-nav-lien:has(a[href$="/formation-incubation/"]),
.ch-pilier-training:not(.ch-rubrique-projets) .ch-nav-lien:has(a[href$="/formation-incubation/"]),
.ch-rubrique-research .ch-nav-lien:has(a[href$="/recherche-developpement/"]),
.ch-pilier-research:not(.ch-rubrique-projets) .ch-nav-lien:has(a[href$="/recherche-developpement/"]),
.ch-rubrique-our-network .ch-nav-lien:has(a[href$="/notre-reseau/"]),
.ch-rubrique-environmental-policy .ch-nav-lien:has(a[href$="/politique-environnementale/"]),
.ch-rubrique-contact .ch-nav-lien:has(a[href$="/contact/"]),
.ch-rubrique-projets .ch-nav-lien:has(a[href$="/projets/"]) { color: var(--couleur-gris-nav); }

/* 3 quater. Bouton « Nous contacter » de l'en-tête (aplat bordeaux) et du menu mobile (aplat jaune sur bordeaux) :
         l'anneau de focus suit le fond de page, pas la couleur du texte du bouton (22 oct. 2026). */
.elementor a[data-id="b84d02e6"]:focus-visible { outline-color: var(--couleur-bordeaux); }
.elementor a[data-id="5d27e0b4"]:focus-visible { outline-color: var(--couleur-blanc); }

/* 3 quinquies. Boutons de contact des pages (aplat jaune sur fond coloré, bordeaux sur fond blanc) : anneau de focus
         blanc sur les aplats colorés, bordeaux sur fond blanc ; le contenu principal reçoit le focus du lien d'évitement
         sans contour (22 oct. 2026). */
.elementor a[data-id="93ee4ac2"]:focus-visible, .elementor a[data-id="9e7ebfd7"]:focus-visible, .elementor a[data-id="d8db7222"]:focus-visible, .elementor a[data-id="039eae72"]:focus-visible, .elementor a[data-id="6ba426fd"]:focus-visible, .elementor a[data-id="7aebfc44"]:focus-visible, .elementor a[data-id="4ed5c87f"]:focus-visible, .elementor a[data-id="cbabe067"]:focus-visible, .elementor a[data-id="e23b8f67"]:focus-visible { outline-color: var(--couleur-blanc); }
.elementor a[data-id="3751986d"]:focus-visible { outline-color: var(--couleur-bordeaux); }
main#content:focus { outline: none; }

/* 3 bis. Tuile jaune : texte noir chaud. Le blanc sur jaune plafonne à 1,5:1, ombre portée comprise ;
         le noir UI tient 6:1 au minimum, photo au survol comprise (22 oct. 2026). */
.ch-fond-jaune.ch-tuile :is(.ch-tuile-titre, .ch-tuile-texte, .ch-fleche) { color: var(--couleur-noir-ui); }

/* 3 ter. Titres en salmon sur les pages bordeaux ou rouge (Vision, 404) : la teinte d'origine, plus claire,
         garde son contraste sur ces fonds sombres (3,2:1 au moins, titres de 40 px). Ailleurs, la classe
         ch-texte-salmon prend le salmon assombri, lisible sur blanc. */
body:is(.ch-fond-bordeaux, .ch-fond-rouge) .ch-texte-salmon { color: var(--couleur-salmon-clair); }

/* 4. Diaporama d'accueil : fondu enchaîné en CSS pur, 4 vues de 4 s (6 s jusqu'au 13/11/2026).
      Mouvements réduits : le fondu enchaîné est conservé (aucun déplacement), seul le glissement du titre est retiré.
      Avant le 13/11/2026 la première vue restait fixe : les visiteurs dont l'appareil réduit les animations voyaient une image figée. */
.ch-diaporama > .ch-diapo { animation: ch-fondu 16s linear infinite; }
.ch-diaporama > .ch-diapo:nth-child(1) { animation-delay: -1s; }
.ch-diaporama > .ch-diapo:nth-child(2) { animation-delay: 3s; }
.ch-diaporama > .ch-diapo:nth-child(3) { animation-delay: 7s; }
.ch-diaporama > .ch-diapo:nth-child(4) { animation-delay: 11s; }
.ch-diaporama > .ch-diapo .ch-diapo-titre { animation: ch-mot 16s ease-out infinite; animation-delay: inherit; }
@keyframes ch-fondu { 0% { opacity: 0; } 6.25% { opacity: 1; } 25% { opacity: 1; } 31.25% { opacity: 0; } 100% { opacity: 0; } }
/* Voile en dégradé sous le titre de chaque vue : le titre blanc tient 3:1 même sur un ciel clair. */
.ch-diaporama > .ch-diapo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(30, 20, 12, 0.6) 0%, rgba(30, 20, 12, 0.5) 40%, rgba(30, 20, 12, 0) 75%); }
.ch-diaporama > .ch-diapo .ch-diapo-titre { z-index: 2; }
@keyframes ch-mot { 0%, 5% { opacity: 0; transform: translateY(14px); } 9% { opacity: 1; transform: none; } 25% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes ch-mot-fixe { 0%, 5% { opacity: 0; } 9% { opacity: 1; } 25% { opacity: 1; } 30%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .ch-diaporama > .ch-diapo .ch-diapo-titre { animation-name: ch-mot-fixe; }
}

/* 5. Survols pilotés par le parent. Photo des tuiles en mode produit : elle assombrit, sans éclaircir. */
.ch-tuile-image { mix-blend-mode: multiply; }
.ch-tuile:hover .ch-tuile-image, .ch-tuile:focus-visible .ch-tuile-image { opacity: 0.3; }
.ch-tuile:hover .ch-fleche, .ch-tuile:focus-visible .ch-fleche { transform: translateX(8px); }
.ch-carte:hover .ch-carte-image, .ch-carte:focus-visible .ch-carte-image { transform: scale(1.04); }
.ch-carte:hover .ch-carte-titre { text-decoration: underline; text-underline-offset: 4px; }
/* Carte-lien au survol : filet blanc plutôt qu'un voile plus clair, qui ferait tomber le texte blanc sous 4,5:1. */
.ch-voile-lien:is(:hover, :focus-visible) { border-color: var(--couleur-blanc); }
.ch-voile-lien:is(:hover, :focus-visible) .ch-carte-statut { text-decoration: underline; text-underline-offset: 3px; }

/* 6. Anneau de focus clavier : couleur du texte courant. */
.elementor a:focus-visible, .elementor button:focus-visible, .elementor [tabindex]:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* 7. Lisibilité. */
.elementor :is(h1, h2) { text-wrap: balance; }
.elementor p { text-wrap: pretty; }
.elementor :is(strong, b) { font-weight: 700; }
.ch-texte a, .ch-texte-moyen a, .ch-liste a, .ch-col-texte a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ch-pied-texte a, .ch-pied-petit a { color: inherit; }
/* Survol des liens courants (22 oct. 2026) : la couleur de survol du kit (sarcelle #068789) tombait à 4,3:1 sur blanc
   et sous 2:1 sur les fonds colorés. Les liens sans classe gardent la couleur de leur texte et marquent le survol
   par un soulignement plus épais. */
.elementor a:not([class]):is(:hover, :focus-visible) { color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* 8. Conteneurs atomiques dimensionnés par leur contenu (neutralise --width:100% hérité de .e-con). */
.elementor .e-con.e-atomic-element { --width: auto; }

/* 9. Carte d'Afrique : pays d'intervention jaunes, blancs au survol (demande du client, 23/10/2026) ;
      la liste voisine garde son survol jaune ; carte et liste sont synchronisées par le script de chiwara-pays.php (classes
      .est-survolable, .est-lien, .est-actif, .a-un-actif), qui ajoute l'infobulle et envoie le clic
      vers la section du pays sur /projets/. Liseré blanc sur les autres pays, trait d'épaisseur
      constante (non-scaling-stroke). [id="carte-td"] plutôt que #carte-td : garde une spécificité
      de classe, que .est-actif surpasse. */
.ch-carte-afrique { position: relative; }
.ch-carte-afrique .pays { fill: transparent; stroke: #FFFFFF; stroke-opacity: 0.75; stroke-width: 1px; stroke-linejoin: round; transition: opacity 0.25s ease, fill 0.25s ease; }
.ch-carte-afrique :is(.pays, .pays path) { vector-effect: non-scaling-stroke; }
.ch-carte-afrique :is(.pays-mission, .pays-reseau, [id="carte-td"]) { fill: var(--couleur-jaune, #FFC824); stroke: var(--ch-fond-couleur, #913339); stroke-opacity: 1; }
.ch-carte-afrique .pays.est-lien { cursor: pointer; }
.ch-carte-afrique .pays.est-survolable:hover, .ch-carte-afrique .pays.est-actif { fill: #FFFFFF; opacity: 1; }
.ch-carte-afrique.a-un-actif :is(.pays-mission, .pays-reseau, [id="carte-td"]):not(.est-actif) { opacity: 0.35; }
.ch-carte-afrique .pays:focus { outline: none; }
.ch-carte-afrique .pays:focus-visible { stroke: #FFFFFF; stroke-width: 2.5px; }
.ch-carte-infobulle { position: absolute; top: 0; left: 0; z-index: 20; display: flex; flex-direction: column; gap: 3px; width: max-content; max-width: 260px; padding: 10px 14px 12px; background-color: var(--couleur-noir-ui, #1E140C); color: var(--couleur-blanc, #FFFFFF); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); pointer-events: none; opacity: 0; transition: opacity 0.15s ease; }
.ch-carte-infobulle.est-visible { opacity: 1; }
.ch-carte-infobulle[hidden] { display: none; }
.ch-infobulle-nom { font-family: var(--police-titres); font-size: 18px; font-weight: 500; line-height: 1.1; letter-spacing: 0.03em; text-transform: uppercase; color: var(--couleur-jaune); }
.ch-infobulle-resume { font-family: var(--police-texte); font-size: 14px; line-height: 1.35; }
.ch-infobulle-detail { font-family: var(--police-texte); font-size: 13px; line-height: 1.35; color: var(--voile-blanc-60, rgba(255, 255, 255, 0.6)); }
.ch-infobulle-action { margin-top: 4px; font-family: var(--police-texte); font-size: 13px; line-height: 1.35; color: var(--couleur-jaune-clair); }
.ch-rangee:has(> .ch-carte-afrique) .ch-pays-nom { color: var(--couleur-blanc); transition: color 0.25s ease; }
.ch-rangee:has(> .ch-carte-afrique) :is(.ch-pays-ligne:is(:hover, :focus-visible), .ch-pays-ligne.est-actif) .ch-pays-nom { color: var(--couleur-jaune); }
.ch-rangee:has(> .ch-carte-afrique) .ch-pays-ligne.est-actif { background-color: var(--voile-blanc-12); }

/* 10. Mouvements réduits. */
@media (prefers-reduced-motion: reduce) {
  .elementor *, .elementor *::before, .elementor *::after { transition-duration: 0.01ms !important; }
}
/* 10b. Fiches projet (CPT projet) : modèles Theme Builder « Fiche projet » et « Page Projets », boucles des pages.
   Présentation = contenu de l'article (widget Contenu de l'article, classe ch-presentation), galerie = code court [chiwara_projet champ="galerie"].
   Un champ laissé vide dans la fiche masque l'élément correspondant. */
.ch-presentation p { font-family: var(--police-texte); font-weight: 300; font-size: 20px; color: var(--couleur-blanc); line-height: 1.45; text-align: justify; hyphens: auto; margin: 0; }
.ch-presentation p + p { margin-top: 24px; }
@media (max-width: 767px) { .ch-presentation p { font-size: 17px; text-align: left; } }
.ch-galerie-projet { width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; }
.ch-galerie-projet__image { min-width: 0; flex: 1 1 200px; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ch-galerie-widget:not(:has(.ch-galerie-projet)) { display: none; }
img.ch-image-pleine:not([src]), img.ch-carte-image:not([src]) { display: none; }
.ch-carte-cadre:not(:has(img[src])) { display: none; }
.ch-carte-cadre:has(img[src]) + .ch-carte-vide { display: none; }
.ch-fiche-col:has(> .ch-col-texte:empty) { display: none; }
.ch-voile:has(> .ch-texte-moyen:empty) { display: none; }
.ch-rangee:has(> .ch-voile):not(:has(> .ch-voile > .ch-texte-moyen:not(:empty))) { display: none; }
.ch-colonne > p.ch-texte-moyen:empty { display: none; }
[data-chiwara="projets-lies"]:not(:has([role="listitem"])) { display: none; }
.elementor .ch-grille[role="list"] { display: flex; }
.ch-grille > [role="listitem"] { display: contents; }
/* Cartes d'une même rangée : la grille étire les cartes à la même hauteur, et l'espace libre passe au-dessus du titre.
   Les images (ou l'encart « Mission d'étude ») restent ainsi alignées, même quand un titre tient sur plus de lignes. */
.elementor .ch-grille { align-items: stretch; }
.elementor .ch-carte > .ch-carte-titre { margin-top: auto; }

/* 11. Formulaire de contact (Gravity Forms, thème Orbital). Couleurs réglées dans le code court de la page Contact ;
      ici, typographie des champs et du bouton. Variables posées sous l'enveloppe du formulaire, car le bloc de styles
      que Gravity Forms imprime pour chaque formulaire (sélecteur #gform_wrapper_N) l'emporte sur l'enveloppe elle-même. */
.ch-formulaire .gform_fields { --gf-ctrl-font-size: 16px; --gf-ctrl-label-font-size-primary: 15px; }
.ch-formulaire .gform_footer { --gf-ctrl-btn-font-family: var(--police-titres); --gf-ctrl-btn-font-size: 20px; --gf-ctrl-btn-font-weight: 500; --gf-ctrl-btn-letter-spacing: 0.04em; --gf-ctrl-btn-text-transform: uppercase; --gf-ctrl-btn-padding-x: 32px; --gf-ctrl-btn-radius: 2px; }
.ch-formulaire .gform_footer .gform_button:hover { --gf-ctrl-btn-bg-color-hover-primary: var(--couleur-rouge-bandeau); }
.ch-formulaire .gfield_consent_label a { color: var(--couleur-bordeaux); text-decoration: underline; text-underline-offset: 3px; }
.ch-formulaire .gform_confirmation_message { font-family: var(--police-texte); font-size: 18px; line-height: 1.5; color: var(--couleur-bordeaux); padding: 24px 0; }

/* 12. Bandeau cookies (SEOPress). Couleurs de base réglées dans SEOPress > Analytics > Cookies. Ici, 12 nov. 2026 :
      neutralisation du rose du thème Hello (focus) et du sarcelle du kit (survol des liens), même survol jaune
      pour « Accept », « Decline » et « Save my choices » (même poids visuel), « Customize » et le lien de la
      politique cookies en jaune clair au survol, textes du panneau « Customize » en blanc. */
body .seopress-user-consent { font-family: var(--police-texte); color: var(--couleur-blanc); }
body .seopress-user-consent.seopress-user-message:focus { outline: none; }
body .seopress-user-consent button { transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
body .seopress-user-consent button:not(#seopress-user-consent-customize),
body .seopress-user-consent button:not(#seopress-user-consent-customize):focus { background: var(--couleur-blanc); color: var(--couleur-bordeaux); border: 2px solid var(--couleur-blanc) !important; box-shadow: none; transform: none; text-decoration: none; }
body .seopress-user-consent button:not(#seopress-user-consent-customize):is(:hover, :focus-visible) { background: var(--couleur-jaune-clair); color: var(--couleur-bordeaux); border-color: var(--couleur-jaune-clair) !important; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); transform: translateY(-1px); }
body .seopress-user-consent #seopress-user-consent-customize,
body .seopress-user-consent #seopress-user-consent-customize:focus { background: none; color: var(--couleur-blanc); border: 0; box-shadow: none; transform: none; text-decoration: underline 1px; text-underline-offset: 3px; }
body .seopress-user-consent #seopress-user-consent-customize:is(:hover, :focus-visible) { background: none; color: var(--couleur-jaune-clair); text-decoration: underline 2px; text-underline-offset: 3px; }
body .seopress-user-consent button:focus-visible { outline: 2px solid var(--couleur-blanc); outline-offset: 3px; }
body .seopress-user-consent a { color: var(--couleur-blanc); text-decoration: underline 1px; text-underline-offset: 3px; transition: color .2s ease; }
body .seopress-user-consent a:is(:hover, :focus-visible) { color: var(--couleur-jaune-clair); opacity: 1; text-decoration: underline 2px; text-underline-offset: 3px; }
body .seopress-user-consent a:focus-visible { outline: 2px solid var(--couleur-blanc); outline-offset: 2px; box-shadow: none; border-radius: 2px; }
body .seopress-user-consent .seopress-user-consent-categories legend,
body .seopress-user-consent .seopress-user-consent-category strong { color: var(--couleur-blanc); }
body .seopress-user-consent .seopress-user-consent-category { border-top-color: rgba(255, 255, 255, .2); }
body .seopress-user-consent .seopress-user-consent-category:first-of-type { border-top: 0; }
/* 13. Page Projets dynamique (modèle Theme Builder 618) : la liste des pays et les sections par pays sont des
   boucles de termes « pays » (Query ID chiwara_pays_actifs : pays ayant un projet publié, ordre de Projets > Pays).
   Les enveloppes de boucle s'effacent pour que lignes et sections gardent leur mise en page d'origine.
   Introduction d'une section = description du pays (code court [chiwara_pays champ="description"]). */
.elementor div[data-chiwara="boucle-liste-pays"], .elementor div[data-chiwara="boucle-liste-pays"] > div[role="list"], .elementor div[data-chiwara="boucle-liste-pays"] > div[role="list"] > div[role="listitem"],
.elementor div[data-chiwara="boucle-sections-pays"], .elementor div[data-chiwara="boucle-sections-pays"] > div[role="list"], .elementor div[data-chiwara="boucle-sections-pays"] > div[role="list"] > div[role="listitem"] { display: contents; }
.ch-pays-intro p { font-family: var(--police-texte); font-weight: 300; font-size: 20px; color: var(--couleur-blanc); line-height: 1.45; text-align: justify; hyphens: auto; margin: 0; }
.ch-pays-intro p + p { margin-top: 32px; }
@media (max-width: 767px) { .ch-pays-intro p { font-size: 17px; text-align: left; } }
.ch-pays-intro-widget:not(:has(.ch-pays-intro)) { display: none; }

/* 13. Écrans tactiles (1199 px et moins), 22 oct. 2026 : zones de clic d'au moins 24 px de haut (WCAG 2.5.8)
      sans changer la mise en page. Le rembourrage vertical d'un lien en ligne agrandit sa zone de clic
      sans déplacer le texte ; pour les langues, la marge négative compense le rembourrage horizontal. */
@media (max-width: 1199px) {
  .elementor :is(p, span, h2, h3, h4):not(.ch-lien, .ch-menu-lien, .ch-lien-bordeaux) > a.e-paragraph-link-base:only-child { padding-block: 6px; }
  .elementor :is(p, li) a:not([class]) { padding-block: 6px; }
  .elementor .ch-langue > a.e-paragraph-link-base { padding: 10px 6px; margin-inline: -6px; }
  .gform_wrapper.gform-theme--framework { --gf-ctrl-choice-size: 24px; --gf-ctrl-choice-size-md: 24px; --gf-ctrl-choice-size-lg: 24px; }
}

/* 13. Fil d'Ariane des fiches projet (code court [chiwara_fil_ariane], chiwara-fil-ariane.php) : même typographie
      que l'ancien lien de retour « ← Conception » qu'il remplace. Séparateur décoratif, non lu par les lecteurs d'écran. */
.ch-fil-ariane ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; list-style: none; margin: 0 0 8px; padding: 0; font-family: var(--police-texte); font-weight: 600; font-size: 14px; line-height: 1.5; letter-spacing: 0.04em; text-transform: uppercase; color: var(--couleur-blanc); }
.ch-fil-ariane li { margin: 0; }
.ch-fil-ariane li + li::before { content: "›"; content: "›" / ""; margin-right: 10px; }
.ch-fil-ariane a { color: inherit; text-decoration: none; }
.ch-fil-ariane a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ch-fil-ariane [aria-current="page"] { font-weight: 400; }

/* 14. Ancres de page (Références & certifications) : la section visée s'arrête sous l'en-tête collant. */
.ch-section[id] { scroll-margin-top: 96px; }

/* 14. Liens fléchés « … → » (classes globales ch-lien et ch-pied-lien), 12 nov. 2026 : l'état de survol de la classe
      porte sur le paragraphe entier, plus large que le lien, si bien que la couleur changeait sur toute la largeur.
      Le paragraphe ne capte plus le pointeur, seul le lien le fait : la couleur ne change qu'au survol du lien.
      Même couleur au focus clavier du lien. */
.elementor :is(.ch-lien, .ch-pied-lien) { pointer-events: none; }
.elementor :is(.ch-lien, .ch-pied-lien) a { pointer-events: auto; }
.elementor .ch-lien:has(a:focus-visible) { color: var(--couleur-jaune-clair); }
.elementor .ch-pied-lien:has(a:focus-visible) { color: var(--couleur-salmon); }

/* 15. Notre réseau : le pays d'un cabinet associé renvoie vers ses projets (13/11/2026). */
.ch-pays-nom a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ch-pays-nom a::after { content: " \2192"; }
.ch-pays-nom a:hover, .ch-pays-nom a:focus-visible { text-decoration-thickness: 2px; }/* End custom CSS */