/* =========================================================
   dripclub — feuille de style globale (thème Brésil)
   Couleurs, typos et composants partagés par toutes les pages
   Les noms de variables sont historiques ; les valeurs sont celles du thème :
   --brown = bleu marine (texte), --pink = jaune, --orange = mangue, --hot = vert
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Bagel+Fat+One&family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --brown: #0b2a5b;   /* azul marinho */
  --cream: #fff6e0;   /* areia */
  --pink: #ffd60a;    /* amarelo */
  --orange: #ff9f1c;  /* manga */
  --hot: #009c3b;     /* verde */
  --blue: #2459d6;    /* azul */
  --white: #ffffff;
  --display: "Bagel Fat One", system-ui, sans-serif;
  --body: "Outfit", system-ui, sans-serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body); font-weight: 500; font-size: 17px; line-height: 1.4;
  color: var(--brown); background: var(--cream);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; user-select: none; -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; }
::selection { background: var(--hot); color: var(--cream); }

.display { font-family: var(--display); font-weight: 400; line-height: .9; letter-spacing: -.01em; }
.wrap { width: min(1104px, 100% - 48px); margin-inline: auto; }
.center { text-align: center; }
.muted { opacity: .8; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 22px; border: 2px solid var(--brown); border-radius: 100px;
  font-weight: 700; font-size: 18px; line-height: 1;
  background: var(--brown); color: var(--cream);
  transition: transform .3s var(--spring), opacity .2s;
}
.btn:hover { transform: translateY(-3px) rotate(-2deg); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn--pink { background: var(--pink); color: var(--brown); }
.btn--cream { background: var(--cream); color: var(--brown); }
.btn--hot { background: var(--hot); color: var(--cream); }
.btn--shadow { box-shadow: 0 5px 0 var(--brown); }

.btn-arrow {
  display: inline-flex; align-items: center; gap: 20px;
  padding: 10px 10px 10px 32px; border: 2px solid var(--brown); border-radius: 100px;
  background: var(--brown); color: var(--cream); font-weight: 700; font-size: 20px; line-height: 1;
  box-shadow: 0 6px 0 var(--orange); transition: transform .3s var(--spring);
}
.btn-arrow .arrow {
  width: 50px; height: 50px; border-radius: 50%; background: var(--hot);
  display: grid; place-items: center; font-size: 26px; transition: transform .35s var(--spring);
}
.btn-arrow:hover { transform: translateY(-3px); }
.btn-arrow:hover .arrow { transform: rotate(-45deg); }

.pill {
  display: inline-block; padding: 8px 18px; border: 2px solid var(--brown); border-radius: 100px;
  background: var(--pink); font-weight: 700; font-size: 15px; letter-spacing: .06em; line-height: 1;
}
.pill--cream { background: var(--cream); }
.pill--orange { background: var(--orange); }
.tilt { transform: rotate(-3deg); }

/* ---------- Animations ---------- */
[data-reveal] {
  opacity: 0; transform: var(--from, translateY(40px));
  transition: opacity .8s var(--out), transform 1.1s var(--spring);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: var(--to, none); }
.split .word { display: inline-block; white-space: nowrap; }
.split .ch {
  display: inline-block; opacity: 0; transform: translateY(.8em) rotate(var(--r, 8deg));
  transition: opacity .5s var(--out), transform .9s var(--spring);
  transition-delay: calc(var(--i) * 35ms + var(--d, 0s));
}
.split.in .ch { opacity: 1; transform: none; }

@keyframes float { 50% { transform: translateY(-14px) rotate(3deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 50% { transform: scale(.6) rotate(45deg); opacity: .6; } }
@keyframes pop { from { transform: scale(0) rotate(-90deg); opacity: 0; } }
@keyframes bump { 50% { transform: scale(1.45); } }
@keyframes wobble { 25% { rotate: -8deg; } 75% { rotate: 8deg; } }

.float { animation: float 5s ease-in-out infinite; }
.spin-slow { animation: spin 22s linear infinite; }
.sparkle { position: absolute; pointer-events: none; animation: twinkle 3s ease-in-out infinite; animation-delay: var(--d, 0s); }
.sparkle svg { width: 100%; height: 100%; display: block; }

/* ---------- Bord festonné ---------- */
.scallop {
  position: absolute; left: 0; right: 0; top: -63px; height: 64px; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, var(--c) 99%, transparent 100%) 0 0 / 160px 64px repeat-x;
}

/* ---------- Navigation ---------- */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; padding: 0 24px; pointer-events: none; }
.nav {
  pointer-events: auto; position: relative; max-width: 1152px; height: 72px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 12px 0 28px;
  background: var(--cream); border: 2px solid var(--brown); border-radius: 22px; box-shadow: 0 5px 0 var(--brown);
  animation: navIn .9s var(--spring) .1s both;
}
@keyframes navIn { from { opacity: 0; transform: translateY(-40px); } }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 28px; }
.nav-actions { justify-content: flex-end; gap: 16px; }
.nav .link { font-size: 17px; display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.nav .link:hover { color: var(--hot); text-decoration: underline 2px; text-underline-offset: 5px; }
.nav .link.active { font-weight: 700; }
.nav .link.active::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hot); }
.logo { font-family: var(--display); font-size: 42px; line-height: 1; letter-spacing: -.02em; display: inline-block; transition: transform .35s var(--spring); }
.logo:hover { transform: rotate(-4deg) scale(1.05); }

