/* =========================================================
   KORIUM TECH · v2 « Eau claire »
   Clair, fin, l'eau comme fil conducteur.
   Couleurs du logo : marine #003058, dégradé #1880C8 → #30A8F0.
   Titres et texte : Albert Sans (Funnel retirée le 10/11, demande d Antoine).
   ========================================================= */

:root {
  --fond: #F4F9FC;
  --blanc: #FFFFFF;
  --aqua: #E6F2FA;
  --aqua-2: #D3E9F6;
  --marine: #003058;
  --encre: #1D3B57;
  --gris: #4A6680;
  --bleu: #1880C8;
  --bleu-2: #30A8F0;
  --filet: rgba(0, 48, 88, 0.12);
  --filet-2: rgba(0, 48, 88, 0.2);
  --rouge: #D9483B;
  --ambre: #E8A23C;
  --serif: "Albert Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --sans: "Albert Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --pad: clamp(20px, 5vw, 72px);
  --sec: clamp(96px, 11vw, 176px);
  --r: 16px;
  --ombre: 0 28px 56px -34px rgba(0, 48, 88, 0.34);
  --z-fil: 30;
  --z-nav: 50;
  --z-menu: 60;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--fond); color: var(--encre);
  font: 400 1.0625rem/1.7 var(--sans); font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; color: var(--marine); }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); color: var(--marine); text-wrap: balance; font-weight: 300; }
h1 { font-weight: 300; font-size: clamp(2.5rem, 1.3rem + 4vw, 5.4rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-weight: 300; font-size: clamp(2.1rem, 1.3rem + 2.7vw, 3.9rem); line-height: 1.05; letter-spacing: -0.032em; }
h3 { font-weight: 400; font-size: clamp(1.35rem, 1.12rem + 0.75vw, 1.8rem); line-height: 1.2; letter-spacing: -0.02em; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--bleu); }
:focus-visible { outline: 2px solid var(--bleu-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(48, 168, 240, 0.25); color: var(--marine); }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--marine); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main > section { position: relative; padding-block: var(--sec); }

