/* Aquéo Atlas vivant 1.1.2 — navigation nettoyée, repérage survol et vert du bandeau Aquéo. */
.aqe-atlas,.aqe-atlas *{box-sizing:border-box}
.aqe-atlas{--aqe-ink:#345c40;--aqe-leaf:#6b986d;--aqe-soft:#d9e6d8;--aqe-paper:#f9fbf8;--aqe-border:#e2e9e1;--aqe-titlebar:#65852e;font-family:'Open Sans',Arial,Helvetica,sans-serif!important;color:#355541;font-size:13px;line-height:1.45;min-width:0}
.aqe-atlas h2,.aqe-atlas h3,.aqe-atlas a,.aqe-atlas span,.aqe-atlas p,.aqe-atlas div{font-family:'Open Sans',Arial,Helvetica,sans-serif!important}
.aqe-atlas a{text-decoration:none!important}
.aqe-atlas a:focus-visible{outline:2px solid #5d8b65;outline-offset:3px}
.aqe-atlas [hidden]{display:none!important}
/* Régions : une seule palette de verts, sans couleurs différentes par région. */
.aqe-atlas .aqe-map-shape{fill:#d5e2d5;stroke:#fff;stroke-width:1.05;vector-effect:non-scaling-stroke;transition:fill .26s ease,stroke .26s ease,filter .26s ease;cursor:pointer}
.aqe-atlas .aqe-map-link:hover .aqe-map-shape,.aqe-atlas .aqe-map-link.aqe-hover .aqe-map-shape,.aqe-atlas .aqe-map-link:focus .aqe-map-shape{fill:var(--aqe-titlebar);stroke:#fff;stroke-width:.65;filter:none}
.aqe-atlas .aqe-map-link.aqe-current .aqe-map-shape{fill:#9bb780;stroke:#fff;stroke-width:.65;filter:none}
.aqe-atlas .aqe-map-link.aqe-suggested .aqe-map-shape{fill:#aac497;stroke:#fff;stroke-width:.65}
.aqe-atlas .aqe-map-link.aqe-manual .aqe-map-shape{fill:#9bb780;stroke:#fff;stroke-width:.65}
.aqe-atlas .aqe-map-link.aqe-current.aqe-hover .aqe-map-shape{stroke:#fff;stroke-width:.65}
.aqe-atlas .aqe-overseas-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;color:#526c56;border:1px solid #e2ebe0;border-radius:4px;background:#f8faf7;padding:4px 2px;text-align:center;transition:border-color .2s,background .2s}
.aqe-atlas .aqe-overseas-link:hover,.aqe-atlas .aqe-overseas-link.aqe-hover{border-color:#b2c899;background:#e9f1e7;color:var(--aqe-titlebar)}
.aqe-atlas .aqe-overseas-link.aqe-current,.aqe-atlas .aqe-overseas-link.aqe-suggested,.aqe-atlas .aqe-overseas-link.aqe-manual{border-color:#85aa8a;background:#eaf1e7}
.aqe-atlas .aqe-om-shape{fill:#a6bdab;stroke:#f8faf7;stroke-width:.85;transition:fill .2s}
.aqe-atlas .aqe-overseas-link:hover .aqe-om-shape,.aqe-atlas .aqe-overseas-link.aqe-current .aqe-om-shape,.aqe-atlas .aqe-overseas-link.aqe-suggested .aqe-om-shape,.aqe-atlas .aqe-overseas-link.aqe-manual .aqe-om-shape{fill:var(--aqe-titlebar)}
.aqe-atlas .aqe-overseas-link span{font-size:9px;line-height:1.25;font-weight:600;white-space:normal}
.aqe-atlas .aqe-overseas-link svg{max-width:100%;height:43px}
.aqe-atlas .aqe-atlas-eyebrow{font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:#829585;margin:0 0 7px}
/* Remplacement dynamique des blocs Enfold uniquement sur /en-regions/ ; source WordPress non modifiée. */
.entry-content-wrapper.aqe-atlas-replaced{display:block!important;position:relative!important;overflow:visible!important;min-height:0!important;clear:both!important}
.entry-content-wrapper.aqe-atlas-replaced > :not(.aqe-atlas-main){display:none!important}
.aqe-atlas-main{position:relative;left:50%;transform:translateX(-50%);width:min(1120px,calc(100vw - 54px));margin:24px 0 35px;display:grid;grid-template-columns:210px minmax(0,1fr) 236px;align-items:stretch;gap:0;max-width:none!important;min-height:640px;border:1px solid #e6ede4;border-radius:7px;background:#fff;box-shadow:0 8px 30px #38583f10;overflow:hidden;clear:both}
.aqe-atlas-main > *{min-width:0!important;width:auto!important;float:none!important;position:relative!important;inset:auto!important;margin:0!important;transform:none!important;max-width:none!important}
.aqe-atlas-main .aqe-atlas-list-pane{background:#fafbf8;border-right:1px solid var(--aqe-border);padding:21px 13px}
.aqe-atlas-region-list{display:flex!important;flex-direction:column;align-items:stretch;gap:1px;width:100%;max-width:100%}
.aqe-atlas .aqe-region-text-link{display:block!important;width:100%;white-space:normal!important;overflow-wrap:normal;word-break:normal;text-align:left!important;clear:both;float:none!important;position:static!important;transform:none!important;line-height:1.4!important;padding:6px 8px!important;margin:0!important;border:0;border-left:2px solid transparent!important;border-radius:2px;font-size:11.5px!important;font-weight:500;color:#486a51}
.aqe-atlas .aqe-region-text-link:hover,.aqe-atlas .aqe-region-text-link.aqe-hover{background:#edf4eb!important;color:#285337}
.aqe-atlas .aqe-region-text-link.aqe-current,.aqe-atlas .aqe-region-text-link.aqe-suggested,.aqe-atlas .aqe-region-text-link.aqe-manual{background:#e7f0e5!important;border-left-color:#699874!important;color:#29583a;font-weight:700}
.aqe-atlas .aqe-atlas-separator{display:block!important;clear:both;border-top:1px solid #d6e4d7;padding:13px 8px 2px;margin:12px 0 1px;font-size:11.5px;font-weight:700;color:#416d4b}
.aqe-atlas-main .aqe-atlas-map-pane{background:#fdfefd;padding:25px 15px 20px;text-align:center}
.aqe-atlas-main .aqe-atlas-heading{font-size:21px!important;line-height:1.28!important;color:#365c41;font-weight:650!important;letter-spacing:0;margin:5px 0 8px!important}
.aqe-atlas-main .aqe-atlas-subtitle{font-size:11px!important;color:#778b79;line-height:1.55;margin:0 0 9px!important}
.aqe-atlas .aqe-svg-main{display:block;width:min(100%,550px);height:auto;margin:0 auto;aspect-ratio:630/580;overflow:visible}
.aqe-atlas .aqe-atlas-om-heading{font-size:9px;font-weight:700;letter-spacing:.09em;color:#7a927d;border-top:1px solid #dbe6dc;padding-top:9px;margin:3px 0 8px}
.aqe-atlas .aqe-overseas-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.aqe-atlas-main .aqe-atlas-feature{border-left:1px solid var(--aqe-border);display:flex;flex-direction:column;background:#fff}
.aqe-atlas-main .aqe-atlas-photo{height:232px;overflow:hidden;background:#f1f6f0}
.aqe-atlas-main .aqe-atlas-photo.aqe-photo-neutral{background:radial-gradient(circle at 50% 50%,#f8fbf7 0%,#e9f2e8 100%)}
.aqe-atlas-main .aqe-atlas-photo img{width:100%;height:100%;object-fit:cover;display:block}
.aqe-atlas-main .aqe-atlas-details{padding:19px 18px;flex:1;display:flex;flex-direction:column;min-height:210px}
.aqe-atlas-main .aqe-atlas-details h3{font-size:19px!important;line-height:1.3!important;font-weight:650!important;color:#315c3c;margin:7px 0 10px!important}
.aqe-atlas-main .aqe-atlas-details p{font-size:12px;line-height:1.75;color:#677e6c;margin:0 0 12px!important}
.aqe-atlas-main .aqe-atlas-current-location{font-size:10px;color:#60826a;margin:10px 0}
.aqe-atlas-main .aqe-atlas-open{margin-top:auto;display:block;background:var(--aqe-titlebar);color:white!important;border-radius:3px;text-align:center;padding:12px 8px;font-size:11px!important;font-weight:700}
.aqe-atlas-main .aqe-atlas-open:hover{background:#597526}
/* Mini-carte sans cadre lourd, sous les six sous-menus. */
.aq151-nav a.aqe-nav-current{background:#ebf2e9!important;color:#315c3d!important;border-left:2px solid #8db395!important;font-weight:700!important;padding-left:8px!important}
.aqe-atlas-mini-wrap{clear:both;margin:16px 0 12px}
.aqe-atlas-mini{border:0!important;border-top:1px solid #dae6d9!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;padding:11px 1px 0;max-width:100%}
.aqe-atlas-mini .aqe-mini-location{font-size:10.5px!important;text-align:center;background:#ecf3e9;color:#355f40;border-radius:2px;padding:7px 2px;font-weight:700;line-height:1.45;margin:0 auto 9px}
.aqe-atlas-mini .aqe-svg-mini{display:block;width:100%;max-width:190px;height:auto;margin:1px auto 6px;aspect-ratio:630/580}
.aqe-atlas-mini .aqe-svg-mini .aqe-map-shape{stroke-width:.36}
.aqe-atlas-mini .aqe-svg-mini .aqe-map-link.aqe-current .aqe-map-shape{stroke:#fff;stroke-width:.4;fill:#9bb780}
.aqe-atlas-mini .aqe-svg-mini .aqe-map-link.aqe-hover .aqe-map-shape{stroke:#fff;stroke-width:.4;fill:var(--aqe-titlebar)}
.aqe-atlas-mini .aqe-mini-om-label{text-align:center;color:#6f8975;font-size:8px;letter-spacing:.09em;font-weight:700;margin:4px 0}
.aqe-atlas-mini .aqe-overseas-mini{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}
.aqe-atlas-mini .aqe-overseas-link{padding:2px 0;border:0!important;border-radius:2px;background:transparent}
.aqe-atlas-mini .aqe-overseas-link.aqe-current{background:#e8f1e6!important}
.aqe-atlas-mini .aqe-overseas-link svg{height:24px}
.aqe-atlas-mini .aqe-overseas-link span{font-size:6.5px!important;line-height:1.25;overflow-wrap:anywhere}
@media (max-width:1080px){.aqe-atlas-main{grid-template-columns:190px minmax(0,1fr) 212px}.aqe-atlas-main .aqe-atlas-map-pane{padding:20px 10px}.aqe-atlas-main .aqe-atlas-list-pane{padding:18px 10px}}
@media (max-width:790px){
  .aqe-atlas-main{width:calc(100vw - 28px);grid-template-columns:minmax(0,1fr);min-height:0;margin-top:14px}
  .aqe-atlas-main .aqe-atlas-list-pane{order:2;border-right:0;border-top:1px solid var(--aqe-border);padding:16px}
  .aqe-atlas-main .aqe-atlas-map-pane{order:1;padding:21px 14px 18px}
  .aqe-atlas-main .aqe-atlas-feature{order:3;border-left:0;border-top:1px solid var(--aqe-border)}
  .aqe-atlas-main .aqe-atlas-photo{height:175px}
  .aqe-atlas-main .aqe-atlas-details{min-height:140px}
  .aqe-atlas-region-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 6px}
  .aqe-atlas .aqe-atlas-separator{grid-column:1/-1}
  .aqe-atlas-main .aqe-svg-main{max-height:405px}
}
@media (prefers-reduced-motion:reduce){.aqe-atlas *, .aqe-atlas .aqe-map-shape{transition:none!important}}

/* Les anciens noms de régions sont masqués uniquement après création réussie de la nouvelle carte. */
.aqe-atlas-old-region-links{display:none!important}
/* Repère contextuel discret, indépendant du repère permanent de la région courante. */
.aqe-atlas-mini .aqe-mini-hover{font-family:inherit;font-size:10px;line-height:1.4;text-align:center;color:#638039;margin:16px 0 0;min-height:15px;visibility:hidden}
.aqe-atlas-mini .aqe-mini-hover.aqe-visible{visibility:visible}
.aqe-atlas .aqe-map-link.aqe-hover .aqe-map-shape{fill:var(--aqe-titlebar)!important;stroke:#fff!important;stroke-width:.65!important;filter:none!important}
.aqe-atlas-mini .aqe-map-link.aqe-hover .aqe-map-shape{stroke-width:.4!important}
.aqe-atlas .aqe-overseas-link.aqe-hover .aqe-om-shape{fill:var(--aqe-titlebar)!important}


/* Aquéo Atlas vivant 1.1.4 : mise en page éditoriale 1/4 | 1/2 | 1/4.
   La mini-carte n'est pas concernée ; les encarts ultramarins conservent leur cadre.
   Aucun déplacement hors de la grille Enfold, aucune fenêtre ou ombre. */
.entry-content-wrapper.aqe-atlas-replaced > .aqe-atlas-main {
  position:relative!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  width:100%!important;
  max-width:100%!important;
  margin:16px 0 34px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr)!important;
  align-items:start!important;
  gap:0!important;
  min-height:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  overflow:visible!important;
}
.aqe-atlas-main .aqe-atlas-list-pane {
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  padding:7px 14px 0 0!important;
}
.aqe-atlas-main .aqe-atlas-map-pane {
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  padding:7px 12px 0!important;
}
.aqe-atlas-main .aqe-atlas-feature {
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:7px 0 0 14px!important;
  display:flex!important;
  flex-direction:column!important;
}
.aqe-atlas-main .aqe-atlas-photo {
  width:100%!important;
  height:auto!important;
  aspect-ratio:4/3;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.aqe-atlas-main .aqe-atlas-photo img {width:100%!important;height:100%!important;object-fit:cover!important;}
.aqe-atlas-main .aqe-atlas-details {
  min-height:0!important;
  padding:15px 0 0!important;
  border:0!important;
  background:transparent!important;
}
.aqe-atlas-main .aqe-atlas-open {margin-top:16px!important;}
/* La liste conserve le même alignement que les sous-menus des autres pages. */
.aqe-atlas-main .aqe-atlas-region-list{margin:0!important;}
@media (max-width:790px) {
  .entry-content-wrapper.aqe-atlas-replaced > .aqe-atlas-main {
    width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    gap:22px!important;
    margin:12px 0 25px!important;
  }
  .aqe-atlas-main .aqe-atlas-map-pane {order:1;width:100%!important;padding:0!important;}
  .aqe-atlas-main .aqe-atlas-list-pane {order:2;width:100%!important;padding:0!important;}
  .aqe-atlas-main .aqe-atlas-feature {
    order:3;width:100%!important;padding:0!important;
    display:grid!important;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:14px!important;
  }
  .aqe-atlas-main .aqe-atlas-photo {height:auto!important;aspect-ratio:4/3;}
  .aqe-atlas-main .aqe-atlas-details {padding:0!important;}
}
@media (max-width:440px) {
  .aqe-atlas-main .aqe-atlas-feature {grid-template-columns:minmax(0,1fr);}
  .aqe-atlas-main .aqe-atlas-photo {aspect-ratio:16/9;}
  .aqe-atlas-main .aqe-atlas-details {padding:0!important;}
}


/* Aquéo Atlas vivant 1.1.5 : rétablir les TROIS colonnes sur la largeur
   éditoriale complète Enfold (le wrapper de la page était une sous-colonne).
   Ne change jamais les mini-cartes ni les liens régionaux. */
@media (min-width:791px) {
  .entry-content-wrapper.aqe-atlas-replaced > .aqe-atlas-main {
    position:relative!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    width:min(1120px, calc(100vw - 56px))!important;
    max-width:none!important;
    grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr)!important;
    margin:16px 0 32px!important;
    min-height:max(660px, calc(100dvh - 230px))!important;
    align-items:start!important;
  }
  /* Quart gauche à GAUCHE de l'ancienne ombre verticale Enfold. */
  .aqe-atlas-main .aqe-atlas-list-pane {
    text-align:right!important;
    padding:8px 21px 0 0!important;
  }
  .aqe-atlas-main .aqe-atlas-list-pane .aqe-atlas-eyebrow,
  .aqe-atlas-main .aqe-atlas-list-pane .aqe-atlas-separator {
    text-align:right!important;
  }
  .aqe-atlas-main .aqe-region-text-link {
    text-align:right!important;
    padding:6px 4px 6px 1px!important;
    border-left:0!important;
    border-right:2px solid transparent!important;
  }
  .aqe-atlas-main .aqe-region-text-link.aqe-current,
  .aqe-atlas-main .aqe-region-text-link.aqe-suggested,
  .aqe-atlas-main .aqe-region-text-link.aqe-manual {
    border-right-color:var(--aqe-titlebar)!important;
  }
  .aqe-atlas-main .aqe-atlas-map-pane {
    padding:8px 14px 0!important;
    width:100%!important;
  }
  .aqe-atlas-main .aqe-svg-main {
    width:100%!important;
    max-width:550px!important;
  }
  .aqe-atlas-main .aqe-atlas-feature {
    padding:8px 0 0 15px!important;
  }
}
/* Hauteur normale du bandeau copyright sur la seule page En région.
   Le module agrandit le contenu pour que l'espace libre ne soit pas rempli
   artificiellement par le fond vert du pied de page. */
body:has(.entry-content-wrapper.aqe-atlas-replaced) #socket {
  height:auto!important;
  min-height:0!important;
}
body:has(.entry-content-wrapper.aqe-atlas-replaced) #socket .container {
  min-height:0!important;
}


/* Aquéo 1.1.6 — la séparation/ombre Enfold est la frontière exacte entre
   la colonne de gauche et le contenu. Déplacer uniquement la liste hors
   de la colonne centrale, sans translater la carte et le portrait.
   Sur écran étroit : laisser la navigation mobile intacte. */
@media (min-width:791px) {
  .entry-content-wrapper.aqe-atlas-replaced > .aqe-atlas-main {
    position:relative!important;
    left:0!important;
    right:auto!important;
    transform:none!important;
    width:100%!important;
    max-width:100%!important;
    display:grid!important;
    grid-template-columns:minmax(0,2fr) minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    align-items:start!important;
    overflow:visible!important;
    margin:16px 0 32px!important;
  }
  /* Le quart de page de gauche est situé juste avant .entry-content-wrapper.
     Le parent utilise 3/4 de la largeur, donc 1/4 = 1/3 du parent. */
  .entry-content-wrapper.aqe-atlas-replaced > .aqe-atlas-main > .aqe-atlas-list-pane {
    position:absolute!important;
    width:33.333333%!important;
    left:auto!important;
    right:100%!important;
    top:0!important;
    bottom:auto!important;
    transform:none!important;
    grid-column:auto!important;
    grid-row:auto!important;
    padding:8px 24px 0 0!important;
    text-align:right!important;
    border:0!important;
    background:transparent!important;
    z-index:1!important;
  }
  .entry-content-wrapper.aqe-atlas-replaced > .aqe-atlas-main > .aqe-atlas-map-pane {
    grid-column:1!important;
    grid-row:1!important;
    min-width:0!important;
    padding:8px 13px 0!important;
  }
  .entry-content-wrapper.aqe-atlas-replaced > .aqe-atlas-main > .aqe-atlas-feature {
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    padding:8px 0 0 14px!important;
  }
}
/* Le pied de page est une surface au premier plan : l'ombre de la
   séparation verticale s'arrête derrière la bande verte Enfold. On garde
   les dimensions et la couleur originales du footer. */
body:has(.entry-content-wrapper.aqe-atlas-replaced) #socket {
  position:relative!important;
  z-index:100!important;
  isolation:isolate!important;
}
body:has(.entry-content-wrapper.aqe-atlas-replaced) #socket .container {
  position:relative!important;
  z-index:1!important;
}

/* Aquéo 1.1.7 — retouche finale de la page « En région » uniquement.
 * La séparation Enfold reste à sa place. La liste est décalée vers la
 * gauche de 60 px, ce qui laisse un intervalle visible > 1 cm.
 * Aucune intervention sur la mini-carte ni sur les contours SVG. */
@media (min-width:791px) {
  .entry-content-wrapper.aqe-atlas-replaced > .aqe-atlas-main > .aqe-atlas-list-pane {
    right:calc(100% + 60px)!important;
  }
}
/* Footer et bandeau copyright devant la séparation Enfold :
 * l'empilement antérieur visait le seul #socket et n'était pas suffisant.
 * Cette correction ne modifie pas les couleurs ou les dimensions. */
body:has(.entry-content-wrapper.aqe-atlas-replaced) #footer,
body:has(.entry-content-wrapper.aqe-atlas-replaced) #socket {
  position:relative!important;
  z-index:2147483640!important;
  isolation:isolate!important;
}
body:has(.entry-content-wrapper.aqe-atlas-replaced) #socket::before {
  content:"";
  pointer-events:none;
  position:absolute;
  inset:0;
  background:inherit;
  z-index:0;
}
body:has(.entry-content-wrapper.aqe-atlas-replaced) #socket > .container {
  position:relative!important;
  z-index:1!important;
}

/* Sur écrans intermédiaires, conserver toute la liste à l'écran :
 * l'espace disponible dans le quart gauche est plus étroit. */
@media (min-width:791px) and (max-width:1199px) {
  .entry-content-wrapper.aqe-atlas-replaced > .aqe-atlas-main > .aqe-atlas-list-pane {
    right:calc(100% + 14px)!important;
    width:calc(33.333333% - 24px)!important;
  }
}


/* Aquéo Atlas 1.1.8 — correction des clics sur les premières lignes du
   menu de gauche sur /en-regions/. La liste étant déportée hors de la
   colonne Enfold (version 1.1.6–1.1.7), elle peut passer SOUS un calque
   invisible de la page. Rehausser sa pile d'affichage sans la déplacer. */
@media (min-width:791px) {
  body #main .content:has(.entry-content-wrapper.aqe-atlas-replaced) {
    position:relative!important;
    z-index:10!important;
    overflow:visible!important;
  }
  body .entry-content-wrapper.aqe-atlas-replaced {
    position:relative!important;
    z-index:20!important;
    overflow:visible!important;
  }
  body .entry-content-wrapper.aqe-atlas-replaced > .aqe-atlas-main {
    z-index:1!important;
  }
  body .entry-content-wrapper.aqe-atlas-replaced > .aqe-atlas-main > .aqe-atlas-list-pane {
    z-index:100!important;
    pointer-events:auto!important;
  }
  body .entry-content-wrapper.aqe-atlas-replaced > .aqe-atlas-main > .aqe-atlas-list-pane .aqe-region-text-link {
    position:relative!important;
    z-index:1!important;
    pointer-events:auto!important;
  }
}