.icon-btn {
  position: relative; width: 50px; height: 50px; border-radius: 50%; flex: none;
  background: var(--pink); border: 2px solid var(--brown); box-shadow: 0 3px 0 var(--brown);
  display: grid; place-items: center; transition: transform .3s var(--spring);
}
.icon-btn:hover { transform: translateY(-2px) rotate(-6deg); }
.icon-btn svg { width: 23px; height: 23px; }
.cart-count {
  position: absolute; top: -8px; right: -8px; min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 100px; background: var(--hot); color: var(--cream); border: 2px solid var(--brown);
  font-size: 12px; font-weight: 800; display: grid; place-items: center;
  transform: scale(0); transition: transform .3s var(--spring);
}
.cart-count.show { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--spring); }
.menu-btn { display: none; }

.mobile-menu {
  position: absolute; top: calc(100% + 14px); left: 0; right: 0; padding: 14px 26px 22px;
  background: var(--cream); border: 2px solid var(--brown); border-radius: 22px; box-shadow: 0 5px 0 var(--brown);
  opacity: 0; transform: translateY(-10px); pointer-events: none; transition: .3s var(--out);
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { display: flex; justify-content: space-between; padding: 14px 0; font-family: var(--display); font-size: 26px; border-bottom: 2px dashed rgba(11, 42, 91, .25); }
.mobile-menu a:last-child { border: 0; }
.mobile-menu a:hover { color: var(--hot); }

/* ---------- Panier (tiroir) ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(11, 42, 91, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 100; height: 100%; width: min(440px, 100%);
  background: var(--cream); border-left: 2px solid var(--brown);
  display: flex; flex-direction: column; transform: translateX(105%); transition: transform .5s var(--out);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 24px 18px; border-bottom: 2px solid var(--brown); }
.drawer-head h2 { font-family: var(--display); font-weight: 400; font-size: 38px; line-height: 1; }
.drawer-body { flex: 1; overflow: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px;
  background: var(--white); border: 2px solid var(--brown); border-radius: 20px; box-shadow: 0 4px 0 var(--brown);
}
.cart-item img { width: 64px; height: 64px; object-fit: cover; }
.cart-item h3 { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.05; }
.cart-item p { font-size: 13px; opacity: .7; }
.qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--brown); background: var(--pink); font-weight: 800; line-height: 1; }
.cart-price { font-family: var(--display); font-size: 20px; }
.cart-empty { margin: auto; text-align: center; padding: 30px 0; }
.cart-empty img { width: 150px; margin: 0 auto 16px; animation: float 4s ease-in-out infinite; }
.cart-empty h3 { font-family: var(--display); font-weight: 400; font-size: 28px; margin-bottom: 6px; }
.cart-empty .btn { margin-top: 18px; }
.drawer-foot { padding: 20px 24px 28px; border-top: 2px solid var(--brown); display: flex; flex-direction: column; gap: 12px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.drawer-foot .total { font-family: var(--display); font-size: 32px; }
.drawer-foot small { opacity: .7; font-size: 14px; }
.drawer-foot .btn { width: 100%; font-size: 20px; padding: 18px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; max-width: calc(100% - 32px);
  transform: translate(-50%, 160%); padding: 14px 22px; border-radius: 100px; text-align: center;
  background: var(--brown); color: var(--cream); font-weight: 700; box-shadow: 0 5px 0 var(--orange);
  transition: transform .45s var(--spring);
}
.toast.show { transform: translate(-50%, 0); }

/* =========================================================
   ACCUEIL
   ========================================================= */
.hero {
  --donut: min(480px, calc(100svh - 360px), 92vw);
  position: sticky; top: 0; z-index: 0; height: 100svh; min-height: 720px;
  background: var(--pink); overflow: clip;
}
.hero-title { position: absolute; top: 126px; left: 0; right: 0; z-index: 1; padding: 0 12px; text-align: center; font-size: clamp(54px, calc(158vw / var(--len, 12)), 158px); }
.hero-donut { position: absolute; z-index: 2; top: 245px; left: 0; right: 0; margin: auto; width: var(--donut); aspect-ratio: 1; }
.hero-donut img { width: 100%; height: 100%; object-fit: cover; animation: heroDonut 1.4s var(--spring) .55s both; }
@keyframes heroDonut { from { opacity: 0; transform: translateY(420px) scale(.7) rotate(-35deg); } }
.ticker-band {
  position: absolute; z-index: 1; left: -25%; width: 150%; height: 84px; top: calc(245px + var(--donut) * .78);
  background: var(--brown); transform: rotate(-4deg); display: flex; align-items: center; overflow: hidden;
  animation: bandIn 1.2s var(--out) .7s both;
}
@keyframes bandIn { from { opacity: 0; translate: -200px 0; } }
.ticker-track { display: flex; gap: 36px; align-items: center; width: max-content; padding-right: 36px; white-space: nowrap; animation: marquee 32s linear infinite; }
.ticker-track span { font-family: var(--display); font-size: 34px; line-height: 1; color: var(--cream); }
.ticker-track i { font-style: normal; color: var(--pink); font-size: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.hero-intro { position: absolute; z-index: 3; left: 48px; top: calc(245px + var(--donut) * .5); width: 300px; font-size: 20px; line-height: 1.45; animation: up .8s var(--out) 1.1s both; }
.hero-cta { position: absolute; z-index: 3; right: 48px; top: calc(239px + var(--donut) * .5); animation: up .8s var(--out) 1.2s both; }
@keyframes up { from { opacity: 0; transform: translateY(30px); } }
.sprinkle { position: absolute; z-index: 0; width: 38px; height: 12px; border-radius: 100px; animation: pop .8s var(--spring) both; animation-delay: var(--d); }
.new-badge {
  position: absolute; z-index: 3; width: 150px; height: 150px; top: 330px; left: calc(50% + 190px);
  display: grid; place-items: center; text-align: center; cursor: pointer;
  transform: rotate(-8deg); animation: badgeIn 1s var(--spring) 1.3s both; transition: scale .3s var(--spring);
}
.new-badge:hover { scale: 1.08; }
@keyframes badgeIn { from { opacity: 0; transform: scale(0) rotate(-120deg); } }
.new-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.new-badge .inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.new-badge .tag { background: var(--hot); color: var(--cream); border-radius: 100px; padding: 4px 10px; font-size: 11px; font-weight: 800; letter-spacing: .14em; line-height: 1; }
.new-badge strong { font-family: var(--display); font-weight: 400; font-size: 23px; line-height: .92; }

/* ---------- Saveurs (sections empilées) ---------- */
.flavour {
  position: sticky; top: 0; height: 100svh; min-height: 700px; overflow-x: clip;
  display: flex; flex-direction: column; padding: 60px 0 44px; background: var(--bg); color: var(--fg);
}
.flavour .scallop { --c: var(--bg); }
.flavour-top { display: flex; justify-content: space-between; align-items: center; width: min(1088px, 100% - 40px); margin: 0 auto; position: relative; z-index: 3; }
.flavour-top .display { font-size: 26px; }
.flavour-top .count { font-weight: 700; letter-spacing: .12em; }
.flavour-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; width: min(1200px, 100%); margin: 0 auto; }
.flavour-word { grid-area: 1 / 1; z-index: 0; color: var(--word); font-size: clamp(56px, calc(125vw / var(--len, 5)), 300px); text-align: center; align-self: center; white-space: nowrap; }
.flavour-donut { grid-area: 1 / 1; z-index: 2; width: min(560px, 62vh, 82vw); aspect-ratio: 1; }
.flavour-donut img { width: 100%; height: 100%; object-fit: cover; }
.name-tag {
  position: absolute; z-index: 3; left: 6%; bottom: 14%; padding: 16px 26px;
  background: var(--tag); color: var(--brown); border: 2px solid var(--brown); border-radius: 100px; box-shadow: 0 5px 0 var(--brown);
  font-family: var(--display); font-size: 26px; line-height: 1;
}
.add-box {
  position: absolute; z-index: 9; right: 6%; bottom: 10%; width: 150px; height: 150px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--brown); box-shadow: 0 6px 0 var(--brown);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-family: var(--display); font-size: 22px; line-height: 1; color: var(--brown);
}
.add-box b { font-weight: 400; color: var(--hot); }
.add-box:hover { animation: wobble .5s ease-in-out; }
.add-box:active { scale: .92; }
.flavour-desc { position: relative; z-index: 3; width: min(700px, 100% - 40px); margin: 0 auto; text-align: center; font-size: 19px; }
.flavour-desc .meta { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; letter-spacing: .06em; opacity: .75; }