/* ---------- En-têtes de section ---------- */
.tete { margin-bottom: clamp(48px, 6vw, 88px); }
.tete h2 { max-width: 18ch; }
.tete p { max-width: 58ch; color: var(--encre); font-size: 1.1rem; }
.tete--split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 96px); align-items: end; }
.tete--split > div > p + .lien, .tete--split > div > p + .rangee { margin-top: 22px; }
@media (max-width: 860px) { .tete--split { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Boutons : pilule + icône dans son rond ---------- */
.b, .btn {
  --h: 56px; position: relative; display: inline-flex; align-items: center; gap: 16px; height: var(--h);
  padding: 0 7px 0 26px; border-radius: 999px; font: 500 1rem/1 var(--sans); letter-spacing: 0.005em; white-space: nowrap;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.b:active .b__t, .btn:active { opacity: 0.8; }
.b__ico, .btn__ico {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; flex: none;
  transition: transform 0.55s var(--ease), background-color 0.4s var(--ease);
}
.b__ico svg, .btn__ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.b:hover .b__ico, .btn:hover .btn__ico { transform: translateX(3px) scale(1.05); }
.b--plein, .btn--light { background: var(--marine); color: #fff; box-shadow: 0 14px 30px -16px rgba(0, 48, 88, 0.6); }
.b--plein .b__ico, .btn--light .btn__ico { background: linear-gradient(160deg, var(--bleu-2), var(--bleu)); color: #fff; }
.b--plein:hover, .btn--light:hover { background: #0B416F; }
.b--verre, .btn--ghost { background: rgba(255, 255, 255, 0.66); color: var(--marine); box-shadow: inset 0 0 0 1px rgba(0, 48, 88, 0.12); }
.b--verre .b__ico { background: var(--aqua); color: var(--marine); }
.b--verre:hover, .btn--ghost:hover { background: #fff; }
.b--clair { background: #fff; color: var(--marine); box-shadow: inset 0 0 0 1px rgba(0, 48, 88, 0.1); }
.b--clair .b__ico { background: var(--aqua); color: var(--marine); }
.b:not(:has(.b__ico)) { padding-right: 26px; }
.rangee { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

.lien {
  display: inline-flex; align-items: center; gap: 10px; color: var(--marine); font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 3px;
  transition: background-size 0.6s var(--ease), color 0.3s;
}
.lien svg { width: 15px; height: 15px; fill: none; stroke: var(--bleu); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.5s var(--ease); }
.lien:hover { background-size: 100% 1px; }
.lien:hover svg { transform: translateX(4px); }

/* ---------- Médias encadrés ---------- */
.cadre { position: relative; }
.cadre > img, .cadre > video, .cadre > .vd { width: 100%; border-radius: var(--r); object-fit: cover; background: var(--aqua); box-shadow: var(--ombre); }
.cadre figcaption, figure > figcaption { margin-top: 12px; font-size: 0.875rem; line-height: 1.45; color: var(--gris); }
.ia { display: inline-flex; align-items: center; gap: 6px; font: 500 0.75rem/1.2 var(--sans); color: var(--gris); letter-spacing: 0.01em; }
.ia::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--bleu-2); }
figcaption .ia { margin-left: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 14px; border-radius: 999px; background: var(--aqua); color: var(--marine); font-size: 0.9rem; font-weight: 500; }
.tags--fins li { background: transparent; box-shadow: inset 0 0 0 1px var(--filet-2); font-weight: 400; }

/* ---------- Puces en gouttes ---------- */
.gouttes { display: grid; gap: 14px; }
.gouttes li { position: relative; padding-left: 30px; }
.gouttes li::before {
  content: ""; position: absolute; left: 4px; top: 0.55em; width: 11px; height: 11px;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: linear-gradient(135deg, var(--bleu-2), var(--bleu));
}

/* ---------- Sections aqua + vagues ---------- */
.s--aqua { background: var(--aqua); isolation: isolate; }
.vague { position: absolute; left: 0; right: 0; height: 64px; overflow: hidden; pointer-events: none; z-index: 1; }
.vague--haut { top: -63px; }
.vague svg { width: 200%; height: 100%; fill: var(--aqua); animation: houle 22s linear infinite; }
@keyframes houle { to { transform: translateX(-50%); } }
.s--aqua::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; pointer-events: none; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 360 0 720 64 1080 30 S 1440 40 1440 40 V64 H0Z' fill='%23F4F9FC'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}
.s--aqua + .s--aqua::after, .s--aqua:has(+ .ct)::after { display: none; }
.reflets {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.26; mix-blend-mode: multiply;
  background: url("/assets/video/eau-hero.jpg") center / 1400px auto repeat; animation: reflets 60s linear infinite alternate;
}
@keyframes reflets { to { background-position: 380px 220px; } }

/* ---------- Apparitions (le contenu reste visible sans JS) ---------- */
.rv-on [data-rv] { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 0.45s var(--ease), transform 0.55s var(--ease); transition-delay: var(--rv-d, 0s); } /* 10/11 vitesse : plus court, sans flou */
.rv-on [data-rv].vu { opacity: 1; transform: none; }

/* ---------- Le fil de l'eau (progression de lecture) ---------- */
.fil { position: fixed; z-index: var(--z-fil); left: 26px; top: 50%; height: 54vh; width: 20px; transform: translateY(-50%); pointer-events: none; }
.fil__tube { position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: rgba(0, 48, 88, 0.1); }
.fil__eau { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 0) * 100%); border-radius: 2px; background: linear-gradient(180deg, var(--bleu-2), var(--bleu)); }
.fil__goutte {
  position: absolute; left: -4px; top: calc(var(--p, 0) * 100%); width: 10px; height: 10px; margin-top: -2px;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--bleu); box-shadow: 0 0 0 4px rgba(48, 168, 240, 0.18), 0 0 18px rgba(48, 168, 240, 0.6);
}
.fil__marks { position: absolute; inset: 0; pointer-events: auto; }
.fil__marks li { position: absolute; left: 4px; top: calc(var(--y) * 100%); width: 12px; height: 12px; margin-top: -6px; }
.fil__marks a { position: absolute; inset: -6px; display: block; border-radius: 50%; }
.fil__marks a::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--fond); box-shadow: inset 0 0 0 1.5px rgba(0, 48, 88, 0.28); transition: box-shadow 0.4s, background 0.4s; }
.fil__marks li.ok a::before { background: var(--bleu-2); box-shadow: inset 0 0 0 1.5px var(--bleu); }
.fil__marks span {
  position: absolute; left: 26px; top: 50%; transform: translate(-6px, -50%); white-space: nowrap; padding: 5px 11px; border-radius: 999px;
  background: #fff; color: var(--marine); font-size: 0.8rem; font-weight: 500; box-shadow: 0 8px 20px -12px rgba(0, 48, 88, 0.5);
  opacity: 0; transition: opacity 0.3s, transform 0.4s var(--ease); pointer-events: none;
}
.fil__marks a:hover span, .fil__marks a:focus-visible span, .fil__marks li.cur span { opacity: 1; transform: translate(0, -50%); }
.fil__marks li.cur span { opacity: 0; }
.fil__marks a:hover span { opacity: 1 !important; }
@media (max-width: 1023px) {
  .fil { left: 0; right: 0; top: 0; width: auto; height: 3px; transform: none; }
  .fil__tube { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 3px; border-radius: 0; background: transparent; }
  .fil__eau { height: 100%; width: calc(var(--p, 0) * 100%); border-radius: 0 3px 3px 0; background: linear-gradient(90deg, var(--bleu-2), var(--bleu)); }
  .fil__goutte, .fil__marks { display: none; }
}

/* ---------- Navigation : îlot flottant ---------- */
.nv { position: fixed; z-index: var(--z-nav); top: calc(12px + env(safe-area-inset-top, 0px)); left: clamp(10px, 2vw, 28px); right: clamp(10px, 2vw, 28px); pointer-events: none; }
.nv__bar {
  pointer-events: auto; max-width: 1400px; margin-inline: auto; height: 66px; display: flex; align-items: center; gap: 12px;
  padding: 0 8px 0 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 12px 34px -20px rgba(0, 48, 88, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  transition: transform 0.6s var(--ease), background 0.4s;
}
.nv.is-cache .nv__bar { transform: translateY(-120%); }
.nv__brand { display: flex; align-items: center; gap: 10px; flex: none; }
.nv__ring { width: 30px; height: 30px; }
.nv__brand img { height: 15px; width: auto; }
.nv__links { flex: 1; display: flex; justify-content: center; }
.nv__links > ul { display: flex; align-items: center; gap: 2px; }
.nv__it { position: relative; display: flex; align-items: center; }
.nv__a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 999px; font-size: 0.95rem; font-weight: 500; color: var(--marine); transition: background 0.3s; }
.nv__a:hover, .nv__it:focus-within > .nv__a { background: rgba(48, 168, 240, 0.12); }
.nv__a[aria-current] { background: var(--aqua); }
.nv__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bleu-2); }
.nv__more { display: none; }
.nv__dd {
  position: absolute; top: calc(100% + 14px); left: 50%; min-width: 320px; padding: 10px; border-radius: 18px; background: #fff;
  box-shadow: 0 30px 60px -30px rgba(0, 48, 88, 0.45); opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease), visibility 0.35s;
}
.nv__dd::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nv__it--dd:hover .nv__dd, .nv__it--dd:focus-within .nv__dd, .nv__it--dd.is-open .nv__dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nv__dd a { display: grid; gap: 2px; padding: 11px 14px; border-radius: 12px; transition: background 0.3s; }
.nv__dd a:hover { background: var(--fond); }
.nv__dd b { font-weight: 500; font-size: 0.97rem; }
.nv__dd span { font-size: 0.85rem; color: var(--gris); line-height: 1.35; }
.nv__end { display: flex; align-items: center; gap: 10px; flex: none; }
.nv__bande { display: grid; padding: 6px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; line-height: 1.15; color: var(--marine); box-shadow: inset 0 0 0 1px var(--filet); }
.nv__bande small { font-size: 0.72rem; font-weight: 400; color: var(--gris); }
.nv__cta { --h: 50px; padding-left: 20px; font-size: 0.95rem; }
.nv__cta .b__ico { width: 38px; height: 38px; }
.nv__burger { display: none; position: relative; width: 50px; height: 50px; border-radius: 50%; background: var(--marine); }
.nv__burger i { position: absolute; left: 16px; right: 16px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform 0.6s var(--ease), top 0.6s var(--ease); }
.nv__burger i:first-child { top: 20px; }
.nv__burger i:last-child { top: 28px; }
.nv__burger[aria-expanded="true"] i:first-child { top: 24px; transform: rotate(45deg); }
.nv__burger[aria-expanded="true"] i:last-child { top: 24px; transform: rotate(-45deg); }

