/*
Theme Name: CDDNET (Blocksy)
Template: blocksy
Description: Thème enfant CDDNET — charte graphique 2026, styles des pages Elementor.
Author: CDDNET
Version: 1.1.5
Text Domain: blocksy-cddnet
*/
/* ===== Adaptation Elementor (avant la feuille de la maquette) =====
   Les conteneurs Elementor se comportent comme de simples blocs : la maquette
   décide seule de leur affichage (flex, grid), de leurs marges et espacements. */
body.cddnet { --kit-widget-spacing: 0px; }
body.cddnet .e-con {
  --display: block; --flex-direction: row; --flex-wrap: nowrap;
  --justify-content: normal; --align-items: normal; --align-content: normal;
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px;
  --widgets-spacing: 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px;
  --margin-block-start: 0px; --margin-block-end: 0px;
  display: block; flex-direction: row; flex-wrap: nowrap; justify-content: normal; align-items: normal;
  padding: 0; gap: 0; margin: 0; min-width: 0; min-height: 0; width: auto;
}

/* Titres : la classe du widget porte la typographie, la balise en hérite */
body.cddnet :where(.elementor-widget-heading:has(> h1, > h2, > h3)) { font-family: var(--titres); color: var(--titre); }
body.cddnet .elementor-heading-title {
  font: inherit; color: inherit; letter-spacing: inherit; line-height: inherit;
  text-transform: inherit; text-align: inherit; margin: 0; padding: 0; text-wrap: balance; hyphens: none;
}
body.cddnet .elementor-heading-title a { color: inherit; }

/* Textes */
body.cddnet .elementor-widget-text-editor > :last-child { margin-bottom: 0; }
body.cddnet .txt > p { margin: 0 0 1em; }

/* Images : la boîte du widget porte dimensions, rayon et cadrage */
body.cddnet .elementor-widget-image { line-height: 0; }
body.cddnet .elementor-widget-image a { display: contents; }
body.cddnet .elementor-widget-image img {
  display: block; width: 100%; height: 100%; max-width: none;
  object-fit: inherit; object-position: inherit; border-radius: inherit; box-shadow: none; border: 0;
}

