:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --band: #eef3fb;
  --ink: #0f1e3a;
  --muted: #5c6b85;
  --line: #dfe6f2;
  --blue: #1352b7;
  --blue-ink: #0d3f98;
  --blue-deep: #082d73;
  --yellow: #f4ea1c;
  --hero-ink: #15213c;
  --hero-blue: #0d3f98;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --ui: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  /* Garde-fou mobile : un mot/texte insécable (ex. message long) passe à la ligne
     au lieu d'élargir la page (sinon l'en-tête fixe paraît décalé). */
  overflow-wrap: break-word;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ui);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
  font-weight: 500;
}
:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 48px);
}
.section {
  padding-block: clamp(56px, 9vw, 108px);
}

/* ---------- Header (transparent incruste -> bleu au scroll) ---------- */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  color: #fff;
  background: transparent;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.hdr::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(9, 18, 38, 0.5), rgba(9, 18, 38, 0));
  transition: opacity 0.35s ease;
}
.hdr .navlink,
.hdr .icons a {
  text-shadow: 0 1px 12px rgba(9, 18, 38, 0.4);
}
.hdr.scrolled {
  background: var(--blue-ink);
  box-shadow: 0 8px 28px rgba(8, 45, 115, 0.28);
}
.hdr.scrolled::before {
  opacity: 0;
}
.hdr.scrolled .navlink,
.hdr.scrolled .icons a {
  text-shadow: none;
}
.hdr-in {
  max-width: 1440px;
  margin-inline: auto;
  padding: 14px clamp(16px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
}
.nav-right {
  justify-content: flex-end;
}
.navlink {
  position: relative;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  color: #fff;
  padding-bottom: 3px;
}
.navlink::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.34s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.navlink:hover::after {
  transform: scaleX(1);
}
.brand {
  justify-self: center;
  display: block;
}
.brand img {
  height: 30px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(9, 18, 38, 0.4));
}
.hdr.scrolled .brand img {
  filter: none;
}
.icons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.icons a {
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.92;
}
.icons a:hover {
  transform: translateY(-2px);
  opacity: 1;
}
.icons svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}
.bag-wrap,
.fav-wrap {
  position: relative;
}
.bag-count {
  position: absolute;
  top: -7px;
  right: -9px;
  background: var(--yellow);
  color: var(--blue-deep);
  font-size: 0.56rem;
  font-weight: 600;
  min-width: 15px;
  height: 15px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  padding: 0 3px;
}
.burger {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 4px;
}
.burger svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
@media (min-width: 861px) {
  .burger {
    display: none !important;
  }
}

/* ---------- Hero ---------- */
.hero-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-shell > .assure {
  flex: none;
}
.hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #e9e2d7;
}
.hero picture {
  position: absolute;
  inset: 0;
}
/* Carrousel du hero : les visuels sont empilés, l'actif apparaît en fondu. */
.hero-slides {
  position: absolute;
  inset: 0;
  will-change: transform;
}
/* Chaque slide = visuel + voile + texte propre ; seule la slide active est visible et cliquable. */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: clamp(14px, 3vh, 26px);
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}
.hero-dot {
  width: 30px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hero-dot::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: rgba(23, 33, 58, 0.25);
  transition: background 0.3s ease, width 0.3s ease;
}
.hero-dot.is-active::before {
  width: 30px;
  background: var(--yellow);
}
/* Mobile : points calés à droite pour ne pas chevaucher le lien « Découvrir ». */
@media (max-width: 720px) {
  .hero-dots {
    left: auto;
    right: clamp(12px, 4vw, 20px);
    transform: none;
    bottom: clamp(30px, 8.5vw, 54px);
  }
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.hero-slide::after {
  content: "";
  z-index: 1;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    270deg,
    rgba(233, 226, 215, 0) 38%,
    rgba(247, 244, 238, 0.5) 78%,
    rgba(247, 244, 238, 0.72) 100%
  );
}
.hero-in {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 48px);
  display: flex;
  justify-content: flex-start;
}
.hero-copy {
  max-width: 430px;
  text-align: left;
  color: var(--hero-ink);
}
.hero-copy .eyebrow {
  color: var(--hero-blue);
}
.hero-copy .hero-title {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.03;
  font-size: clamp(2.5rem, 5.6vw, 4.9rem);
  margin: 0.3em 0 0.62em;
  letter-spacing: 0.005em;
  color: var(--hero-ink);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--yellow);
  color: var(--hero-ink);
}
.hero-cta svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  transition: transform 0.3s ease;
}
.hero-cta:hover svg {
  transform: translateX(5px);
}

