/* Fwison · Collection DLO
   Une base « lanmè » (mer de nuit) ; chaque territoire prend la page à ses couleurs. */

:root {
  --lanme: #0B2E36;      /* la mer, de nuit */
  --kasav: #F3ECDD;      /* la cassave */
  --dlo: #2BC0CF;        /* l'eau des bassins */
  --soley: #F6C33B;      /* le soleil */
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Fraunces", Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Thèmes : bg / encre / accent / second accent */
[data-theme="lanme"]    { --bg: var(--lanme); --ink: var(--kasav); --accent: var(--dlo);  --accent2: var(--soley); }
[data-theme="soley"]    { --bg: var(--soley); --ink: var(--lanme); --accent: #C2261B;     --accent2: var(--lanme); }
[data-theme="ayiti"]    { --bg: #00209F;      --ink: #FFFFFF;      --accent: #D21034;     --accent2: #FFFFFF; }
[data-theme="gwadloup"] { --bg: #075227;      --ink: #FCD116;      --accent: #D7141A;     --accent2: #FFFFFF; }
[data-theme="matinik"]  { --bg: #000000;      --ink: #FFFFFF;      --accent: #D21F26;     --accent2: #00A650; }
[data-theme="guiana"]   { --bg: #FDE100;      --ink: #0A3D1F;      --accent: #E30613;     --accent2: #006B2D; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px); /* iPhone (viewport-fit=cover) : rien sous l'heure ni sous l'encoche ; 0 ailleurs */
  background: var(--bg);
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--text);
  font-optical-sizing: auto;
  transition: background-color .4s cubic-bezier(.3, 0, .2, 1), color .4s cubic-bezier(.3, 0, .2, 1);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 50; background: var(--kasav); color: var(--lanme); padding: 8px 14px; }
.skip:focus { top: 12px; }

.flag { width: 1.5em; height: 1em; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgb(0 0 0 / .15); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font: 700 1.35rem/1 var(--display); letter-spacing: .02em;
  background: var(--ink); color: var(--bg);
  border: 2px solid var(--ink); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

/* ---------- En-tête ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px; /* iPhone : l'en-tête couvre aussi la zone de l'heure (viewport-fit=cover) */
  color: var(--ink);
  background: var(--bg); /* couleur pleine : Safari iOS en teinte la zone de l'heure (sinon il y montre la page) */
  transition: color .4s, background .4s;
}
.top::after { content: ""; position: absolute; inset: 100% 0 auto; height: 28px; background: linear-gradient(var(--bg), transparent); pointer-events: none; transition: background .4s; } /* le fondu, sous la barre */
.top__logo {
  width: 104px; aspect-ratio: 780 / 399; background: currentColor;
  -webkit-mask: url(assets/logo.png) center / contain no-repeat; mask: url(assets/logo.png) center / contain no-repeat;
}
.top__cart, .top__burger {
  display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 0;
  font: 700 1.2rem/1 var(--display); letter-spacing: .03em; color: inherit; background: none; border: 0; cursor: pointer;
}
.top__cart { margin-left: auto; text-decoration: none; }
.top__bars, .top__bars::before, .top__bars::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.top__bars { position: relative; }
.top__bars::before, .top__bars::after { content: ""; position: absolute; left: 0; }
.top__bars::before { top: -7px; }
.top__bars::after { top: 7px; }
.top__count {
  /* le chiffre reprend le fond du thème */
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 12px;
  background: currentColor; font-size: .95rem;
}
.top__count b { color: var(--bg); }
.top__count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }

/* ---------- Menu ---------- */
.menu {
  position: fixed; inset: 0 0 0 auto; width: min(440px, 100vw); height: 100%; max-height: none; margin: 0;
  padding: calc(88px + env(safe-area-inset-top, 0px)) clamp(24px, 5vw, 48px) 40px; border: 0;
  display: none; flex-direction: column; gap: 40px;
  background: var(--bg); color: var(--ink);
}
.menu[open] { display: flex; animation: menu-in .35s var(--ease); }
.menu::backdrop { background: rgb(6 26 31 / .6); backdrop-filter: blur(3px); }
@keyframes menu-in { from { transform: translateX(40px); opacity: 0; } }
.menu__close {
  position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: clamp(24px, 5vw, 48px); width: 44px; height: 44px;
  font: 700 1.05rem/1 var(--display); color: var(--ink); background: none; border: 2px solid currentColor; border-radius: 999px; cursor: pointer;
}
.menu__close:hover { background: var(--ink); color: var(--bg); }
.menu__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.menu__links a { display: block; padding: 6px 0; font: 900 clamp(2rem, 8vw, 2.8rem)/1 var(--display); text-transform: uppercase; text-decoration: none; }
.menu__links a:hover { color: var(--accent); }
.menu__social { display: flex; gap: 24px; margin: auto 0 0; }
.menu__social a { font: 700 1.2rem/1 var(--display); text-decoration: none; }

/* ---------- Intro ---------- */
.intro { padding: clamp(80px, 16vh, 160px) var(--gutter); display: grid; gap: 64px; }
.intro__text { margin: 0; font: 400 clamp(1.6rem, 3.4vw, 3rem)/1.2 var(--text); max-width: 30ch; }
.intro__text em { color: var(--dlo); }
.intro__hint { margin: 0 0 -40px; font: 700 1.3rem/1.2 var(--display); letter-spacing: .03em; color: var(--dlo); }
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px dashed rgb(243 236 221 / .4); }
.route li { position: relative; padding-top: 22px; }
.route li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--dlo); }
.route__btn { display: grid; justify-items: start; gap: 12px; padding: 0; font: inherit; color: inherit; text-align: left; background: none; border: 0; cursor: pointer; }
.isle { height: clamp(96px, 13vw, 170px); width: auto; max-width: 100%; overflow: visible; transition: transform .4s var(--ease); }
.isle__line { fill: none; stroke: var(--kasav); stroke-width: 1.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.route__btn:hover .isle, .route__btn:focus-visible .isle { transform: translateY(-6px) rotate(-3deg); }
.route__name { display: flex; align-items: center; gap: 10px; font: 700 clamp(1.5rem, 3vw, 2.4rem)/1 var(--display); }
.route__btn:hover .route__name { color: var(--dlo); }
.route small { font: 400 1rem/1 var(--text); opacity: .75; }
/* Sur écran tactile, pas de survol : les îles se signalent d'elles-mêmes, une à une. */
@media (hover: none) {
  .route { column-gap: 12px; }
  .route__btn { width: 100%; padding: 14px; border-radius: 10px; background: rgb(243 236 221 / .07); box-shadow: inset 0 0 0 2px rgb(243 236 221 / .22); }
  .route__btn .isle { animation: nudge 4s var(--ease) infinite; }
  .route li:nth-child(2) .isle { animation-delay: 1s; }
  .route li:nth-child(3) .isle { animation-delay: 2s; }
  .route li:nth-child(4) .isle { animation-delay: 3s; }
  .route li::before { animation: ping 2s ease-out infinite; }
}
@keyframes nudge { 0%, 18%, 100% { transform: none; } 8% { transform: translateY(-8px) rotate(-3deg); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(43 192 207 / .7); } 100% { box-shadow: 0 0 0 12px rgb(43 192 207 / 0); } }

/* ---------- Histoire (pop-up) ---------- */
.story {
  width: min(1040px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow: auto; overscroll-behavior: contain;
  padding: 0; border: 0; border-radius: 10px;
  background: var(--bg); color: var(--ink);
  box-shadow: 0 30px 80px rgb(0 0 0 / .5);
}
.story::backdrop { background: rgb(6 26 31 / .7); backdrop-filter: blur(4px); }
.story[open] { animation: story-in .35s var(--ease); }
@keyframes story-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.story__bar {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px;
  padding: 12px clamp(16px, 3vw, 28px); background: var(--bg);
}
.story__bar button, .story__share {
  min-height: 44px; padding: 0 16px; font: 700 1.05rem/1 var(--display); color: var(--ink);
  background: none; border: 2px solid currentColor; border-radius: 999px; cursor: pointer;
}
.story__bar button:hover, .story__share:hover { background: var(--ink); color: var(--bg); }
.story__close { margin-left: auto; width: 44px; padding: 0 !important; }
.story__body { padding: 8px clamp(16px, 3vw, 40px) clamp(24px, 3vw, 40px); }
.story__flag { width: 72px; height: 48px; border-radius: 3px; box-shadow: 0 0 0 3px var(--ink); }
.story__meta { margin: 18px 0 0; font: 500 1.1rem/1.3 var(--display); letter-spacing: .03em; }
.story__title { margin: 4px 0 24px; font: 900 clamp(3.4rem, 10vw, 6rem)/.85 var(--display); text-transform: uppercase; text-shadow: .045em .045em 0 var(--accent); }
.story__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.story__main > p { margin: 0 0 14px; font-size: 1.05rem; line-height: 1.6; }
.story h3 { margin: 28px 0 10px; font: 700 1.3rem/1 var(--display); letter-spacing: .03em; color: var(--accent2); }

/* Frise : les dates s'allument une à une à l'ouverture */
.story__dates { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative; font-size: .95rem; line-height: 1.35; }
.story__dates::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: currentColor; transform-origin: left; }
.story__dates li { position: relative; padding-top: 26px; }
.story__dates li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--accent2); box-shadow: 0 0 0 3px var(--bg); }
.story__dates b { display: block; font: 900 2.2rem/1 var(--display); color: var(--accent2); }
.story[open] .story__dates::before { animation: line-in .9s var(--ease) both; }
.story[open] .story__dates li { animation: date-in .5s var(--ease) both; }
.story[open] .story__dates li:nth-child(2) { animation-delay: .25s; }
.story[open] .story__dates li:nth-child(3) { animation-delay: .5s; }
@keyframes line-in { from { transform: scaleX(0); } }
@keyframes date-in { from { opacity: 0; transform: translateY(10px); } }