/* ---------- Composer sa boîte ---------- */
.section { position: relative; z-index: 10; }
.boxes { background: var(--cream); padding: 120px 0 140px; }
.boxes .scallop { --c: var(--cream); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(54px, 9vw, 104px); line-height: .92; }
.section-head p { max-width: 640px; font-size: 20px; opacity: .85; }
.box-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.box-card {
  position: relative; display: flex; flex-direction: column; gap: 20px; padding: 24px;
  background: var(--bg); color: var(--fg, var(--brown)); border: 2px solid var(--brown); border-radius: 36px; box-shadow: 0 8px 0 var(--brown);
}
.box-card > .in-hover { transition: transform .4s var(--spring); }
.box-card:hover { transform: translateY(-8px) rotate(-1deg) !important; }
.box-card .top { display: flex; justify-content: space-between; align-items: center; }
.box-card h3 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; }
.count-pill { padding: 8px 14px; border: 2px solid var(--brown); border-radius: 100px; background: var(--cream); color: var(--brown); font-size: 14px; font-weight: 700; line-height: 1; }
.pile { position: relative; height: 250px; }
.pile img { position: absolute; object-fit: cover; transition: transform .5s var(--spring); }
.pile img:nth-child(1) { width: 165px; height: 165px; top: 65px; left: 0; }
.pile img:nth-child(2) { width: 185px; height: 185px; top: 10px; left: 115px; }
.pile img:nth-child(3) { width: 155px; height: 155px; top: 95px; left: 60px; z-index: 2; }
.box-card:hover .pile img:nth-child(1) { transform: translateX(-10px) rotate(-25deg); }
.box-card:hover .pile img:nth-child(2) { transform: translate(10px, -8px) rotate(30deg); }
.box-card:hover .pile img:nth-child(3) { transform: translateY(6px) rotate(-15deg) scale(1.05); }
.box-card .bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.box-card .price { font-family: var(--display); font-size: 60px; line-height: .9; }
.box-card .note { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; opacity: .8; }
.sticker { position: absolute; z-index: 5; top: 80px; left: 160px; padding: 10px 16px; background: var(--hot); color: var(--cream); border: 2px solid var(--brown); border-radius: 100px; font-family: var(--display); font-size: 18px; line-height: 1; transform: rotate(10deg); }