.mn {
  pointer-events: auto; position: fixed; inset: 0; z-index: -1; overflow-y: auto; padding: calc(110px + env(safe-area-inset-top, 0px)) var(--pad) 40px;
  background: rgba(244, 249, 252, 0.94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.mn.is-open { opacity: 1; }
.mn__in { max-width: 1100px; margin-inline: auto; display: grid; gap: 40px; }
.mn__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px 40px; }
.mn__g, .mn__cta { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--k, 0) * 70ms + 80ms); }
.mn.is-open .mn__g, .mn.is-open .mn__cta { opacity: 1; transform: none; }
.mn__h { margin-bottom: 10px; font: 400 1.6rem/1.1 var(--serif); color: var(--marine); }
.mn__g li a { display: block; padding: 7px 0; font-weight: 500; color: var(--marine); }
.mn__g li a span { display: block; font-size: 0.85rem; font-weight: 400; color: var(--gris); }
.mn__singles a { font: 300 1.6rem/1.3 var(--serif) !important; }
.mn__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mn__tel { width: 100%; margin-top: 8px; color: var(--gris); }
@media (max-width: 1239px) {
  .nv__links, .nv__bande { display: none; }
  .nv__burger { display: block; }
  .nv__bar { justify-content: space-between; }
}
@media (max-width: 640px) {
  .nv__cta { display: none; }
  .nv__bar { height: 60px; padding-left: 16px; }
  .nv__burger { width: 46px; height: 46px; }
  .nv__burger i:first-child { top: 18px; } .nv__burger i:last-child { top: 26px; }
  .nv__burger[aria-expanded="true"] i { top: 22px !important; }
}
body.menu-ouvert { overflow: hidden; }