/* Figure historique */
.story__figure { margin: 0; display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: start; }
.story__figure img { width: 112px; aspect-ratio: 1; object-fit: cover; border-radius: 4px; filter: grayscale(1) contrast(1.05); }
.story__figure blockquote { margin: 0; font: italic 600 1.25rem/1.3 var(--text); }
.story__figure figcaption { margin-top: 8px; font-size: .9rem; }

/* Colonne de droite */
.story__map { position: relative; }
.story__map .isle { display: block; width: 100%; height: auto; max-height: 260px; }
.pin circle { fill: var(--ink); stroke: var(--bg); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pin--lieu circle { fill: var(--accent2); }
.pin__halo { fill: none !important; stroke: var(--ink) !important; animation: halo 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { to { transform: scale(3); opacity: 0; } }
.story__legend { list-style: none; margin: 10px 0 0; padding: 0; font-size: .92rem; line-height: 1.4; }
.story__legend li { display: flex; gap: 8px; align-items: baseline; }
.story__legend li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); translate: 0 1px; }
.story__legend li[data-kind="lieu"]::before { background: var(--accent2); }
.story__live { margin: 14px 0 0; font: 600 1.15rem/1.3 var(--display); letter-spacing: .02em; }
/* Du lieu au maillot */
.compare { --pos: 50%; position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__jersey { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__jersey img { transform: scale(var(--zoom)); transform-origin: var(--ox) var(--oy); } /* cadré sur le lieu imprimé, réglé par maillot */
.compare::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; translate: -1.5px 0; background: #fff; box-shadow: 0 0 8px rgb(0 0 0 / .5); pointer-events: none; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input:focus-visible + .compare__knob { outline: 3px solid #fff; outline-offset: 3px; }
.compare__knob { position: absolute; top: 50%; left: var(--pos); width: 40px; height: 40px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / .4); pointer-events: none; }
.compare__knob::before { content: "◀ ▶"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 .7rem/1 var(--display); color: #111; }
.compare figcaption { position: absolute; left: 10px; right: 10px; bottom: 8px; display: flex; justify-content: space-between; font: 700 .95rem/1 var(--display); color: #fff; text-shadow: 0 1px 6px rgb(0 0 0 / .8); pointer-events: none; }
.story__credit { margin: 6px 0 0; font-size: .78rem; opacity: .85; }

/* Pied : achat, partage, chapitre */
.story__foot { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 24px; margin-top: 32px; padding-top: 24px; border-top: 2px solid currentColor; }
.story__foot .buy { margin: 0; flex: 1 1 320px; }
.story__links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.story__chapter { font: 700 1.1rem/1 var(--display); text-underline-offset: 5px; }

@media (max-width: 760px) {
  .story__grid { grid-template-columns: minmax(0, 1fr); }
  .story__bar button:not(.story__close) { padding: 0 12px; font-size: .95rem; }
  .story__figure { grid-template-columns: 84px 1fr; }
  .story__figure img { width: 84px; }
}

/* ---------- Chapitres ---------- */
html:not(.js) .terre { background: var(--bg); color: var(--ink); }
.terre {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  column-gap: clamp(24px, 5vw, 80px);
  align-items: start;
  padding: clamp(64px, 10vh, 120px) var(--gutter) clamp(48px, 8vh, 96px);
}
.terre > * { grid-column: 1; }
.terre:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.terre:nth-child(even) > * { grid-column: 2; }
.terre:nth-child(even) .terre__portrait { grid-column: 1; }
.terre__band .flag--big { width: 96px; height: 64px; box-shadow: 0 0 0 3px var(--ink); }
.terre__head { margin-top: 28px; container-type: inline-size; }
.terre__meta { text-wrap: pretty; margin: 0; font: 500 1.15rem/1.3 var(--display); letter-spacing: .03em; }
.clock { font-variant-numeric: tabular-nums; }
.terre__name {
  margin: 12px 0 0 -.04em;
  font: 900 clamp(4rem, 23cqi, 16rem)/.82 var(--display); /* GWADLOUP (8 lettres) doit tenir dans la colonne */
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: .045em .045em 0 var(--accent);
}
.terre__proverb { margin: 32px 0 0; font: italic 600 clamp(1.5rem, 2.6vw, 2.2rem)/1.2 var(--text); }
.terre__proverb span + span { display: block; margin-top: 6px; font: italic 400 1.05rem/1.4 var(--text); opacity: .8; }

.terre__portrait {
  grid-column: 2; grid-row: 1 / span 6;
  position: sticky; top: 12vh; margin: 0;
}
.terre__portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% var(--y, 30%); border-radius: 4px; }

.terre__story { margin-top: 56px; max-width: 62ch; }
.lede { font: 600 clamp(1.35rem, 2.1vw, 1.75rem)/1.3 var(--text); margin: 0 0 16px; }
.terre__story p:not(.lede) { margin: 0; }


.terre__crest { margin: 56px 0 0; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: center; }
.terre__crest img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.terre__crest dl { margin: 0; display: grid; gap: 4px 0; font-size: 1rem; line-height: 1.5; }
.terre__crest dt { font: 700 1.2rem/1 var(--display); letter-spacing: .03em; margin-top: 14px; color: var(--accent2); }
.terre__crest dt:first-child { margin-top: 0; }
.terre__crest dd { margin: 0; }

/* Achat */
.buy { position: relative; margin-top: 56px; display: grid; justify-items: start; gap: 18px; }
.sizes { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sizes legend { font: 700 1.2rem/1 var(--display); margin-bottom: 10px; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sizes span {
  display: grid; place-items: center; min-width: 56px; height: 48px; padding: 0 12px;
  font: 700 1.15rem/1 var(--display); border: 2px solid currentColor; border-radius: 4px;
  transition: background-color .15s, color .15s;
}
.sizes input:checked + span { background: var(--ink); color: var(--bg); }
.sizes input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.sizes input:disabled { cursor: not-allowed; }
.sizes input:disabled + span { opacity: .4; text-decoration: line-through; }
.buy .btn:disabled { opacity: .5; cursor: not-allowed; }
.buy__msg { margin: 0; min-height: 1.6em; font-style: italic; }
.buy__out { margin: 0; max-width: 40ch; }
.mail input {
  width: min(360px, 80vw); height: 52px; padding: 0 18px;
  font: 400 1.05rem var(--text); color: var(--ink); background: transparent;
  border: 2px solid currentColor; border-radius: 999px;
}
.mail input::placeholder { color: inherit; opacity: .85; }
.stamp {
  position: absolute; right: 0; top: -20px; margin: 0;
  font: 900 clamp(2.6rem, 5vw, 4rem)/1 var(--display); text-transform: uppercase;
  color: var(--accent); border: 4px solid var(--accent); border-radius: 6px; padding: 6px 16px;
  transform: rotate(-9deg);
}
[data-theme="gwadloup"] .stamp { color: #fff; border-color: #fff; }

/* ---------- Boutique ---------- */
.shop { padding: clamp(112px, 16vh, 160px) var(--gutter) clamp(64px, 10vh, 112px); }
.shop__title { text-wrap: balance; margin: 0; font: 900 clamp(4rem, 12vw, 10rem)/.85 var(--display); text-transform: uppercase; }
.shop__note { max-width: 52ch; margin: 20px 0 48px; }
.shop__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.card a { display: block; text-decoration: none; }
.card__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #d9d9d9; border-bottom: 8px solid; border-image: linear-gradient(90deg, var(--c1) 50%, var(--c2) 50%) 1; }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__alt { clip-path: circle(0% at var(--x, 50%) var(--y, 50%)); transition: clip-path .6s var(--ease); }
.card a:hover .card__alt, .card a:focus-visible .card__alt { clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); }
.card__name { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font: 900 clamp(1.6rem, 2.6vw, 2.2rem)/1 var(--display); text-transform: uppercase; }
.card__price { margin: 4px 0 0; }
.card__price--out { font-style: italic; opacity: .7; }
.shop__more { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin: 40px 0 0; }
.shop__more a { font: 700 1.5rem/1 var(--display); letter-spacing: .02em; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.shop__more a:hover { color: var(--accent); }
.shop__more span { font-size: 1rem; opacity: .8; }

/* ---------- La bande : la photo de groupe ---------- */
.band { position: relative; margin: 0; }
.band img { width: 100%; height: min(78svh, 56vw); min-height: 360px; object-fit: cover; object-position: 50% 30%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(11 46 54 / .85)); pointer-events: none; }
.band figcaption { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 6vh, 56px); max-width: 26ch; font: italic 400 clamp(1.4rem, 2.6vw, 2.2rem)/1.25 var(--text); color: var(--kasav); }

/* ---------- Lifestyle ---------- */
.wide { margin: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 96px); align-items: end; padding: 0 var(--gutter) clamp(64px, 10vh, 120px); }
.wide img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; } /* photo entière : la tête du coiffeur touche le haut */
.wide figcaption { max-width: 20ch; font: italic 600 clamp(1.8rem, 4.4vw, 3.8rem)/1.1 var(--text); text-wrap: balance; }

/* ---------- Nous ---------- */
.nous { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 96px); align-items: center; padding: clamp(96px, 16vh, 180px) var(--gutter); }
.nous__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.nous h1 { text-wrap: balance; margin: 0 0 28px; font: 900 clamp(3.2rem, 8vw, 7rem)/.88 var(--display); text-transform: uppercase; }
.nous p { max-width: 54ch; margin: 0 0 16px; }
.nous p:first-of-type { font: 600 clamp(1.3rem, 2vw, 1.6rem)/1.35 var(--text); }
.nous .btn { margin-top: 16px; }

