/* OBTP — direction A « Chantier ». Mise en page : bandes pleine largeur alternées, contenu centré sur 1312 px. */
:root {
  color-scheme: light;
  --nuit: #0E1E2B;
  --nuit-2: #14293A;
  --nuit-3: #0A1620;
  --orange: #F2701D;
  --orange-texte: #B8460B;
  --blanc: #FFFFFF;
  --brume: #EEF1F3;
  --gris: #3D4A55;
  --gris-clair: #C9D3DB;
  --trait: #D3DAE0;
  --titre: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --texte: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --gouttiere: clamp(16px, 4.5vw, 64px);
  --max: 1312px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--blanc); color: var(--nuit); font-family: var(--texte); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--titre); font-weight: 700; text-transform: uppercase; line-height: 1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(30px, 3.9vw, 54px); }
h2 { font-size: clamp(24px, 2.6vw, 36px); }
h3 { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.inner { max-width: calc(var(--max) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.bande { padding-block: clamp(28px, 3.8vw, 56px); }
.bande.brume { background: var(--brume); }
.bande.nuit { background: var(--nuit); color: var(--blanc); }
.bande.nuit-2 { background: var(--nuit-2); color: var(--blanc); }
.pile { display: flex; flex-direction: column; gap: 16px; }
.pile.large { gap: 26px; }
.surtitre { font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-texte); }
.nuit .surtitre, .nuit-2 .surtitre, .hero .surtitre { color: var(--orange); }
.hero .surtitre { font-size: clamp(18px, 1.7vw, 24px); letter-spacing: 0.08em; }
.hero .logo-marque { width: auto; height: clamp(56px, 6vw, 84px); background: var(--blanc); border-radius: 6px; align-self: flex-start; }
.chapeau { font-size: clamp(16.5px, 1.4vw, 19px); max-width: 64ch; color: var(--gris); }
.nuit .chapeau, .nuit-2 .chapeau, .hero .chapeau { color: #E4EAEE; }
.doux { color: var(--gris); }
.nuit .doux, .nuit-2 .doux { color: var(--gris-clair); }

/* En-tête */
.entete { background: var(--blanc); border-bottom: 1px solid var(--trait); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.entete .inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a, .entete-actions .btn { white-space: nowrap; }
.nav a { text-decoration: none; font-weight: 500; font-size: 16px; padding-block: 12px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.entete-actions { display: flex; align-items: center; gap: 14px; }
.tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.menu { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; font-family: var(--texte); font-size: 16px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn.plein { background: var(--orange); color: var(--nuit); }
.btn.plein:hover { background: #FF8A3D; }
.btn.contour { border-color: currentColor; }
.btn.contour:hover { background: rgba(255,255,255,0.12); }
.btn.sombre { background: var(--nuit); color: var(--blanc); }
.btn.sombre:hover { background: var(--nuit-2); }
.btn.petit { min-height: 40px; padding: 0 16px; font-size: 15px; }
.lien { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.lien:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Ouverture */
.hero { position: relative; color: var(--blanc); background: var(--nuit); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,30,43,0.88) 0%, rgba(14,30,43,0.66) 55%, rgba(14,30,43,0.34) 100%); }
.hero .inner { position: relative; z-index: 1; padding-block: clamp(32px, 5vw, 76px) clamp(26px, 3.4vw, 44px); }
.hero h1 { max-width: 22ch; }
.hero.page .inner { padding-block: clamp(28px, 4vw, 56px) clamp(22px, 2.8vw, 36px); }
.hero.page h1 { font-size: clamp(28px, 3.3vw, 46px); max-width: 24ch; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Repères */
.reperes { display: grid; grid-template-columns: repeat(7, minmax(0, auto)); justify-content: space-between; gap: 20px; }
.repere span { display: block; max-width: 190px; }
@media (max-width: 1250px) { .reperes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; } }
.repere b { display: block; white-space: nowrap; font-family: var(--titre); font-size: clamp(30px, 2.9vw, 44px); line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.repere span { color: var(--gris-clair); }

/* Grilles */
.tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; }
.tete p { max-width: 52ch; }
.grille { display: grid; gap: 20px; }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.carte { display: flex; flex-direction: column; background: var(--blanc); color: var(--nuit); text-decoration: none; }
.carte img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.carte .corps { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.carte p { font-size: 15px; color: var(--gris); }
.carte:hover h3 { color: var(--orange-texte); }
.real { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.real img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.real .corps { display: flex; flex-direction: column; gap: 4px; }
.real .corps p { font-size: 15px; }
.real .lieu { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-texte); }
.nuit .real .lieu { color: var(--orange); }
.real:hover h3 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* Blocs texte + image */
.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.duo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.liste-iles { display: grid; gap: 8px; }
.puces { display: grid; gap: 8px; }
.puces li { display: flex; gap: 14px; align-items: flex-start; }
.puces li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 9px; background: var(--orange); }
.fiche { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.fiche .texte { display: flex; flex-direction: column; gap: 14px; max-width: 65ch; }
.donnees { display: grid; gap: 0; border-top: 2px solid var(--nuit); }
.donnees div { display: grid; gap: 1px; padding-block: 9px; border-bottom: 1px solid var(--trait); }
.donnees dt { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris); }
.donnees dd { margin: 0; font-weight: 500; }
.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.galerie figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.galerie img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.galerie figcaption { font-size: 15px; color: var(--gris); }
.tableau { display: grid; gap: 0; border-top: 2px solid currentColor; }
.tableau div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; padding-block: 9px; border-bottom: 1px solid rgba(128,140,150,0.4); }
.tableau b { font-family: var(--titre); font-size: 20px; text-transform: uppercase; line-height: 1.1; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 10px; }
.etiquettes li { padding: 5px 12px; border: 1px solid currentColor; font-weight: 500; font-size: 15px; }
.portrait { flex: none; object-fit: cover; aspect-ratio: 1; background: var(--brume); }
.portrait.vide { display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-weight: 700; font-size: 30px; color: var(--gris); }
.personne { display: flex; gap: 24px; align-items: flex-start; }
.membres { display: grid; gap: 16px; }
.membre { display: flex; gap: 18px; align-items: center; }
.membre div { display: grid; gap: 2px; }
.membre b { font-family: var(--titre); font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.encart { border-left: 0; background: var(--brume); padding: clamp(16px, 2.2vw, 24px); display: flex; flex-direction: column; gap: 10px; }
.coord { font-family: var(--titre); font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.1; user-select: all; overflow-wrap: anywhere; }
.appel { background: var(--orange); color: var(--nuit); }
.appel .inner { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.appel .pile { max-width: 46rem; gap: 8px; }
.note { font-size: 15px; color: var(--gris); }
.prose { display: flex; flex-direction: column; gap: 12px; max-width: 70ch; }
.prose h2 { font-size: clamp(21px, 2vw, 27px); margin-top: 10px; }

.filtres { display: flex; flex-wrap: wrap; gap: 10px; }
.filtre { min-height: 44px; padding: 0 16px; font-family: var(--texte); font-size: 16px; font-weight: 500; background: var(--blanc); color: var(--nuit); border: 1px solid var(--nuit); cursor: pointer; }
.filtre:hover { background: var(--brume); }
.filtre.actif { background: var(--nuit); color: var(--blanc); }
[hidden] { display: none !important; }

/* Bandeau clients */
.clients { background: var(--blanc); border-block: 1px solid var(--trait); overflow: hidden; }
.clients .tete { align-items: baseline; }
.defile { display: flex; gap: 0; margin-top: 20px; width: max-content; animation: defile 60s linear infinite; }
.defile:hover, .defile:focus-within { animation-play-state: paused; }
.defile ul { display: flex; align-items: center; gap: clamp(36px, 5vw, 72px); padding-right: clamp(36px, 5vw, 72px); flex: none; }
.defile img { height: 56px; width: auto; max-width: 140px; object-fit: contain; opacity: 0.92; transition: transform .2s, opacity .2s; }
.defile li:hover img { opacity: 1; transform: scale(1.04); }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .defile { animation: none; width: auto; flex-wrap: wrap; } .defile ul[aria-hidden] { display: none; } .defile ul { flex-wrap: wrap; justify-content: center; row-gap: 28px; padding-inline: var(--gouttiere); } }

/* Pied */
.pied { background: var(--nuit-3); color: var(--gris-clair); font-size: 15px; line-height: 1.45; }
.pied .inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding-block: 32px; }
.pied b { color: var(--blanc); }
.pied .marque { font-family: var(--titre); font-size: 26px; line-height: 1.1; color: var(--blanc); }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied ul { display: grid; gap: 2px; }

@media (max-width: 1100px) {
  .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { gap: 18px; }
  .entete-actions .btn { display: none; }
}
@media (max-width: 860px) {
  .menu { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; color: var(--nuit); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--blanc); border-bottom: 1px solid var(--trait); padding: 8px var(--gouttiere) 16px; }
  .nav.ouvert { display: flex; }
  .nav a { padding-block: 11px; border-bottom: 1px solid var(--trait); font-size: 17px; }
  .tel span { display: none; }
  .tel { width: 40px; height: 44px; justify-content: center; }
  .logo img { height: 36px; }
  .entete .inner { min-height: 56px; gap: 10px; }
  .entete-actions { gap: 8px; }
  .reperes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g5, .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g2, .duo, .fiche { grid-template-columns: minmax(0, 1fr); }
  .pied .inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tableau div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 520px) {
  .g5, .g3 { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .personne { flex-direction: column; }
  .pied .inner { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Formulaires */
.inner.etroit { max-width: calc(820px + 2 * var(--gouttiere)); }
.formulaire { display: flex; flex-direction: column; gap: 14px; background: var(--blanc); border: 1px solid var(--trait); padding: clamp(16px, 3vw, 28px); }
.formulaire .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.formulaire label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 15px; color: var(--nuit); }
.formulaire input[type=text], .formulaire input[type=email], .formulaire input[type=tel], .formulaire select, .formulaire textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--nuit); background: var(--blanc); border: 1px solid #8A98A4; border-radius: 0; padding: 9px 12px; min-height: 44px; width: 100%; }
.formulaire textarea { resize: vertical; min-height: 120px; }
.formulaire input:focus-visible, .formulaire select:focus-visible, .formulaire textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
.formulaire .depot { border: 2px dashed #8A98A4; padding: 14px; background: var(--brume); }
.formulaire .depot .aide { font-weight: 400; color: var(--gris); font-size: 15px; }
.formulaire input[type=file] { font: inherit; font-weight: 400; font-size: 16px; max-width: 100%; }
.formulaire .fichiers { list-style: none; margin: -8px 0 0; padding: 0; font-size: 15px; color: var(--gris); display: flex; flex-direction: column; gap: 4px; }
.formulaire .fichiers:empty { display: none; }
.formulaire .piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire button { align-self: flex-start; }
.formulaire button[disabled] { opacity: 0.6; cursor: progress; }
.formulaire .etat { margin: 0; font-weight: 600; min-height: 1.4em; }
.formulaire .etat:empty { display: none; }
.formulaire .etat.ok { color: #1B6B3A; }
.formulaire .etat.erreur { color: #A32218; }
@media (max-width: 640px) { .formulaire .duo { grid-template-columns: 1fr; } }

/* Postes à pourvoir */
.offres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.offre { background: var(--blanc); border: 1px solid var(--trait); border-top: 4px solid var(--orange); padding: clamp(16px, 2.2vw, 24px); display: flex; flex-direction: column; gap: 8px; }
.offre h3 { font-family: var(--titre); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.05; text-transform: uppercase; }
.offre p { color: var(--gris); }
.offre .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 760px) { .offres { grid-template-columns: minmax(0, 1fr); } }

/* Méthode en étapes */
.etapes { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.etapes li::marker { color: var(--orange-texte); font-weight: 700; }

/* Accueil : ligne d'identité au-dessus du titre */
.hero .surtitre.accroche { font-family: var(--titre); font-size: clamp(20px, 2.1vw, 30px); font-weight: 600; letter-spacing: 0.06em; line-height: 1.2; }

.reseaux { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 16px; font-weight: 600; color: #E4EAEE; }
.reseaux a { display: inline-flex; line-height: 0; border-radius: 8px; transition: transform .15s; }
.reseaux a:hover, .reseaux a:focus-visible { transform: scale(1.08); }
.pied .reseaux { margin-top: 14px; }
.pied .reseaux svg { width: 32px; height: 32px; }
.reseaux-entete { display: inline-flex; align-items: center; gap: 10px; }
.reseaux-entete a { display: inline-flex; line-height: 0; border-radius: 6px; transition: transform .15s; }
.reseaux-entete a:hover, .reseaux-entete a:focus-visible { transform: scale(1.1); }
.reseaux-entete svg { width: 28px; height: 28px; }
@media (max-width: 1240px) { .entete-actions .btn { display: none; } }

/* Drapeau de la Polynésie française, à côté du nom du pays */
.pays { white-space: nowrap; }
.drapeau { display: inline-block; height: 0.95em; width: auto; vertical-align: -0.12em; margin-left: 0.3em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,0.35); }
.pied .drapeau { height: 0.9em; box-shadow: none; }
@media (max-width: 520px) { .hero .pays { white-space: normal; } }
.repere b .compte { display: inline-block; max-width: none; color: inherit; text-align: left; }

/* Carte interactive des îles */
.carte-iles { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 32px; align-items: stretch; }
.carte-zone { position: relative; background: #A9D3F2; border-radius: 6px; overflow: hidden; border: 1px solid #8FBFE3; }
.carte-zone svg { display: block; width: 100%; height: auto; }
.carte-zone .terre { fill: #DCE8C8; stroke: #9DB888; stroke-width: 0.8; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.carte-zone .grat { stroke: rgba(255,255,255,0.45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.carte-zone .grat-t { fill: #4F7391; font-size: 13px; font-family: var(--texte); }
.carte-zone .arch { fill: #5B86A8; font-family: var(--texte); font-style: italic; font-weight: 500; font-size: 27px; letter-spacing: 0.22em; text-transform: uppercase; }
.carte-zone .echelle { fill: none; stroke: #4F7391; stroke-width: 1.5; }
.ile { cursor: pointer; }
.ile .pt { fill: var(--orange); stroke: var(--blanc); stroke-width: 1.6; transition: fill .15s; filter: drop-shadow(0 1px 1.5px rgba(14,30,43,0.35)); }
.ile .oeil { fill: var(--blanc); }
.ile.vide .pt { fill: var(--blanc); stroke: var(--orange); stroke-width: 2.4; }
.ile.vide .oeil { fill: var(--orange); }
.ile text { fill: var(--nuit); font-family: var(--texte); font-size: 17px; font-weight: 600; paint-order: stroke; stroke: rgba(255,255,255,0.9); stroke-width: 4px; stroke-linejoin: round; }
.ile .halo { fill: rgba(14,30,43,0.25); stroke: none; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ile .cible { fill: transparent; }
.ile:hover .pt { fill: #D95C0E; }
.ile.vide:hover .pt { fill: #FFE7D6; }
.ile.choisi .pt { fill: var(--nuit); stroke: var(--blanc); }
.ile.choisi .oeil { fill: var(--orange); }
.ile.choisi .halo { opacity: 1; animation: ile-pouls 1.8s ease-out infinite; }
@keyframes ile-pouls { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(2.6); opacity: 0; } }
.carte-legende { margin: 0; justify-content: flex-end; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--nuit); background: rgba(255,255,255,0.85); padding: 7px 12px; background: var(--blanc); }
.carte-legende span { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-left: 8px; }
.carte-legende .l-plein { background: var(--orange); }
.carte-legende .l-vide { border: 2px solid var(--orange); background: var(--blanc); }
.carte-legende span:first-child { margin-left: 0; }
.carte-panneau { position: relative; min-height: 280px; }
.ile-fiche { display: flex; flex-direction: column; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--trait); margin-bottom: 18px; }
.carte-iles.actif .carte-panneau { overflow-y: auto; }
.carte-iles.actif .ile-fiche { display: none; position: absolute; inset: 0; margin: 0; padding: 0 8px 0 0; border: 0; }
.carte-iles.actif .ile-fiche.choisi { display: flex; }
.ile-fiche h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1; }
.ile-fiche .compte-ile { font-weight: 600; color: var(--gris); }
.ile-fiche ul { display: grid; gap: 0; border-top: 2px solid var(--nuit); }
.ile-fiche li a { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; padding-block: 7px; border-bottom: 1px solid var(--trait); text-decoration: none; }
.ile-fiche li img { width: 84px; height: 56px; object-fit: cover; }
.ile-fiche li strong { display: block; font-weight: 600; line-height: 1.25; }
.ile-fiche li small { display: block; font-size: 13px; color: var(--gris); }
.ile-fiche li a:hover strong { color: var(--orange-texte); text-decoration: underline; text-underline-offset: 3px; }
.carte-puces { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.puces-groupe { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.puces-groupe > span { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris); margin-right: 2px; }
.puce-ile { font: inherit; font-size: 13px; font-weight: 500; min-height: 28px; padding: 0 10px; background: var(--blanc); color: var(--nuit); border: 1px solid var(--gris-clair); border-radius: 20px; cursor: pointer; }
.puce-ile b { margin-left: 4px; color: var(--orange-texte); font-weight: 700; }
.puce-ile:hover { border-color: var(--nuit); }
.puce-ile:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.puce-ile.choisi { background: var(--nuit); color: var(--blanc); border-color: var(--nuit); }
.puce-ile.choisi b { color: var(--orange); }
@media (max-width: 860px) {
  .carte-iles { grid-template-columns: minmax(0, 1fr); }
  .carte-puces { grid-row: 2; }
  .carte-iles.actif .carte-panneau { min-height: 0; overflow: visible; }
  .carte-iles.actif .ile-fiche { position: static; padding: 0; }
  .ile text { display: none; font-size: 30px; }
  .ile.choisi text { display: block; }
  .carte-zone .arch { font-size: 34px; }
  .carte-zone .grat-t { display: none; }
  .carte-legende { flex-wrap: wrap; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .ile.choisi .halo { animation: none; } }
.ile .halo, .ile text { pointer-events: none; }
@media (max-width: 860px) { .puce-ile { min-height: 30px; padding: 0 10px; font-size: 13px; } .puces-groupe { gap: 5px; } .carte-puces { gap: 6px 14px; } }
.carte-zone .fixe { transform: scale(var(--inv, 1)); }
.carte-zone .deco { transition: opacity .3s; }
.carte-iles.zoome .deco { opacity: 0; }
.carte-zoom { position: absolute; left: 12px; top: 12px; font: inherit; font-size: 14px; font-weight: 600; min-height: 36px; padding: 0 14px; background: var(--blanc); color: var(--nuit); border: 0; border-radius: 4px; box-shadow: 0 1px 4px rgba(14,30,43,0.3); cursor: pointer; }
.carte-zoom:hover { background: #F3F6F8; }
.carte-zoom:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (max-width: 860px) { .carte-iles.zoome .ile[data-z] text { display: block; } .carte-zoom { font-size: 13px; min-height: 34px; padding: 0 10px; left: 8px; top: 8px; } }
.carte-zone .europe { transition: opacity .3s; }
.carte-zone .europe path { fill: rgba(255,255,255,0.3); stroke: rgba(255,255,255,0.85); stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.carte-zone .europe text { display: none; }
.carte-iles.zoome .europe, .carte-iles.sans-europe .europe { opacity: 0; }
.carte-europe { margin-right: auto; font: inherit; font-size: 13px; font-weight: 500; color: var(--nuit); background: none; border: 0; padding: 0 0 0 40px; min-height: 24px; position: relative; cursor: pointer; }
.carte-europe::before { content: ""; position: absolute; left: 0; top: 50%; width: 32px; height: 18px; margin-top: -9px; border-radius: 9px; background: var(--gris-clair); transition: background .15s; }
.carte-europe::after { content: ""; position: absolute; left: 2px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--blanc); transition: transform .15s; }
.carte-europe[aria-pressed="true"]::before { background: var(--orange); }
.carte-europe[aria-pressed="true"]::after { transform: translateX(14px); }
.carte-europe:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media (max-width: 860px) { .carte-europe { flex-basis: 100%; text-align: left; } }
.liens-zones { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.faq h2 { font-family: var(--texte); text-transform: none; font-weight: 600; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.3; margin-top: 16px; }
.faq h2:first-child { margin-top: 0; }
.ile-fiche > .lien { margin-top: 6px; }
@media (max-width: 1100px) and (min-width: 861px) { .pied .inner { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Mise en page compacte (05/10/2026) ---------- */
section:has(> .reperes) { padding-block: 24px !important; }
.reperes { gap: 16px; }
.repere > span { font-size: 14.5px; line-height: 1.3; }
/* Liste complète des réalisations : 4 colonnes sur grand écran */
@media (min-width: 1150px) { .filtres ~ .g3 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .filtres ~ .g3 .real h2 { font-size: 21px !important; } }
.filtres { gap: 8px; }
.filtre { min-height: 38px; padding: 0 14px; font-size: 15px; }

@media (max-width: 860px) {
  .reperes { gap: 14px 16px; }
  .pied .inner { gap: 20px 16px; padding-block: 26px; }
}
@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .bande { padding-block: 26px; }
  section:has(> .reperes) { padding-block: 18px !important; }
  .pile { gap: 12px; }
  .pile.large { gap: 18px; }
  .grille { gap: 14px; }
  .g3 { gap: 14px; }
  /* Repères : 3 par ligne */
  .reperes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
  .repere b { font-size: 26px; }
  .repere > span { font-size: 12.5px; line-height: 1.25; }
  /* Cartes en ligne : vignette à gauche, texte à droite */
  .real { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: start; }
  .real img { aspect-ratio: 4 / 3; }
  .real .corps { gap: 2px; }
  .real .lieu { font-size: 11.5px; letter-spacing: 0.05em; line-height: 1.3; }
  .real h2, .real h3 { font-size: 18px !important; line-height: 1.1 !important; }
  .real .corps p { font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .carte { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .carte img { aspect-ratio: auto; height: 100%; min-height: 84px; }
  .carte .corps { padding: 9px 12px 10px; gap: 3px; }
  .carte h3 { font-size: 18px; }
  .carte p { font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .btn { min-height: 44px; }
  .actions { gap: 10px; }
  .hero .logo-marque { height: 48px; }
  .defile img { height: 44px; max-width: 110px; }
  .defile { margin-top: 14px; }
  .filtres { gap: 6px; }
  .filtre { min-height: 34px; padding: 0 11px; font-size: 14px; }
  .galerie { gap: 12px; }
  .tableau div, .donnees div { padding-block: 7px; }
  .carte-legende { font-size: 12px; padding: 5px 10px; }
  /* Pied de page : deux colonnes, sur un seul écran */
  .pied { font-size: 14px; }
  .pied .inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; padding-block: 22px; }
  .pied .marque { font-size: 22px; }
  .pied ul { gap: 0; }
  .pied .reseaux { margin-top: 8px; gap: 10px; }
  .pied .reseaux svg { width: 26px; height: 26px; }
}
