/* ==========================================================================
   Fresh Coco — styles
   Les positions de la section « canettes » reprennent la composition de
   référence (1671 × 941) en pourcentages.
   ========================================================================== */

:root {
  --ink: #1f3448;
  --ink-soft: #4a5f73;
  --ice-50: #f6f9fd;
  --ice-100: #eef4fc;
  --ice-200: #e3edf8;
  --ice-300: #d3e4f4;
  --ice-500: #8fbde0;
  --line: rgba(31, 52, 72, .12);
  --glass: rgba(255, 255, 255, .62);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.45, 0, .2, 1);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #fdfdfe;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: clip; } /* rien ne dépasse sur les côtés (sans casser position: sticky) */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--ice-500); outline-offset: 4px; border-radius: 12px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(20px, 8.4vw, 140px);
  transition: background .6s var(--ease), box-shadow .6s var(--ease), height .6s var(--ease);
  opacity: 0; transform: translateY(-14px);
}
.is-loaded .header { opacity: 1; transform: none; transition: opacity 1.2s var(--ease) .2s, transform 1.2s var(--ease) .2s, background .6s, box-shadow .6s, height .6s var(--ease); }
/* Menu posé sur la vidéo bleue : transparent, texte blanc */
.header.is-on-video, .header.is-scrolled.is-on-video { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header.is-on-video .logo__word, .header.is-on-video .nav__link, .header.is-on-video .btn-buy { color: #fff; }
.header.is-on-video .logo__palm { fill: rgba(255, 255, 255, .85); color: rgba(255, 255, 255, .85); }
.header.is-on-video .nav__pill { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.header.is-on-video .btn-buy { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); }
.header.is-on-video .burger { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.header.is-on-video .burger span { background: #fff; }
.header .logo__word, .header .nav__link, .header .btn-buy, .header .logo__palm { transition: color .5s var(--ease), fill .5s var(--ease), border-color .5s, background .5s; }

.header.is-scrolled { --header-h: 70px; } /* l'en-tête reste transparent */

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; justify-self: start; }
.logo__palm { width: 46px; height: 46px; fill: #7d858c; color: #7d858c; flex: none; }
.logo__word {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(26px, 2.4vw, 38px); letter-spacing: -.02em; color: #2b3a4a;
  font-variation-settings: "opsz" 96;
}

.nav { position: relative; display: flex; gap: clamp(8px, 1.6vw, 28px); }
.nav__link {
  position: relative; z-index: 1;
  padding: 10px 30px; border-radius: 999px;
  text-decoration: none; font-size: 16.5px; font-weight: 500; color: #24384b;
  transition: color .4s var(--ease);
}
.nav__link.is-active { font-weight: 600; }

/* Sous-menu « Notre boisson » */
.nav__item { position: relative; display: flex; }
.nav__item > .nav__link { display: inline-flex; align-items: center; gap: 6px; }
.nav__chevron { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.nav__item:hover .nav__chevron, .nav__item:focus-within .nav__chevron { transform: rotate(180deg); }
.nav__drop {
  position: absolute; left: 50%; top: 100%; z-index: 5;
  display: grid; gap: 6px; width: 300px; padding: 10px; margin-top: 10px;
  border-radius: 22px; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid #fff; box-shadow: 0 30px 60px -30px rgba(20, 50, 100, .45);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .35s;
}
.nav__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* pont pour le survol */
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.nav__prod {
  display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 16px;
  text-decoration: none; color: #0a2f6b; transition: background .3s;
}
.nav__prod:hover, .nav__prod:focus-visible { background: #e8f1fc; }
.nav__prod img { height: 64px; width: auto; flex: none; filter: drop-shadow(0 8px 10px rgba(10, 40, 90, .25)); transition: transform .5s var(--ease); }
.nav__prod:hover img { transform: rotate(-6deg) scale(1.05); }
.nav__prod span { font-family: var(--serif); font-size: 18px; line-height: 1.15; }
.nav__prod small { display: block; margin-bottom: 3px; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #2f6fc6; }
.nav__pill {
  position: absolute; top: 0; left: 0; height: 100%;
  border-radius: 999px; background: #e3f0fb;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
  transition: transform .7s var(--ease), width .7s var(--ease);
  width: var(--pill-w, 0); transform: translateX(var(--pill-x, 0));
}

.btn-buy {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 22px 12px 24px; border-radius: 999px;
  border: 1.5px solid #8cc0e3; background: rgba(255, 255, 255, .55);
  text-decoration: none; font-weight: 500; font-size: 15.5px; color: #24384b;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.btn-buy svg { width: 22px; height: 22px; }
.btn-buy:hover { background: #fff; box-shadow: 0 10px 30px -12px rgba(80, 150, 210, .55); transform: translateY(-1px); }

.burger { display: none; }
.mobile-menu { display: none; }

/* Logo image (couleur sur fond clair, blanc sur la vidéo) */
.logo__img { display: block; height: 62px; width: auto; }
.logo__img--white { display: none; }
.header.is-on-video .logo__img--color { display: none; }
.header.is-on-video .logo__img--white { display: block; }
.header.is-scrolled .logo__img { height: 50px; }
.footer .logo__img { height: 54px; }
@media (max-width: 860px) { .logo__img, .header.is-scrolled .logo__img { height: 48px; } }

/* ---------- Fluid wave backgrounds ---------- */
.waves { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.waves svg { width: 100%; height: 100%; display: block; }
.waves .w { transform-box: fill-box; transform-origin: center; will-change: transform; }
.waves .w--a { animation: drift-a 26s var(--ease-soft) infinite alternate; }
.waves .w--b { animation: drift-b 32s var(--ease-soft) infinite alternate; }
.waves .w--c { animation: drift-c 38s var(--ease-soft) infinite alternate; }
.waves .w--d { animation: drift-a 30s var(--ease-soft) infinite alternate-reverse; filter: blur(.6px); }
@keyframes drift-a { to { transform: translate3d(30px, -18px, 0) rotate(1.4deg) scale(1.03); } }
@keyframes drift-b { to { transform: translate3d(-36px, 22px, 0) rotate(-1.6deg) scale(1.04); } }
@keyframes drift-c { to { transform: translate3d(-24px, -12px, 0) scaleY(1.06); } }

/* ---------- Section 1 — Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  height: 100vh; height: 100svh; min-height: 560px;
  background: #183a5d;
  overflow: hidden;
}
.hero__video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
}
/* voile : lisibilité du menu en haut */
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 30, 55, .38) 0%, rgba(10, 30, 55, 0) 18%); /* lisibilité du menu */
}

/* Texte affiché quand la vidéo se met en pause (au moment où on boit) */
.hero__intro {
  position: absolute; z-index: 2; left: clamp(20px, 8.4vw, 140px); top: 50%;
  width: min(480px, 42vw); color: #fff; transform: translateY(-46%);
  pointer-events: none;
}
.hero__intro > * { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); }
.hero.is-paused .hero__intro { pointer-events: auto; }
.hero.is-paused .hero__intro > * { opacity: 1; transform: none; filter: none; }
.hero.is-paused .hero__intro > :nth-child(2) { transition-delay: .12s; }
.hero.is-paused .hero__intro > :nth-child(3) { transition-delay: .24s; }
.hero.is-paused .hero__intro > :nth-child(4) { transition-delay: .36s; }
.hero__eyebrow { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .9; }
.hero__title {
  margin: 0 0 22px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(46px, 5.6vw, 88px); line-height: .96; letter-spacing: -.035em;
  text-shadow: 0 10px 40px rgba(5, 30, 60, .45);
}
.hero__title em { font-style: italic; color: #d7ecff; }
.hero__text { margin: 0 0 30px; max-width: 400px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .92); text-shadow: 0 2px 16px rgba(5, 30, 60, .45); }
.hero__cta {
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px; border-radius: 999px;
  background: #fff; color: #0b3f8f; font-weight: 700; font-size: 15.5px; text-decoration: none;
  box-shadow: 0 18px 40px -16px rgba(5, 25, 60, .55);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.hero__cta svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.hero__cta:hover { transform: translateY(-2px); }
.hero__cta:hover svg { transform: translateX(4px); }
/* voile à gauche pendant la pause, pour la lisibilité */
.hero__veil::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease);
  background: linear-gradient(90deg, rgba(8, 40, 80, .55) 0%, rgba(8, 40, 80, .25) 35%, rgba(8, 40, 80, 0) 55%);
}
.hero.is-paused .hero__veil::after { opacity: 1; }
@media (max-width: 860px) {
  .hero__intro { width: auto; right: 20px; left: 20px; top: auto; bottom: 110px; transform: none; }
  .hero__title { font-size: clamp(40px, 11vw, 56px); }
  .hero__text { font-size: 15.5px; }
  .hero__veil::after { background: linear-gradient(0deg, rgba(8, 40, 80, .6) 0%, rgba(8, 40, 80, 0) 55%); }
}

.scroll-cue { color: #fff !important; background: rgba(255, 255, 255, .16) !important;
  position: absolute; left: 50%; bottom: 22px; z-index: 4;
  width: 52px; height: 52px; margin-left: -26px;
  display: grid; place-items: center; border-radius: 50%;
  color: #1f3448; background: rgba(255, 255, 255, .35);
  opacity: 0; transition: opacity 1.2s var(--ease) 1.8s, background .4s;
}
.scroll-cue svg { width: 26px; height: 26px; animation: cue 2.4s var(--ease-soft) infinite; }
.scroll-cue:hover { background: rgba(255, 255, 255, .8); }
.is-loaded .scroll-cue { opacity: 1; }
@keyframes cue { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

/* ---------- Section 2 — Expérience 3D (épinglée au scroll) ---------- */
.experience {
  position: relative;
  height: 100vh; height: 100svh; /* un écran : la page est bloquée dessus tant que la noix est fermée */
  background: #eef4fc;
}
.experience__sticky {
  touch-action: pan-y; /* le doigt à l'horizontale change de canette */
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: radial-gradient(75% 70% at 50% 50%, #7c9ab3 0%, #4f708e 70%, #2f4d69 100%); /* couleurs de la vidéo */
}
.experience__frames { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.experience__sticky::after { /* fondu blanc vers le bloc suivant */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 15%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(247, 250, 254, 0) 0%, rgba(247, 250, 254, .5) 40%, rgba(247, 250, 254, .88) 72%, #f7fafe 100%);
}
.experience:not(.is-revealed) .experience__frames.is-hover { cursor: pointer; }

/* Invitation à casser la noix : à côté d'elle, avec une flèche dessinée */
.experience__crack {
  position: absolute; z-index: 6;
  left: calc(50% + var(--nut-r, 170px) + 44px); top: calc(50% - var(--nut-r, 170px) * .95);
  display: grid; justify-items: start; gap: 4px;
  padding: 0; border: 0; background: none; cursor: pointer; color: #fff; text-align: left;
  opacity: 0; animation: crack-in 1.1s var(--ease) .9s forwards;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.experience__crack-arrow {
  width: 120px; height: 70px; margin-left: -36px; overflow: visible;
  fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 4px 10px rgba(5, 25, 60, .35));
}
.experience__crack-arrow .a-line { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1.1s var(--ease) 1.2s forwards; }
.experience__crack-arrow .a-head { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s var(--ease) 2.1s forwards; }
.experience__crack-arrow { animation: nudge 2.2s var(--ease-soft) 2.6s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6px, 5px); } }
.experience__crack-text {
  font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3vw, 46px); line-height: .98; letter-spacing: -.02em;
  text-shadow: 0 8px 30px rgba(5, 25, 60, .4);
}
.experience__crack-text em { font-style: italic; color: #cfe6ff; }
.experience__crack-sub { margin-top: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }
.experience__crack:hover .experience__crack-text em { color: #fff; }
.experience.is-started .experience__crack { opacity: 0 !important; pointer-events: none; transform: translateY(10px); animation: none; }
@keyframes crack-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  /* sous la noix, flèche vers le haut */
  .experience__crack { left: 50%; top: calc(50% + var(--nut-r, 140px) + 18px); justify-items: center; text-align: center; transform: translateX(-50%); animation-name: crack-in-m; }
  .experience__crack-arrow { order: -1; width: 70px; height: 50px; margin: 0; transform: rotate(-58deg); animation: none; }
  .experience.is-started .experience__crack { transform: translate(-50%, 10px); }
  @keyframes crack-in-m { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translateX(-50%); } }
}

/* Flèches du carrousel */
.experience__arrow {
  position: absolute; top: 50%; z-index: 7;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none; transform: translateY(-50%) scale(.9);
  transition: opacity .6s var(--ease), transform .6s var(--ease), background .3s;
}
.experience__arrow svg { width: 24px; height: 24px; }
.experience__arrow--prev { left: clamp(14px, 6vw, 110px); }
.experience__arrow--next { right: clamp(14px, 6vw, 110px); }
@media (min-width: 861px) { .experience__arrow--next { right: clamp(60px, 7vw, 130px); } }
.experience.is-revealed .experience__arrow { opacity: 1; pointer-events: auto; transform: translateY(-50%); transition-delay: .3s; }
.experience__arrow:hover { background: rgba(255, 255, 255, .26); }
.experience__arrow:active { transform: translateY(-50%) scale(.94); }
@media (max-width: 860px) {
  .experience__arrow { width: 46px; height: 46px; top: auto; bottom: 28px; transform: none; background: rgba(11, 63, 143, .88); border-color: transparent; } /* sur le fondu blanc */
  .experience.is-revealed .experience__arrow { transform: none; }
  .experience__arrow--prev { left: calc(50% - 60px); }
  .experience__arrow--next { right: calc(50% - 60px); }
}

/* Canettes (photos détourées), placées en JS sur la canette de la vidéo */
.experience__cans { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pcan {
  position: absolute; left: 0; top: 0;
  padding: 0; border: 0; background: none; cursor: pointer;
  opacity: 0; will-change: transform, opacity;
  -webkit-tap-highlight-color: transparent;
}
.pcan img {
  display: block; height: 100%; width: auto; max-width: none;
  pointer-events: none; user-select: none;
  filter: drop-shadow(0 18px 24px rgba(16, 34, 54, .28));
}
.pcan:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 18px; }


.experience__dots {
  position: absolute; right: clamp(16px, 3vw, 44px); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 16px;
  opacity: 0; pointer-events: none; transition: opacity .8s var(--ease);
}
.experience.is-revealed .experience__dots { opacity: 1; pointer-events: auto; }
.experience__dots button {
  width: 10px; height: 10px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .6); background: transparent;
  transition: transform .5s var(--ease), background .4s, border-color .4s;
}
.experience__dots button:hover { border-color: #fff; }
.experience__dots button.is-active { background: #fff; border-color: #fff; transform: scale(1.3); }

/* Accès clavier au panneau (visible seulement au focus) */
.experience__open {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .85); font-size: 14px; cursor: pointer;
}
.experience__open:not(:focus-visible) {
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}


/* ---------- Panneau de présentation ---------- */
.panel {
  position: absolute; z-index: 10; top: 50%;
  width: clamp(300px, 26%, 400px);
  padding: 34px 32px 30px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .82), rgba(244, 249, 255, .6));
  backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 30px 80px -30px rgba(50, 100, 150, .35), inset 0 1px 0 #fff;
  opacity: 0;
  transform: translate3d(var(--px, 24px), -46%, 0) scale(.98);
  filter: blur(6px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease);
}
.panel[data-side="right"] { right: clamp(20px, 7vw, 120px); --px: 24px; }
.panel[data-side="left"] { left: 4%; --px: -24px; }
.panel:not(.is-open) { pointer-events: none; }
.panel.is-open { opacity: 1; transform: translate3d(0, -50%, 0); filter: none; }
.panel > * { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.panel.is-open > * { opacity: 1; transform: none; }
.panel.is-open > :nth-child(2) { transition-delay: .08s; }
.panel.is-open > :nth-child(3) { transition-delay: .14s; }
.panel.is-open > :nth-child(4) { transition-delay: .2s; }
.panel.is-open > :nth-child(5) { transition-delay: .26s; }
.panel.is-open > :nth-child(6) { transition-delay: .32s; }

.panel__close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .6);
  transition: background .3s, transform .5s var(--ease);
}
.panel__close svg { width: 18px; height: 18px; }
.panel__close:hover { background: #fff; transform: rotate(90deg); }
.panel__eyebrow { margin: 0 0 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #6d93b5; font-weight: 600; }
.panel__title { margin: 0 0 14px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.3vw, 36px); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); padding-right: 30px; }
.panel__desc { margin: 0 0 22px; font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }
.panel__features { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--line); }
.panel__features li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 500; }
.panel__features li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #8fbde0); box-shadow: 0 0 0 3px rgba(143, 189, 224, .18); flex: none; }
.panel__features:empty { display: none; }
.panel__cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; font-size: 15px;
  box-shadow: 0 14px 30px -14px rgba(31, 52, 72, .6);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s;
}
.panel__cta svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.panel__cta:hover { background: #2c4a66; transform: translateY(-1px); }
.panel__cta:hover svg { transform: translateX(3px); }
.panel[data-product="soon"] .panel__cta { display: none; }
.panel[data-product="soon"] .panel__desc { margin-bottom: 0; }

/* ---------- Apparition au scroll (toutes les pages) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Pied de page (toutes les pages) ---------- */
.site-footer { position: relative; background: #0a2f6b; color: rgba(255, 255, 255, .78); padding: 90px clamp(20px, 8.4vw, 140px) 30px; }
.site-footer__wave { position: absolute; left: 0; right: 0; top: -79px; height: 80px; pointer-events: none; }
.site-footer__wave svg { width: 100%; height: 100%; display: block; }
.site-footer__wave path { fill: #0a2f6b; }
.site-footer__inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__brand img { width: 120px; height: auto; display: block; margin-bottom: 20px; }
.site-footer__brand p { margin: 0; max-width: 300px; line-height: 1.6; font-size: 15px; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col h3 { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.site-footer__col a { color: inherit; text-decoration: none; font-size: 15.5px; transition: color .3s; width: fit-content; }
.site-footer__col a:hover { color: #fff; }
.site-footer__soon { font-size: 14px; color: #8fc0ee; }
.site-footer__social { display: flex; gap: 10px; }
.site-footer__social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); transition: background .3s, border-color .3s; }
.site-footer__social a:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.site-footer__social svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.site-footer__social .dot { fill: #fff; stroke: none; }
.site-footer__mail { margin-top: 6px; }
.site-footer__bottom { max-width: 1240px; margin: 60px auto 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.site-footer__bottom p { margin: 0; display: flex; gap: 20px; }
.site-footer__bottom a { color: inherit; text-decoration: none; }
.site-footer__bottom a:hover { color: #fff; }
@media (max-width: 860px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* ---------- Footer ---------- */
.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  padding: 40px clamp(20px, 8.4vw, 140px);
  border-top: 1px solid var(--line); background: #fdfdfe;
  font-size: 14.5px; color: var(--ink-soft);
}
.footer .logo__palm { width: 34px; height: 34px; }
.footer .logo__word { font-size: 26px; }
.footer p { margin: 0; }
.footer a:not(.logo) { color: var(--ink); text-underline-offset: 3px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__link { padding: 10px 18px; font-size: 15px; }
  .header { padding: 0 28px; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .header { grid-template-columns: 1fr auto; padding: 0 20px; }
  .nav, .header > .btn-buy { display: none; }
  .logo__palm { width: 36px; height: 36px; }
  .logo__word { font-size: 26px; }
  .burger {
    display: grid; place-content: center; gap: 6px;
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line); background: rgba(255, 255, 255, .6); cursor: pointer;
  }
  .burger span { display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .5s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }


  .hero__stage { width: 128vw; max-width: 760px; transform: translate(-50%, -47%); }

  .panel {
    position: fixed; top: auto; bottom: 0; left: 0 !important; right: 0 !important;
    width: auto; max-height: 82vh; overflow: auto;
    border-radius: 28px 28px 0 0;
    padding: 30px 24px calc(28px + env(safe-area-inset-bottom));
    transform: translate3d(0, 40px, 0);
  }
  .panel.is-open { transform: none; }

  .values__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}


/* ---------- Menu mobile ---------- */
@media (max-width: 860px) {
  .mobile-menu {
    position: fixed; inset: 0; z-index: 40; overflow: hidden auto;
    display: flex; flex-direction: column; justify-content: center; gap: 26px;
    padding: 96px 22px 150px; color: #fff;
    background: radial-gradient(90% 60% at 80% 10%, #5fa6e6 0%, #2a66b8 45%, #0a2f6b 100%);
    clip-path: circle(0% at calc(100% - 43px) 36px);
    transition: clip-path .7s cubic-bezier(.7, 0, .2, 1);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu.is-open { clip-path: circle(150% at calc(100% - 43px) 36px); }
  .mm-nav { display: grid; gap: 12px; }
  .mm-nav > * { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
  .mobile-menu.is-open .mm-nav > * { opacity: 1; transform: none; }
  .mobile-menu.is-open .mm-nav > :nth-child(1) { transition-delay: .2s; }
  .mobile-menu.is-open .mm-nav > :nth-child(2) { transition-delay: .27s; }
  .mobile-menu.is-open .mm-nav > :nth-child(3) { transition-delay: .34s; }
  .mobile-menu.is-open .mm-nav > :nth-child(4) { transition-delay: .41s; }
  .mm-link {
    display: flex; align-items: baseline; gap: 14px; padding: 6px 4px; color: #fff; text-decoration: none;
    font-family: var(--serif); font-weight: 500; font-size: 40px; letter-spacing: -.02em; line-height: 1.1;
  }
  .mm-n { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #9cc8f2; }
  .mm-prod {
    position: relative; display: flex; align-items: center; gap: 14px; min-height: 92px; padding: 14px 18px 14px 96px;
    border-radius: 24px; color: #fff; text-decoration: none; overflow: visible;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .mm-prod--og { background: rgba(255, 255, 255, .92); color: #0a2f6b; border-color: #fff; }
  .mm-prod img {
    position: absolute; left: 22px; top: 50%; height: 104px; width: auto; max-width: none; translate: 0 -50%;
    rotate: -10deg; filter: drop-shadow(0 14px 16px rgba(5, 25, 60, .35));
    transition: transform .6s var(--ease);
  }
  .mm-prod--pet img { rotate: 10deg; }
  .mm-prod:active img { transform: translateY(-6px) scale(1.04); }
  .mm-prod__txt { flex: 1; font-family: var(--serif); font-weight: 500; font-size: 27px; letter-spacing: -.02em; line-height: 1.05; }
  .mm-prod__txt small { display: block; margin-bottom: 4px; font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .65; }
  .mm-prod__go { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .18); font-size: 18px; }
  .mm-prod--og .mm-prod__go { background: #0b3f8f; color: #fff; }
  .mm-buy {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; padding: 15px 24px; border-radius: 999px;
    background: #fff; color: #0b3f8f; font-weight: 700; font-size: 15.5px; text-decoration: none;
    box-shadow: 0 18px 36px -16px rgba(5, 25, 60, .6);
    opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease) .48s, transform .7s var(--ease) .48s;
  }
  .mm-buy svg { width: 20px; height: 20px; }
  .mobile-menu.is-open .mm-buy { opacity: 1; transform: none; }
  .mm-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 130px; pointer-events: none; }
  .mm-wave__a { fill: rgba(255, 255, 255, .14); animation: wave-drift 7s var(--ease-soft) infinite alternate; }
  .mm-wave__b { fill: rgba(255, 255, 255, .22); animation: wave-drift 9s var(--ease-soft) infinite alternate-reverse; }
  .mm-bubble {
    position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1);
    animation: float-y 6s var(--ease-soft) infinite;
  }
  .mm-bubble:nth-child(2) { animation-duration: 8s; animation-delay: -2s; }
  /* en-tête au-dessus du menu : logo et bouton en blanc */
  .header.is-menu-open .logo__img--color { display: none; }
  .header.is-menu-open .logo__img--white { display: block; }
  .header.is-menu-open .burger { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); }
  .header.is-menu-open .burger span { background: #fff; }
}
@keyframes wave-drift { to { transform: translateX(-24px) scaleY(1.08); } }
@keyframes float-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }
