/* ==========================================================================
   CLÉMENT — médium guérisseur, Outre-mer
   Direction « Couleurs d'île » : chaque île a sa palette (assets/themes.css),
   son paysage en papier découpé (assets/scene.js), son emblème, sa frise et sa
   vie animée. Le site prend les couleurs de l'île du visiteur, avant le premier
   affichage, et bascule avec un fondu circulaire quand on change d'île.
   Toutes les couleurs passent par des variables : aucune valeur de thème ici.
   ========================================================================== */

/* ---------------------------------------------------------------- 0. Polices */
@font-face {
  font-family: 'Young Serif';
  src: url('/fonts/young-serif-400-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Albert Sans';
  src: url('/fonts/albert-sans-var-latin.woff2') format('woff2');
  font-weight: 300 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------- 1. Jetons communs à tous les thèmes */
:root {
  --f-titre: 'Young Serif', Georgia, 'Times New Roman', serif;
  --f-texte: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --ressort: cubic-bezier(.34, 1.56, .64, 1);
  --gout: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --r: 22px;
  --entete-h: 68px;
  --wa: #13804F;
  --wa-vif: #25D366;
  --vif: #36D27A;
}
/* Contexte de section : les composants lisent --fg, --fg-doux, --trait et --lien */
.ton-clair { --fg: var(--encre); --fg-doux: var(--encre-doux); --trait: var(--filet-clair); --lien: var(--accent-2); background-color: var(--fond); color: var(--fg); }
.ton-clair--2 { background-color: var(--fond-2); }
.ton-sombre { --fg: var(--clair); --fg-doux: var(--clair-doux); --trait: var(--filet); --lien: var(--accent-vif); background-color: var(--sombre); color: var(--fg); }

/* ---------------------------------------------------------------- 2. Base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; background: var(--sombre); }
body {
  margin: 0; overflow-x: clip;
  background: var(--fond); color: var(--encre);
  font-family: var(--f-texte); font-size: clamp(16px, 15px + .3vw, 18px); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
:where(ul[class], ol[class]) { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--lien, var(--accent-2)); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent); color: var(--accent-texte); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.insecable { white-space: nowrap; }
.saut {
  position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: var(--accent-texte); font-weight: 600; text-decoration: none;
  translate: 0 -160%; transition: translate .3s var(--ease);
}
.saut:focus { translate: 0 0; }

/* ---------------------------------------------------------------- 3. Structure & textes */
.conteneur { width: min(100% - 2 * var(--gout), var(--max)); margin-inline: auto; }
.conteneur--etroit { --max: 900px; }
.section { position: relative; padding-block: clamp(84px, 10vw, 150px); }
.surtitre {
  display: inline-flex; align-items: center; gap: .75em;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lien);
}
.surtitre::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: currentColor; opacity: .75; }
.titre {
  margin-top: .45em; font-family: var(--f-titre); font-weight: 400;
  font-size: clamp(2.05rem, 1.15rem + 3.5vw, 4.1rem); line-height: 1.06; letter-spacing: -.012em; text-wrap: balance;
}
.chapo { margin-top: 1.1em; max-width: 62ch; font-size: clamp(1.04rem, .96rem + .38vw, 1.22rem); color: var(--fg-doux); text-wrap: pretty; }
.point-vif {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--vif);
  box-shadow: 0 0 0 0 rgba(54, 210, 122, .6); animation: battement 2s ease-out infinite;
}
@keyframes battement { 70% { box-shadow: 0 0 0 9px rgba(54, 210, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(54, 210, 122, 0); } }

/* ---------------------------------------------------------------- 4. Boutons */
.btn {
  --fond-b: var(--accent); --texte-b: var(--accent-texte); --lueur: var(--accent-lueur);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: .8em 1.5em; border: 0; border-radius: 999px;
  background: var(--fond-b); color: var(--texte-b);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  box-shadow: 0 12px 30px -14px rgba(var(--lueur), .65), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .55s var(--ease), translate .4s var(--ease), box-shadow .45s var(--ease), background-color .35s, color .35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(140px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, .45), transparent 62%);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; translate: -120% 0; transition: translate .9s var(--ease);
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .42) 48%, transparent 66%);
}
.btn:hover { translate: 0 -2px; box-shadow: 0 20px 44px -16px rgba(var(--lueur), .85), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn:hover::before { opacity: 1; }
.btn:hover::after { translate: 120% 0; }
.btn:active { translate: 0 1px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn__fleche { transition: transform .5s var(--ease); }
.btn:hover .btn__fleche { transform: translateX(5px); }
.btn__ico { width: 22px !important; height: 22px !important; }
.btn--wa { --fond-b: var(--wa); --texte-b: #fff; --lueur: 37, 211, 102; }
.btn--contour { --fond-b: transparent; --texte-b: var(--fg, var(--encre)); --lueur: var(--accent-lueur); box-shadow: inset 0 0 0 1.5px var(--trait, var(--filet-clair)); }
.btn--contour:hover { --texte-b: var(--sombre); background: var(--c, var(--accent-vif)); box-shadow: inset 0 0 0 1.5px var(--c, var(--accent-vif)), 0 18px 40px -18px var(--c, var(--accent-vif)); }
.btn--petit { min-height: 44px; padding: .55em 1.15em; font-size: .93rem; }
.btn--large { width: 100%; min-height: 60px; font-size: 1.06rem; }
.ondulation { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; background: rgba(255, 255, 255, .5); translate: -50% -50%; scale: 0; animation: onde .75s var(--ease) forwards; }
@keyframes onde { to { scale: 1; opacity: 0; } }
.btn-rond { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: var(--wa); box-shadow: 0 10px 24px -12px rgba(37, 211, 102, .7); transition: transform .45s var(--ressort); }
.btn-rond svg { width: 22px; height: 22px; }
.btn-rond:hover { transform: translateY(-2px) rotate(-8deg) scale(1.06); }
.lien-appel { display: inline-flex; align-items: center; gap: .55em; padding: .4em .2em; font-weight: 600; text-decoration: none; color: var(--hero-doux); transition: color .3s; }
.lien-appel svg { width: 18px; height: 18px; transition: transform .5s var(--ressort); }
.lien-appel span { padding-bottom: 2px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); }
.lien-appel:hover { color: var(--hero-texte); }
.lien-appel:hover span { background-size: 100% 1.5px; }
.lien-appel:hover svg { transform: rotate(-14deg) scale(1.12); }

/* ---------------------------------------------------------------- 5. Progression & aura du curseur */
.progression { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; pointer-events: none; }
.progression span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--c1), var(--c2) 35%, var(--c3) 68%, var(--c4)); }
.aura {
  position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none;
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 1.5px solid var(--accent-vif); box-shadow: 0 0 20px color-mix(in srgb, var(--accent-vif) 45%, transparent);
  transform: translate3d(var(--ax, -200px), var(--ay, -200px), 0); scale: var(--as, 1); opacity: 0;
  transition: scale .45s var(--ease), opacity .4s, background-color .35s, border-color .35s;
}
.aura.est-visible { opacity: 1; }
.aura.sur-lien { --as: 1.7; background-color: color-mix(in srgb, var(--accent-vif) 14%, transparent); }
.aura.sur-clair { border-color: var(--accent-2); box-shadow: none; }
.aura.appui { --as: .7; }

/* ---------------------------------------------------------------- 6. En-tête (frise propre à chaque île) */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--hero-texte); transition: translate .6s var(--ease), color .4s; }
.entete::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease);
  background: rgba(var(--sombre-rgb), .93); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
}
.entete::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; background: rgba(var(--sombre-rgb), .93);
  -webkit-mask: var(--frange) 0 0 / 36px 12px repeat-x; mask: var(--frange) 0 0 / 36px 12px repeat-x;
  transform-origin: 50% 0; transform: scaleY(0); transition: transform .8s var(--ease);
}
.entete.est-pose { color: var(--clair); }
.entete.est-pose::before { opacity: 1; }
.entete.est-pose::after { transform: scaleY(1); }
.entete.est-cache { translate: 0 calc(-100% - 16px); }
.entete__in { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; height: var(--entete-h); width: min(100% - 2 * var(--gout), var(--max)); margin-inline: auto; }
.marque { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.marque__nom { font-family: var(--f-titre); font-size: 1.7rem; letter-spacing: -.01em; transition: color .4s; }
.marque:hover .marque__nom { color: var(--accent-vif); }
.marque__role { margin-top: 5px; font-size: .62rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; opacity: .78; }
.entete__nav { display: none; gap: 2px; margin-left: auto; }
.entete__nav a { position: relative; padding: 10px 12px; font-size: .92rem; font-weight: 600; text-decoration: none; opacity: .82; transition: opacity .3s; }
.entete__nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--c, var(--accent-vif)); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease);
}
.entete__nav a:hover, .entete__nav a.est-actif { opacity: 1; }
.entete__nav a:hover::after, .entete__nav a.est-actif::after { transform: scaleX(1); transform-origin: 0 50%; }
.entete__dispo { display: none; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid currentColor; font-size: .8rem; font-weight: 700; white-space: nowrap; opacity: .9; }
.entete__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.entete__actions .btn-rond { display: none; }
@media (min-width: 560px) { .entete__actions .btn-rond { display: inline-grid; } }
@media (min-width: 1180px) { .entete__nav { display: flex; } .entete__actions { margin-left: 12px; } }
@media (min-width: 1400px) { .entete__dispo { display: inline-flex; } }
@media (max-width: 1023px) { .entete__actions .btn { min-height: 40px; padding: .5em 1em; font-size: .86rem; } }