/* ---------- Fil d'Ariane ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.875rem; color: var(--gris); margin-bottom: 26px; }
.crumbs li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 10px; border-radius: 50%; background: var(--bleu-2); vertical-align: middle; }
.crumbs a:hover { color: var(--marine); }
.crumbs [aria-current] { color: var(--marine); }

/* ---------- Formulaires (gabarit du kit) ---------- */
.form { display: grid; gap: 22px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.fd { display: grid; gap: 7px; }
.fd--full, .fd--chips, .fd--consent { grid-column: 1 / -1; }
.fd label, .fd legend { font-size: 0.88rem; font-weight: 600; color: var(--marine); }
.fd input, .fd select, .fd textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--filet-2); background: #fff;
  font: 400 1rem/1.4 var(--sans); color: var(--marine); transition: border-color 0.3s, box-shadow 0.3s;
}
.fd textarea { resize: vertical; }
.fd input:focus, .fd select:focus, .fd textarea:focus { outline: none; border-color: var(--bleu-2); box-shadow: 0 0 0 4px rgba(48, 168, 240, 0.18); }
.fd ::placeholder { color: #6E869B; }
fieldset.fd { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--filet-2); cursor: pointer; transition: background 0.3s, color 0.3s; }
.chip input:checked + span { background: var(--marine); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--bleu-2); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form__rgpd { font-size: 0.85rem; color: var(--gris); margin: 0; }
.form__rgpd a { text-decoration: underline; text-underline-offset: 3px; }
.form__ok, .form__err { padding: 14px 18px; border-radius: 12px; background: #fff; }
.form__err { color: var(--rouge); }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }

/* ---------- Code postal (accueil + dureté) ---------- */
.cp { margin-top: 28px; }
.cp__lab { display: block; margin-bottom: 10px; font-size: 0.9rem; font-weight: 600; color: var(--marine); }
.cp__row { display: flex; flex-wrap: wrap; gap: 10px; }
.cp input {
  flex: 1 1 180px; min-width: 0; height: 58px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--filet-2); background: #fff;
  font: 300 1.5rem/1 var(--serif); letter-spacing: 0.18em; color: var(--marine); transition: border-color 0.3s, box-shadow 0.3s;
}
.cp input:focus { outline: none; border-color: var(--bleu-2); box-shadow: 0 0 0 5px rgba(48, 168, 240, 0.16); }
.cp input::placeholder { color: rgba(0, 48, 88, 0.3); }
.cp input[aria-invalid] { border-color: var(--rouge); }
.cp .b { --h: 58px; }
.cp__help { margin-top: 10px; font-size: 0.9rem; color: var(--gris); }
.cp__help.is-error { color: var(--rouge); }

/* ---------- Vidéos ---------- */
.vd { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Rangée de produits (accueil, dureté, gammes) ---------- */
.gamme__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.pr a { display: grid; gap: 6px; }
.pr__img { position: relative; display: grid; place-items: end center; height: clamp(220px, 20vw, 290px); padding: 26px 18px 18px; border-radius: 20px; background: radial-gradient(ellipse 70% 55% at 50% 100%, var(--aqua-2), rgba(230, 242, 250, 0.4) 70%), #fff; overflow: hidden; margin-bottom: 12px; }
.pr__img::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 14px; height: 14px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 48, 88, 0.25), transparent 70%); }
.pr__img img { position: absolute; z-index: 1; left: 18px; top: 26px; width: calc(100% - 36px); height: calc(100% - 46px); object-fit: contain; object-position: 50% 100%; transition: transform 0.8s var(--ease); }
.pr a:hover .pr__img img { transform: translateY(-8px) scale(1.02); }
.pr__nom { font: 300 1.25rem/1.2 var(--serif); color: var(--marine); }
.pr__fait { font-size: 0.92rem; line-height: 1.45; color: var(--gris); }
.gamme__plus { margin-top: 34px; color: var(--encre); }
.gamme__plus a { text-decoration: underline; text-decoration-color: var(--bleu-2); text-underline-offset: 4px; }
@media (max-width: 1100px) {
  .gamme__row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 42%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: thin; }
  .pr { scroll-snap-align: start; }
}
@media (max-width: 520px) { .gamme__row { grid-auto-columns: 72%; } }