/* ---------- Reassurance (bleu) ---------- */
.assure {
  background: var(--blue);
}
.assure-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 40px;
  padding-block: 20px;
  text-align: center;
}
.assure-item {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.assure-item b {
  color: var(--yellow);
  font-weight: 600;
}
.assure-item svg {
  width: 17px;
  height: 17px;
  stroke: var(--yellow);
  fill: none;
  stroke-width: 1.5;
  flex: none;
}
.assure-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

/* ---------- En-tete de section ---------- */
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(26px, 4vw, 46px);
}
.sec-head h2 {
  font-family: var(--display);
  font-size: clamp(1.95rem, 3.6vw, 3rem);
  line-height: 1.05;
  color: var(--ink);
}
.sec-head .eyebrow {
  display: block;
  margin-bottom: 0.9em;
}
.sec-link {
  position: relative;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  white-space: nowrap;
  padding-bottom: 3px;
}
.sec-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.34s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sec-link:hover::after {
  transform: scaleX(1);
}
.sec-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  transition: transform 0.3s ease;
}
.sec-link:hover svg {
  transform: translateX(4px);
}

/* ---------- Grille coloris ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 26px);
}
/* Carte en colonne : le bouton d'achat s'aligne en bas sur toute la rangée, même si un nom passe sur 2 lignes */
article.card {
  display: flex;
  flex-direction: column;
}
.card figure {
  margin: 0;
  overflow: hidden;
  background: var(--band);
  aspect-ratio: 4/5;
  position: relative;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.card:hover img {
  transform: scale(1.045);
}
.card-media {
  display: block;
  width: 100%;
  height: 100%;
}
.card-media-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--band);
}
.card-media-empty svg {
  width: 46px;
  height: 46px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 1.2;
  opacity: 0.35;
}
.card-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  gap: 10px;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.card:hover .card-actions,
.card:focus-within .card-actions,
.card.is-open .card-actions {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.cact {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--blue);
  box-shadow: 0 8px 20px rgba(8, 45, 115, 0.22);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.cact:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}