/* ---------- La méthode dunkly ---------- */
.way { background: var(--pink); padding: 130px 0 140px; }
.way .scallop { --c: var(--pink); }
.way-layout { display: flex; align-items: center; gap: 64px; }
.way-intro { width: 440px; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.way-intro h2 { font-size: clamp(74px, 9vw, 108px); line-height: .86; }
.way-intro p { font-size: 20px; font-weight: 600; }
.way-visual { position: relative; width: 100%; height: 260px; }
.way-visual .seal { position: absolute; top: 10px; left: 30px; width: 240px; height: 240px; }
.way-visual .donut { position: absolute; top: -20px; left: 90px; width: 290px; height: 290px; }
.promises { flex: 1; border-top: 2px solid var(--brown); }
.promise { display: flex; align-items: center; gap: 28px; padding: 18px 8px; border-bottom: 2px dashed rgba(11, 42, 91, .45); cursor: default; }
.promise .num {
  flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); color: var(--fg, var(--brown)); border: 2px solid var(--brown); box-shadow: 0 4px 0 var(--brown);
  font-family: var(--display); font-size: 22px;
}
.promise .copy { flex: 1; }
.promise h3 { font-family: var(--display); font-weight: 400; font-size: 42px; line-height: 1; margin-bottom: 8px; }
.promise p { opacity: .8; }
.promise .thumb { width: 108px; height: 108px; flex: none; object-fit: cover; transition: transform .6s var(--spring); }
.promise:hover .thumb { transform: rotate(120deg) scale(1.08); }
.promise:hover .num { animation: wobble .5s; }

/* ---------- Avis ---------- */
.reviews { background: var(--orange); padding: 130px 0 140px; }
.reviews .scallop { --c: var(--orange); }
.reviews-layout { display: flex; align-items: flex-start; gap: 52px; }
.reviews-head { position: sticky; top: 150px; width: 420px; flex: none; display: flex; flex-direction: column; gap: 28px; }
.reviews-head .eyebrow { font-weight: 700; letter-spacing: .12em; }
.reviews-head h2 { font-size: clamp(68px, 8vw, 92px); }
.reviews-head p { font-size: 18px; line-height: 1.5; }
.score { display: flex; align-items: center; gap: 14px; }
.stickers { position: relative; width: 182px; height: 52px; flex: none; }
.stickers span {
  position: absolute; top: 2px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 2.5px solid var(--brown); box-shadow: 0 3px 0 var(--brown); background: var(--pink); overflow: hidden;
}
.stickers span:nth-child(even) { background: var(--cream); }
.stickers span img { width: 38px; height: 38px; }
.stickers .plus { background: var(--brown) !important; color: var(--cream); font-family: var(--display); font-size: 14px; }
.score .big { font-family: var(--display); font-size: 40px; line-height: 1; }
.score small { font-size: 14px; font-weight: 700; line-height: 1.45; }
.review-stack { flex: 1; display: flex; flex-direction: column; gap: 48px; }
.review {
  position: sticky; top: calc(150px + var(--n) * 26px); height: 400px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: 40px 44px;
  background: var(--bg); color: var(--fg, var(--brown)); border: 2px solid var(--brown); border-radius: 36px; box-shadow: 0 6px 0 var(--brown);
  transform: rotate(var(--rot));
}
.review .top { display: flex; justify-content: space-between; align-items: center; }
.review .stars { font-size: 22px; font-weight: 600; letter-spacing: .06em; color: var(--star, currentColor); }
.review .idx { font-family: var(--display); font-size: 18px; opacity: .6; }
.review blockquote { position: relative; z-index: 1; max-width: 380px; font-family: var(--display); font-size: 36px; line-height: 1.12; text-wrap: balance; }
.author { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }
.author img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--brown); object-fit: cover; background: var(--cream); }
.author strong { display: block; font-size: 18px; line-height: 1.2; }
.author span { font-size: 14px; opacity: .7; }
.review .deco { position: absolute; z-index: 0; width: 270px; height: 270px; top: 160px; left: 380px; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); padding: 130px 0 150px; }
.faq .scallop { --c: var(--cream); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.faq-card {
  display: flex; gap: 20px; padding: 30px 32px 32px 30px; background: var(--white);
  border: 2px solid var(--brown); border-radius: 28px; box-shadow: 0 6px 0 var(--brown);
  transition: transform .35s var(--spring);
}
.faq-card:hover { transform: translateY(-5px) rotate(-.6deg); }
.faq-card .q { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--fg, var(--brown)); border: 2px solid var(--brown); font-family: var(--display); font-size: 26px; transform: rotate(var(--rot, -6deg)); }
.faq-card h3 { font-family: var(--display); font-weight: 400; font-size: 27px; line-height: 1.1; margin-bottom: 10px; }
.faq-card p { opacity: .8; line-height: 1.5; }
.help-band { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 56px; font-size: 20px; font-weight: 600; text-align: center; }