/* ---------------------------------------------------------------- 7. Héros : le paysage de l'île */
.hero {
  --sol-h: clamp(300px, 46svh, 440px);
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-rows: auto var(--sol-h); min-height: 100vh; min-height: 100svh;
  padding-top: calc(var(--entete-h) + 14px);
  background: linear-gradient(180deg, var(--ciel-1) 0%, var(--ciel-2) 58%, var(--ciel-3) 100%);
  color: var(--hero-texte);
}
.scene { --hz: 54; position: absolute; left: 0; right: 0; bottom: 0; height: var(--sol-h); z-index: 0; pointer-events: none; }
.scene::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--hz) * 1%); bottom: 0; background: linear-gradient(180deg, var(--mer-1), var(--mer-2)); }
.scene::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--hz) * 1% - 1px); height: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ciel-3) 80%, #fff) 30%, #fff 60%, transparent);
  opacity: .8; animation: horizon 2s var(--ease) .2s both;
}
.scene__svg, .scene__vie { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__svg { z-index: 2; overflow: visible; }
.scene__vie { z-index: 3; }
.scene__deco { position: absolute; inset: 0; z-index: 2; overflow: hidden; }
.scene__svg .r1 { fill: var(--relief-1); }
.scene__svg .r2 { fill: var(--relief-2); }
.scene__svg .r4 { fill: var(--relief-4); }
.scene__couche { will-change: transform; animation: lever 1.5s var(--ease) backwards; }
.scene__svg > g:nth-of-type(1) { animation-delay: .15s; }
.scene__svg > g:nth-of-type(2) { animation-delay: .3s; }
.scene__svg > g:nth-of-type(3) { animation-delay: .45s; }
.scene__svg > g:nth-of-type(4) { animation-delay: .6s; }
@keyframes lever { from { translate: 0 46px; opacity: 0; } to { translate: none; opacity: 1; } }
.scene__flotte { transform-box: fill-box; transform-origin: 50% 100%; animation: flotte 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.7s); }
@keyframes flotte { 0%, 100% { translate: 0 0; rotate: -1deg; } 50% { translate: 0 -2.5px; rotate: 1.2deg; } }
.scene__cratere { transform-box: fill-box; transform-origin: center; animation: cratere 3.4s ease-in-out infinite; }
@keyframes cratere { 0%, 100% { opacity: .75; scale: .92; } 50% { opacity: 1; scale: 1.1; } }
.scene__coulee { fill: none; stroke: #FF7A2E; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 9 6; filter: drop-shadow(0 0 5px #FF5A1F); animation: coulee 2.6s linear infinite; }
@keyframes coulee { to { stroke-dashoffset: -30; } }
.scene__recif { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 18 12; animation: ressac 7s linear infinite; }
@keyframes ressac { to { stroke-dashoffset: -60; } }
.scene__reflet { mix-blend-mode: screen; animation: miroite 3.4s ease-in-out infinite; }
@keyframes miroite { 50% { opacity: .6; } }
.scene__lueur-phare { animation: phare 3s ease-in-out infinite; }
@keyframes phare { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.scene__astre {
  position: absolute; z-index: 1; left: var(--astre-x); top: calc(var(--hz) * var(--astre-k) * 1%);
  width: var(--astre-t); aspect-ratio: 1; border-radius: 50%; translate: -50% -50%;
  background: radial-gradient(circle at 50% 45%, #fff 0%, var(--astre) 55%, color-mix(in srgb, var(--astre) 80%, #fff) 70%);
  box-shadow: 0 0 60px 22px color-mix(in srgb, var(--astre) 50%, transparent), 0 0 160px 60px color-mix(in srgb, var(--astre) 22%, transparent);
  animation: astre 2.4s var(--ease) .1s both;
}
@keyframes astre { from { opacity: 0; translate: -50% -20%; } to { opacity: 1; translate: -50% -50%; } }
.scene__oiseau { position: absolute; left: 0; top: var(--y); width: calc(26px * var(--t)); height: calc(12px * var(--t)); animation: vol var(--d) linear infinite; animation-delay: var(--delai); }
.scene__oiseau i {
  display: block; width: 100%; height: 100%; background: var(--relief-4); transform-origin: 50% 60%; animation: battre .55s ease-in-out infinite alternate;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M1 9Q7 1 13 8Q19 1 25 9' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M1 9Q7 1 13 8Q19 1 25 9' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.scene__oiseau--paille { height: calc(30px * var(--t)); }
.scene__oiseau--paille i {
  background: #FFFDF7;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 30'%3E%3Cpath d='M1 9Q7 2 13 8Q19 2 25 9M13 8L11.5 29M13 8L14.5 29' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 30'%3E%3Cpath d='M1 9Q7 2 13 8Q19 2 25 9M13 8L11.5 29M13 8L14.5 29' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.scene__oiseau--pelican { width: calc(46px * var(--t)); height: calc(18px * var(--t)); }
.scene__oiseau--pelican i { animation-duration: 1.4s; }
@keyframes vol { from { translate: -80px 0; } 50% { translate: 50vw -18px; } to { translate: calc(100vw + 80px) 6px; } }
@keyframes battre { from { scale: 1 1; } to { scale: 1 .35; } }
.scene__brume {
  position: absolute; left: -20%; right: -20%; top: calc(var(--hz) * 1% + var(--y)); height: var(--h); opacity: var(--o);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .9) 50%, transparent); filter: blur(10px);
  animation: brume 24s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -9s);
}
@keyframes brume { from { translate: -5% 0; } to { translate: 5% 0; } }

.hero__in { position: relative; z-index: 4; grid-row: 1; padding: 14px var(--gout) 28px; max-width: calc(680px + 2 * var(--gout)); }
.hero__in::before {
  content: ""; position: absolute; z-index: -1; inset: -40px -10px -10px -40px; pointer-events: none;
  background: radial-gradient(70% 70% at 35% 45%, var(--hero-voile), transparent 72%);
}
.ile-puce {
  display: inline-flex; align-items: center; gap: .55em; padding: .42em .95em .42em .55em; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--hero-texte) 28%, transparent); background: color-mix(in srgb, var(--hero-texte) 7%, transparent);
  color: var(--hero-texte); font-size: .86rem; font-weight: 600; cursor: pointer;
  transition: background-color .35s, border-color .35s, translate .5s var(--ressort);
  animation: apparaitre .9s var(--ease) .1s both;
}
.ile-puce__em { width: 22px; height: 22px; color: var(--hero-accent); }
.ile-puce:hover { translate: 0 -2px; border-color: var(--hero-accent); background: color-mix(in srgb, var(--hero-texte) 12%, transparent); }
.ile-puce__heure { font-variant-numeric: tabular-nums; color: var(--hero-accent); }
.ile-puce__heure:empty { display: none; }
.ile-puce__changer { font-size: .76rem; font-weight: 500; opacity: .8; text-decoration: underline; text-underline-offset: 3px; }
.hero__surnom { margin-top: 18px; font-family: var(--f-titre); font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); color: var(--hero-doux); animation: apparaitre .9s var(--ease) .18s both; }
.hero__titre { margin-top: 6px; font-family: var(--f-titre); font-weight: 400; font-size: clamp(2.5rem, 1.35rem + 4.2vw, 4.7rem); line-height: 1.02; letter-spacing: -.02em; }
.hero__titre .ligne { display: block; overflow: hidden; padding: .06em 0 .1em; margin-bottom: -.1em; }
.hero__titre .ligne > span { display: inline-block; animation: surgir 1.2s var(--ease) both; animation-delay: calc(.22s + var(--i, 0) * .13s); }
.ligne--ile > span { color: var(--hero-accent); }
.ligne--ile.est-change > span { animation: resurgir .9s var(--ease) both; }
.lanternes { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 24px; }
.lanternes li { animation: apparaitre .9s var(--ease) both; animation-delay: calc(.62s + var(--i) * .08s); }
.lanternes a {
  display: inline-flex; align-items: center; gap: .6em; padding: .48em 1em .48em .85em; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--hero-texte) 22%, transparent); background: color-mix(in srgb, var(--hero-texte) 6%, transparent);
  color: var(--hero-texte); font-size: .9rem; font-weight: 600; text-decoration: none;
  transition: border-color .35s, background-color .35s, translate .5s var(--ressort), box-shadow .45s;
}
.lanternes i { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 30%, transparent); animation: luciole 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * .9s + 1.2s); }
.lanternes a:hover { translate: 0 -3px; border-color: var(--c); background: color-mix(in srgb, var(--c) 22%, transparent); box-shadow: 0 14px 30px -18px var(--c); }
.hero__chapo { margin-top: 22px; max-width: 54ch; font-size: clamp(1.02rem, .96rem + .32vw, 1.18rem); color: var(--hero-doux); animation: apparaitre 1s var(--ease) .9s both; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 28px; animation: apparaitre 1s var(--ease) 1.02s both; }
.hero__reassurance { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 22px; font-size: .86rem; font-weight: 600; color: var(--hero-doux); animation: apparaitre 1s var(--ease) 1.16s both; }
.hero__reassurance li { display: flex; align-items: center; gap: .55em; }
.hero__reassurance li:not(.hero__dispo)::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .7; }
.hero__dispo { color: var(--hero-texte); }
.hero__sol { grid-row: 2; }
.hero__astuce {
  position: absolute; z-index: 5; left: 50%; bottom: 18px; translate: -50% 0; pointer-events: none; white-space: nowrap;
  font-size: .68rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
  animation: astuce 3.4s ease-in-out 2.6s infinite both; transition: opacity .8s;
}
.hero__astuce.est-cache { opacity: 0 !important; animation: none; }
@media (max-width: 520px) { .hero__ctas .btn { width: 100%; } .hero__ctas .lien-appel { margin-inline: auto; } }
@media (min-width: 1024px) {
  :root { --entete-h: 76px; }
  .hero { grid-template-rows: 1fr; align-items: center; }
  .scene { --hz: 78; inset: 0; height: auto; }
  .hero__in { grid-row: 1; padding-left: max(var(--gout), (100vw - var(--max)) / 2); padding-bottom: 20vh; max-width: calc(720px + max(var(--gout), (100vw - var(--max)) / 2)); }
  .hero__titre { font-size: clamp(2.6rem, 1.4rem + 2.7vw, 4.4rem); }
  .lanternes a { font-size: .85rem; padding: .42em .9em .42em .75em; }
  .hero__sol { display: none; }
}
@keyframes surgir { from { transform: translateY(105%); opacity: 0; filter: blur(8px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes resurgir { from { transform: translateY(105%); opacity: 0; filter: blur(8px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes apparaitre { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes horizon { from { transform: scaleX(0); opacity: 0; } }
@keyframes luciole { 0%, 100% { scale: .85; } 12% { scale: 1.35; } 24% { scale: .95; } }
@keyframes astuce { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* ---------------------------------------------------------------- 8. Bandeau des îles */
.bandeau { position: relative; z-index: 2; overflow: hidden; padding: 24px 0 22px; background: var(--sombre); color: var(--clair); border-bottom: 1px solid var(--filet); }
.bandeau__piste { display: flex; width: max-content; transform: skewX(var(--incl, 0deg)); }
.bandeau__liste { display: flex; align-items: center; flex: none; animation: defile 70s linear infinite; }
.bandeau__piste--fines { margin-top: 14px; }
.bandeau__piste--fines .bandeau__liste { animation-duration: 52s; animation-direction: reverse; }
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.bandeau__liste li { display: flex; align-items: center; white-space: nowrap; font-family: var(--f-titre); font-size: clamp(1.6rem, 1.05rem + 2.4vw, 3rem); line-height: 1.12; color: var(--clair-doux); transition: color .4s; }
.bandeau__liste li::after { content: ""; width: .3em; height: .3em; margin-inline: .7em; rotate: 45deg; border: 2px solid var(--c2); opacity: .8; }
.bandeau__liste li:hover, .bandeau__liste li.est-ici { color: var(--accent-vif); }
.bandeau__liste li.est-ici::before { content: ""; width: .22em; height: .22em; margin-right: .35em; border-radius: 50%; background: var(--accent-vif); box-shadow: 0 0 12px var(--accent-vif); }
.bandeau__piste--fines li { font-family: var(--f-texte); font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--clair-doux); }
.bandeau__piste--fines li::before { content: ""; width: 7px; height: 7px; margin-right: .9em; border-radius: 50%; background: var(--c); }
.bandeau__piste--fines li::after { display: none; }
.bandeau__piste--fines li + li { margin-left: 2.6em; }
.bandeau__piste--fines .bandeau__liste { padding-right: 2.6em; }

/* ---------------------------------------------------------------- 9. Situations (clair) */
.situations__grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(34px, 5vw, 54px); }
@media (min-width: 760px) { .situations__grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .situations__grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.situations__grille > li { display: flex; }
.situation {
  --c: var(--c3);
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; min-height: 168px; padding: 20px 18px 18px;
  text-align: left; cursor: pointer; color: var(--encre);
  border-radius: var(--r); border: 1px solid var(--filet-clair); background: var(--carte);
  box-shadow: 0 12px 30px -24px rgba(var(--sombre-rgb), .5);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease), translate .5s var(--ease), border-color .4s, box-shadow .5s var(--ease), background-color .4s;
}
.situation::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .45s;
  background: radial-gradient(240px circle at var(--sx, 50%) var(--sy, 0%), color-mix(in srgb, var(--c) 30%, transparent), transparent 68%);
}
.situation:hover { translate: 0 -4px; border-color: var(--c); box-shadow: 0 26px 50px -30px color-mix(in srgb, var(--c) 90%, var(--sombre)); }
.situation:hover::before { opacity: 1; }
.situation__icone { width: 36px; height: 36px; padding: 6px; border-radius: 12px; color: var(--sombre); background: var(--c); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.situation__icone * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.situation:hover .situation__icone * { animation: tracer 1.1s var(--ease) both; }
.situation__texte { font-size: clamp(.95rem, .9rem + .2vw, 1.04rem); font-weight: 600; line-height: 1.35; text-wrap: pretty; }
.situation__tag { margin-top: auto; display: inline-flex; align-items: center; gap: .55em; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-doux); transition: translate .5s var(--ease); }
.situation__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.situation:hover .situation__tag { translate: 4px 0; }
.situation[aria-pressed="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 16%, var(--carte)); }
.situation[aria-pressed="true"]::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%; animation: pop .55s var(--ressort);
  background: var(--sombre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
@keyframes tracer { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { scale: 0; } to { scale: 1; } }
.situations__choix {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-top: 22px; padding: 16px 18px 16px 22px;
  border-radius: var(--r); border: 1px solid var(--accent-2); background: color-mix(in srgb, var(--accent-2) 8%, var(--carte));
  animation: apparaitre .6s var(--ease);
}
.situations__note { color: var(--encre-doux); }
.situations__note strong { color: var(--encre); font-weight: 700; }
.situations__choix-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- 10. Manifeste (sombre, mots allumés au défilement) */
.manifeste { position: relative; }
.js .manifeste { height: 230vh; }
.manifeste__colle { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 80vh; padding: 120px var(--gout); }
.js .manifeste__colle { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; padding-block: 0; }
.manifeste__colle::before, .manifeste__colle::after { content: ""; position: absolute; width: 60vmax; aspect-ratio: 1; border-radius: 50%; filter: blur(40px); opacity: .55; pointer-events: none; animation: derive 22s ease-in-out infinite alternate; }
.manifeste__colle::before { left: -25vmax; top: -20vmax; background: radial-gradient(circle, color-mix(in srgb, var(--c3) 22%, transparent), transparent 60%); }
.manifeste__colle::after { right: -25vmax; bottom: -25vmax; background: radial-gradient(circle, color-mix(in srgb, var(--c1) 20%, transparent), transparent 60%); animation-delay: -11s; }
@keyframes derive { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(8vmax, 6vmax, 0) scale(1.15); } }
.manifeste__texte { position: relative; max-width: 1080px; font-family: var(--f-titre); font-size: clamp(1.7rem, 1rem + 2.9vw, 3.35rem); line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.manifeste__texte .mot { opacity: .18; transition: opacity .5s var(--ease), color .6s, text-shadow .6s; }
.manifeste__texte .mot.est-allume { opacity: 1; }
.manifeste__texte [data-c="corail"] { --mc: var(--c1); }
.manifeste__texte [data-c="soleil"] { --mc: var(--c2); }
.manifeste__texte [data-c="plancton"] { --mc: var(--c3); }
.manifeste__texte [data-c="canne"] { --mc: var(--c4); }
.manifeste__texte [data-c] .mot.est-allume { color: var(--mc); text-shadow: 0 0 28px color-mix(in srgb, var(--mc) 55%, transparent); }

/* ---------------------------------------------------------------- 11. Accompagnements (sombre, rail horizontal sur grand écran) */
.accompagnements { position: relative; padding-top: clamp(84px, 10vw, 140px); background: linear-gradient(180deg, var(--sombre), var(--sombre-2)); }
.acc__tete { margin-bottom: clamp(36px, 5vw, 60px); }
.acc__piste, .acc__colle { position: relative; }
.acc__halos { display: none; }
.acc__rail { display: grid; gap: 18px; width: min(100% - 2 * var(--gout), var(--max)); margin-inline: auto; padding-bottom: clamp(84px, 10vw, 140px); }
.panneau {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 22px; padding: 26px 22px 28px;
  border-radius: 28px; border: 1px solid var(--filet); color: var(--clair);
  background: linear-gradient(160deg, color-mix(in srgb, var(--sombre-2) 70%, #fff 6%) 0%, var(--sombre-2) 55%, var(--sombre) 100%);
  box-shadow: 0 34px 70px -42px rgba(0, 0, 0, .85); scroll-margin-top: calc(var(--entete-h) + 24px);
}
.panneau::before { content: ""; position: absolute; z-index: -1; right: -20%; top: -30%; width: 75%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 26%, transparent), transparent 66%); transition: scale 1.2s var(--ease); }
.panneau::after { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--c), transparent); opacity: .8; }
.panneau:hover::before { scale: 1.12; }
.panneau__embleme { width: min(62%, 230px); margin-inline: auto; color: var(--c); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease); }
.panneau__surtitre { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--c); }
.panneau h3 { margin-top: .3em; font-family: var(--f-titre); font-weight: 400; font-size: clamp(1.95rem, 1.3rem + 2.5vw, 3.3rem); line-height: 1.02; letter-spacing: -.012em; }
.panneau__chapo { margin-top: 16px; max-width: 54ch; color: var(--clair-doux); }
.panneau__liste { display: grid; gap: 8px; margin-top: 18px; }
.panneau__liste li { display: flex; align-items: baseline; gap: .7em; font-size: .97rem; }
.panneau__liste li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c); translate: 0 -2px; }
.panneau__note { margin-top: 16px; padding-left: 14px; border-left: 2px solid var(--c); font-size: .9rem; color: var(--clair-doux); }
.panneau .btn { margin-top: 24px; }
@media (min-width: 560px) { .panneau__liste { grid-template-columns: 1fr 1fr; column-gap: 22px; } }
@media (min-width: 760px) { .panneau { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 40px; padding: 40px; } .panneau__embleme { width: 100%; max-width: 330px; } }
.acc--h .acc__piste { height: var(--piste-h, 400vh); }
.acc--h .acc__colle { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.acc--h .acc__halos { display: block; position: absolute; inset: 0; pointer-events: none; }
.acc--h .acc__halos span { position: absolute; left: 50%; top: 52%; width: 85vmax; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 17%, transparent), transparent 60%); opacity: 0; transition: opacity 1.2s var(--ease); }
.acc--h[data-actif="0"] .acc__halos span:nth-child(1), .acc--h[data-actif="1"] .acc__halos span:nth-child(2),
.acc--h[data-actif="2"] .acc__halos span:nth-child(3), .acc--h[data-actif="3"] .acc__halos span:nth-child(4) { opacity: 1; }
.acc--h .acc__rail { display: flex; gap: 4vw; width: max-content; margin: 0; padding: calc(var(--entete-h) + 6px) max(var(--gout), (100vw - var(--max)) / 2) 56px; transform: translate3d(var(--tx, 0px), 0, 0); will-change: transform; }
.acc--h .panneau { width: min(1100px, 78vw); padding: clamp(32px, 3.6vw, 56px); gap: clamp(32px, 4vw, 64px); opacity: .4; scale: .93; transition: opacity .9s var(--ease), scale .9s var(--ease); }
.acc--h .panneau.est-actif { opacity: 1; scale: 1; }
.acc__indic { display: none; }
.acc--h .acc__indic { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: flex; gap: 18px; }
.acc__indic span { display: grid; gap: 9px; width: 132px; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--clair-doux); }
.acc__indic b { position: relative; display: block; height: 3px; border-radius: 3px; overflow: hidden; background: var(--filet); }
.acc__indic b::after { content: ""; position: absolute; inset: 0; background: var(--c); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }

/* Emblèmes dessinés des accompagnements */
.embleme { width: 100%; height: auto; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--c) 40%, transparent)); }
.embleme * { transform-box: view-box; }
/* Classe .trace et non [pathLength] : Chrome ne réévalue pas un sélecteur d'attribut SVG en camelCase quand la classe d'un parent change. */
.js .embleme .trace { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .15s; }
.js .panneau.est-vu .embleme .trace { stroke-dashoffset: 0; }
.em-cercle { stroke: color-mix(in srgb, var(--c) 42%, transparent); }
.em-cercle--fin { stroke-width: 1; stroke-dasharray: .012 .02 !important; transform-origin: 100px 104px; animation: tourne 60s linear infinite; }
@keyframes tourne { to { rotate: 360deg; } }
.em-moitie { transform-origin: 100px 166px; transition: transform 1.5s var(--ease), stroke-dashoffset 1.8s var(--ease) .15s !important; }
.em-moitie--g { transform: translate(-15px, 6px) rotate(-11deg); }
.em-moitie--d { transform: translate(15px, 6px) rotate(11deg); }
.panneau.est-actif .em-moitie, .panneau:hover .em-moitie { transform: none; }
.em-etincelle { fill: var(--c2); stroke: none; opacity: 0; scale: .3; transform-origin: 100px 80px; transition: opacity .6s .55s, scale .9s var(--ressort) .55s; }
.panneau.est-actif .em-etincelle, .panneau:hover .em-etincelle { opacity: 1; scale: 1; }
.em-luciole { fill: var(--c); stroke: none; transform-box: fill-box; transform-origin: center; animation: luciole 3.2s ease-in-out infinite; }
.em-luciole--2 { animation-delay: -1.5s; }
.em-halo { stroke-width: 1.2; stroke-dasharray: .018 .024 !important; opacity: .35; transform-origin: 100px 112px; animation: tourne 48s linear infinite; transition: opacity .7s; }
.panneau.est-actif .em-halo, .panneau:hover .em-halo { opacity: .95; }
.em-lambrequin { stroke-width: 1.3; }
.em-vitre { fill: var(--c); fill-opacity: 0; stroke-width: 1.4; transition: fill-opacity .9s .35s; }
.panneau.est-actif .em-vitre, .panneau:hover .em-vitre { fill-opacity: .55; }
.em-lames { stroke-width: 1.1; }
.embleme--mer .em-soleil, .embleme--mer .em-rayons { stroke: var(--c2); }
.embleme--mer .em-rayons { stroke-width: 1.2; opacity: .45; transform-origin: 100px 112px; transition: opacity .7s, scale .9s var(--ressort); }
.panneau.est-actif .embleme--mer .em-rayons, .panneau:hover .embleme--mer .em-rayons { opacity: 1; scale: 1.1; }
.em-vague { stroke-width: 1.4; }
.em-vague--1 { animation: vague-1 4.5s linear infinite; }
.em-vague--2 { opacity: .7; animation: vague-2 6s linear infinite; }
.em-vague--3 { opacity: .45; animation: vague-3 8s linear infinite; }
@keyframes vague-1 { to { transform: translateX(-20px); } }
@keyframes vague-2 { to { transform: translateX(-24px); } }
@keyframes vague-3 { to { transform: translateX(-28px); } }
.em-goutte { fill: color-mix(in srgb, var(--c) 30%, transparent); animation: goutte 4.4s var(--ease-io) infinite; }
@keyframes goutte { 0%, 30% { transform: translateY(0); opacity: 1; } 54% { transform: translateY(96px); opacity: 1; } 57%, 100% { transform: translateY(96px); opacity: 0; } }
.em-onde { stroke-width: 1.2; opacity: 0; transform-origin: 100px 128px; animation: onde-mer 4.4s ease-out infinite; }
@keyframes onde-mer { 0%, 55% { opacity: 0; scale: .2; } 60% { opacity: 1; } 100% { opacity: 0; scale: 3.4; } }
.em-lumiere { fill: var(--c2); stroke: none; opacity: .05; transition: opacity 1.1s var(--ease) .25s; }
.em-lames-j rect { fill: var(--sombre-2); stroke: currentColor; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; transition: transform .9s var(--ease); transition-delay: calc(var(--k) * 55ms); }
.panneau.est-actif .em-lames-j rect, .panneau:hover .em-lames-j rect { transform: scaleY(.16); }
.panneau.est-actif .em-lumiere, .panneau:hover .em-lumiere { opacity: .8; }
.embleme--jalousie .em-rayons { stroke: var(--c2); opacity: 0; transition: opacity .8s .6s; }
.panneau.est-actif .embleme--jalousie .em-rayons, .panneau:hover .embleme--jalousie .em-rayons { opacity: .9; }

/* ---------------------------------------------------------------- 12. Pratiques (clair, onglets par île) */
.pratiques__tete .chapo { max-width: 66ch; }
.pratiques__onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(30px, 4vw, 44px); }
.pratiques__onglets button {
  display: inline-flex; align-items: center; gap: .55em; padding: .55em 1.1em .55em .7em; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--filet-clair); background: var(--carte); color: var(--encre); font-weight: 700; font-size: .93rem;
  transition: background-color .35s, color .35s, border-color .35s, translate .45s var(--ressort), box-shadow .45s;
}
.pratiques__onglets svg { width: 24px; height: 24px; color: var(--accent-2); transition: color .35s, rotate .6s var(--ressort); }
.pratiques__onglets button:hover { translate: 0 -2px; border-color: var(--accent-2); box-shadow: 0 12px 26px -18px rgba(var(--sombre-rgb), .6); }
.pratiques__onglets button:hover svg { rotate: -12deg; }
.pratiques__onglets button[aria-selected="true"] { background: var(--sombre); border-color: var(--sombre); color: var(--clair); }
.pratiques__onglets button[aria-selected="true"] svg { color: var(--accent-vif); }
.pratiques__panneaux { position: relative; margin-top: 22px; }
.pratiques__panneau { display: grid; gap: 14px; outline: none; }
.pratiques__panneau + .pratiques__panneau { margin-top: 30px; }
.js .pratiques__panneau + .pratiques__panneau { margin-top: 0; }
@media (min-width: 860px) { .pratiques__panneau { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .pratiques__ile { grid-column: 1 / -1; } }
.pratiques__ile { font-family: var(--f-titre); font-weight: 400; font-size: 1.3rem; color: var(--encre-doux); }
.js .pratiques__ile { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pratique {
  position: relative; overflow: hidden; isolation: isolate; padding: 24px 22px; border-radius: var(--r);
  background: var(--carte); border: 1px solid var(--filet-clair); box-shadow: 0 16px 36px -28px rgba(var(--sombre-rgb), .55);
  transition: translate .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.pratique::before { content: ""; position: absolute; z-index: -1; left: -30%; top: -60%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 26%, transparent), transparent 65%); transition: scale .9s var(--ease); }
.pratique:hover { translate: 0 -4px; border-color: var(--c); box-shadow: 0 26px 46px -28px rgba(var(--sombre-rgb), .65); }
.pratique:hover::before { scale: 1.25; }
.pratique__ico { width: 44px; height: 44px; padding: 9px; border-radius: 14px; color: var(--sombre); background: var(--c); transition: rotate .6s var(--ressort); }
.pratique:hover .pratique__ico { rotate: -8deg; }
.pratique h4 { margin-top: 16px; font-family: var(--f-titre); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.pratique p { margin-top: 8px; color: var(--encre-doux); font-size: .98rem; }
.pratiques__panneau.entre .pratique { animation: carte-entre .7s var(--ease) both; }
.pratiques__panneau.entre .pratique:nth-of-type(2) { animation-delay: .08s; }
.pratiques__panneau.entre .pratique:nth-of-type(3) { animation-delay: .16s; }
@keyframes carte-entre { from { opacity: 0; translate: 0 22px; scale: .97; } to { opacity: 1; translate: none; scale: none; } }
.pratiques__note { margin-top: 26px; font-family: var(--f-titre); font-size: 1.15rem; color: var(--encre-doux); }

/* ---------------------------------------------------------------- 13. Déroulement + modes de consultation */
.etapes__zone { position: relative; margin-top: clamp(44px, 6vw, 70px); --p: 0; }
.etapes__vague { display: none; }
.etapes__liste { position: relative; display: grid; gap: 38px; }
.etapes__liste::before, .etapes__liste::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; border-radius: 2px; }
.etapes__liste::before { background: var(--filet-clair); }
.etapes__liste::after { background: linear-gradient(180deg, var(--accent-2), var(--accent)); transform-origin: 50% 0; transform: scaleY(var(--p)); }
.etape { position: relative; padding-left: 70px; }
.etape__num {
  position: absolute; left: 0; top: -4px; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  font-family: var(--f-titre); font-size: 1.35rem; line-height: 1; color: var(--encre-doux); background: var(--carte); border: 1px solid var(--filet-clair);
  transition: background-color .7s var(--ease), color .7s, border-color .7s, box-shadow .9s var(--ease), scale .7s var(--ressort);
}
.etape.est-atteinte .etape__num { color: var(--accent-texte); background: var(--accent); border-color: var(--accent); scale: 1.06; box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 18%, transparent); }
.etape h3 { font-family: var(--f-titre); font-weight: 400; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); line-height: 1.1; }
.etape p { margin-top: 10px; color: var(--encre-doux); max-width: 40ch; }
@media (min-width: 900px) {
  .etapes__vague { display: block; position: absolute; left: 0; right: 0; top: 4px; width: 100%; height: 40px; overflow: visible; fill: none; }
  .etapes__vague-fond { stroke: var(--filet-clair); stroke-width: 2; vector-effect: non-scaling-stroke; }
  .etapes__vague-trace { stroke: var(--accent-2); stroke-width: 2.6; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); }
  .etapes__liste { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .etapes__liste::before, .etapes__liste::after { display: none; }
  .etape { padding: 82px 0 0; text-align: center; }
  .etape__num { left: 50%; top: 0; translate: -50% 0; }
  .etape p { margin-inline: auto; }
}
.modes { margin-top: clamp(56px, 7vw, 90px); }
.modes__titre { font-family: var(--f-titre); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); text-align: center; }
.modes__liste { display: grid; gap: 14px; margin-top: 24px; }
@media (min-width: 760px) { .modes__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.mode {
  position: relative; overflow: hidden; isolation: isolate; padding: 26px 22px; border-radius: var(--r); text-align: center;
  background: var(--carte); border: 1px solid var(--filet-clair); transition: translate .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.mode::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(220px circle at var(--sx, 50%) var(--sy, 50%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 65%); }
.mode:hover { translate: 0 -4px; border-color: var(--accent); box-shadow: 0 24px 44px -28px rgba(var(--sombre-rgb), .6); }
.mode:hover::before { opacity: 1; }
.mode__ico { width: 56px; height: 56px; margin-inline: auto; padding: 13px; border-radius: 50%; color: var(--accent-texte); background: var(--accent); transition: scale .6s var(--ressort); }
.mode:hover .mode__ico { scale: 1.1; }
.mode h4 { margin-top: 14px; font-family: var(--f-titre); font-weight: 400; font-size: 1.4rem; }
.mode p { margin-top: 6px; color: var(--encre-doux); font-size: .97rem; }

/* ---------------------------------------------------------------- 14. Clément (porte créole à imposte) */
.clement { overflow: hidden; }
.clement__grille { display: grid; gap: clamp(44px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .clement__grille { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); } }
.porte {
  position: relative; width: min(100%, 400px); margin-inline: auto; aspect-ratio: 3 / 4.3; border-radius: 999px 999px 22px 22px; padding: 12px;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 30%, transparent) 60%, var(--accent-2));
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .9s var(--ease);
  box-shadow: 0 50px 90px -50px rgba(var(--sombre-rgb), .8);
}
.porte__imposte { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 3; width: calc(100% - 24px); height: auto; fill: none; stroke: color-mix(in srgb, var(--clair) 60%, transparent); stroke-width: 1.2; pointer-events: none; }
.porte__interieur { position: relative; overflow: hidden; height: 100%; border-radius: 999px 999px 14px 14px; background: linear-gradient(180deg, var(--ciel-1) 0%, var(--ciel-2) 60%, var(--ciel-3) 88%); }
.porte__ile { position: absolute; z-index: 1; left: 0; right: 0; bottom: 9%; width: 100%; height: 30%; fill: var(--relief-2); opacity: .9; }
.porte__horizon { position: absolute; z-index: 1; left: 0; right: 0; bottom: 9%; height: 1px; background: color-mix(in srgb, var(--clair) 80%, transparent); }
.porte__horizon::after { content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 18vh; max-height: 90px; background: linear-gradient(180deg, var(--mer-1), var(--mer-2)); }
.porte__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: 0; }
/* voile bas : detache le portrait du fond et pose la silhouette d'ile */
.porte--portrait .porte__interieur::after {
  content: ""; position: absolute; inset: auto 0 0; height: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(var(--sombre-rgb), .55), transparent);
}
.porte--portrait .porte__interieur { background: var(--sombre); }
.porte--portrait .porte__ile { opacity: .26; mix-blend-mode: overlay; }
.porte--portrait .porte__horizon { opacity: .3; }
.porte--portrait .porte__horizon::after { display: none; }
.clement__para { margin-top: 1em; max-width: 60ch; color: var(--encre-doux); }
.engagements { margin-top: 32px; border-top: 1px solid var(--filet-clair); }
.engagements li { border-bottom: 1px solid var(--filet-clair); }
.engagements li > * { transition: translate .55s var(--ease), color .4s; }
.engagements h3 { position: relative; padding-top: 16px; font-family: var(--f-titre); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.engagements h3::before { content: ""; position: absolute; left: -18px; top: calc(16px + .5em); width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: 0; scale: 0; transition: opacity .4s, scale .5s var(--ressort); }
.engagements p { padding: 4px 0 16px; font-size: .98rem; color: var(--encre-doux); }
.engagements li:hover > * { translate: 18px 0; }
.engagements li:hover h3 { color: var(--accent-2); }
.engagements li:hover h3::before { opacity: 1; scale: 1; }

/* ---------------------------------------------------------------- 16. Carte postale : le jour se lève sur votre île */
.aube { position: relative; background: var(--pc-1); }
.js .aube { height: 190vh; --s: 0; }
.aube__colle { position: relative; height: 92vh; height: 92svh; min-height: 520px; overflow: hidden; isolation: isolate; --s: .85; color: #fff; }
.js .aube__colle { position: sticky; top: 0; height: 100vh; height: 100svh; --s: inherit; }
.aube__ciel { position: absolute; inset: 0 0 34% 0; overflow: hidden; background: linear-gradient(180deg, var(--pc-1) 0%, var(--pc-2) 55%, var(--pc-3) 100%); }
.aube__ciel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--pc-1) 0%, color-mix(in srgb, var(--pc-1) 70%, var(--pc-2)) 100%); opacity: calc(1 - var(--s) * 1.3); }
.aube__etoiles {
  position: absolute; inset: 0 0 40% 0; opacity: calc(1 - var(--s) * 1.6);
  background-image: radial-gradient(1.3px 1.3px at 12% 22%, #fff 50%, transparent), radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent),
    radial-gradient(1.2px 1.2px at 44% 30%, #fff 50%, transparent), radial-gradient(1px 1px at 61% 14%, #fff 50%, transparent),
    radial-gradient(1.4px 1.4px at 76% 26%, #fff 50%, transparent), radial-gradient(1px 1px at 90% 10%, #fff 50%, transparent);
}
.aube__soleil {
  position: absolute; left: 62%; bottom: 0; width: clamp(130px, 19vw, 250px); aspect-ratio: 1; border-radius: 50%;
  translate: -50% calc(100% - var(--s) * 80%);
  background: radial-gradient(circle at 50% 46%, #FFFBEA 0%, #FFE7A3 32%, #FFC260 60%, #FF9149 100%);
  box-shadow: 0 0 70px 26px rgba(255, 170, 80, .5), 0 0 200px 90px rgba(255, 120, 60, .28);
}
.aube__ile { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; fill: var(--pc-relief); }
.aube__mer { position: absolute; inset: 66% 0 0 0; overflow: hidden; background: linear-gradient(180deg, var(--pc-mer) 0%, color-mix(in srgb, var(--pc-mer) 50%, var(--fond)) 55%, var(--fond) 100%); }
.aube__mer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #FFE9B8 40%, #FFF6DA 62%, transparent); box-shadow: 0 0 24px 4px rgba(255, 210, 140, .7); }
.aube__reflet {
  position: absolute; left: 62%; top: 0; bottom: 0; width: clamp(140px, 22vw, 320px); translate: -50% 0;
  clip-path: polygon(44% 0, 56% 0, 86% 100%, 14% 100%);
  background: repeating-linear-gradient(180deg, rgba(255, 246, 214, .95) 0 2px, transparent 2px 7px);
  -webkit-mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 55%, transparent 92%); mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 55%, transparent 92%);
  opacity: calc(var(--s) * 1.1); animation: miroiter 2.4s steps(8) infinite;
}
.aube__reflet--2 { width: clamp(90px, 14vw, 200px); animation-duration: 3.1s; animation-direction: reverse; opacity: calc(var(--s) * .7); }
@keyframes miroiter { to { background-position: 0 14px; } }
.aube__texte { position: absolute; z-index: 2; left: 0; right: 0; top: clamp(84px, 14vh, 150px); display: grid; justify-items: center; gap: 18px; padding-inline: var(--gout); text-align: center; }
.aube__surnom { font-size: .8rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; opacity: .9; }
.aube__phrase { max-width: 18ch; font-family: var(--f-titre); font-size: clamp(2.1rem, 1.2rem + 4vw, 4.6rem); line-height: 1.04; letter-spacing: -.02em; text-shadow: 0 4px 40px rgba(0, 0, 0, .35); }
.aube__phrase.change { animation: resurgir .9s var(--ease) both; }
.aube__texte .btn { margin-top: 8px; }

/* ---------------------------------------------------------------- 17. Questions (clair) */
.faq { margin-top: clamp(34px, 5vw, 52px); border-top: 1px solid var(--filet-clair); }
.faq__item { border-bottom: 1px solid var(--filet-clair); }
.faq__item h3 { font: inherit; }
.faq__q {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 22px; width: 100%; padding: 22px 4px;
  border: 0; background: none; text-align: left; cursor: pointer; color: var(--encre);
  font-family: var(--f-titre); font-size: clamp(1.12rem, 1rem + .55vw, 1.45rem); line-height: 1.25; transition: color .3s;
}
.faq__q::before { content: ""; position: absolute; left: -14px; top: 50%; width: 4px; height: 0; border-radius: 4px; translate: 0 -50%; background: var(--accent-2); transition: height .5s var(--ease); }
.faq__q:hover::before, .faq__q[aria-expanded="true"]::before { height: 60%; }
.faq__q:hover { color: var(--accent-2); }
.faq__plus { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--filet-clair); color: var(--encre); transition: background-color .4s, color .4s, border-color .4s, rotate .6s var(--ease); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; border-radius: 2px; background: currentColor; translate: -50% -50%; }
.faq__plus::after { rotate: 90deg; transition: rotate .6s var(--ease); }
.faq__q:hover .faq__plus { border-color: var(--accent-2); }
.faq__q[aria-expanded="true"] .faq__plus { background: var(--sombre); color: var(--clair); border-color: var(--sombre); rotate: 180deg; }
.faq__q[aria-expanded="true"] .faq__plus::after { rotate: 0deg; }
.faq__r { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease); }
.js .faq__r { grid-template-rows: 0fr; }
.js .faq__q[aria-expanded="true"] + .faq__r { grid-template-rows: 1fr; }
.faq__r > div { overflow: hidden; }
.faq__r p { padding: 0 4px 24px; max-width: 66ch; color: var(--encre-doux); }