.cact svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}
.cact.is-fav svg {
  fill: currentColor;
}
/* Corps de carte empilé : catégorie (petit) -> nom (toute la ligne) -> prix */
.card-body {
  flex: 1 0 auto;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: var(--ink);
}
.card-body > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}
/* Bouton Acheter - toujours visible */
.card-buy {
  margin-top: 13px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--blue);
  color: #fff;
  border: 1.5px solid var(--blue);
  cursor: pointer;
  padding: 12px 16px;
  font-family: var(--ui);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.card-buy:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(8, 45, 115, 0.18);
}
.card-buy svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  flex: none;
}
a.card-buy {
  text-decoration: none;
}
.card-buy:disabled,
.card-buy.is-disabled {
  border-color: var(--line);
  color: var(--muted);
  background: var(--band);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.card-buy.is-disabled {
  pointer-events: none;
}

/* Popup achat (façon app) */
.buy-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.buy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 18, 38, 0.55);
}
.buy-sheet {
  position: relative;
  z-index: 1;
  background: var(--surface);
  width: min(440px, 100%);
  padding: clamp(28px, 4vw, 38px);
  box-shadow: 0 30px 70px rgba(8, 45, 115, 0.33);
  text-align: center;
}
.buy-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--muted);
}
.buy-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}
.buy-close:hover {
  color: var(--ink);
}
.buy-media {
  width: 112px;
  height: 134px;
  margin: 0 auto 18px;
  overflow: hidden;
  background: var(--band);
}
.buy-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.buy-note {
  font-family: var(--display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 24px;
}
.buy-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--ink);
  margin: 0 0 24px;
  line-height: 1.25;
}
.buy-actions {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.buy-now,
.buy-add {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 18px;
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.buy-now {
  background: var(--blue);
  color: #fff;
  border: 0;
}
.buy-now:hover {
  background: var(--blue-ink);
  transform: translateY(-1px);
}
.buy-now svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}
.buy-add {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.buy-add:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 560px) {
  .buy-modal {
    align-items: flex-end;
    padding: 0;
  }
  .buy-sheet {
    width: 100%;
    border-radius: 18px 18px 0 0;
    padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  }
}
/* Badges produit */
.pbadge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 12px rgba(8, 45, 115, 0.16);
}
.pbadge.b-new {
  background: var(--blue);
  color: #fff;
}
.pbadge.b-top {
  background: var(--yellow);
  color: var(--blue-deep);
}
.pbadge.b-limited {
  background: #e79a2b;
  color: #fff;
}
.pbadge.b-unavailable {
  background: #8a93a5;
  color: #fff;
}
/* Stock épuisé : visuel atténué + ajout panier désactivé (favori/détails restent actifs) */
.card.is-soldout .card-media img {
  opacity: 0.5;
  filter: grayscale(0.25);
}
.cact:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
/* Skeletons (preloader pendant le fetch) */
[x-cloak] {
  display: none !important;
}
.card-skeleton {
  pointer-events: none;
}
.card-skeleton .sk-media {
  aspect-ratio: 4/5;
  background: var(--band);
}
.card-skeleton .sk-foot {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.card-skeleton .sk-line {
  height: 12px;
  width: 62%;
  border-radius: 4px;
  background: var(--band);
}
.card-skeleton .sk-line.short {
  width: 34%;
}
.card-skeleton .sk-media,
.card-skeleton .sk-line {
  background: linear-gradient(100deg, var(--band) 30%, #f6f9fe 50%, var(--band) 70%);
  background-size: 200% 100%;
  animation: sk-shimmer 1.3s ease-in-out infinite;
}
@keyframes sk-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* Placeholder générique (API indisponible) : cases neutres, aucun badge/texte */
.card-empty {
  pointer-events: none;
}
.card-empty .ce-media {
  aspect-ratio: 4/5;
  background: var(--band);
  display: grid;
  place-items: center;
}
.card-empty .ce-media svg {
  width: 48px;
  height: 48px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 1.2;
  opacity: 0.35;
}
.card-name {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}
.card-sub {
  order: -1; /* au-dessus du nom */
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-price {
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--blue);
}
.api-note {
  margin-top: 30px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.api-note::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--blue);
}

/* ---------- Shooting + signature : galerie horizontale épinglée ---------- */
.hscroll {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--bg);
}
.hscroll-track {
  display: flex;
  width: max-content;
  height: clamp(480px, 74vh, 780px);
}
.hs-panel {
  flex: 0 0 auto;
  height: 100%;
}
.hs-img {
  margin: 0;
  overflow: hidden;
  width: min(72vw, 540px);
}
.hs-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}
.hs-sign {
  width: min(90vw, 660px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 0 clamp(28px, 6vw, 84px);
  background: var(--band);
}
.hs-sign h2 {
  font-family: var(--display);
  font-size: clamp(1.95rem, 3.4vw, 2.9rem);
  line-height: 1.08;
  color: var(--ink);
}
.hs-sign p {
  color: var(--muted);
  max-width: 44ch;
  margin: 0;
}
/* mode épinglé (ajouté par JS quand GSAP ScrollTrigger est actif) */
.hscroll.is-pinned {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}
.hscroll.is-pinned .hscroll-track {
  height: 100%;
}

/* ---------- Bloc signature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--band);
}
.split-img {
  overflow: hidden;
}
.split-img img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}
.split-txt {
  padding: clamp(34px, 6vw, 84px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.split-txt h2 {
  font-family: var(--display);
  font-size: clamp(1.95rem, 3.4vw, 2.9rem);
  line-height: 1.08;
  color: var(--ink);
}
.split-txt p {
  color: var(--muted);
  max-width: 46ch;
  margin: 0;
}
.btn-line {
  align-self: flex-start;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 30px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  transition: 0.25s;
}
.btn-line:hover {
  background: var(--blue);
  color: #fff;
}

/* ---------- Newsletter (bleu + three.js) ---------- */
.news {
  position: relative;
  background: var(--blue);
  overflow: hidden;
}
#nl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.news-in {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.news .eyebrow {
  color: var(--yellow);
}
.news h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  color: #fff;
}
.news p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 50ch;
  margin: 0;
}
.news form {
  display: flex;
  gap: 10px;
  width: min(460px, 100%);
  margin-top: 8px;
}
.news input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 14px 16px;
  font-family: var(--ui);
  font-size: 0.9rem;
}
.news input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.news input:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.news button {
  background: var(--yellow);
  color: var(--blue-deep);
  border: 0;
  padding: 0 26px;
  cursor: pointer;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.2s ease;
}
.news button:hover {
  transform: translateY(-2px);
}
.news .ok {
  color: var(--yellow);
  font-size: 0.84rem;
  min-height: 1.2em;
  font-weight: 500;
}