/* ---------- Pied de page ---------- */
.footer { position: relative; z-index: 10; background: var(--brown); color: var(--cream); padding: 110px 0 0; }
.footer .scallop { --c: var(--brown); }
.footer-top { display: flex; justify-content: space-between; gap: 48px; }
.club { width: 520px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.club .label { background: var(--pink); color: var(--brown); border-radius: 100px; padding: 8px 16px; font-family: var(--display); font-size: 18px; line-height: 1; transform: rotate(-4deg); }
.club h3 { font-family: var(--display); font-weight: 400; font-size: 54px; line-height: 1; }
.club p { opacity: .75; font-size: 18px; }
.signup { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px; background: rgba(255, 246, 224, .08); border: 2px solid rgba(255, 246, 224, .25); border-radius: 100px; }
.signup input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; background: transparent; border: 0; outline: 0; color: var(--cream); font-size: 17px; }
.signup input::placeholder { color: rgba(255, 246, 224, .5); }
.signup button { height: 52px; padding: 0 26px; border-radius: 100px; background: var(--pink); color: var(--brown); font-weight: 700; font-size: 17px; white-space: nowrap; transition: transform .3s var(--spring); }
.signup button:hover { transform: scale(1.05) rotate(-2deg); }
.link-cols { display: flex; gap: 64px; padding-top: 12px; }
.link-cols div { display: flex; flex-direction: column; gap: 14px; }
.link-cols h4 { color: var(--pink); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.link-cols a, .link-cols button { font-size: 19px; text-align: left; transition: color .2s; }
.link-cols a:hover, .link-cols button:hover { color: var(--pink); text-decoration: underline 1.5px; text-underline-offset: 5px; }
.wordmark { position: relative; text-align: center; padding: 80px 0 90px; }
.wordmark p { font-family: var(--display); font-size: 40px; line-height: 1; }
.wordmark .giant { font-family: var(--display); color: var(--pink); font-size: min(17vw, 230px); line-height: .86; letter-spacing: -.02em; }
.drag-hint { position: absolute; top: 60px; right: 0; font-size: 15px; font-weight: 600; opacity: .6; transform: rotate(6deg); }
.drag-donut { position: absolute; z-index: 5; cursor: grab; touch-action: none; }
.drag-donut img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .3s var(--spring); }
.drag-donut.grabbing { cursor: grabbing; z-index: 6; }
.drag-donut.grabbing img { transform: scale(1.12) rotate(18deg); }
.bottom-bar { display: flex; justify-content: space-between; align-items: center; padding: 26px 0 36px; border-top: 1px solid rgba(255, 246, 224, .18); font-size: 14px; }
.bottom-bar .dim { opacity: .6; }
.socials { display: flex; gap: 24px; font-weight: 600; }
.socials a:hover { color: var(--pink); }

/* =========================================================
   PAGES INTÉRIEURES
   ========================================================= */
.page-hero { position: relative; background: var(--pink); padding: 180px 24px 120px; text-align: center; overflow: clip; }
.page-hero h1 { font-size: clamp(36px, min(12vw, calc(140vw / var(--longest, 6))), 150px); margin: 18px 0 20px; }

/* ---------- Langues ---------- */
html.i18n-wait body { opacity: 0; }
body { transition: opacity .25s; }
.lang-select {
  height: 44px; padding: 0 30px 0 14px; border: 2px solid var(--brown); border-radius: 100px;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230b2a5b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-weight: 800; font-size: 14px; letter-spacing: .06em; cursor: pointer; appearance: none; -webkit-appearance: none;
}
.lang-select:hover { background-color: var(--pink); }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 20px; }
.page-hero .float-donut { position: absolute; width: clamp(90px, 14vw, 180px); aspect-ratio: 1; pointer-events: none; }
.page-section { position: relative; z-index: 2; padding: 110px 0 130px; background: var(--bg, var(--cream)); color: var(--fg, var(--brown)); }
.page-section .scallop { --c: var(--bg, var(--cream)); }

/* Boutique */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.product {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px;
  background: var(--bg); color: var(--fg, var(--brown)); border: 2px solid var(--brown); border-radius: 32px; box-shadow: 0 8px 0 var(--brown);
  transition: transform .4s var(--spring);
}
.product:hover { transform: translateY(-8px) rotate(-1deg); }
.product .pic { aspect-ratio: 1; }
.product .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--spring); }
.product:hover .pic img { transform: rotate(40deg) scale(1.06); }
.product h3 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; }
.product p { font-size: 15px; opacity: .85; flex: 1; }
.product .bottom { display: flex; justify-content: space-between; align-items: center; }
.product .price { font-family: var(--display); font-size: 36px; line-height: 1; }
.product .flag { position: absolute; top: 18px; left: 18px; z-index: 2; padding: 6px 12px; border: 2px solid var(--brown); border-radius: 100px; background: var(--cream); color: var(--brown); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-6deg); }
.promo-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 44px;
  background: var(--brown); color: var(--cream); border-radius: 36px; border: 2px solid var(--brown); box-shadow: 0 8px 0 var(--orange);
}
.promo-band h2 { font-size: clamp(40px, 6vw, 64px); }

/* Composer sa boîte */
.builder { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.box-visual { position: sticky; top: 120px; padding: 22px; background: var(--brown); border-radius: 36px; box-shadow: 0 8px 0 var(--orange); }
.box-visual .lid { display: flex; justify-content: space-between; align-items: center; color: var(--cream); margin-bottom: 18px; padding: 0 6px; }
.box-visual .lid strong { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1; }
.slots { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 10px; padding: 16px; background: var(--cream); border-radius: 24px; }
.slot { position: relative; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(11, 42, 91, .35); display: grid; place-items: center; transition: transform .3s var(--spring); }
.slot img { width: 112%; max-width: none; height: 112%; object-fit: cover; animation: drop .5s var(--spring); }
@keyframes drop { from { transform: translateY(-40px) scale(.4) rotate(-80deg); opacity: 0; } }
.slot.filled { border-color: transparent; cursor: pointer; }
.slot.filled:hover { transform: scale(.9) rotate(-10deg); }
.slot.filled:hover::after { content: "×"; position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--hot); color: var(--cream); font-weight: 800; display: grid; place-items: center; line-height: 1; font-size: 16px; }
.controls { display: flex; flex-direction: column; gap: 28px; }
.controls h2 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; margin-bottom: 14px; }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.size-btn { padding: 16px 10px; border: 2px solid var(--brown); border-radius: 22px; background: var(--white); box-shadow: 0 4px 0 var(--brown); text-align: center; transition: transform .3s var(--spring), background .2s; }
.size-btn strong { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.1; }
.size-btn span { font-size: 14px; font-weight: 700; opacity: .75; }
.size-btn:hover { transform: translateY(-3px); }
.size-btn.active { background: var(--hot); color: var(--cream); }
.flavour-pick { display: flex; flex-direction: column; gap: 12px; }
.pick { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 12px; background: var(--white); border: 2px solid var(--brown); border-radius: 22px; }
.pick img { width: 64px; height: 64px; object-fit: cover; }
.pick strong { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.05; display: block; }
.pick span { font-size: 13px; opacity: .7; }
.pick .controls-mini { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.pick .controls-mini button { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--brown); background: var(--pink); font-weight: 800; font-size: 18px; line-height: 1; transition: transform .25s var(--spring); }
.pick .controls-mini button:hover { transform: scale(1.1); }
.builder-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.builder-summary { padding: 22px; border: 2px solid var(--brown); border-radius: 26px; background: var(--orange); box-shadow: 0 6px 0 var(--brown); display: flex; flex-direction: column; gap: 14px; }
.builder-summary .big { font-family: var(--display); font-size: 48px; line-height: 1; }