/* ---------------------------------------------------------------- 18. Rappel (formulaire) */
.rappel { overflow: hidden; }
.rappel::before { content: ""; position: absolute; right: -14vw; top: -18vw; width: 52vw; aspect-ratio: 1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 38%, transparent), transparent 66%); animation: respire 7s ease-in-out infinite; }
@keyframes respire { 50% { scale: 1.08; opacity: .8; } }
.rappel__grille { position: relative; display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 980px) { .rappel__grille { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.rappel__heure { display: inline-flex; align-items: center; gap: .6em; margin-top: 24px; padding: .5em 1em; border-radius: 999px; background: var(--carte); border: 1px solid var(--filet-clair); font-size: .95rem; color: var(--encre-doux); }
.rappel__heure time { font-family: var(--f-titre); font-size: 1.15rem; color: var(--encre); font-variant-numeric: tabular-nums; }
.rappel__heure-point { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--vif); animation: battement 2s ease-out infinite; }
.rappel__directs { display: grid; gap: 12px; margin-top: 28px; }
.carte-contact {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 18px; text-decoration: none; color: var(--encre); background: var(--carte); border: 1px solid var(--filet-clair);
  transition: translate .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.carte-contact::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(220px circle at var(--sx, 50%) var(--sy, 50%), rgba(37, 211, 102, .12), transparent 65%); }
.carte-contact:hover { translate: 0 -3px; box-shadow: 0 22px 40px -26px rgba(var(--sombre-rgb), .5); }
.carte-contact:hover::before { opacity: 1; }
.carte-contact__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: var(--wa-vif); transition: rotate .6s var(--ressort); }
.carte-contact__ico--tel { background: var(--sombre); }
.carte-contact__ico--mail { background: var(--accent); color: var(--accent-texte); }
.carte-contact--mail .carte-contact__txt span { font-size: .84rem; overflow-wrap: break-word; }
.carte-contact__ico svg { width: 24px; height: 24px; }
.carte-contact:hover .carte-contact__ico { rotate: -12deg; }
.carte-contact__txt { display: grid; line-height: 1.3; }
.carte-contact__txt b { font-weight: 700; }
.carte-contact__txt span { font-size: .9rem; color: var(--encre-doux); }
.carte-contact__fleche { width: 20px; height: 20px; transition: translate .5s var(--ease); }
.carte-contact:hover .carte-contact__fleche { translate: 5px 0; }
.rappel__garanties { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font-size: .9rem; font-weight: 600; color: var(--encre-doux); }
.rappel__garanties li { display: flex; align-items: center; gap: .5em; }
.rappel__garanties li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.rappel__carte { position: relative; padding: clamp(22px, 3vw, 40px); border-radius: 30px; background: var(--carte); box-shadow: 0 50px 100px -60px rgba(var(--sombre-rgb), .6), 0 0 0 1px var(--filet-clair); }
.sujets { margin: 0 0 16px; padding: 0; border: 0; }
.sujets legend { padding: 0; margin-bottom: 12px; font-weight: 700; }
.sujets__liste { display: flex; flex-wrap: wrap; gap: 8px; }
.sujet { position: relative; }
.sujet input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sujet span { display: inline-flex; align-items: center; gap: .55em; padding: .55em 1em; border-radius: 999px; cursor: pointer; border: 1px solid rgba(var(--sombre-rgb), .2); font-size: .92rem; font-weight: 600; transition: background-color .35s, color .35s, border-color .35s, translate .45s var(--ressort); }
.sujet span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.sujet--mode span::before { display: none; }
.sujet--mode svg { width: 18px; height: 18px; }
.sujet span:hover { border-color: var(--encre); translate: 0 -2px; }
.sujet input:checked + span { background: var(--sombre); border-color: var(--sombre); color: var(--clair); }
.sujet input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.formulaire__ligne { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .formulaire__ligne { grid-template-columns: 1fr 1fr; } }
.champ { position: relative; margin-top: 14px; }
.champ input, .champ select, .champ textarea {
  display: block; width: 100%; min-height: 60px; padding: 26px 16px 9px; border-radius: 14px;
  border: 1px solid rgba(var(--sombre-rgb), .22); background: var(--fond); color: var(--encre);
  -webkit-appearance: none; appearance: none; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.champ textarea { resize: vertical; min-height: 104px; }
.champ select { padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.champ label { position: absolute; left: 17px; top: 19px; max-width: calc(100% - 34px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--encre-doux); pointer-events: none; transform-origin: 0 0; transition: transform .35s var(--ease), color .3s; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--accent-2); background-color: var(--carte); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-2) 16%, transparent); }
.champ input:focus + label, .champ input:not(:placeholder-shown) + label, .champ textarea:focus + label, .champ textarea:not(:placeholder-shown) + label, .champ--select label { transform: translateY(-11px) scale(.78); color: var(--accent-2); }
.champ--tel input { padding-left: 74px; }
.champ--tel label { left: 75px; }
.champ__indicatif { position: absolute; left: 12px; top: 13px; z-index: 1; display: grid; place-items: center; min-width: 52px; height: 34px; padding: 0 8px; border-radius: 9px; background: var(--fond-2); color: var(--accent-2); font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.champ.a-erreur input, .champ.a-erreur select { border-color: #B33A25; background-color: #FFF7F5; }
.champ__erreur { margin: 6px 4px 0; font-size: .84rem; color: #B33A25; }
.champ__erreur:empty { display: none; }
.formulaire .btn--large { margin-top: 20px; }
.formulaire.envoi .btn--large { pointer-events: none; }
.formulaire.envoi .btn__texte::after { content: ""; display: inline-block; width: 16px; height: 16px; margin-left: 10px; vertical-align: -2px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: tourne .8s linear infinite; }
.formulaire__statut { margin-top: 12px; font-size: .92rem; color: #B33A25; }
.formulaire__statut:empty { display: none; }
.formulaire__rgpd { margin-top: 14px; font-size: .8rem; color: var(--encre-doux); }
.formulaire__rgpd a { color: var(--accent-2); }
.succes { display: grid; justify-items: center; gap: 12px; padding: 30px 8px; text-align: center; outline: none; }
.succes__coche { width: 84px; height: 84px; fill: none; stroke: var(--accent-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.succes__coche * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tracer 1.2s var(--ease) .15s forwards; }
.succes__coche path { animation-delay: .6s; }
.succes__titre { font-family: var(--f-titre); font-weight: 400; font-size: 2rem; line-height: 1.1; }
.succes__texte { max-width: 40ch; color: var(--encre-doux); }
.etincelle { position: fixed; z-index: 80; width: 8px; height: 8px; margin: -4px; border-radius: 50%; pointer-events: none; background: var(--c, var(--accent)); box-shadow: 0 0 12px var(--c, var(--accent)); }

/* ---------------------------------------------------------------- 19. Pied de page compact (une rangée sur grand écran) */
@property --fx { syntax: '<percentage>'; inherits: false; initial-value: 30%; }
.pied { position: relative; padding: 30px 0 calc(16px + env(safe-area-inset-bottom)); }
.pied::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 12px; background: var(--fond-2); -webkit-mask: var(--frange) 0 0 / 36px 12px repeat-x; mask: var(--frange) 0 0 / 36px 12px repeat-x; }
.pied__in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
.pied__nom {
  font-family: var(--f-titre); font-size: 2.1rem; line-height: 1; letter-spacing: -.02em; user-select: none;
  background: radial-gradient(45% 160% at var(--fx) 60%, var(--c2) 0%, var(--c1) 35%, var(--c3) 62%, var(--clair) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent; transition: --fx .6s var(--ease);
}
@media (hover: none) { .pied__nom { animation: balayage 9s ease-in-out infinite alternate; } }
@keyframes balayage { from { --fx: 8%; } to { --fx: 92%; } }
.pied__dispo { display: flex; align-items: center; gap: 9px; font-size: .86rem; font-weight: 600; color: var(--clair-doux); }
.pied__nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .9rem; }
@media (min-width: 1024px) { .pied__nav { margin-left: auto; } }
.pied__nav a, .pied__cookies { color: var(--clair-doux); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .3s, background-size .5s var(--ease); }
.pied__nav a:hover, .pied__cookies:hover { color: var(--clair); background-size: 100% 1px; }
.pied__cookies { padding: 0; border: 0; cursor: pointer; font-size: inherit; }
.pied__bas { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--filet); font-size: .74rem; line-height: 1.5; color: color-mix(in srgb, var(--clair) 60%, transparent); }
@media (max-width: 1023px) { .pied { padding-bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* ---------------------------------------------------------------- 20. Barre mobile, dialogue d'île, cookies, toast */
.barre-mobile {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 55;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; padding: 6px; border-radius: 22px;
  background: rgba(var(--sombre-rgb), .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--filet); box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .7); translate: 0 160%; transition: translate .7s var(--ease);
}
.barre-mobile.est-visible { translate: 0 0; }
.barre-mobile a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; border-radius: 16px; text-decoration: none; font-size: .78rem; font-weight: 700; color: var(--clair); transition: scale .3s var(--ressort); }
.barre-mobile a:active { scale: .95; }
.barre-mobile svg { width: 22px; height: 22px; }
.barre-mobile__rappel { background: var(--accent); color: var(--accent-texte) !important; }
.barre-mobile__wa { background: var(--wa); }
.barre-mobile__tel { background: rgba(255, 255, 255, .1); }
@media (min-width: 1024px) { .barre-mobile { display: none; } }
.ile-dialogue { width: min(620px, calc(100% - 24px)); max-height: min(86vh, 700px); padding: 0; overflow: auto; border: 1px solid var(--filet); border-radius: 26px; background: var(--sombre); color: var(--clair); box-shadow: 0 50px 110px -30px rgba(0, 0, 0, .85); }
.ile-dialogue::backdrop { background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.ile-dialogue[open] { animation: dialogue .55s var(--ease); }
@keyframes dialogue { from { opacity: 0; translate: 0 18px; scale: .97; } }
.ile-dialogue__tete { position: relative; padding: 26px 64px 10px 26px; }
.ile-dialogue__tete h2 { font-family: var(--f-titre); font-weight: 400; font-size: 1.9rem; line-height: 1.1; }
.ile-dialogue__tete p { margin-top: 6px; color: var(--clair-doux); font-size: .95rem; }
.ile-dialogue__fermer { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--filet); background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: rotate .5s var(--ease), background-color .3s; }
.ile-dialogue__fermer:hover { rotate: 90deg; background: rgba(255, 255, 255, .08); }
.ile-dialogue__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 8px; padding: 14px 26px 26px; }
.ile-dialogue__liste button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--filet); background: rgba(255, 255, 255, .04); text-align: left; cursor: pointer; transition: border-color .3s, background-color .3s, translate .45s var(--ease); }
.ile-dialogue__liste svg { width: 24px; height: 24px; flex: none; color: var(--accent-vif); }
.ile-dialogue__liste time { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--accent-vif); font-size: .88rem; }
.ile-dialogue__liste button:hover { translate: 0 -2px; border-color: var(--accent-vif); background: rgba(255, 255, 255, .08); }
.ile-dialogue__liste button[aria-pressed="true"] { border-color: var(--accent-vif); background: color-mix(in srgb, var(--accent-vif) 16%, transparent); }
.cookies { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; max-width: 460px; padding: 22px; border-radius: 22px; background: var(--sombre); color: var(--clair); border: 1px solid var(--filet); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); animation: dialogue .6s var(--ease); }
.cookies { --fg: var(--clair); --trait: var(--filet); }
.cookies h2 { font-family: var(--f-titre); font-weight: 400; font-size: 1.4rem; }
.cookies p { margin-top: 6px; font-size: .9rem; color: var(--clair-doux); }
.cookies__reglages { display: grid; gap: 10px; margin-top: 14px; }
.reglage { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--clair-doux); cursor: pointer; }
.reglage input { margin-top: 4px; accent-color: var(--accent-vif); }
.reglage b { display: block; color: var(--clair); font-weight: 700; }
.cookies__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.cookies__lien { padding: 8px; border: 0; background: none; cursor: pointer; color: var(--clair-doux); text-decoration: underline; text-underline-offset: 3px; }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 95; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px; background: var(--clair); color: var(--sombre); font-size: .92rem; font-weight: 600; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); translate: -50% 20px; opacity: 0; pointer-events: none; transition: translate .5s var(--ease), opacity .4s; }
.toast.est-visible { translate: -50% 0; opacity: 1; }
@media (min-width: 1024px) { .toast { bottom: 32px; } }

/* ---------------------------------------------------------------- 21. Changement d'île : le nouveau thème se dévoile en cercle depuis le clic */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: devoile .9s var(--ease); }
@keyframes devoile { from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 50%)); } to { clip-path: circle(150% at var(--vt-x, 50%) var(--vt-y, 50%)); } }

/* ---------------------------------------------------------------- 22. Révélations au défilement */
.js [data-rev] { opacity: 0; translate: 0 34px; transition: opacity 1s var(--ease), translate 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-rev="echelle"] { translate: none; scale: .94; transition: opacity 1.1s var(--ease), scale 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js [data-rev].est-vu { opacity: 1; translate: none; scale: none; }
.js [data-split] .mot { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em 0 .1em; margin: -.12em 0 -.1em; }
.js [data-split] .mot > span { display: inline-block; translate: 0 108%; transition: translate 1.05s var(--ease); transition-delay: calc(var(--d, 0s) + var(--w, 0) * 42ms); }
.js [data-split].est-vu .mot > span { translate: none; }

/* ---------------------------------------------------------------- 23. Filets de sécurité */
.no-js .barre-mobile { translate: 0 0; }
.no-js .hero__astuce { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-rev], .js [data-split] .mot > span { opacity: 1 !important; translate: none !important; scale: none !important; }
  .js .manifeste { height: auto; }
  .js .manifeste__colle { position: relative; height: auto; min-height: 80vh; padding-block: 120px; }
  .manifeste__texte .mot { opacity: 1 !important; }
  .js .aube { height: auto; --s: .85; }
  .js .aube__colle { position: relative; height: 92svh; --s: .85; }
  .aura, .hero__astuce { display: none; }
  .bandeau__liste { animation: none !important; }
  ::view-transition-new(root) { animation: none; }
}

/* ---------------------------------------------------------------- 24. Pages annexes (légales, merci, 404) */
.annexe { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--fond); color: var(--encre); }
.annexe .entete { color: var(--clair); }
.annexe .entete::before { opacity: 1; }
.annexe .entete::after { transform: scaleY(1); }
.annexe main { flex: 1; padding: calc(var(--entete-h) + 70px) 0 90px; }
.legal { width: min(100% - 2 * var(--gout), 820px); margin-inline: auto; }
.legal h1 { font-family: var(--f-titre); font-weight: 400; font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem); line-height: 1.05; }
.legal .maj { margin-top: 10px; font-size: .9rem; color: var(--encre-doux); }
.legal h2 { margin-top: 2.2em; font-family: var(--f-titre); font-weight: 400; font-size: 1.55rem; line-height: 1.15; }
.legal p, .legal li { margin-top: .8em; color: var(--encre-doux); }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--accent-2); }
.annexe__centre { width: min(100% - 2 * var(--gout), 640px); margin-inline: auto; text-align: center; display: grid; justify-items: center; gap: 18px; }
.annexe__centre h1 { font-family: var(--f-titre); font-weight: 400; font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem); line-height: 1.04; }
.annexe__centre p { color: var(--encre-doux); max-width: 46ch; }
.annexe__soleil { width: 120px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #FFFBEA, #FFE7A3 32%, #FFC260 60%, #FF9149); box-shadow: 0 0 60px 20px rgba(255, 170, 80, .45); animation: respire 6s ease-in-out infinite; }
.annexe .pied { color: var(--clair); background: var(--sombre); }
.annexe .pied::before { background: var(--fond); }
.annexe .lien-appel { color: var(--encre-doux); }
.annexe .lien-appel:hover { color: var(--encre); }
.btn--encre { --fond-b: var(--sombre); --texte-b: var(--clair); --lueur: var(--sombre-rgb); }

/* ── Témoignages carrousel ────────────────────────────────────────────────── */
.temoignages__carrousel { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 3rem; }
.temoignages__piste {
  flex: 1; display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; padding-bottom: 4px;
}
.temoignages__piste::-webkit-scrollbar { display: none; }
.temoignage {
  flex: 0 0 calc(100% - 2px); scroll-snap-align: start; margin: 0;
  padding: 2rem 1.8rem 1.8rem; background: var(--fond); border-radius: 20px;
  border-top: 3px solid var(--accent); display: flex; flex-direction: column; align-items: center;
  gap: 1.1rem; text-align: center;
  box-shadow: 0 4px 24px -8px rgba(0,0,0,.08);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.temoignage:hover { transform: translateY(-4px); box-shadow: 0 12px 36px -12px rgba(0,0,0,.15); }
.temoignage__portrait {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 3px solid var(--carte);
  box-shadow: 0 0 0 2px var(--accent), 0 8px 18px -8px rgba(var(--sombre-rgb), .45);
  transition: transform .45s var(--ressort), box-shadow .45s var(--ease);
}
.temoignage:hover .temoignage__portrait {
  transform: scale(1.06);
  box-shadow: 0 0 0 3px var(--accent), 0 14px 26px -10px rgba(var(--sombre-rgb), .55);
}
.temoignage blockquote { margin: 0; }
.temoignage blockquote p { color: var(--encre-doux); font-size: .95rem; line-height: 1.7; font-style: italic; }
.temoignage figcaption { display: flex; flex-direction: column; gap: .25rem; margin-top: auto; }
.temoignage__nom { font-family: var(--f-titre); font-weight: 400; font-size: 1.05rem; color: var(--encre); }
/* --accent-2 et non --accent : en 0,78 rem sur fond clair, l'accent tombe à 1,5-2,0:1
   sur outremer, guadeloupe et saint-barthélemy. --accent-2 tient 5,0:1 sur les 12 thèmes. */
.temoignage__ile { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--accent-2); }
@media (min-width: 640px) {
  .temoignage { flex-basis: calc(50% - .6rem); }
}
@media (min-width: 1024px) {
  .temoignage { flex-basis: calc(33.333% - .8rem); }
}
.temoignages__nav {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--filet);
  background: var(--fond); color: var(--encre); cursor: pointer; display: grid; place-items: center;
  transition: background .2s, border-color .2s, scale .2s;
}
.temoignages__nav:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--accent-texte); scale: 1.08; }
.temoignages__nav:disabled { opacity: .3; cursor: default; }
.temoignages__points { display: flex; justify-content: center; gap: 8px; margin-top: 1.5rem; }
.temoignages__point {
  width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--accent); background: transparent;
  cursor: pointer; padding: 0; transition: background .2s, scale .2s;
}
.temoignages__point.est-actif { background: var(--accent); scale: 1.2; }
.temoignages__note { margin-top: 1.5rem; font-size: .82rem; color: var(--encre-doux); opacity: .7; text-align: center; }