/* ---------- Page produit ---------- */
.page { padding: clamp(112px, 16vh, 160px) var(--gutter) clamp(72px, 12vh, 140px); }
.page__title { margin: 0; font: 900 clamp(3.6rem, 11vw, 9rem)/.85 var(--display); text-transform: uppercase; text-wrap: balance; }
.page__lede { max-width: 52ch; margin: 24px 0 0; font: 600 clamp(1.2rem, 1.8vw, 1.5rem)/1.4 var(--text); }
.page__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; margin-top: clamp(48px, 8vh, 88px); }
.page h2 { margin: 0 0 18px; font: 700 1.6rem/1 var(--display); letter-spacing: .03em; color: var(--accent); }
.page__sub { margin-top: clamp(64px, 10vh, 112px) !important; }
.page__note { margin: 14px 0 0; font-size: .95rem; line-height: 1.5; opacity: .85; }
.specs { margin: 0; display: grid; gap: 4px; }
.specs dt { margin-top: 12px; font: 700 1.15rem/1.2 var(--display); letter-spacing: .02em; }
.specs dt:first-child { margin-top: 0; }
.specs dd { margin: 0; font-size: 1rem; line-height: 1.5; }
.sizes-table { overflow-x: auto; }
.sizes-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sizes-table caption { caption-side: bottom; padding-top: 10px; text-align: left; font-size: .95rem; opacity: .85; }
.sizes-table th, .sizes-table td { padding: 10px 8px; text-align: right; border-bottom: 1px solid rgb(243 236 221 / .25); }
.sizes-table thead th { font: 700 1rem/1.15 var(--display); letter-spacing: .02em; vertical-align: bottom; }
.sizes-table tbody th { text-align: left; font: 900 1.3rem/1 var(--display); }
.sizes-table tbody tr:hover { background: rgb(243 236 221 / .06); }
@media (max-width: 1000px) { .page__grid { grid-template-columns: minmax(0, 1fr); } }

.story__credit { margin: 8px 0 0; font-size: .8rem; opacity: .7; }

/* ---------- Lien retour (thème WordPress) ---------- */
.back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 16px; font: 700 1.25rem/1 var(--display); letter-spacing: .03em; text-decoration: none; }
.back span { transition: transform .2s var(--ease); }
.back:hover span { transform: translateX(-4px); }
.back:hover { color: var(--accent2); }
.fiche > .back, .nous > .back { grid-column: 1 / -1; justify-self: start; margin-bottom: calc(-1 * clamp(16px, 3vw, 48px)); }

/* ---------- Fiche produit (thème WordPress) ---------- */
.fiche {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: start;
  padding: clamp(96px, 14vh, 140px) var(--gutter) clamp(64px, 10vh, 112px);
  background: var(--bg); color: var(--ink);
}
.fiche__imgs { display: grid; gap: 12px; }
.fiche__imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; background: #d9d9d9; }
.fiche__info { position: sticky; top: 96px; }
.fiche__name {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin: 12px 0 0 -.04em;
  font: 900 clamp(3.6rem, 8vw, 8rem)/.85 var(--display); text-transform: uppercase; text-shadow: .045em .045em 0 var(--accent);
}
.fiche__name .flag--big { width: 72px; height: 48px; box-shadow: 0 0 0 3px var(--ink); }
.fiche__desc { margin-top: 32px; }
.fiche__desc ul { margin: 0; padding-left: 1.1em; }
.fiche__desc li::marker { color: var(--accent2); }
.fiche .buy { margin-top: 40px; }
.fiche__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 32px 0 0; }
.fiche__links a:not(.btn) { font: 700 1.2rem/1 var(--display); letter-spacing: .02em; text-underline-offset: 5px; }
.fiche__long { margin-top: 48px; max-width: 62ch; overflow-x: auto; }
.fiche__long h2, .fiche__long h3 { font: 700 1.6rem/1 var(--display); letter-spacing: .03em; color: var(--accent2); }
.fiche__long table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 1rem; }
.fiche__long th, .fiche__long td { padding: 8px 6px; text-align: left; border-bottom: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); }
.woocommerce-message, .woocommerce-error, .woocommerce-info { margin: 0 0 24px; padding: 14px 18px; list-style: none; border: 2px solid var(--ink); border-radius: 4px; }
.woocommerce-message .button { margin-right: 12px; color: inherit; font-weight: 700; }
@media (max-width: 860px) {
  .fiche { grid-template-columns: minmax(0, 1fr); padding-top: 88px; }
  .fiche__imgs:has(img + img) { grid-auto-flow: column; grid-auto-columns: 88%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .fiche__imgs img { scroll-snap-align: start; }
  .fiche__info { position: static; }
}

/* ---------- Panier et commande (blocs WooCommerce, thème WordPress) ---------- */
.page__content { margin-top: clamp(32px, 6vh, 56px); }
.reassure { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; font-size: 1rem; }
.reassure b { font: 700 1.25rem/1 var(--display); letter-spacing: .03em; color: var(--soley); margin-right: 4px; }
.reassure__flags { display: flex; gap: 8px; font-size: 1.3rem; }
/* titres d'étapes numérotés, comme des chapitres */
.wc-block-checkout__main { counter-reset: fw-step; }
.wc-block-components-checkout-step__title, .wc-block-components-title, .wc-block-components-checkout-order-summary__title-text, .wc-block-cart-items__header, .wc-block-cart__totals-title {
  font: 700 1.6rem/1 var(--display) !important; letter-spacing: .03em; text-transform: uppercase; color: var(--dlo);
}
.wc-block-components-checkout-step__title::before { counter-increment: fw-step; content: counter(fw-step, decimal-leading-zero); margin-right: 12px; color: var(--soley); }
.wc-block-components-product-name { font: 900 1.5rem/1 var(--display) !important; text-transform: uppercase; text-decoration: none; }
/* champs sur fond sombre */
.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control__input,
.wc-blocks-components-select__select, .wc-block-components-textarea, .wc-block-components-quantity-selector {
  background: rgb(243 236 221 / .06) !important; color: var(--ink) !important;
  border: 1.5px solid rgb(243 236 221 / .35) !important; border-radius: 12px !important;
}
.wc-block-components-text-input input:focus, .wc-blocks-components-select__select:focus, .wc-block-components-textarea:focus {
  border-color: var(--dlo) !important; box-shadow: 0 0 0 1px var(--dlo) !important; outline: 0;
}
.wc-block-components-text-input label, .wc-blocks-components-select__label { color: rgb(243 236 221 / .7) !important; }
.wc-blocks-components-select__container { background: transparent !important; }
.wc-blocks-components-select__select option { background: var(--lanme); }
.wc-blocks-components-select__expand { fill: var(--ink); }
.wc-block-components-text-input input:-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: 0 0 0 40px #163C44 inset !important; }
.wc-block-components-checkbox__input, .wc-block-components-radio-control__input { background: transparent !important; border-color: rgb(243 236 221 / .5) !important; }
.wc-block-components-checkbox__mark { fill: var(--ink) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--ink) !important; }
/* résumé de commande : un encart aux couleurs des quatre drapeaux */
.wp-block-woocommerce-checkout-order-summary-block, .wp-block-woocommerce-cart-order-summary-block {
  background: rgb(243 236 221 / .05); border: 0 !important; border-radius: 4px;
  border-top: 8px solid !important; border-image: linear-gradient(90deg, #00209F 25%, #0E8A3F 25% 50%, #111 50% 75%, #FDE100 75%) 1 !important;
}
.wp-block-woocommerce-cart-order-summary-block { padding: 8px 16px; }
.wc-block-components-order-summary-item__quantity { background: var(--soley) !important; color: var(--lanme) !important; border: 0 !important; box-shadow: none !important; }
.wc-block-components-totals-footer-item { font: 900 1.8rem/1 var(--display); text-transform: uppercase; }
/* boutons : celui qui fait payer est au soleil */
.wc-block-components-button:not(.is-link) {
  min-height: 56px; padding: 0 28px; border-radius: 999px; border: 2px solid var(--soley);
  background: var(--soley); color: var(--lanme); font: 900 1.5rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; text-decoration: none;
  transition: transform .2s var(--ease);
}
.wc-block-components-button:not(.is-link):hover { transform: translateY(-2px); }
.wc-block-checkout__terms, .wc-block-checkout__guest-checkout-notice { opacity: .75; }

/* ---------- Confirmation de commande (et détail d'une commande dans Mon compte) ---------- */
.woocommerce-order, .woocommerce-MyAccount-content { max-width: 760px; }
.woocommerce-thankyou-order-received { margin: 0 0 32px; font: 600 clamp(1.35rem, 2.1vw, 1.75rem)/1.3 var(--text); }
.woocommerce-order-overview {
  list-style: none; margin: 0 0 56px; padding: 24px 0 0; display: flex; flex-wrap: wrap; gap: 20px 48px; font-size: 1rem;
  border-top: 8px solid; border-image: linear-gradient(90deg, #00209F 25%, #0E8A3F 25% 50%, #111 50% 75%, #FDE100 75%) 1;
}
.woocommerce-order-overview li { display: grid; gap: 4px; }
.woocommerce-order-overview strong { font: 900 1.6rem/1.1 var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--soley); }
.woocommerce-table--order-details { width: 100%; border-collapse: collapse; margin-bottom: 48px; font-size: 1rem; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td { padding: 12px 8px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid rgb(243 236 221 / .2); }
.woocommerce-table--order-details td:last-child, .woocommerce-table--order-details th:last-child { text-align: right; padding-right: 0; }
.woocommerce-table--order-details thead th { font: 700 1.15rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; opacity: .7; }
.woocommerce-table__product-name a { font: 900 1.4rem/1 var(--display); text-transform: uppercase; text-decoration: none; }
.woocommerce-table--order-details tfoot tr:last-child > * { font: 900 1.6rem/1 var(--display); text-transform: uppercase; border-bottom: 0; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.6; }

/* ---------- Pages de texte (mentions légales, CGV…) et Mon compte ---------- */
.page__content > :is(p, ul, ol, h2, h3, h4, blockquote, table, figure) { max-width: 72ch; }
.page__content h3 { margin: 32px 0 12px; font: 700 1.3rem/1.1 var(--display); letter-spacing: .03em; }
.page__content blockquote { margin: 24px 0; padding-left: 20px; border-left: 4px solid var(--soley); font-style: italic; }
.woocommerce-form-row, .woocommerce-form__label-for-checkbox { display: block; margin: 0 0 18px; }
.woocommerce-form-row label { display: block; margin-bottom: 6px; font: 700 1.15rem/1 var(--display); letter-spacing: .02em; }
:is(.woocommerce-form, .woocommerce-ResetPassword, .woocommerce-MyAccount-content) :is(input[type=text], input[type=email], input[type=password], input[type=tel], textarea, select) {
  display: block; width: 100%; max-width: 480px; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: rgb(243 236 221 / .06); border: 1.5px solid rgb(243 236 221 / .35); border-radius: 12px;
}
:is(.woocommerce-form, .woocommerce-ResetPassword, .woocommerce-MyAccount-content) :is(input, textarea, select):focus { border-color: var(--dlo); outline: 1px solid var(--dlo); }
.woocommerce-info .button, .woocommerce-message .button { float: right; margin: 0 0 0 16px !important; }
.woocommerce-info::after, .woocommerce-message::after { content: ""; display: block; clear: both; }
.admin-bar .top { top: var(--wp-admin--admin-bar--height, 32px); } /* la barre d'admin WordPress (connecté) ne cache plus l'en-tête */
@media (max-width: 600px) { .admin-bar #wpadminbar { position: fixed; } } /* sur mobile, WordPress fait défiler sa barre d'admin : sans ça, un trou laisse voir la page au-dessus de l'en-tête */
.show-password-input { display: none; } /* bouton œil sans icône une fois le CSS de Woo retiré */
.page__content :is(button.button, a.button, .woocommerce-button, .woocommerce-Button) {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; margin-top: 8px; cursor: pointer;
  font: 700 1.35rem/1 var(--display); letter-spacing: .02em; text-decoration: none;
  background: var(--ink); color: var(--bg); border: 2px solid var(--ink); border-radius: 999px;
}
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.woocommerce-MyAccount-navigation a { font: 700 1.3rem/1 var(--display); letter-spacing: .02em; text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { color: var(--soley); }
.woocommerce-orders-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.woocommerce-orders-table :is(th, td) { padding: 12px 8px 12px 0; text-align: left; border-bottom: 1px solid rgb(243 236 221 / .2); }
.woocommerce-orders-table .button { min-height: 40px !important; padding: 0 18px !important; font-size: 1.1rem !important; margin: 0 !important; }

/* ---------- Pied ---------- */
.foot { background: var(--lanme); color: var(--kasav); padding: 72px var(--gutter) 32px; }
.foot__logo { width: min(60vw, 440px); filter: invert(1); }
.foot__cols { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; margin-top: 48px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a { font: 700 1.2rem/1 var(--display); text-decoration: none; }
.foot nav a:hover { color: var(--dlo); }
.foot__flags { display: flex; gap: 10px; margin: 0 0 0 auto; font-size: 1.6rem; }
.foot__credit { margin: 48px 0 0; font-size: .9rem; opacity: .6; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .route { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .intro { padding-bottom: 48px; }
  .terre, .terre:nth-child(even) { grid-template-columns: minmax(0, 1fr); padding-block: 56px; }
  .terre > *, .terre:nth-child(even) > * { grid-column: 1; }
  .terre__portrait, .terre:nth-child(even) .terre__portrait { grid-column: 1; grid-row: auto; position: relative; top: auto; margin-top: 40px; }
  .wide { grid-template-columns: minmax(0, 1fr); }
  .terre__crest { grid-template-columns: minmax(0, 1fr); }
  .stamp { position: static; }
  .shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nous { grid-template-columns: minmax(0, 1fr); }
  .foot__flags { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.story__jersey { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; border-radius: 6px; }
.story__lieu { margin: 10px 0 0; font-size: .98rem; line-height: 1.45; }
.story__lieu b { font-family: var(--display); font-size: 1.15rem; }
.compare__empty {
  position: absolute; inset: 0; display: none; place-content: center; gap: 6px; padding: 16px 16px 16px calc(var(--pos) + 16px); text-align: center; /* toujours dans la partie visible */
  font: 600 1rem/1.3 var(--text); color: var(--ink);
  background: repeating-linear-gradient(-45deg, rgb(255 255 255 / .06) 0 12px, transparent 12px 24px), color-mix(in srgb, var(--bg) 70%, #000);
}
.compare__empty b { font: 900 1.6rem/1 var(--display); text-transform: uppercase; }
.compare.is-empty .compare__empty { display: grid; }

/* ---------- Motif de fond : la silhouette du territoire, comme sur l'empiècement des maillots ---------- */
.terre { position: relative; isolation: isolate; }
.terre::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--ink); opacity: .07; -webkit-mask: var(--motif) 0 0 / 420px 420px repeat; mask: var(--motif) 0 0 / 420px 420px repeat; }
.terre[data-theme="ayiti"] { --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 420'%3E%3Cg transform='translate%2840 50%29 scale%28.62%29 rotate%28-10 50 50%29'%3E%3Cpath d='M95.8 8.7L96.4 12.8L97.3 15.1L97.7 19.7L96.7 21.9L95.2 22.9L97.3 25.9L100.0 27.2L99.8 29.4L99.2 30.7L94.9 35.2L92.1 36.4L92.2 37.0L94.5 36.7L96.7 39.4L97.1 43.8L96.3 45.8L94.6 47.0L92.9 49.2L91.5 49.7L88.9 49.2L87.0 50.0L90.7 54.2L90.4 56.2L92.3 56.8L93.4 58.2L97.5 60.5L95.3 64.7L95.7 68.9L95.2 70.7L91.1 66.1L84.8 63.4L69.1 64.4L68.0 63.8L67.7 65.8L65.8 65.3L60.8 65.6L61.1 66.4L60.1 66.1L59.1 66.7L56.3 66.9L52.8 65.5L47.8 65.1L46.5 64.4L41.9 63.6L39.8 63.8L39.6 63.2L41.4 62.8L39.0 62.6L36.2 62.6L33.8 63.6L32.9 62.6L32.0 64.1L30.5 63.9L30.5 62.8L29.1 64.4L29.6 62.6L23.2 66.9L22.6 67.9L24.1 69.5L24.4 71.1L21.3 71.1L17.5 66.1L13.5 63.0L11.3 62.3L10.7 61.3L8.7 60.5L5.6 61.6L4.1 61.1L1.5 59.3L0.0 56.2L2.6 51.2L2.5 49.3L5.2 47.9L7.1 48.0L7.8 47.3L11.6 47.7L16.1 49.8L18.2 49.9L18.6 50.5L22.7 51.2L24.1 52.2L26.0 52.2L27.5 50.9L30.4 50.4L31.7 50.7L31.7 51.3L31.0 51.8L27.2 51.9L28.6 52.5L29.4 53.6L31.0 53.7L33.8 52.7L39.3 53.2L42.2 54.2L46.4 54.2L48.8 55.3L52.8 54.7L55.8 55.5L55.6 56.1L57.8 55.6L60.8 56.2L63.2 55.1L65.3 51.6L72.3 51.9L72.7 51.4L74.3 52.7L75.2 51.9L75.7 46.8L72.1 45.6L70.1 43.7L68.1 43.0L65.7 39.2L62.5 37.1L58.8 33.1L58.6 32.2L62.2 31.2L62.5 30.7L62.3 30.0L60.6 29.0L59.1 26.5L60.4 24.4L62.3 24.2L61.8 23.2L60.3 22.6L60.2 21.1L60.4 20.6L61.2 21.2L62.0 20.8L61.7 19.3L63.5 19.9L62.8 18.5L60.6 18.2L58.7 16.3L52.2 12.7L48.0 11.7L47.0 12.3L44.5 11.0L43.8 11.7L42.3 11.9L37.9 11.5L36.2 10.1L35.8 8.2L37.3 5.8L39.4 4.9L37.5 4.6L38.1 4.2L40.2 4.1L44.4 2.2L46.4 0.3L47.2 0.9L52.5 1.1L53.4 1.6L54.3 0.7L60.1 0.1L67.4 2.4L69.2 4.1L73.8 5.0L75.7 7.2L75.0 7.2L75.6 8.4L76.4 8.5L76.7 7.7L76.2 7.7L76.2 6.7L77.7 7.0L79.7 5.9L80.1 6.3L79.8 7.2L80.4 7.5L82.7 7.4L86.7 9.2L88.4 7.9L92.1 8.6L91.8 9.4L90.4 9.5L90.8 10.1L92.6 9.9L93.6 10.7L93.9 9.8L92.9 9.4L92.8 8.7L95.8 8.7ZM43.2 39.6L42.1 38.6L41.9 37.4L43.6 36.2L45.2 36.2L57.7 41.5L58.9 43.5L59.0 45.4L58.2 46.3L57.3 45.2L50.9 44.0L47.8 42.0L44.7 41.1L43.2 39.6Z'/%3E%3C/g%3E%3Cg transform='translate%28250 260%29 scale%28.62%29 rotate%2812 50 50%29'%3E%3Cpath d='M95.8 8.7L96.4 12.8L97.3 15.1L97.7 19.7L96.7 21.9L95.2 22.9L97.3 25.9L100.0 27.2L99.8 29.4L99.2 30.7L94.9 35.2L92.1 36.4L92.2 37.0L94.5 36.7L96.7 39.4L97.1 43.8L96.3 45.8L94.6 47.0L92.9 49.2L91.5 49.7L88.9 49.2L87.0 50.0L90.7 54.2L90.4 56.2L92.3 56.8L93.4 58.2L97.5 60.5L95.3 64.7L95.7 68.9L95.2 70.7L91.1 66.1L84.8 63.4L69.1 64.4L68.0 63.8L67.7 65.8L65.8 65.3L60.8 65.6L61.1 66.4L60.1 66.1L59.1 66.7L56.3 66.9L52.8 65.5L47.8 65.1L46.5 64.4L41.9 63.6L39.8 63.8L39.6 63.2L41.4 62.8L39.0 62.6L36.2 62.6L33.8 63.6L32.9 62.6L32.0 64.1L30.5 63.9L30.5 62.8L29.1 64.4L29.6 62.6L23.2 66.9L22.6 67.9L24.1 69.5L24.4 71.1L21.3 71.1L17.5 66.1L13.5 63.0L11.3 62.3L10.7 61.3L8.7 60.5L5.6 61.6L4.1 61.1L1.5 59.3L0.0 56.2L2.6 51.2L2.5 49.3L5.2 47.9L7.1 48.0L7.8 47.3L11.6 47.7L16.1 49.8L18.2 49.9L18.6 50.5L22.7 51.2L24.1 52.2L26.0 52.2L27.5 50.9L30.4 50.4L31.7 50.7L31.7 51.3L31.0 51.8L27.2 51.9L28.6 52.5L29.4 53.6L31.0 53.7L33.8 52.7L39.3 53.2L42.2 54.2L46.4 54.2L48.8 55.3L52.8 54.7L55.8 55.5L55.6 56.1L57.8 55.6L60.8 56.2L63.2 55.1L65.3 51.6L72.3 51.9L72.7 51.4L74.3 52.7L75.2 51.9L75.7 46.8L72.1 45.6L70.1 43.7L68.1 43.0L65.7 39.2L62.5 37.1L58.8 33.1L58.6 32.2L62.2 31.2L62.5 30.7L62.3 30.0L60.6 29.0L59.1 26.5L60.4 24.4L62.3 24.2L61.8 23.2L60.3 22.6L60.2 21.1L60.4 20.6L61.2 21.2L62.0 20.8L61.7 19.3L63.5 19.9L62.8 18.5L60.6 18.2L58.7 16.3L52.2 12.7L48.0 11.7L47.0 12.3L44.5 11.0L43.8 11.7L42.3 11.9L37.9 11.5L36.2 10.1L35.8 8.2L37.3 5.8L39.4 4.9L37.5 4.6L38.1 4.2L40.2 4.1L44.4 2.2L46.4 0.3L47.2 0.9L52.5 1.1L53.4 1.6L54.3 0.7L60.1 0.1L67.4 2.4L69.2 4.1L73.8 5.0L75.7 7.2L75.0 7.2L75.6 8.4L76.4 8.5L76.7 7.7L76.2 7.7L76.2 6.7L77.7 7.0L79.7 5.9L80.1 6.3L79.8 7.2L80.4 7.5L82.7 7.4L86.7 9.2L88.4 7.9L92.1 8.6L91.8 9.4L90.4 9.5L90.8 10.1L92.6 9.9L93.6 10.7L93.9 9.8L92.9 9.4L92.8 8.7L95.8 8.7ZM43.2 39.6L42.1 38.6L41.9 37.4L43.6 36.2L45.2 36.2L57.7 41.5L58.9 43.5L59.0 45.4L58.2 46.3L57.3 45.2L50.9 44.0L47.8 42.0L44.7 41.1L43.2 39.6Z'/%3E%3C/g%3E%3C/svg%3E"); }
.terre[data-theme="gwadloup"] { --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 420'%3E%3Cg transform='translate%2840 50%29 scale%28.62%29 rotate%28-10 50 50%29'%3E%3Cpath d='M74.7 74.8L74.2 77.6L72.0 79.7L68.9 81.3L64.7 82.3L60.9 81.7L58.9 76.5L57.6 74.8L60.5 69.0L62.8 66.4L65.5 64.9L68.5 65.6L71.0 67.7L72.4 71.4L74.3 73.2L74.7 74.8ZM100.0 21.5L93.7 25.7L90.2 27.2L87.3 26.7L89.0 25.9L93.8 21.7L96.8 20.5L100.0 21.5ZM30.4 29.3L30.8 29.9L30.0 32.8L30.9 35.4L27.8 36.1L27.0 37.5L27.3 43.4L28.8 47.9L29.7 55.0L28.7 61.8L24.8 66.5L19.1 69.9L12.7 72.6L11.8 70.0L12.7 69.1L11.9 67.4L8.0 64.3L6.2 60.1L5.1 59.4L3.6 54.8L3.5 44.6L1.7 40.0L2.3 38.1L0.1 33.8L0.5 27.6L0.1 25.9L1.3 24.8L3.3 21.2L5.1 19.6L7.4 19.0L10.6 21.5L18.3 23.7L22.5 25.9L24.6 28.5L22.9 29.3L24.1 29.9L24.6 29.3L26.3 31.1L26.9 29.7L28.1 28.8L29.7 28.5L30.4 29.3ZM31.4 29.3L33.4 22.6L34.6 21.1L36.9 20.6L37.4 19.1L37.3 17.0L36.8 16.4L33.9 15.2L32.6 8.2L36.1 3.4L41.5 0.0L45.9 3.1L48.0 5.2L49.5 7.9L50.0 11.3L49.9 15.9L52.1 19.8L56.8 23.2L57.6 22.3L58.9 22.9L62.8 23.2L75.4 32.1L77.7 32.8L78.4 33.5L77.1 34.7L69.7 32.8L47.9 37.8L43.7 39.7L41.5 40.0L36.4 38.6L32.6 36.0L30.9 32.8L31.4 29.3Z'/%3E%3C/g%3E%3Cg transform='translate%28250 260%29 scale%28.62%29 rotate%2812 50 50%29'%3E%3Cpath d='M74.7 74.8L74.2 77.6L72.0 79.7L68.9 81.3L64.7 82.3L60.9 81.7L58.9 76.5L57.6 74.8L60.5 69.0L62.8 66.4L65.5 64.9L68.5 65.6L71.0 67.7L72.4 71.4L74.3 73.2L74.7 74.8ZM100.0 21.5L93.7 25.7L90.2 27.2L87.3 26.7L89.0 25.9L93.8 21.7L96.8 20.5L100.0 21.5ZM30.4 29.3L30.8 29.9L30.0 32.8L30.9 35.4L27.8 36.1L27.0 37.5L27.3 43.4L28.8 47.9L29.7 55.0L28.7 61.8L24.8 66.5L19.1 69.9L12.7 72.6L11.8 70.0L12.7 69.1L11.9 67.4L8.0 64.3L6.2 60.1L5.1 59.4L3.6 54.8L3.5 44.6L1.7 40.0L2.3 38.1L0.1 33.8L0.5 27.6L0.1 25.9L1.3 24.8L3.3 21.2L5.1 19.6L7.4 19.0L10.6 21.5L18.3 23.7L22.5 25.9L24.6 28.5L22.9 29.3L24.1 29.9L24.6 29.3L26.3 31.1L26.9 29.7L28.1 28.8L29.7 28.5L30.4 29.3ZM31.4 29.3L33.4 22.6L34.6 21.1L36.9 20.6L37.4 19.1L37.3 17.0L36.8 16.4L33.9 15.2L32.6 8.2L36.1 3.4L41.5 0.0L45.9 3.1L48.0 5.2L49.5 7.9L50.0 11.3L49.9 15.9L52.1 19.8L56.8 23.2L57.6 22.3L58.9 22.9L62.8 23.2L75.4 32.1L77.7 32.8L78.4 33.5L77.1 34.7L69.7 32.8L47.9 37.8L43.7 39.7L41.5 40.0L36.4 38.6L32.6 36.0L30.9 32.8L31.4 29.3Z'/%3E%3C/g%3E%3C/svg%3E"); }
.terre[data-theme="matinik"] { --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 420'%3E%3Cg transform='translate%2840 50%29 scale%28.62%29 rotate%28-10 50 50%29'%3E%3Cpath d='M86.4 88.5L83.8 89.6L81.3 95.9L79.2 98.7L76.9 99.7L73.9 100.0L71.5 98.9L70.6 95.8L71.8 93.6L76.2 91.8L76.4 88.5L74.4 85.5L68.3 88.7L65.0 88.5L65.1 86.3L63.7 86.1L58.0 87.1L46.0 85.5L42.8 85.9L37.7 88.0L34.6 88.5L32.9 87.5L28.3 81.1L28.2 78.6L25.4 76.9L31.0 70.9L36.4 68.2L38.2 66.5L40.4 69.8L43.6 70.7L46.5 69.6L48.1 66.5L44.3 60.0L43.8 56.3L38.2 57.9L28.3 57.8L25.4 53.4L18.0 48.4L14.3 44.8L12.1 38.5L9.7 35.0L11.2 30.7L10.7 28.1L7.9 23.6L2.0 17.4L0.5 14.7L0.0 11.7L0.5 8.8L1.9 6.5L3.8 4.8L11.9 0.1L19.2 0.0L26.2 2.3L35.3 8.2L43.4 11.8L46.8 14.0L49.2 19.0L51.6 19.7L55.2 27.1L58.2 24.6L62.4 22.6L67.2 21.3L72.1 21.2L69.4 23.3L68.8 24.1L69.3 25.5L65.0 30.0L62.5 25.9L60.9 27.0L60.3 31.1L60.7 35.8L62.5 35.0L64.0 35.1L66.4 37.1L60.7 40.2L62.3 41.8L59.8 43.1L60.1 44.9L61.9 45.5L63.7 43.1L70.6 46.2L69.0 46.3L66.4 47.6L67.7 50.8L69.2 52.5L73.4 54.9L75.1 58.7L78.5 59.9L79.2 61.5L79.2 65.2L81.9 63.6L81.0 69.1L81.7 71.7L83.4 74.0L82.1 74.6L80.6 76.9L83.3 78.2L85.1 84.5L86.4 87.1L86.4 88.5Z'/%3E%3C/g%3E%3Cg transform='translate%28250 260%29 scale%28.62%29 rotate%2812 50 50%29'%3E%3Cpath d='M86.4 88.5L83.8 89.6L81.3 95.9L79.2 98.7L76.9 99.7L73.9 100.0L71.5 98.9L70.6 95.8L71.8 93.6L76.2 91.8L76.4 88.5L74.4 85.5L68.3 88.7L65.0 88.5L65.1 86.3L63.7 86.1L58.0 87.1L46.0 85.5L42.8 85.9L37.7 88.0L34.6 88.5L32.9 87.5L28.3 81.1L28.2 78.6L25.4 76.9L31.0 70.9L36.4 68.2L38.2 66.5L40.4 69.8L43.6 70.7L46.5 69.6L48.1 66.5L44.3 60.0L43.8 56.3L38.2 57.9L28.3 57.8L25.4 53.4L18.0 48.4L14.3 44.8L12.1 38.5L9.7 35.0L11.2 30.7L10.7 28.1L7.9 23.6L2.0 17.4L0.5 14.7L0.0 11.7L0.5 8.8L1.9 6.5L3.8 4.8L11.9 0.1L19.2 0.0L26.2 2.3L35.3 8.2L43.4 11.8L46.8 14.0L49.2 19.0L51.6 19.7L55.2 27.1L58.2 24.6L62.4 22.6L67.2 21.3L72.1 21.2L69.4 23.3L68.8 24.1L69.3 25.5L65.0 30.0L62.5 25.9L60.9 27.0L60.3 31.1L60.7 35.8L62.5 35.0L64.0 35.1L66.4 37.1L60.7 40.2L62.3 41.8L59.8 43.1L60.1 44.9L61.9 45.5L63.7 43.1L70.6 46.2L69.0 46.3L66.4 47.6L67.7 50.8L69.2 52.5L73.4 54.9L75.1 58.7L78.5 59.9L79.2 61.5L79.2 65.2L81.9 63.6L81.0 69.1L81.7 71.7L83.4 74.0L82.1 74.6L80.6 76.9L83.3 78.2L85.1 84.5L86.4 87.1L86.4 88.5Z'/%3E%3C/g%3E%3C/svg%3E"); }
.terre[data-theme="guiana"] { --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 420'%3E%3Cg transform='translate%2840 50%29 scale%28.62%29 rotate%28-10 50 50%29'%3E%3Cpath d='M13.8 99.9L12.8 99.9L11.6 98.6L8.3 98.8L6.6 97.6L3.8 97.2L1.9 95.7L2.4 95.3L1.9 94.8L0.0 94.1L0.8 93.5L2.3 93.7L3.3 91.6L5.3 91.0L6.6 89.7L9.1 84.4L12.2 79.6L11.6 78.9L12.4 76.7L11.7 73.9L12.0 72.3L11.1 72.0L16.4 64.1L17.2 58.7L16.4 57.9L15.5 58.1L13.4 53.8L11.8 53.1L10.3 51.4L7.2 46.9L7.6 43.8L5.7 42.7L6.1 40.6L4.5 34.7L5.3 31.4L4.9 28.5L3.8 27.2L3.5 23.2L4.5 22.2L4.6 19.8L8.3 14.3L14.7 9.3L16.5 5.6L17.1 2.3L18.4 0.0L22.2 0.8L21.5 0.4L22.1 0.4L30.8 4.8L36.7 5.7L38.0 6.9L38.6 6.3L36.4 5.4L36.9 5.1L42.1 7.5L45.3 8.3L50.3 11.8L51.1 13.1L57.4 18.5L57.3 19.0L58.6 19.4L60.8 21.2L61.4 22.2L61.1 23.4L62.9 21.9L64.6 22.9L64.7 23.5L62.4 27.1L62.5 28.1L63.6 25.6L65.4 23.9L67.4 26.1L70.2 27.9L71.9 30.1L73.2 35.5L72.9 36.8L70.5 38.8L73.6 37.2L73.7 31.8L74.3 30.0L75.5 29.7L77.3 31.2L78.5 34.9L79.2 35.4L79.0 36.6L80.3 37.4L79.6 39.3L81.2 42.0L81.4 43.8L80.5 46.9L77.8 48.5L76.3 51.7L73.5 54.2L73.5 55.3L72.1 56.1L71.5 58.5L65.6 68.4L64.1 68.9L62.1 71.4L62.2 73.7L60.2 77.5L60.6 78.4L59.3 79.2L56.9 85.1L56.0 85.6L56.7 86.9L55.6 89.2L52.4 93.2L48.1 95.5L46.6 97.7L44.9 98.3L42.7 97.9L41.2 97.0L37.0 97.7L36.9 97.0L37.9 96.1L34.9 93.4L31.7 95.9L29.8 96.2L24.0 94.6L24.1 93.4L23.4 92.9L19.6 95.8L18.7 95.6L17.9 97.3L16.1 98.1L14.8 98.0L13.8 99.9Z'/%3E%3C/g%3E%3Cg transform='translate%28250 260%29 scale%28.62%29 rotate%2812 50 50%29'%3E%3Cpath d='M13.8 99.9L12.8 99.9L11.6 98.6L8.3 98.8L6.6 97.6L3.8 97.2L1.9 95.7L2.4 95.3L1.9 94.8L0.0 94.1L0.8 93.5L2.3 93.7L3.3 91.6L5.3 91.0L6.6 89.7L9.1 84.4L12.2 79.6L11.6 78.9L12.4 76.7L11.7 73.9L12.0 72.3L11.1 72.0L16.4 64.1L17.2 58.7L16.4 57.9L15.5 58.1L13.4 53.8L11.8 53.1L10.3 51.4L7.2 46.9L7.6 43.8L5.7 42.7L6.1 40.6L4.5 34.7L5.3 31.4L4.9 28.5L3.8 27.2L3.5 23.2L4.5 22.2L4.6 19.8L8.3 14.3L14.7 9.3L16.5 5.6L17.1 2.3L18.4 0.0L22.2 0.8L21.5 0.4L22.1 0.4L30.8 4.8L36.7 5.7L38.0 6.9L38.6 6.3L36.4 5.4L36.9 5.1L42.1 7.5L45.3 8.3L50.3 11.8L51.1 13.1L57.4 18.5L57.3 19.0L58.6 19.4L60.8 21.2L61.4 22.2L61.1 23.4L62.9 21.9L64.6 22.9L64.7 23.5L62.4 27.1L62.5 28.1L63.6 25.6L65.4 23.9L67.4 26.1L70.2 27.9L71.9 30.1L73.2 35.5L72.9 36.8L70.5 38.8L73.6 37.2L73.7 31.8L74.3 30.0L75.5 29.7L77.3 31.2L78.5 34.9L79.2 35.4L79.0 36.6L80.3 37.4L79.6 39.3L81.2 42.0L81.4 43.8L80.5 46.9L77.8 48.5L76.3 51.7L73.5 54.2L73.5 55.3L72.1 56.1L71.5 58.5L65.6 68.4L64.1 68.9L62.1 71.4L62.2 73.7L60.2 77.5L60.6 78.4L59.3 79.2L56.9 85.1L56.0 85.6L56.7 86.9L55.6 89.2L52.4 93.2L48.1 95.5L46.6 97.7L44.9 98.3L42.7 97.9L41.2 97.0L37.0 97.7L36.9 97.0L37.9 96.1L34.9 93.4L31.7 95.9L29.8 96.2L24.0 94.6L24.1 93.4L23.4 92.9L19.6 95.8L18.7 95.6L17.9 97.3L16.1 98.1L14.8 98.0L13.8 99.9Z'/%3E%3C/g%3E%3C/svg%3E"); }


/* ---------- Grain d'imprimé : casse le lisse de l'écran, rappelle le textile ---------- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 30; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22220%22 height=%22220%22%3E%3Cfilter id=%22g%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%22.85%22 numOctaves=%222%22 stitchTiles=%22stitch%22/%3E%3CfeColorMatrix values=%220 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1.4 -.35%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url%28%23g%29%22/%3E%3C/svg%3E") 0 0 / 220px 220px; opacity: .14; mix-blend-mode: overlay;
}

/* ---------- Écussons : la vraie broderie, en médaillon à côté du drapeau ---------- */
.terre__band { display: flex; align-items: center; gap: 18px; }
.crest {
  position: relative; flex: none; width: 96px; height: 96px; overflow: hidden; border-radius: 50%;
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 7px var(--accent), 0 10px 24px rgb(0 0 0 / .35);
}
.crest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--at); transform: scale(var(--zoom, 1.5)); transform-origin: var(--at); }
@media (max-width: 860px) { .crest { width: 76px; height: 76px; } }

/* ---------- Panier vide (bloc WooCommerce « Nouveau dans la boutique ») ---------- */
.wp-block-woocommerce-empty-cart-block { text-align: center; }
.wp-block-woocommerce-empty-cart-block h2 { margin: 1.2em 0 .4em; font: 900 clamp(1.8rem, 4vw, 2.6rem)/1 var(--display); text-transform: uppercase; }
.wp-block-woocommerce-empty-cart-block a { color: var(--accent); }
.wp-block-woocommerce-empty-cart-block .wp-block-separator { width: 80px; margin: 40px auto; border: 0; border-top: 2px solid var(--ink); opacity: .3; }
.wc-block-grid__products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; margin: 24px 0 0; padding: 0; list-style: none; text-align: left; }
.wc-block-grid.wc-block-grid .wc-block-grid__product { flex: none; width: auto; max-width: none; margin: 0; padding: 0; border: 0; text-align: left; }
.wc-block-grid .wc-block-grid__product-link, .wc-block-grid .wc-block-grid__product-image { display: block; width: 100%; color: inherit; text-decoration: none; }
.wc-block-grid__product-image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.wc-block-grid__product-title { margin: 12px 0 0; font: 900 1.6rem/1 var(--display); text-transform: uppercase; }
.wc-block-grid__product-price { margin: 4px 0 12px; }
.wc-block-grid__product-add-to-cart .wp-block-button__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; font: 700 1.1rem/1 var(--display); background: transparent; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; }
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover { background: var(--ink); color: var(--bg); }