/* Icônes : le SVG devient l'enfant direct de la tuile */
body.cddnet .elementor-widget-icon .elementor-icon-wrapper,
body.cddnet .elementor-widget-icon .elementor-icon { display: contents; color: inherit; fill: inherit; font-size: inherit; }
body.cddnet .elementor-widget-icon { line-height: 0; }
body.cddnet .elementor-widget-icon svg { width: 100%; height: 100%; display: block; }
:root {
  --bleu: #223B82;
  --turquoise: #02879E;
  --orange: #F7A95E;
  --noir: #1D1D1B;
  --beige: #FFF2DC;
  --fond: #F5F7FC;
  --fond-teinte: #E8ECF7;
  --blanc: #FFFFFF;
  --texte: #5C6378;
  --titre: #16245A;
  --trait: #E3E7F2;
  --ombre: 0 18px 40px -18px rgba(34, 59, 130, .22);
  --ombre-forte: 0 22px 50px -16px rgba(34, 59, 130, .32);
  --rayon: 10px;
  --titres: "magistral", system-ui, sans-serif;
  --corps: "Lato", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.cddnet.cddnet {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 400 15px/1.7 var(--corps);
  overflow-x: hidden;
}
body.cddnet.cddnet img { display: block; max-width: 100%; }
body.cddnet.cddnet a { color: inherit; text-decoration: none; }
body.cddnet.cddnet h1, body.cddnet.cddnet h2, body.cddnet.cddnet h3 { font-family: var(--titres); color: var(--titre); margin: 0; hyphens: none; text-wrap: balance; }
body.cddnet.cddnet p { margin: 0 0 1em; }
body.cddnet.cddnet .enveloppe { width: min(1140px, 100% - 32px); margin-inline: auto; }
body.cddnet.cddnet .centre { text-align: center; }
body.cddnet.cddnet .btn .elementor-button {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bleu); color: var(--blanc);
  font: 700 14px/1 var(--corps);
  padding: 15px 28px; border-radius: 6px; border: 2px solid var(--bleu);
  box-shadow: 0 10px 22px -10px rgba(34, 59, 130, .7);
  transition: transform .2s, box-shadow .2s;
}
body.cddnet.cddnet .btn .elementor-button:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(34, 59, 130, .8); }
body.cddnet.cddnet .bouton-petit .elementor-button { padding: 11px 20px; font-size: 13px; }
body.cddnet.cddnet .bouton-contour .elementor-button { background: transparent; color: var(--bleu); box-shadow: none; }
body.cddnet.cddnet .entete { position: sticky; top: 0; z-index: 50; padding-top: 14px; }
body.cddnet.cddnet .entete-barre {
  display: flex; align-items: center; gap: 32px;
  background: var(--blanc); border-radius: var(--rayon);
  padding: 10px 14px 10px 22px; box-shadow: var(--ombre);
}
body.cddnet.cddnet .logo img { width: 150px; height: auto; }
body.cddnet.cddnet .menu { display: flex; gap: 30px; margin-inline: auto; }
body.cddnet.cddnet .menu a { font: 700 14px/1 var(--corps); color: var(--titre); padding: 8px 0; position: relative; }
body.cddnet.cddnet .menu a.actif { color: var(--bleu); }
body.cddnet.cddnet .menu a.actif::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--orange); border-radius: 2px; }
body.cddnet.cddnet .entete-actions { display: flex; align-items: center; gap: 18px; }
body.cddnet.cddnet .lien-tel { font: 700 13px/1 var(--corps); color: var(--titre); }
body.cddnet.cddnet .burger { display: none; }
body.cddnet.cddnet .surtitre { font: 900 12px/1 var(--corps); letter-spacing: .16em; text-transform: uppercase; color: var(--turquoise); margin-bottom: 14px; }
body.cddnet.cddnet .titre-section { font-weight: 700; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; margin-bottom: 16px; }
body.cddnet.cddnet .intro { max-width: 520px; margin: 0 auto 48px; }
body.cddnet.cddnet .hero { padding: 64px 0 120px; }
body.cddnet.cddnet .hero-grille { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
body.cddnet.cddnet .titre-hero { font-weight: 700; font-size: clamp(38px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.01em; color: var(--titre); margin-bottom: 28px; }
body.cddnet.cddnet .hero-accroche { display: flex; align-items: flex-start; gap: 14px; max-width: 420px; margin-bottom: 36px; }
body.cddnet.cddnet .hero-accroche p { margin: 0; }
body.cddnet.cddnet .pastille-jura { flex: none; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--blanc); box-shadow: var(--ombre); }
body.cddnet.cddnet .pastille-jura { display: grid; place-items: center; }
body.cddnet.cddnet .pastille-jura { border: 2px solid var(--orange); }
body.cddnet.cddnet .pastille-jura img { width: 100%; height: 100%; object-fit: cover; }
body.cddnet.cddnet .hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
body.cddnet.cddnet .lien-lecture { display: inline-flex; align-items: center; gap: 12px; font: 700 14px/1 var(--corps); color: var(--titre); }
body.cddnet.cddnet .rond-lecture { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blanc); border: 3px solid var(--orange); border-left-color: var(--fond-teinte); box-shadow: var(--ombre); }
body.cddnet.cddnet .rond-lecture svg { width: 18px; fill: var(--orange); }
body.cddnet.cddnet .hero-visuel { position: relative; height: 560px; }
body.cddnet.cddnet .hero-cercle { position: absolute; right: 10px; top: 80px; width: 460px; height: 460px; border-radius: 50%; background: var(--bleu); }
body.cddnet.cddnet .hero-cercle::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 2px dashed rgba(34,59,130,.25); }
body.cddnet.cddnet .hero-decoupe { position: absolute; right: 10px; top: -20px; width: 460px; height: 560px; overflow: hidden; border-radius: 0 0 230px 230px; }
body.cddnet.cddnet .hero-photo { position: absolute; left: 50%; bottom: -110px; width: 470px; height: auto; transform: translateX(-55%); filter: drop-shadow(0 20px 30px rgba(10,20,60,.25)); }
body.cddnet.cddnet .carte-flottante { position: absolute; background: var(--blanc); border-radius: var(--rayon); box-shadow: var(--ombre-forte); }
body.cddnet.cddnet .carte-perf { left: 20px; top: 40px; width: 210px; padding: 16px 18px 18px; z-index: 2; }
body.cddnet.cddnet .carte-perf-tete { display: flex; align-items: center; gap: 8px; font: 700 13px/1 var(--corps); color: var(--titre); margin-bottom: 14px; }
body.cddnet.cddnet .puce-orange { width: 10px; height: 10px; border-radius: 3px; background: var(--orange); }
body.cddnet.cddnet .barre { height: 7px; background: var(--fond-teinte); border-radius: 4px; margin-top: 9px; }
body.cddnet.cddnet .barre i { display: block; height: 100%; background: var(--bleu); border-radius: 4px; }
body.cddnet.cddnet .barre:nth-child(3) i { background: var(--turquoise); }
body.cddnet.cddnet .carte-chiffres {
  left: 0; bottom: 50px; z-index: 2; width: 170px; padding: 20px 22px;
  background: var(--orange); color: var(--noir); display: grid; gap: 0;
}
body.cddnet.cddnet .carte-chiffres strong { font: 800 30px/1 var(--titres); }
body.cddnet.cddnet .carte-chiffres span { font: 700 12px/1.3 var(--corps); margin: 4px 0 14px; }
body.cddnet.cddnet .carte-chiffres span:last-child { margin-bottom: 0; }
body.cddnet.cddnet .services { padding: 40px 0 120px; }
body.cddnet.cddnet .grille-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
body.cddnet.cddnet .carte-service { background: var(--blanc); border-radius: var(--rayon); padding: 36px 32px 30px; box-shadow: var(--ombre); transition: transform .25s; }
body.cddnet.cddnet .carte-service:hover { transform: translateY(-6px); }
body.cddnet.cddnet .carte-service h3 { font-size: 20px; font-weight: 700; margin: 26px 0 10px; }
body.cddnet.cddnet .carte-service p { margin: 0; }
body.cddnet.cddnet .tuile { width: 54px; height: 54px; border-radius: 8px; display: grid; place-items: center; color: var(--blanc); }
body.cddnet.cddnet .tuile svg { width: 26px; height: 26px; }
body.cddnet.cddnet .tuile-bleu { background: var(--bleu); box-shadow: 0 10px 20px -8px rgba(34,59,130,.6); }
body.cddnet.cddnet .tuile-orange { background: var(--orange); color: var(--noir); box-shadow: 0 10px 20px -8px rgba(247,169,94,.8); }
body.cddnet.cddnet .tuile-turquoise { background: var(--turquoise); box-shadow: 0 10px 20px -8px rgba(2,135,158,.6); }
body.cddnet.cddnet .approche, body.cddnet.cddnet .community { padding: 60px 0 120px; }
body.cddnet.cddnet .split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
body.cddnet.cddnet .split-visuel { position: relative; }
body.cddnet.cddnet .split-texte .btn .elementor-button { margin-top: 10px; }
body.cddnet.cddnet .trame { position: absolute; width: 150px; height: 110px; background-image: radial-gradient(var(--bleu) 1.6px, transparent 1.8px); background-size: 14px 14px; opacity: .45; }
body.cddnet.cddnet .trame-hg { left: -30px; top: -34px; }
body.cddnet.cddnet .trame-hd { right: -36px; top: 30px; }
body.cddnet.cddnet .photo-arrondie { position: relative; width: 100%; height: 380px; object-fit: cover; border-radius: var(--rayon); box-shadow: var(--ombre-forte); }
body.cddnet.cddnet .carte-stat { right: -24px; bottom: -40px; width: 180px; padding: 18px; text-align: center; display: grid; justify-items: center; }
body.cddnet.cddnet .mini-rond { width: 34px; height: 34px; border-radius: 50%; background: var(--fond-teinte); color: var(--bleu); display: grid; place-items: center; margin-bottom: 8px; }
body.cddnet.cddnet .mini-rond svg { width: 18px; }
body.cddnet.cddnet .carte-stat strong { font: 800 28px/1 var(--titres); color: var(--titre); white-space: nowrap; }
body.cddnet.cddnet .carte-stat span:last-child { font: 700 12px/1.3 var(--corps); color: var(--turquoise); margin-top: 4px; }
body.cddnet.cddnet .split-inverse .split-texte { order: 0; }
body.cddnet.cddnet .visuel-community { height: 480px; }
body.cddnet.cddnet .aplat-bleu { position: absolute; left: 60px; right: 20px; bottom: 30px; height: 300px; background: var(--bleu); border-radius: var(--rayon); }
body.cddnet.cddnet .photo-community { position: absolute; left: 130px; bottom: 30px; width: 300px; height: 440px; object-fit: cover; object-position: 50% 30%; border-radius: var(--rayon) var(--rayon) 0 0; }
body.cddnet.cddnet .carte-reseau { left: 0; top: 40px; width: 140px; padding: 16px; display: grid; gap: 4px; }
body.cddnet.cddnet .logo-reseau { width: 30px; height: 30px; color: var(--bleu); }
body.cddnet.cddnet .carte-reseau strong { font: 700 14px/1.2 var(--corps); color: var(--titre); }
body.cddnet.cddnet .etoiles { font-size: 11px; line-height: 1.3; color: var(--turquoise); font-weight: 700; }
body.cddnet.cddnet .carte-courbe { right: -10px; bottom: 0; width: 190px; padding: 14px 16px 10px; }
body.cddnet.cddnet .carte-courbe svg { width: 100%; height: auto; }
body.cddnet.cddnet .axe { display: flex; justify-content: space-between; font-size: 10px; color: var(--texte); }
body.cddnet.cddnet .chiffres { padding: 20px 0 120px; }
body.cddnet.cddnet .grille-chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
body.cddnet.cddnet .tuile-chiffre { border-radius: var(--rayon); padding: 34px 20px 30px; text-align: center; color: var(--blanc); display: grid; gap: 4px; box-shadow: var(--ombre-forte); }
body.cddnet.cddnet .tuile-chiffre strong { font: 800 46px/1 var(--titres); }
body.cddnet.cddnet .tuile-chiffre span { font: 900 13px/1.3 var(--corps); margin-top: 8px; }
body.cddnet.cddnet .tuile-chiffre small { font-size: 12px; opacity: .85; }
body.cddnet.cddnet .fond-bleu { background: var(--bleu); color: var(--blanc); }
body.cddnet.cddnet .fond-turquoise { background: var(--turquoise); color: var(--blanc); }
body.cddnet.cddnet .fond-orange { background: var(--orange); color: var(--noir); }
body.cddnet.cddnet .fond-noir { background: var(--noir); color: var(--blanc); }
body.cddnet.cddnet .formules { padding: 20px 0 110px; }
body.cddnet.cddnet .grille-formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
body.cddnet.cddnet .carte-formule { background: var(--blanc); border-radius: var(--rayon); padding: 34px 32px; box-shadow: var(--ombre); display: flex; flex-direction: column; }
body.cddnet.cddnet .formule-tete { display: flex; align-items: center; gap: 16px; padding-bottom: 26px; border-bottom: 1px solid var(--trait); margin-bottom: 24px; }
body.cddnet.cddnet .formule-tete h3 { font-size: 20px; }
body.cddnet.cddnet .formule-tete span:not(.tuile-douce) { font-size: 13px; color: var(--texte); }
body.cddnet.cddnet .tuile-douce { width: 50px; height: 50px; border-radius: 8px; background: var(--fond-teinte); color: var(--bleu); display: grid; place-items: center; }
body.cddnet.cddnet .tuile-douce svg { width: 24px; }
body.cddnet.cddnet .liste-coches { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; font-size: 14px; }
body.cddnet.cddnet .liste-coches li { display: flex; gap: 12px; align-items: center; }
body.cddnet.cddnet .liste-coches li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--fond-teinte) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%2302879E' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }
body.cddnet.cddnet .prix { font: 800 34px/1 var(--titres); color: var(--titre); text-align: center; margin: auto 0 26px; }
body.cddnet.cddnet .carte-formule .btn .elementor-button { width: 100%; }
body.cddnet.cddnet .actualites { padding: 20px 0 110px; }
body.cddnet.cddnet .grille-actus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
body.cddnet.cddnet .carte-actu img { width: 100%; height: 210px; object-fit: cover; border-radius: var(--rayon); margin-bottom: 18px; transition: transform .3s; }
body.cddnet.cddnet .carte-actu:hover img { transform: translateY(-4px); }
body.cddnet.cddnet .carte-actu .date { font: 900 11px/1 var(--corps); letter-spacing: .12em; text-transform: uppercase; color: var(--turquoise); margin-bottom: 10px; }
body.cddnet.cddnet .carte-actu h3 { font-size: 19px; margin-bottom: 8px; }
body.cddnet.cddnet .carte-actu p:last-child { font-size: 14px; margin: 0; }
body.cddnet.cddnet .references { padding: 20px 0 110px; }
body.cddnet.cddnet .references .titre-section { margin-bottom: 44px; }
body.cddnet.cddnet .grille-refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body.cddnet.cddnet .carte-ref { background: var(--blanc); border-radius: var(--rayon); padding: 22px 24px; display: flex; align-items: center; gap: 16px; box-shadow: var(--ombre); }
body.cddnet.cddnet .initiale { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 800 14px/1 var(--titres); }
body.cddnet.cddnet .carte-ref strong { display: block; font: 700 15px/1.3 var(--corps); color: var(--titre); }
body.cddnet.cddnet .carte-ref small { font-size: 12px; color: var(--texte); }
body.cddnet.cddnet .appel { padding: 0 0 100px; }
body.cddnet.cddnet .bloc-appel { background: var(--fond-teinte); border-radius: 14px; padding: 80px 24px; }
body.cddnet.cddnet .bloc-appel .titre-section { max-width: 560px; margin: 0 auto 34px; }
body.cddnet.cddnet .champ-appel { max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 12px; background: var(--blanc); border-radius: 8px; padding: 7px 7px 7px 20px; box-shadow: var(--ombre); }
body.cddnet.cddnet .champ-appel svg { width: 20px; flex: none; color: var(--bleu); }
body.cddnet.cddnet .champ-appel input { flex: 1; min-width: 0; border: 0; outline: 0; font: 400 14px var(--corps); color: var(--titre); background: transparent; }
body.cddnet.cddnet .pied { padding-top: 40px; }
body.cddnet.cddnet .grille-pied { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; font-size: 14px; }
body.cddnet.cddnet .pied-marque img { width: 150px; height: auto; margin-bottom: 18px; }
body.cddnet.cddnet .pied-titre { font: 700 15px/1 var(--titres); color: var(--titre); margin: 6px 0 18px; }
body.cddnet.cddnet .pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
body.cddnet.cddnet .pied ul a:hover { color: var(--bleu); }
body.cddnet.cddnet .reseaux { display: flex; gap: 10px; }
body.cddnet.cddnet .reseaux a { width: 34px; height: 34px; border-radius: 50%; background: var(--bleu); color: var(--blanc); display: grid; place-items: center; }
body.cddnet.cddnet .reseaux svg { width: 16px; }
body.cddnet.cddnet .pied-bas { background: var(--bleu); color: rgba(255,255,255,.85); font-size: 12px; }
body.cddnet.cddnet .pied-bas-barre { display: flex; justify-content: space-between; padding: 16px 0; gap: 16px; flex-wrap: wrap; }
@media (max-width: 1080px) {
body.cddnet.cddnet .menu, body.cddnet.cddnet .lien-tel { display: none; }
body.cddnet.cddnet .entete-actions { margin-left: auto; }
body.cddnet.cddnet .burger { display: grid; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
body.cddnet.cddnet .burger span { width: 22px; height: 2px; background: var(--titre); border-radius: 2px; }
body.cddnet.cddnet.menu-ouvert .menu { display: grid; position: absolute; left: 16px; right: 16px; top: 84px; background: var(--blanc); border-radius: var(--rayon); padding: 20px 24px; gap: 8px; box-shadow: var(--ombre-forte); }
}
@media (max-width: 900px) {
body.cddnet.cddnet .hero { padding: 40px 0 80px; }
body.cddnet.cddnet .hero-grille, body.cddnet.cddnet .split { grid-template-columns: 1fr; gap: 60px; }
body.cddnet.cddnet .hero-visuel { height: 440px; max-width: 440px; width: 100%; margin-inline: auto; }
body.cddnet.cddnet .hero-visuel { height: 500px; }
body.cddnet.cddnet .hero-cercle, body.cddnet.cddnet .hero-decoupe { width: 380px; right: 30px; }
body.cddnet.cddnet .hero-cercle { height: 380px; top: 100px; }
body.cddnet.cddnet .hero-decoupe { height: 480px; top: 0; border-radius: 0 0 190px 190px; }
body.cddnet.cddnet .hero-photo { width: 390px; bottom: -140px; }
body.cddnet.cddnet .grille-services, body.cddnet.cddnet .grille-formules, body.cddnet.cddnet .grille-actus, body.cddnet.cddnet .grille-refs { grid-template-columns: 1fr; }
body.cddnet.cddnet .grille-chiffres { grid-template-columns: repeat(2, 1fr); gap: 16px; }
body.cddnet.cddnet .grille-pied { grid-template-columns: 1fr 1fr; }
body.cddnet.cddnet .visuel-community { max-width: 440px; width: 100%; margin-inline: auto; }
body.cddnet.cddnet .split-inverse .split-texte { order: 1; }
body.cddnet.cddnet .carte-stat { right: 10px; }
}
@media (max-width: 480px) {
body.cddnet.cddnet .entete-actions .btn .elementor-button { display: none; }
body.cddnet.cddnet .hero-visuel { height: 400px; }
body.cddnet.cddnet .hero-cercle, body.cddnet.cddnet .hero-decoupe { width: 290px; right: 0; }
body.cddnet.cddnet .hero-cercle { height: 290px; top: 100px; }
body.cddnet.cddnet .hero-cercle::after { inset: -10px; }
body.cddnet.cddnet .hero-decoupe { height: 390px; top: 0; border-radius: 0 0 145px 145px; }
body.cddnet.cddnet .hero-photo { width: 300px; bottom: -110px; }
body.cddnet.cddnet .carte-perf { width: 170px; left: 0; }
body.cddnet.cddnet .carte-chiffres { left: 0; bottom: 10px; width: 140px; padding: 16px; }
body.cddnet.cddnet .aplat-bleu { left: 30px; right: 0; }
body.cddnet.cddnet .photo-community { left: 70px; width: 240px; height: 380px; }
body.cddnet.cddnet .visuel-community { height: 420px; }
body.cddnet.cddnet .carte-courbe { right: 0; width: 150px; }
body.cddnet.cddnet .tuile-chiffre strong { font-size: 36px; }
body.cddnet.cddnet .grille-pied { grid-template-columns: 1fr; }
body.cddnet.cddnet .trame-hg { left: -10px; }
body.cddnet.cddnet .trame-hd { right: -10px; }
}
body.cddnet.cddnet .hero-page { padding: 56px 0 110px; }
body.cddnet.cddnet .hero-page-grille { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
body.cddnet.cddnet .fil { font: 700 13px/1 var(--corps); color: var(--texte); margin-bottom: 22px; }
body.cddnet.cddnet .fil a { color: var(--bleu); }
body.cddnet.cddnet .fil span { margin: 0 6px; color: var(--orange); }
body.cddnet.cddnet .titre-page { font-weight: 700; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.06; margin-bottom: 24px; }
body.cddnet.cddnet .hero-page-texte { max-width: 500px; margin-bottom: 34px; }
body.cddnet.cddnet .hero-page-centre { padding-bottom: 70px; }
body.cddnet.cddnet .hero-page-centre .titre-page { max-width: 760px; margin-inline: auto; }
body.cddnet.cddnet .hero-page-visuel { position: relative; height: 440px; }
body.cddnet.cddnet .hero-page-visuel:not(.visuel-community) .aplat-bleu { left: 70px; right: 0; top: 0; bottom: 60px; height: auto; }
body.cddnet.cddnet .photo-page { position: absolute; left: 0; right: 60px; bottom: 0; height: 340px; width: calc(100% - 60px); object-fit: cover; border-radius: var(--rayon); box-shadow: var(--ombre-forte); }
body.cddnet.cddnet .carte-ecrans { right: -10px; bottom: 30px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
body.cddnet.cddnet .carte-ecrans strong { display: block; font: 700 15px/1.2 var(--titres); color: var(--titre); }
body.cddnet.cddnet .carte-ecrans span:not(.tuile) { font-size: 12px; }
body.cddnet.cddnet .tuile-noir { background: var(--noir); box-shadow: 0 10px 20px -8px rgba(29,29,27,.6); }
body.cddnet.cddnet .grille-six { grid-template-columns: repeat(3, 1fr); }
body.cddnet.cddnet .etapes { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 22px; }
body.cddnet.cddnet .etapes li { display: flex; gap: 18px; align-items: flex-start; }
body.cddnet.cddnet .etapes .num { flex: none; width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; font: 800 18px/1 var(--titres); }
body.cddnet.cddnet .etapes strong { display: block; font: 700 17px/1.3 var(--titres); color: var(--titre); margin: 2px 0 4px; }
body.cddnet.cddnet .etapes p { margin: 0; font-size: 14px; }
body.cddnet.cddnet .carte-stat-gauche { right: auto; left: -24px; }
body.cddnet.cddnet .bloc-formulaire { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; padding: 64px; align-items: start; }
body.cddnet.cddnet .coordonnees { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
body.cddnet.cddnet .coordonnees li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--titre); }
body.cddnet.cddnet .coordonnees .mini-rond { margin: 0; background: var(--blanc); }
body.cddnet.cddnet .formulaire { background: var(--blanc); border-radius: var(--rayon); padding: 34px; box-shadow: var(--ombre); display: grid; gap: 18px; }
body.cddnet.cddnet .formulaire label { display: grid; gap: 7px; font: 700 13px/1 var(--corps); color: var(--titre); }
body.cddnet.cddnet .formulaire input, body.cddnet.cddnet .formulaire select, body.cddnet.cddnet .formulaire textarea {
  font: 400 14px/1.5 var(--corps); color: var(--titre); background: var(--fond);
  border: 1px solid var(--trait); border-radius: 6px; padding: 12px 14px; width: 100%;
}
body.cddnet.cddnet .formulaire textarea { resize: vertical; }
body.cddnet.cddnet .formulaire input:focus, body.cddnet.cddnet .formulaire select:focus, body.cddnet.cddnet .formulaire textarea:focus { outline: 2px solid var(--turquoise); outline-offset: 1px; }
body.cddnet.cddnet .champs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
body.cddnet.cddnet .formulaire .btn .elementor-button { justify-self: start; }
body.cddnet.cddnet .filtres { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: -10px; }
body.cddnet.cddnet .filtre { font: 700 13px/1 var(--corps); color: var(--titre); background: var(--blanc); border: 0; border-radius: 6px; padding: 12px 18px; cursor: pointer; box-shadow: var(--ombre); }
body.cddnet.cddnet .filtre.actif { background: var(--bleu); color: var(--blanc); }
body.cddnet.cddnet .masque { display: none !important; }
body.cddnet.cddnet .une { padding: 0 0 70px; }
body.cddnet.cddnet .carte-une { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--blanc); border-radius: var(--rayon); box-shadow: var(--ombre); overflow: hidden; }
body.cddnet.cddnet .carte-une img { width: 100%; height: 380px; object-fit: cover; }
body.cddnet.cddnet .carte-une-texte { padding: 48px; align-self: center; }
body.cddnet.cddnet .carte-une .date { font: 900 11px/1 var(--corps); letter-spacing: .12em; text-transform: uppercase; color: var(--turquoise); margin-bottom: 14px; }
body.cddnet.cddnet .contact-cartes { padding: 0 0 80px; }
body.cddnet.cddnet .grille-contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
body.cddnet.cddnet .carte-contact { background: var(--blanc); border-radius: var(--rayon); padding: 30px 26px; box-shadow: var(--ombre); transition: transform .25s; }
body.cddnet.cddnet a.carte-contact:hover { transform: translateY(-6px); }
body.cddnet.cddnet .carte-contact h3 { font-size: 18px; margin: 22px 0 6px; }
body.cddnet.cddnet .carte-contact p { margin: 0; font-weight: 700; color: var(--titre); }
body.cddnet.cddnet .photo-lieu { position: relative; margin-top: 30px; }
body.cddnet.cddnet .photo-lieu img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--rayon); }
body.cddnet.cddnet .etiquette-lieu { left: 18px; bottom: -18px; display: flex; align-items: center; gap: 8px; padding: 12px 16px; font: 700 13px/1 var(--corps); color: var(--titre); }
@media (max-width: 900px) {
body.cddnet.cddnet .hero-page-grille, body.cddnet.cddnet .bloc-formulaire, body.cddnet.cddnet .carte-une { grid-template-columns: 1fr; }
body.cddnet.cddnet .bloc-formulaire { padding: 40px 20px; gap: 40px; }
body.cddnet.cddnet .hero-page-visuel { max-width: 460px; width: 100%; margin-inline: auto; }
body.cddnet.cddnet .grille-contact { grid-template-columns: 1fr 1fr; }
body.cddnet.cddnet .carte-une-texte { padding: 30px 24px; }
body.cddnet.cddnet .carte-stat-gauche { left: 10px; }
}
@media (max-width: 480px) {
body.cddnet.cddnet .hero-page-visuel { height: 360px; }
body.cddnet.cddnet .photo-page { height: 270px; }
body.cddnet.cddnet .champs-duo, body.cddnet.cddnet .grille-contact { grid-template-columns: 1fr; }
body.cddnet.cddnet .formulaire { padding: 22px; }
body.cddnet.cddnet .carte-ecrans { right: 0; }
}
body.cddnet.cddnet .tuiles-mots .tuile-chiffre strong { font-size: clamp(22px, 2.2vw, 30px); }
body.cddnet.cddnet .hero-page-visuel.visuel-community { height: 500px; }
@media (max-width: 480px) {
body.cddnet.cddnet .hero-page-visuel.visuel-community { height: 440px; }
}
@media (max-width: 900px) {
body.cddnet.cddnet .grille-six { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 900px) {
body.cddnet.cddnet .grille-six { grid-template-columns: 1fr 1fr; }
}
body.cddnet.cddnet .legal { padding: 0 0 110px; }
body.cddnet.cddnet .carte-legal { max-width: 860px; margin: 0 auto; background: var(--blanc); border-radius: var(--rayon); padding: 56px 64px; box-shadow: var(--ombre); }
body.cddnet.cddnet .carte-legal h2 { font-size: 24px; font-weight: 700; margin: 40px 0 12px; }
body.cddnet.cddnet .carte-legal h2:first-child { margin-top: 0; }
body.cddnet.cddnet .carte-legal > :last-child { margin-bottom: 0; }
body.cddnet.cddnet .carte-legal h3 { font-size: 17px; font-weight: 700; margin: 22px 0 6px; }
body.cddnet.cddnet .carte-legal ul { margin: 0 0 1em; padding-left: 20px; }
body.cddnet.cddnet .carte-legal li { margin-bottom: 6px; }
body.cddnet.cddnet .carte-legal a { color: var(--bleu); text-decoration: underline; text-underline-offset: 2px; }
body.cddnet.cddnet .a-completer { background: var(--fond-teinte); color: var(--bleu); font-weight: 700; padding: 1px 6px; border-radius: 4px; }
@media (max-width: 480px) {
body.cddnet.cddnet .carte-legal { padding: 30px 22px; }
}
body.cddnet.cddnet .carte-actu .lien-carte { display: block; color: inherit; }
body.cddnet.cddnet .carte-actu .lien-carte:hover h3 { color: var(--bleu); }
body.cddnet.cddnet .date { font: 900 11px/1 var(--corps); letter-spacing: .12em; text-transform: uppercase; color: var(--turquoise); margin-bottom: 10px; }
body.cddnet.cddnet .date .cat-terms::before { content: "\00a0·\00a0"; }
body.cddnet.cddnet .carte-une .date { margin-bottom: 14px; }
body.cddnet.cddnet .carte-une .btn .elementor-button { margin-top: 8px; }
body.cddnet.cddnet .hero-article { padding-bottom: 60px; }
body.cddnet.cddnet .hero-article .titre-page { max-width: 860px; margin-inline: auto; }
body.cddnet.cddnet .date-article { font-size: 12px; margin: 0; }
body.cddnet.cddnet .article { padding: 0 0 110px; }
body.cddnet.cddnet .article-visuel { position: relative; }
body.cddnet.cddnet .article-visuel .trame-hd { top: -34px; right: -36px; }
body.cddnet.cddnet .photo-article { position: relative; width: 100%; height: 560px; object-fit: cover; border-radius: var(--rayon); box-shadow: var(--ombre-forte); }
body.cddnet.cddnet .article-grille { position: relative; display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; margin: -90px 56px 0; }
body.cddnet.cddnet .carte-article { background: var(--blanc); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 52px 56px; font-size: 16px; }
body.cddnet.cddnet .carte-article > :last-child { margin-bottom: 0; }
body.cddnet.cddnet .carte-article a { color: var(--bleu); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
body.cddnet.cddnet .carte-projet { position: sticky; top: 120px; background: var(--bleu); color: rgba(255,255,255,.85); border-radius: var(--rayon); padding: 34px 30px; box-shadow: var(--ombre-forte); margin-top: 130px; }
body.cddnet.cddnet .carte-projet h2 { color: var(--blanc); font-size: 22px; font-weight: 700; margin: 22px 0 10px; }
body.cddnet.cddnet .carte-projet .btn .elementor-button { background: var(--orange); border-color: var(--orange); color: var(--noir); box-shadow: none; margin-top: 6px; }
body.cddnet.cddnet .carte-projet .lien-retour { display: block; margin-top: 20px; font: 700 13px/1 var(--corps); color: var(--blanc); }
body.cddnet.cddnet .autres { padding-top: 0; }
body.cddnet.cddnet .autres .titre-section { margin-bottom: 44px; }
@media (max-width: 900px) {
body.cddnet.cddnet .photo-article { height: 380px; }
body.cddnet.cddnet .article-grille { grid-template-columns: 1fr; margin: -60px 16px 0; }
body.cddnet.cddnet .carte-projet { position: static; margin-top: 0; }
}
@media (max-width: 480px) {
body.cddnet.cddnet .photo-article { height: 260px; }
body.cddnet.cddnet .article-grille { margin: -40px 0 0; }
body.cddnet.cddnet .carte-article { padding: 30px 22px; }
}
body.cddnet.cddnet .date { display: flex; flex-wrap: wrap; }
body.cddnet.cddnet .date.centre { justify-content: center; }
@media (max-width: 480px) {
body.cddnet.cddnet .date-article { flex-direction: column; align-items: center; gap: 8px; }
body.cddnet.cddnet .date-article .cat-terms::before { content: none; }
}


/* ===== Adaptation Elementor (après la feuille de la maquette) ===== */

/* En-tête collant : c'est l'emplacement Elementor qui colle, pas son contenu */
body.cddnet.cddnet .elementor-location-header { position: sticky; top: 0; z-index: 50; }
body.admin-bar.cddnet .elementor-location-header { top: 32px; }
body.cddnet.cddnet .entete { position: relative; }

/* Menu (widget Menu de navigation) */
body.cddnet.cddnet .menu { display: block; }
body.cddnet.cddnet .entete-barre .logo { flex: none; }
body.cddnet.cddnet .menu .elementor-nav-menu--main .elementor-nav-menu { display: flex; gap: 30px; }
body.cddnet.cddnet .menu .elementor-nav-menu--main .elementor-item {
  font: 700 14px/1 var(--corps); color: var(--titre); padding: 8px 0; position: relative; margin: 0;
}
body.cddnet.cddnet .menu .elementor-nav-menu--main .elementor-item.elementor-item-active { color: var(--bleu); }
body.cddnet.cddnet .menu .elementor-nav-menu--main .elementor-item.elementor-item-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--orange); border-radius: 2px; opacity: 1;
}
body.cddnet.cddnet .menu .elementor-menu-toggle { background: none; color: var(--titre); font-size: 24px; padding: 6px; border: 0; }
body.cddnet.cddnet .menu .elementor-menu-toggle svg { fill: var(--titre); }
body.cddnet.cddnet .menu .elementor-nav-menu--dropdown { background: var(--blanc); border-radius: var(--rayon); box-shadow: var(--ombre-forte); margin-top: 18px; padding: 12px 8px; }
body.cddnet.cddnet .menu .elementor-nav-menu--dropdown .elementor-item { font: 700 15px/1 var(--corps); color: var(--titre); padding: 12px 16px; background: none; }
body.cddnet.cddnet .menu .elementor-nav-menu--dropdown .elementor-item-active { color: var(--bleu); }
@media (max-width: 1080px) { body.cddnet.cddnet .menu { display: block; margin-left: auto; flex: 1; } body.cddnet.cddnet .menu .elementor-menu-toggle { margin-left: auto; } }

/* Boutons */
body.cddnet.cddnet .elementor-button-content-wrapper { gap: 0; }
body.cddnet.cddnet .btn .elementor-button-text { flex-grow: 0; }
body.cddnet.cddnet .lien-lecture .elementor-button {
  background: none; padding: 0; border: 0; box-shadow: none; border-radius: 0; color: var(--titre);
  display: inline-flex; align-items: center; gap: 12px; font: 700 14px/1 var(--corps);
}
body.cddnet.cddnet .lien-lecture .elementor-button:hover { transform: none; box-shadow: none; }
body.cddnet.cddnet .lien-lecture .elementor-button-content-wrapper { align-items: center; gap: 12px; }
body.cddnet.cddnet .lien-lecture .elementor-button-icon {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--blanc);
  border: 3px solid var(--orange); border-left-color: var(--fond-teinte); box-shadow: var(--ombre); margin: 0;
}
body.cddnet.cddnet .lien-lecture .elementor-button-icon svg { width: 18px; height: 18px; color: var(--orange); fill: var(--orange); }
body.cddnet.cddnet .filtre .elementor-button {
  font: 700 13px/1 var(--corps); color: var(--titre); background: var(--blanc); border: 0; border-radius: 6px;
  padding: 12px 18px; box-shadow: var(--ombre); cursor: pointer;
}
body.cddnet.cddnet .filtre.actif .elementor-button { background: var(--bleu); color: var(--blanc); }