/* ── Live chat ────────────────────────────────────────────────────────────── */
.livechat { position: fixed; right: 24px; bottom: 24px; z-index: 65; }
@media (max-width: 1023px) { .livechat { display: none; } }
.livechat__btn {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px;
  border-radius: 50%; border: none; cursor: pointer; background: var(--accent); color: var(--accent-texte);
  box-shadow: 0 8px 32px -8px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: scale .3s var(--ressort), box-shadow .3s;
}
.livechat__btn:hover { scale: 1.08; }
.livechat__btn svg { width: 24px; height: 24px; }
.livechat__badge {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: #E74C3C; color: #fff; font-size: .72rem; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--fond);
}
.livechat__panneau {
  position: absolute; right: 0; bottom: calc(100% + 12px); width: 340px; border-radius: 18px;
  background: var(--fond); border: 1px solid var(--filet);
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.35); overflow: hidden;
  opacity: 0; translate: 0 12px; pointer-events: none;
  transition: opacity .3s, translate .3s var(--ease);
}
.livechat__panneau.est-ouvert { opacity: 1; translate: 0 0; pointer-events: auto; }
.livechat__entete {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; background: var(--sombre); color: var(--clair);
}
.livechat__agent { display: flex; align-items: center; gap: 10px; }
.livechat__voyant { width: 9px; height: 9px; border-radius: 50%; background: #2ECC71; flex-shrink: 0; animation: respire 2.5s ease-in-out infinite; }
.livechat__agent strong { display: block; font-family: var(--f-titre); font-weight: 400; font-size: 1.05rem; line-height: 1.1; }
.livechat__agent span { font-size: .78rem; opacity: .7; }
.livechat__fermer { background: none; border: none; cursor: pointer; color: var(--clair); opacity: .7; padding: 4px; display: grid; place-items: center; border-radius: 6px; transition: opacity .2s; }
.livechat__fermer:hover { opacity: 1; }
.livechat__fermer svg { width: 18px; height: 18px; }
.livechat__corps { padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 120px; max-height: 260px; overflow-y: auto; }
.livechat__msg { max-width: 85%; }
.livechat__msg p { padding: 10px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.5; }
.livechat__msg--agent p { background: var(--fond-2); color: var(--encre); border-bottom-left-radius: 4px; }
.livechat__msg--visiteur { align-self: flex-end; }
.livechat__msg--visiteur p { background: var(--accent); color: var(--accent-texte); border-bottom-right-radius: 4px; }
.livechat__msg--frappe p { display: none; }
.livechat__msg--frappe { display: flex; gap: 5px; align-items: center; padding: 10px 14px; background: var(--fond-2); border-radius: 14px; border-bottom-left-radius: 4px; max-width: 60px; }
.livechat__msg--frappe span { width: 7px; height: 7px; border-radius: 50%; background: var(--encre-doux); animation: frappe .9s ease-in-out infinite; }
.livechat__msg--frappe span:nth-child(2) { animation-delay: .15s; }
.livechat__msg--frappe span:nth-child(3) { animation-delay: .3s; }
@keyframes frappe { 0%,60%,100% { translate: 0 0; opacity: .5; } 30% { translate: 0 -5px; opacity: 1; } }
.livechat__saisie { display: flex; align-items: flex-end; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--filet); }
.livechat__saisie textarea { flex: 1; resize: none; border: 1px solid var(--filet); border-radius: 12px; padding: 9px 12px; background: var(--fond-2); color: var(--encre); font: inherit; font-size: .9rem; line-height: 1.45; outline: none; transition: border-color .2s; }
.livechat__saisie textarea:focus { border-color: var(--accent); }
.livechat__envoyer { flex-shrink: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--accent); color: var(--accent-texte); cursor: pointer; transition: scale .2s; }
.livechat__envoyer:hover { scale: 1.08; }
.livechat__envoyer svg { width: 16px; height: 16px; }

/* ── Menu hamburger mobile ────────────────────────────────────────────────── */
.entete__hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 6px; border: none; background: none; cursor: pointer;
  color: currentColor; border-radius: 8px; transition: background .2s; flex-shrink: 0;
  margin-left: auto;
}
.entete__hamburger:hover { background: rgba(255,255,255,.12); }
.hamburger__barre {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
[aria-expanded="true"] .hamburger__barre:nth-child(1) { transform: translateY(7px) rotate(45deg); }
[aria-expanded="true"] .hamburger__barre:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .hamburger__barre:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1180px) { .entete__hamburger { display: none; } }

.menu-mobile { position: fixed; inset: 0; z-index: 200; display: flex; }
.menu-mobile[hidden] { display: none; }
.menu-mobile__fond {
  position: absolute; inset: 0; background: rgba(0,0,0,.55);
  opacity: 0; transition: opacity .35s;
}
.menu-mobile.est-ouvert .menu-mobile__fond { opacity: 1; }
.menu-mobile__panneau {
  position: relative; margin-left: auto; width: min(320px, 85vw); height: 100%;
  background: var(--sombre); color: var(--clair); padding: 28px 24px 40px;
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  translate: 100% 0; transition: translate .35s var(--ease);
}
.menu-mobile.est-ouvert .menu-mobile__panneau { translate: 0 0; }
.menu-mobile__fermer {
  align-self: flex-end; background: rgba(255,255,255,.08); border: none; color: var(--clair);
  cursor: pointer; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  transition: background .2s;
}
.menu-mobile__fermer:hover { background: rgba(255,255,255,.18); }
.menu-mobile__marque { font-family: var(--f-titre); font-size: 1.5rem; font-weight: 400; margin: 0; color: var(--accent); }
.menu-mobile__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.menu-mobile__liste a {
  display: block; padding: 12px 16px; border-radius: 12px; text-decoration: none;
  font-size: 1.05rem; font-weight: 600; color: var(--clair); opacity: .85;
  transition: background .2s, opacity .2s;
}
.menu-mobile__liste a:hover { background: rgba(255,255,255,.1); opacity: 1; }
.menu-mobile .btn { width: 100%; justify-content: center; }
.menu-mobile__dispo { margin: 0; font-size: .82rem; opacity: .55; display: flex; align-items: center; gap: 8px; }

/* ── Google Badge ─────────────────────────────────────────────────────────── */
.temoignages__tete { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.temoignages__tete .surtitre { margin: 0; }
.google-badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--fond); border: 1.5px solid var(--filet); box-shadow: 0 2px 12px -4px rgba(0,0,0,.12); }
.google-badge__etoiles { display: flex; gap: 1px; }
.google-badge__note { font-size: .92rem; font-weight: 700; color: var(--encre); }
.google-badge__note span { font-weight: 400; opacity: .6; font-size: .82rem; }
.google-badge__sep { color: var(--encre-doux); opacity: .4; }
.google-badge__label { font-size: .82rem; color: var(--encre-doux); }