/* ---------- Footer (bleu profond) ---------- */
.foot {
  background: var(--blue-deep);
  color: #cdd8ee;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-block: clamp(48px, 7vw, 80px);
}
.foot-brand img {
  height: 34px;
  width: auto;
  margin-bottom: 16px;
}
.foot-brand p {
  color: #9fb0d4;
  max-width: 38ch;
  margin: 0;
  font-size: 0.9rem;
}
.foot-contact p {
  color: #9fb0d4;
  font-size: 0.9rem;
  margin: 0 0 6px;
  line-height: 1.5;
}
.foot-contact p.mt {
  margin-top: 14px;
}
.foot-contact strong {
  color: #fff;
  font-weight: 600;
}
.foot h4 {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
  font-weight: 600;
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.foot li a {
  position: relative;
  color: #b9c6e4;
  font-size: 0.9rem;
}
.foot li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.foot li a:hover {
  color: #fff;
}
.foot li a:hover::after {
  transform: scaleX(1);
}
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #8da2cc;
  letter-spacing: 0.04em;
}
.foot-bottom .credit {
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}
.foot-bottom .credit a {
  color: #b9c6e4;
  transition: color 0.2s ease;
}
.foot-bottom .credit a:hover {
  color: var(--yellow);
}

/* ---------- Menu mobile ---------- */
.msheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--blue);
  color: #fff;
  padding: calc(env(safe-area-inset-top, 0px) + 24px) 28px 28px;
  display: none;
  flex-direction: column;
  gap: 6px;
}
.msheet.open {
  display: flex;
}
.msheet .mtop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.msheet .mtop img {
  height: 30px;
}
.msheet a {
  font-family: var(--display);
  font-size: 1.3rem;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.msheet .mclose {
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.msheet .mclose svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* ---------- Reveal (etat initial avant GSAP, sans casser le rendu au repos) ---------- */
.js-anim [data-reveal].is-hidden {
  opacity: 0;
  transform: translateY(34px);
}

@media (max-width: 860px) {
  .nav-left {
    display: none;
  }
  .hdr-in {
    grid-template-columns: auto 1fr auto;
  }
  .brand {
    justify-self: start;
  }
  .nav-right .hide-sm {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero-shell {
    min-height: 520px;
  }
  .hero-slide {
    align-items: flex-end;
  }
  .hero-in {
    justify-content: flex-start;
    align-items: flex-end;
    padding-bottom: clamp(32px, 9vw, 56px);
  }
  .hero-copy {
    text-align: left;
    max-width: none;
  }
  .hero-copy .hero-title {
    font-size: clamp(2.1rem, 8.5vw, 3rem);
    margin: 0.22em 0 0.5em;
  }
  .hero-cta {
    font-size: 0.78rem;
  }
  .hero-slide::after {
    background: linear-gradient(
      180deg,
      rgba(247, 244, 238, 0) 26%,
      rgba(247, 244, 238, 0.5) 54%,
      rgba(247, 244, 238, 0.93) 100%
    );
  }
  .assure-in {
    flex-direction: column;
    gap: 11px;
    padding-block: 16px;
    position: relative;
  }
  .assure-dot {
    display: none;
  }
  .assure-item {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    justify-content: center;
    text-align: center;
  }
  /* rotateur mobile : 1 élément à la fois (classe .rotating ajoutée par JS) */
  .assure-in.rotating {
    display: block;
    min-height: 2.8em;
    padding-block: 18px;
  }
  .assure-in.rotating .assure-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px);
    transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.55s ease;
    pointer-events: none;
  }
  .assure-in.rotating .assure-item.is-active {
    opacity: 1;
    transform: translateY(0);
  }
  .assure-in.rotating .assure-item.is-leaving {
    opacity: 0;
    transform: translateY(-16px);
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 14px;
  }
  .sec-head h2 {
    font-size: 1.7rem;
  }
  .card-body {
    padding-top: 12px;
  }
  .card-name {
    font-size: 0.84rem;
  }
  .card-buy {
    margin-top: 11px;
    padding: 11px 8px;
    gap: 7px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }
  .card-sub {
    font-size: 0.54rem;
  }
  .card-price {
    font-size: 0.82rem;
  }
  .pbadge {
    font-size: 0.56rem;
    padding: 4px 9px;
    letter-spacing: 0.08em;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split-img {
    order: -1;
  }
  .split-img img {
    min-height: 300px;
    max-height: 64vh;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
  .foot-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 460px) {
  .band2 {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
  .js-anim [data-reveal].is-hidden {
    opacity: 1;
    transform: none;
  }
}

/* Notification (toast "Ajouté au panier") - style success */
.toast {
  position: fixed;
  top: calc(84px + env(safe-area-inset-top, 0px));
  right: 20px;
  z-index: 130;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 300px;
  max-width: 380px;
  background: #1f9d55;
  color: #fff;
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(8, 30, 20, 0.28);
}
.toast-ic {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}
.toast-ic svg {
  width: 20px;
  height: 20px;
  stroke: #1f9d55;
  fill: none;
  stroke-width: 3;
}
.toast-msg {
  min-width: 0;
  overflow-wrap: anywhere;
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}
.toast-close {
  flex: none;
  background: none;
  border: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
}
.toast-close:hover {
  color: #fff;
}
.toast-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}
@media (max-width: 560px) {
  .toast {
    top: calc(70px + env(safe-area-inset-top, 0px));
    right: 12px;
    left: 12px;
    min-width: 0;
    max-width: none;
  }
}

/* ============================================================
   Loader de page (overlay premium - fondu au chargement)
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--blue-deep);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader .pl-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 24px;
}
.page-loader .pl-logo {
  height: 52px;
  width: auto;
  animation: pl-pulse 1.7s ease-in-out infinite;
}
.page-loader .pl-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--yellow);
  animation: pl-spin 0.85s linear infinite;
}
@keyframes pl-pulse {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}
@keyframes pl-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader .pl-logo {
    animation: none;
  }
  .page-loader .pl-ring {
    animation: none;
    border-top-color: rgba(255, 255, 255, 0.18);
  }
}

/* ============================================================
   Comment commander (section accueil + page dédiée)
   ============================================================ */
/* Évite le double padding vertical quand 2 sections se suivent (coloris -> comment). */
#comment-commander {
  padding-top: 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(8, 45, 115, 0.08);
}
.step-ic {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #eef3fb;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step-ic svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-eyebrow {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 6px;
}
.step-card h3 {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}
.step-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* Page dédiée : liste verticale détaillée */
.guide {
  max-width: 820px;
  margin: 0 auto;
}
.guide-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.guide-step:last-child {
  border-bottom: 0;
}
.guide-step .step-ic {
  margin-bottom: 0;
}
.guide-step h3 {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--ink);
  margin: 4px 0 8px;
}
.guide-step p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.guide-step .tag {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 11px;
  border-radius: 20px;
  background: var(--band);
  color: var(--blue-ink);
  font-size: 0.8rem;
  font-weight: 500;
}
.guide-cta {
  text-align: center;
  margin-top: 40px;
}
/* Lien guide discret (checkout) */
.co-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 auto 26px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.co-guide-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.co-guide-link:hover {
  text-decoration: underline;
}