/* Petits éléments devenus des titres Elementor */
body.cddnet.cddnet .carte-perf-tete::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); }
body.cddnet.cddnet .carte-perf-tete { display: flex; align-items: center; gap: 8px; }
body.cddnet.cddnet .carte-perf-tete .elementor-heading-title { font: 700 13px/1 var(--corps); color: var(--titre); }
body.cddnet.cddnet .barre::after { content: ""; display: block; height: 100%; background: var(--bleu); border-radius: 4px; }
body.cddnet.cddnet .barre.b82::after { width: 82%; }
body.cddnet.cddnet .barre.b64::after { width: 64%; background: var(--turquoise); }
body.cddnet.cddnet .barre.b91::after { width: 91%; }
body.cddnet.cddnet .carte-chiffres .chiffre { font: 800 30px/1 var(--titres); }
body.cddnet.cddnet .carte-chiffres .legende { font: 700 12px/1.3 var(--corps); margin: 4px 0 14px; }
body.cddnet.cddnet .carte-chiffres .legende:last-child { margin-bottom: 0; }
body.cddnet.cddnet .carte-stat .stat-grand { font: 800 28px/1 var(--titres); color: var(--titre); }
body.cddnet.cddnet .carte-stat .stat-legende { font: 700 12px/1.3 var(--corps); color: var(--turquoise); margin-top: 4px; }
body.cddnet.cddnet .carte-reseau .reseau-nom { font: 700 14px/1.2 var(--corps); color: var(--titre); }
body.cddnet.cddnet .carte-courbe .courbe svg { width: 100%; height: auto; }
body.cddnet.cddnet .tuile-chiffre .chiffre-grand { font: 800 46px/1 var(--titres); }
body.cddnet.cddnet .tuile-chiffre .chiffre-titre { font: 900 13px/1.3 var(--corps); margin-top: 8px; }
body.cddnet.cddnet .tuile-chiffre .chiffre-sous { font-size: 12px; opacity: .85; }
body.cddnet.cddnet .tuiles-mots .tuile-chiffre .chiffre-grand { font-size: clamp(22px, 2.2vw, 30px); }
body.cddnet.cddnet .formule-tete .formule-sous { font-size: 13px; color: var(--texte); }
body.cddnet.cddnet .liste-coches ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
body.cddnet.cddnet .carte-actu .date .elementor-heading-title { font-size: inherit; margin: 0; }
body.cddnet.cddnet .carte-ref .ref-nom { display: block; font: 700 15px/1.3 var(--corps); color: var(--titre); }
body.cddnet.cddnet .carte-ref .ref-sous { font-size: 12px; color: var(--texte); }
body.cddnet.cddnet .carte-ecrans { display: flex; }
body.cddnet.cddnet .carte-ecrans .ecrans-titre { font: 700 15px/1.2 var(--titres); color: var(--titre); }
body.cddnet.cddnet .carte-ecrans .ecrans-sous { font-size: 12px; }
body.cddnet.cddnet .etapes .etape { display: flex; gap: 18px; align-items: flex-start; }
body.cddnet.cddnet .etapes .etape-titre { display: block; font: 700 17px/1.3 var(--titres); color: var(--titre); margin: 2px 0 4px; }
body.cddnet.cddnet .coordonnees .coord { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--titre); }
body.cddnet.cddnet .etiquette-lieu::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); }
body.cddnet.cddnet .liste-pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
body.cddnet.cddnet .liste-pied a:hover { color: var(--bleu); }
body.cddnet.cddnet .reseau .elementor-icon {
  display: grid; width: 34px; height: 34px; border-radius: 50%; background: var(--bleu); color: var(--blanc); place-items: center;
}
body.cddnet.cddnet .reseau svg { width: 16px; height: 16px; }
body.cddnet.cddnet .pied-bas-barre p { margin: 0; }