/* Histoire / livraison / contact / boutiques */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.prose h2 { font-size: clamp(48px, 7vw, 86px); margin-bottom: 22px; }
.prose p { font-size: 19px; line-height: 1.6; margin-bottom: 16px; opacity: .9; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.info-card { padding: 28px; background: var(--bg, var(--white)); color: var(--fg, var(--brown)); border: 2px solid var(--brown); border-radius: 28px; box-shadow: 0 6px 0 var(--brown); transition: transform .35s var(--spring); }
.info-card:hover { transform: translateY(-5px) rotate(-.8deg); }
.info-card .icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: var(--cream); color: var(--brown); border: 2px solid var(--brown); font-family: var(--display); font-size: 22px; }
.info-card h3 { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.05; margin-bottom: 10px; }
.info-card p { opacity: .85; line-height: 1.5; }
.info-card .time { display: inline-block; margin-bottom: 10px; font-weight: 800; letter-spacing: .1em; font-size: 14px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field textarea, .field select { width: 100%; padding: 16px 20px; border: 2px solid var(--brown); border-radius: 20px; background: var(--white); outline: 0; font-size: 17px; transition: box-shadow .2s; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { box-shadow: 0 4px 0 var(--hot); }
.form { display: flex; flex-direction: column; gap: 18px; padding: 32px; background: var(--pink); border: 2px solid var(--brown); border-radius: 32px; box-shadow: 0 8px 0 var(--brown); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check-result { min-height: 24px; font-weight: 700; }

details.acc { border-bottom: 2px dashed rgba(11, 42, 91, .45); }
details.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-family: var(--display); font-size: 28px; line-height: 1.1; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--brown); background: var(--orange); display: grid; place-items: center; font-size: 24px; transition: transform .35s var(--spring); }
details.acc[open] summary::after { transform: rotate(45deg); background: var(--hot); color: var(--cream); }
details.acc p { padding: 0 4px 24px; font-size: 18px; line-height: 1.55; opacity: .85; max-width: 760px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.legal { max-width: 780px; }
.legal h2 { font-family: var(--display); font-weight: 400; font-size: 44px; margin: 40px 0 14px; scroll-margin-top: 120px; }
.legal h3 { font-size: 20px; font-weight: 700; margin: 22px 0 6px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; opacity: .9; }
.legal ul { padding-left: 22px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199.98px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav-links, .nav-actions .link:not(.keep) { display: none; }
  .menu-btn { display: grid; }
  .hero { --donut: min(560px, calc(100svh - 300px), 92vw); }
  .hero-intro { top: auto; bottom: 64px; width: 360px; }
  .hero-cta { top: auto; bottom: 70px; }
  .new-badge { left: auto; right: 40px; top: 230px; }
  .box-cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .pile { width: 300px; margin: 0 auto; }
  .way-layout, .reviews-layout { flex-direction: column; align-items: stretch; gap: 56px; }
  .way-intro, .reviews-head { width: 100%; }
  .reviews-head { position: relative; top: 0; }
  .way-visual .seal { left: calc(50% - 140px); }
  .way-visual .donut { left: calc(50% - 80px); }
  .review { top: calc(110px + var(--n) * 24px); }
  .help-band { flex-direction: column; gap: 20px; }
  .footer-top { flex-direction: column; }
  .club { width: 100%; }
  .builder, .two-col { grid-template-columns: 1fr; }
  .box-visual { position: relative; top: 0; }
  .cards-4, .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 809.98px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .nav-wrap { top: 12px; padding: 0 12px; }
  .nav { height: 64px; padding: 0 8px 0 18px; }
  .nav-actions .link { display: none !important; }
  .logo { font-size: 30px; }
  .nav-actions { gap: 8px; }
  .lang-select { height: 40px; padding: 0 24px 0 10px; background-position: right 8px center; }
  .icon-btn { width: 44px; height: 44px; }
  .scallop { top: -35px; height: 36px; background-size: 80px 36px; }

  .hero { --donut: min(360px, 92vw); min-height: 780px; height: 100svh; }
  .hero-title { top: 104px; font-size: clamp(40px, calc(120vw / var(--len, 14)), 66px); }
  .hero-donut { top: 205px; }
  .ticker-band { height: 60px; top: calc(205px + var(--donut) * .82); }
  .ticker-track span { font-size: 24px; }
  .ticker-track i { font-size: 20px; }
  .hero-intro { left: 24px; bottom: auto; top: calc(205px + var(--donut) + 50px); width: calc(100% - 48px); font-size: 18px; }
  .hero-cta { right: auto; left: 24px; bottom: auto; top: calc(205px + var(--donut) + 125px); }
  .new-badge { width: 110px; height: 110px; top: 250px; right: 12px; }
  .new-badge strong { font-size: 17px; }

  .flavour { min-height: 640px; padding-top: 40px; }
  .flavour-top .display { font-size: 20px; }
  .flavour-donut { width: min(320px, 80vw); }
  .name-tag { font-size: 18px; padding: 12px 18px; left: 14px; bottom: 6%; }
  .add-box { width: 100px; height: 100px; font-size: 16px; right: 16px; bottom: 4%; }
  .flavour-desc { font-size: 17px; }

  .boxes, .way, .reviews, .faq { padding: 90px 0 100px; }
  .section-head { margin-bottom: 44px; }
  .section-head p { font-size: 18px; }
  .box-card { padding: 22px; }
  .pile { width: 300px; height: 230px; transform: scale(.92); }
  .box-card .price { font-size: 48px; }
  .sticker { left: auto; right: 30px; }
  .way-visual { height: 240px; }
  .way-visual .seal { width: 210px; height: 210px; left: 10px; }
  .way-visual .donut { width: 260px; height: 260px; left: 70px; }
  .promise { gap: 14px; padding: 16px 0; }
  .promise .num { width: 48px; height: 48px; font-size: 18px; }
  .promise h3 { font-size: 30px; }
  .promise p { font-size: 15px; }
  .promise .thumb { width: 72px; height: 72px; }
  .reviews-head h2 { font-size: 68px; }
  .review-stack { gap: 32px; }
  .review { height: 380px; padding: 28px 24px; top: calc(90px + var(--n) * 18px); }
  .review blockquote { font-size: 27px; max-width: 290px; }
  .review .deco { width: 200px; height: 200px; top: 220px; left: 190px; }
  .stickers { width: 146px; }
  .stickers .plus { display: none !important; }
  .faq-grid { grid-template-columns: 1fr; gap: 16px; }
  .faq-card { padding: 22px 20px 24px; gap: 14px; }
  .faq-card .q { width: 44px; height: 44px; }
  .faq-card h3 { font-size: 23px; }

  .footer { padding-top: 80px; }
  .club h3 { font-size: 40px; }
  .signup button { padding: 0 18px; }
  .link-cols { gap: 16px; justify-content: space-between; }
  .link-cols a, .link-cols button { font-size: 16px; }
  .wordmark { padding: 40px 0 50px; }
  .wordmark p { font-size: 24px; }
  .drag-hint { display: none; }
  .bottom-bar { flex-direction: column; align-items: flex-start; gap: 8px; }

  .page-hero { padding: 140px 20px 90px; }
  .page-hero p { font-size: 18px; }
  .page-section { padding: 80px 0 100px; }
  .promo-band { flex-direction: column; align-items: flex-start; padding: 30px 26px; }
  .cards-3, .cards-4, .steps, .form-row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  details.acc summary { font-size: 22px; }
  .slots { gap: 6px; padding: 10px; }
}

/* =========================================================
   VESTES + DRAPEAUX
   ========================================================= */
.flag {
  display: block; aspect-ratio: 74 / 54; width: 60px; height: auto; transform-origin: 0 50%;
  animation: wave 3.2s ease-in-out infinite; animation-delay: var(--d, 0s);
  filter: drop-shadow(0 4px 0 rgba(11, 42, 91, .9));
}
@keyframes wave { 0%, 100% { transform: rotate(-4deg) skewY(-2deg); } 50% { transform: rotate(3deg) skewY(2deg); } }
.ticker-track .flag { width: 46px; flex: none; }
.hero-flag { position: absolute; z-index: 3; width: clamp(60px, 8vw, 110px); }
.hf1 { top: 230px; left: 5%; rotate: -10deg; }
.hf2 { top: 200px; right: 5%; rotate: 8deg; }
.hf3 { bottom: 60px; right: 12%; rotate: -6deg; }
.float-flag { position: absolute; width: clamp(70px, 10vw, 130px); pointer-events: none; }
.flag-row { display: flex; justify-content: center; gap: 28px; padding: 10px 0 40px; }
.flag-row .flag { width: 56px; }

/* photos des vestes : coins arrondis (faible spécificité pour ne pas écraser les cercles) */
:where(img.jk, img[data-jacket]) { border-radius: 9%; }
.hero-donut img, .flavour-donut img, .jacket-pic img, .box-visual.big img, .promise .thumb, .cart-item img {
  border: 2px solid var(--brown); box-shadow: 0 6px 0 var(--brown);
}
.cart-item img { box-shadow: none; }
.box-visual.big { padding: 28px; background: var(--bg); }
.box-visual.big img { width: 100%; aspect-ratio: 1; object-fit: cover; animation: float 6s ease-in-out infinite; }
.swatches { display: flex; gap: 14px; }
.swatch { width: 56px; height: 56px; border-radius: 50%; background: var(--sw); border: 2px solid var(--brown); box-shadow: 0 4px 0 var(--brown); transition: transform .3s var(--spring); }
.swatch:hover { transform: translateY(-3px) rotate(-8deg); }
.swatch.active { outline: 3px solid var(--hot); outline-offset: 4px; }
.sizes.five { grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sizes.five .size-btn { padding: 14px 4px; }
.perks { list-style: none; display: grid; gap: 10px; font-weight: 600; }
.perks li::before { content: "✦"; color: var(--hot); margin-right: 10px; }

.product .ptag { position: absolute; top: 18px; left: 18px; z-index: 2; padding: 6px 12px; border: 2px solid var(--brown); border-radius: 100px; background: var(--cream); color: var(--brown); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-6deg); }
a.box-card { display: flex; }
.box-cards--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.box-cards--4 .box-card { padding: 20px; }
.box-cards--4 .box-card h3 { font-size: 34px; }
.box-cards--4 .box-card .price { font-size: 48px; }
.jacket-pic { display: grid; place-items: center; height: 230px; }
.jacket-pic img { width: 230px; height: 230px; object-fit: cover; transition: transform .5s var(--spring); }
.box-card:hover .jacket-pic img { transform: rotate(-4deg) scale(1.07); }
.box-card .go { margin-top: 0; }
@media (max-width: 1199.98px) {
  .box-cards--4 { grid-template-columns: 1fr 1fr; max-width: none; }
  .hf2 { top: 150px; }
}
@media (max-width: 809.98px) {
  .box-cards--4 { grid-template-columns: 1fr; }
  .hf1, .hf3 { display: none; }
  .hf2 { top: 240px; right: auto; left: 3%; width: 56px; }
  .flag-row { gap: 14px; }
  .flag-row .flag { width: 42px; }
  .sizes.five .size-btn strong { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], .split .ch { opacity: 1 !important; transform: var(--to, none) !important; }
}

.footer .disclaimer{font-size:13px;line-height:1.5;max-width:680px;margin:22px 0 0;opacity:.75}