/* ---------- Pied de page ---------- */
.ft { position: relative; background: var(--aqua); padding: clamp(72px, 8vw, 120px) 0 28px; margin-top: 64px; }
.ft__wave { position: absolute; left: 0; right: 0; top: -63px; height: 64px; overflow: hidden; }
.ft__wave svg { width: 200%; height: 100%; fill: var(--aqua); animation: houle 26s linear infinite reverse; }
.ft__top { display: grid; grid-template-columns: 1fr 3fr; gap: 48px; }
.ft__brand img { width: 110px; margin-bottom: 22px; }
.ft__sig { font: 300 1.4rem/1.25 var(--serif); color: var(--marine); margin-bottom: 6px; }
.ft__sig2 { color: var(--gris); font-size: 0.95rem; }
.ft__cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.ft__h { margin-bottom: 12px; font-weight: 600; color: var(--marine); font-size: 0.95rem; }
.ft__cols li a { display: block; padding: 4px 0; font-size: 0.93rem; color: var(--encre); transition: color 0.3s; }
.ft__cols li a:hover { color: var(--bleu); }
.ft address { font-style: normal; display: grid; gap: 10px; font-size: 0.93rem; }
.ft address span { color: var(--gris); }
.ft__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--filet); font-size: 0.85rem; color: var(--gris); }
.ft__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ft__legal a:hover { color: var(--marine); }
@media (max-width: 1100px) { .ft__top { grid-template-columns: 1fr; } .ft__cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ft__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.2s !important; }
  .rv-on [data-rv] { transform: none; filter: none; }
}

/* =========================================================
   v2-2 · Mouvement et finitions
   ========================================================= */
/* médias dévoilés avec profondeur (enveloppe posée par motion.js) */
.revele { position: relative; overflow: hidden; border-radius: var(--r); background: var(--aqua); box-shadow: var(--ombre); transform: skewY(var(--penche, 0deg)) translateZ(0); }
.revele > img, .revele > video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; box-shadow: none !important; will-change: transform; }
.mo-l { padding-bottom: 0.08em; margin-bottom: -0.08em; }
.mo-w, .mo-c { will-change: transform; }

/* barre de navigation plus compacte en descendant */
.nv.is-compact .nv__bar { height: 58px; background: rgba(255, 255, 255, 0.86); }
@media (max-width: 640px) { .nv.is-compact .nv__bar { height: 54px; } }

/* anneau d'eau qui suit le curseur */
.curseur { position: fixed; left: 0; top: 0; z-index: 90; width: 38px; height: 38px; margin: -19px 0 0 -19px; pointer-events: none; opacity: 0; transition: opacity 0.4s; }
.curseur.on { opacity: 1; }
.curseur i { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(24, 128, 200, 0.55); transition: transform 0.55s var(--ease), background-color 0.35s, box-shadow 0.35s; }
.curseur.sur-lien i { transform: scale(1.65); background: rgba(48, 168, 240, 0.12); box-shadow: inset 0 0 0 1px rgba(24, 128, 200, 0.35); }
.curseur.sur-media i { transform: scale(2.3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95); }
.curseur.clic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(48, 168, 240, 0.8); animation: clic 0.8s var(--ease) forwards; }
@keyframes clic { to { transform: scale(3.2); opacity: 0; } }

/* rangée de produits : une onde au survol */
.pr__img::before { content: ""; position: absolute; left: 50%; bottom: 20px; width: 60%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(48, 168, 240, 0.5); transform: translate(-50%, 50%) scale(0.2); opacity: 0; transition: transform 1.1s var(--ease), opacity 1.1s var(--ease); pointer-events: none; }
.pr a:hover .pr__img::before { transform: translate(-50%, 50%) scale(1.5); opacity: 0; animation: onde-pr 1.4s var(--ease); }
@keyframes onde-pr { 0% { opacity: 0.9; transform: translate(-50%, 50%) scale(0.2); } 100% { opacity: 0; transform: translate(-50%, 50%) scale(1.6); } }

/* passage d'une page à l'autre : une onde qui s'ouvre */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.6s var(--ease-io) both vt-sort; }
::view-transition-new(root) { animation: 0.9s var(--ease-io) both vt-entre; }
@keyframes vt-sort { to { opacity: 0.4; transform: scale(0.98); } }
@keyframes vt-entre { from { clip-path: circle(0% at 50% 55%); } to { clip-path: circle(120% at 50% 55%); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