/* Formulaires (widget Formulaire d'Elementor Pro) */
body.cddnet.cddnet .formulaire .elementor-form-fields-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin: 0; }
body.cddnet.cddnet .formulaire .elementor-field-group { width: auto; max-width: none; padding: 0; margin: 0; grid-column: span 2; display: grid; gap: 7px; }
body.cddnet.cddnet .formulaire .elementor-field-group.elementor-col-50 { grid-column: span 1; }
body.cddnet.cddnet .formulaire .elementor-field-group .elementor-field-label { font: 700 13px/1 var(--corps); color: var(--titre); padding: 0; margin: 0; }
body.cddnet.cddnet .formulaire .elementor-field-group .elementor-field {
  font: 400 14px/1.5 var(--corps); color: var(--titre); background: var(--fond);
  border: 1px solid var(--trait); border-radius: 6px; padding: 12px 14px; width: 100%; min-height: 0;
}
body.cddnet.cddnet .formulaire .elementor-field-type-submit { justify-self: start; }
body.cddnet.cddnet .formulaire .elementor-button, body.cddnet.cddnet .champ-appel .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; background: var(--bleu); color: var(--blanc);
  font: 700 14px/1 var(--corps); padding: 15px 28px; border-radius: 6px; border: 2px solid var(--bleu);
  box-shadow: 0 10px 22px -10px rgba(34, 59, 130, .7); min-height: 0;
}
body.cddnet.cddnet .champ-appel .elementor-form-fields-wrapper { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; margin: 0; }
body.cddnet.cddnet .champ-appel .elementor-form-fields-wrapper::before {
  content: ""; flex: none; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h18v12H3zM3 7l9 6 9-6' fill='none' stroke='%23223B82' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.cddnet.cddnet .champ-appel .elementor-field-group { padding: 0; margin: 0; width: auto; }
body.cddnet.cddnet .champ-appel .elementor-field-type-email { flex: 1; }
body.cddnet.cddnet .champ-appel .elementor-field-group .elementor-field { border: 0; background: transparent; font: 400 14px var(--corps); color: var(--titre); padding: 0; min-height: 0; box-shadow: none; }
body.cddnet.cddnet .champ-appel .elementor-button { padding: 11px 20px; font-size: 13px; }
@media (max-width: 480px) {
  body.cddnet.cddnet .formulaire .elementor-form-fields-wrapper { grid-template-columns: 1fr; }
  body.cddnet.cddnet .formulaire .elementor-field-group.elementor-col-50 { grid-column: span 1; }
}

/* Réinitialisations qui doivent primer sur la feuille de la maquette */
body.cddnet.cddnet .elementor-heading-title { margin: 0; }
body.cddnet.cddnet .elementor-widget-text-editor > :last-child { margin-bottom: 0; }
/* Un bloc de texte libre garde l'espace d'un paragraphe sous lui, comme dans la maquette */
body.cddnet.cddnet .elementor-widget.txt:not(:last-child) { margin-bottom: 1em; }
/* Largeurs maximales : Elementor impose 100 % aux widgets d'un conteneur */
body.cddnet .elementor.elementor .intro { max-width: 520px; }
body.cddnet .elementor.elementor .champ-appel { max-width: 520px; }
body.cddnet .elementor.elementor .hero-page-texte { max-width: 500px; }
body.cddnet .elementor.elementor .bloc-appel .titre-section { max-width: 560px; }
body.cddnet .elementor.elementor .hero-page-centre .titre-page { max-width: 760px; }
body.cddnet .elementor.elementor .champ-appel .elementor-form { flex: 1; }
body.cddnet.cddnet .carte-stat .stat-grand { white-space: nowrap; }
body.cddnet.cddnet .formulaire .elementor-field-group select.elementor-field { font-size: 14px; height: auto; }
body.cddnet.cddnet .btn.para { margin-bottom: 1em; }
body.cddnet.cddnet .formule-tete .formule-sous { font-size: 15px; line-height: 25.5px; }
body.cddnet.cddnet .formule-tete .formule-sous .elementor-heading-title { font-size: 13px; }
body.cddnet.cddnet .formulaire .elementor-field-group .elementor-field { height: auto; min-height: 0; }
body.cddnet.cddnet .formulaire .elementor-field-group .elementor-select-wrapper.elementor-field { padding: 0; border: 0; background: none; display: block; }
body.cddnet.cddnet .formulaire .elementor-field-group select {
  font: 400 14px/normal var(--corps); color: var(--titre); background: var(--fond);
  border: 1px solid var(--trait); border-radius: 6px; padding: 12px 14px; width: 100%; height: auto; min-height: 0;
}
body.cddnet.cddnet .filtres .filtre { display: flex; padding: 0; background: none; box-shadow: none; border-radius: 0; }
/* Menu mobile : la liste déroulante passe par-dessus la page, sans pousser l'en-tête */
@media (max-width: 1080px) {
  body.cddnet.cddnet .menu { position: relative; }
  body.cddnet.cddnet .menu .elementor-nav-menu--dropdown.elementor-nav-menu__container {
    position: absolute; right: -14px; top: 100%; width: 260px; z-index: 60; margin-top: 22px;
  }
}
@media (max-width: 480px) { body.cddnet.cddnet .entete-actions { display: none; } }
@media (max-width: 1080px) { body.cddnet.cddnet .menu .elementor-menu-toggle { width: auto; margin-left: auto; margin-right: 0; } }
/* Pages légales : le texte riche de l'éditeur reprend la typographie de la maquette */
body.cddnet.cddnet .texte-legal > :first-child { margin-top: 0; }
body.cddnet.cddnet .texte-legal :is(h2, h3, p, ul, li) { line-height: 1.7; }

/* Grilles d'articles (widget Boucle d'Elementor Pro) */
body.cddnet.cddnet .grille-actus.elementor-widget-loop-grid { display: block; }
body.cddnet.cddnet .grille-actus .elementor-loop-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
body.cddnet.cddnet .une-loop .elementor-loop-container { display: block; }
body.cddnet.cddnet .actualites .grille-actus.elementor-widget-loop-grid:not(:last-child) { margin-bottom: 40px; }
body.cddnet.cddnet .e-loop-item.masque { display: none !important; }
body.cddnet.cddnet .carte-actu .lien-carte { display: block; color: inherit; }
body.cddnet.cddnet .carte-actu .txt-actu { font-size: 14px; }
body.cddnet.cddnet .contenu-article > :last-child { margin-bottom: 0; }
body.cddnet.cddnet .carte-projet .projet-titre { color: var(--blanc); font-size: 22px; font-weight: 700; margin: 22px 0 10px; }
@media (max-width: 900px) { body.cddnet.cddnet .grille-actus .elementor-loop-container { grid-template-columns: 1fr; } }
/* Ligne « date · catégories » : les deux morceaux restent côte à côte */
body.cddnet .elementor.elementor .date > .elementor-widget { width: auto; max-width: none; flex: none; text-align: inherit; }
body.cddnet.cddnet .date .elementor-heading-title { white-space: normal; }
body.cddnet .elementor.elementor .hero-article .titre-page { max-width: 860px; }
