/* Brûlerie Vigie : une brûlerie de bord de mer. Brume marine et bleu pétrole, une touche d’ambre de bouée,
   des cartes d’origine dessinées comme des relevés de navigation. Fraunces pour les titres, Hanken Grotesk
   pour le texte. */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --kit-bg: #eef1ee;
  --kit-surface: #ffffff;
  --kit-fg: #142126;
  --kit-line: #d2dad7;
  --kit-accent: #10343d;
  --muted: #4c5c60;
  --fond-2: #e3e9e6;
  --petrole: #10343d;
  --petrole-doux: #d9e5e5;
  --bouee: #e7a33a;
  --bouee-fonce: #c9851d;
  --sur-bouee: #1c1407;
  --bouee-texte: #8a560c;
  --rouille: #9c3d22;
  --sombre-fond: #10343d;
  --sombre-texte: #e9f0ee;
  --ph-fond: #d7dfdc;
  --ombre: 0 24px 60px -30px rgba(16, 52, 61, 0.45);
  --titre: "Fraunces", "Iowan Old Style", Georgia, serif;
  --texte: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rayon: 14px;
  --kit-radius: 14px;
  --pastille-choisie: var(--petrole);
  --pastille-choisie-texte: #fff;
  --champ-rayon: 10px;
}
:root[data-theme="dark"] {
  --kit-bg: #0b181c;
  --kit-surface: #11242a;
  --kit-fg: #e6ecea;
  --kit-line: #24393f;
  --kit-accent: #f0b04f;
  --muted: #9cb0b2;
  --fond-2: #0f2025;
  --petrole: #9fcad2;
  --petrole-doux: #163038;
  --bouee: #f0b04f;
  --bouee-fonce: #f5c06d;
  --sur-bouee: #1c1407;
  --bouee-texte: #f0b04f;
  --rouille: #e48b6e;
  --sombre-fond: #071216;
  --sombre-texte: #e6ecea;
  --ph-fond: #18303a;
  --ombre: 0 30px 70px -30px rgba(0, 0, 0, 0.75);
  --pastille-choisie: #e6ecea;
  --pastille-choisie-texte: #0b181c;
}

html {
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.6;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
h1,
h2,
h3 {
  font-family: var(--titre);
  font-weight: 560;
  font-variation-settings: "opsz" 120;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
h1 {
  font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem);
}
h2 {
  font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.5rem);
}
h3 {
  font-size: 1.3rem;
}
p {
  margin: 0;
}
.conteneur {
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 0.97rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.25s var(--kit-ease),
    box-shadow 0.25s ease;
}
.btn--plein {
  background: var(--bouee);
  color: var(--sur-bouee);
}
.btn--plein:hover {
  background: var(--bouee-fonce);
  box-shadow: 0 12px 28px -14px rgba(201, 133, 29, 0.8);
}
.btn--ligne {
  background: transparent;
  border-color: color-mix(in srgb, var(--kit-fg) 35%, transparent);
  color: var(--kit-fg);
}
.btn--ligne:hover {
  border-color: var(--kit-fg);
  background: color-mix(in srgb, var(--kit-fg) 5%, transparent);
}
.btn--large {
  min-height: 52px;
  padding-inline: 28px;
  font-size: 1rem;
}
.btn--danger {
  background: var(--rouille);
  color: #fff;
}
.btn--danger:hover {
  background: color-mix(in srgb, var(--rouille) 85%, #000);
}
.btn:disabled {
  opacity: 0.55;
  cursor: wait;
}
.lien-fleche {
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.2s ease;
}
.lien-fleche:hover {
  color: var(--bouee-texte);
}

/* ---------- En-tête ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--kit-bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}
.entete.is-compact {
  border-bottom-color: var(--kit-line);
}
.entete__in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  transition: min-height 0.3s var(--kit-ease);
}
.entete.is-compact .entete__in {
  min-height: 64px;
}
.marque {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--petrole);
}
.marque__signe {
  width: 36px;
  height: 36px;
  flex: none;
}
.marque__veine {
  stroke: var(--kit-bg);
}
.marque__nom {
  display: grid;
  font-family: var(--titre);
  font-weight: 620;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--kit-fg);
}
.marque__nom small {
  font-family: var(--texte);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-top: 3px;
}
.nav {
  margin-left: auto;
}
.nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 560;
  font-size: 0.95rem;
  transition: background-color 0.2s ease;
}
.nav a:hover {
  background: color-mix(in srgb, var(--kit-fg) 6%, transparent);
}
.nav a[aria-current="page"] {
  background: var(--petrole-doux);
}
.entete__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bouton-panier {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--kit-line);
  background: var(--kit-surface);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.bouton-panier:hover {
  border-color: var(--kit-fg);
}
.bouton-panier svg {
  width: 21px;
  height: 21px;
}
.bouton-panier__nombre {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--bouee);
  color: var(--sur-bouee);
  font-size: 0.72rem;
  font-weight: 750;
  display: grid;
  place-items: center;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--kit-line);
  background: var(--kit-surface);
  cursor: pointer;
  place-items: center;
  align-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.8px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--kit-ease);
}
.menu-ouvert .burger span:first-child {
  transform: translateY(3.4px) rotate(45deg);
}
.menu-ouvert .burger span:last-child {
  transform: translateY(-3.4px) rotate(-45deg);
}
.menu-mobile {
  border-top: 1px solid var(--kit-line);
  padding: 12px 20px 22px;
}
.menu-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.menu-mobile a {
  display: block;
  padding: 12px 4px;
  font-family: var(--titre);
  font-size: 1.35rem;
  text-decoration: none;
  border-bottom: 1px solid var(--kit-line);
}
@media (max-width: 959px) {
  .nav {
    display: none;
  }
  .burger {
    display: grid;
  }
  .entete__actions {
    margin-left: auto;
  }
}

/* ---------- Ouverture ---------- */
.ouverture {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px) 0 0;
}
.ouverture__carte {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--petrole);
  opacity: 0.12;
  pointer-events: none;
}
.motion .ouverture__carte path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: trace 3.2s var(--kit-ease) forwards;
}
.motion .ouverture__carte path:nth-child(2) {
  animation-delay: 0.15s;
}
.motion .ouverture__carte path:nth-child(3) {
  animation-delay: 0.3s;
}
.motion .ouverture__carte path:nth-child(4) {
  animation-delay: 0.45s;
}
.motion .ouverture__carte path:nth-child(5),
.motion .ouverture__carte path:nth-child(6) {
  animation-delay: 0.7s;
}
@keyframes trace {
  to {
    stroke-dashoffset: 0;
  }
}
.ouverture__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.ouverture__surtitre {
  font-family: var(--titre);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--bouee-texte);
  margin-bottom: 14px;
}
.ouverture h1 {
  max-width: 15ch;
}
.ouverture__chapo {
  margin-top: 22px;
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 50ch;
}
.ouverture__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.motion .ouverture__texte > * {
  animation: kit-rise 0.9s var(--kit-ease) backwards;
}
.motion .ouverture__texte > :nth-child(2) {
  animation-delay: 0.08s;
}
.motion .ouverture__texte > :nth-child(3) {
  animation-delay: 0.16s;
}
.motion .ouverture__texte > :nth-child(4) {
  animation-delay: 0.24s;
}
.ouverture__visuel {
  position: relative;
  justify-self: end;
  width: min(460px, 100%);
}
.ouverture__ph {
  aspect-ratio: 4 / 5;
  border-radius: 220px 220px var(--rayon) var(--rayon);
  box-shadow: var(--ombre);
}
.origine--flottante {
  position: absolute;
  left: -64px;
  bottom: 34px;
  width: 270px;
}
.engagements {
  list-style: none;
  padding: 26px 0;
  margin-top: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--kit-line);
  font-size: 0.96rem;
  color: var(--muted);
}
.engagements strong {
  color: var(--kit-fg);
  font-weight: 650;
}
@media (max-width: 900px) {
  .ouverture__in {
    grid-template-columns: 1fr;
  }
  .ouverture__visuel {
    justify-self: center;
    width: min(420px, 100%);
  }
  .origine--flottante {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -60px 16px 0;
  }
  .engagements {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ---------- Carte d’origine : un relevé de navigation ---------- */
.origine {
  background: var(--kit-surface);
  border: 1px solid var(--kit-line);
  border-radius: var(--rayon);
  padding: 16px 18px;
  box-shadow: var(--ombre);
  font-size: 0.86rem;
  position: relative;
}
.origine::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed color-mix(in srgb, var(--petrole) 30%, transparent);
  border-radius: calc(var(--rayon) - 4px);
  pointer-events: none;
}
.origine__tete {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.origine__nom {
  display: block;
  font-family: var(--titre);
  font-size: 1.3rem;
  font-weight: 560;
  line-height: 1.15;
  margin: 6px 0 10px;
}
.origine dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 12px;
  margin: 0;
}
.origine dt {
  color: var(--muted);
}
.origine dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.origine__lien {
  display: inline-block;
  margin-top: 12px;
  font-weight: 650;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(56px, 8vw, 104px) 0;
}
.section__tete {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 30px;
}
.section--sombre {
  background: var(--sombre-fond);
  color: var(--sombre-texte);
  --kit-fg: var(--sombre-texte);
  --muted: color-mix(in srgb, var(--sombre-texte) 72%, transparent);
  --kit-line: rgba(233, 240, 238, 0.22);
  --kit-surface: rgba(255, 255, 255, 0.06);
  --pastille-choisie: var(--bouee);
  --pastille-choisie-texte: var(--sur-bouee);
  --kit-accent: var(--bouee);
}

/* ---------- Cartes de produits ---------- */
.grille-produits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.grille-produits--trois {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .grille-produits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .grille-produits,
  .grille-produits--trois {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.carte {
  min-width: 0;
}
.carte__lien {
  display: grid;
  gap: 12px;
  text-decoration: none;
}
.carte__media {
  position: relative;
  border-radius: var(--rayon);
  overflow: hidden;
}
.carte__media .ph {
  aspect-ratio: 4 / 5;
}
.carte__media .ph img {
  transition:
    opacity 0.8s var(--kit-ease),
    transform 0.9s var(--kit-ease);
}
.carte__lien:hover .ph img.is-loaded {
  transform: scale(1.045);
}
.carte__pastille {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--kit-surface);
  color: var(--kit-fg);
  font-size: 0.75rem;
  font-weight: 700;
}
.carte__pastille--favori {
  background: var(--bouee);
  color: var(--sur-bouee);
}
.carte__corps {
  display: grid;
  gap: 2px;
}
.carte__profil {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--muted);
}
.carte__profil[data-profil="fruite"]::before,
.carte__profil[data-profil="equilibre"]::before,
.carte__profil[data-profil="chocolate"]::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
  background: #d06b5a;
}
.carte__profil[data-profil="equilibre"]::before {
  background: #c99a3b;
}
.carte__profil[data-profil="chocolate"]::before {
  background: #7a4a32;
}
.carte__nom {
  font-family: var(--titre);
  font-size: 1.18rem;
  font-weight: 560;
  line-height: 1.2;
}
.carte__sous {
  font-size: 0.88rem;
  color: var(--muted);
}
.carte__prix {
  margin-top: 4px;
  font-weight: 700;
}
.carte__prix small {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- Trouver son café ---------- */
.trouver {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.trouver__question > p {
  color: var(--muted);
  margin: 14px 0 28px;
  max-width: 44ch;
}
.trouver__question .pastilles + .pastilles {
  margin-top: 22px;
}
.reco {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--kit-line);
  border-radius: 22px;
  padding: 18px;
}
.reco .ph {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
}
.reco__surtitre {
  font-family: var(--titre);
  font-style: italic;
  color: var(--bouee);
}
.reco h3 {
  font-size: 1.6rem;
  margin: 4px 0 8px;
}
.reco__notes {
  color: var(--muted);
  font-size: 0.95rem;
}
.reco__conseil {
  margin-top: 12px;
  font-size: 0.9rem;
  padding-top: 12px;
  border-top: 1px solid var(--kit-line);
}
.reco__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.section--sombre .btn--ligne {
  color: var(--sombre-texte);
}
@media (max-width: 900px) {
  .trouver {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .reco {
    grid-template-columns: 1fr;
  }
  .reco .ph {
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Abonnement ---------- */
.abonnement__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.abonnement__visuel .ph {
  aspect-ratio: 4 / 5;
  border-radius: var(--rayon) var(--rayon) 220px 220px;
  box-shadow: var(--ombre);
}
.abonnement__formule {
  display: grid;
  gap: 20px;
}
.abonnement__formule > p {
  color: var(--muted);
  max-width: 50ch;
}
.abonnement__prix {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 16px 18px;
  border-radius: var(--rayon);
  background: var(--petrole-doux);
}
.abonnement__prix strong {
  font-family: var(--titre);
  font-size: 1.8rem;
  font-weight: 560;
}
.abonnement__prix s {
  color: var(--muted);
}
.abonnement__prix span {
  color: var(--muted);
  font-size: 0.92rem;
}
@media (max-width: 900px) {
  .abonnement__in {
    grid-template-columns: 1fr;
  }
  .abonnement__visuel .ph {
    aspect-ratio: 16 / 11;
    border-radius: var(--rayon);
  }
}

/* ---------- L’atelier ---------- */
.atelier {
  background: var(--fond-2);
}
.atelier__in {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.atelier__texte > p {
  color: var(--muted);
  margin: 18px 0 26px;
  max-width: 52ch;
}
.parcours {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
  counter-reset: p;
}
.parcours li {
  counter-increment: p;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 2px 14px;
}
.parcours li::before {
  content: counter(p);
  grid-row: span 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--petrole);
  color: var(--petrole);
  display: grid;
  place-items: center;
  font-family: var(--titre);
  font-weight: 600;
}
.parcours span {
  color: var(--muted);
  font-size: 0.95rem;
}
.atelier__photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  align-items: end;
}
.atelier__large {
  aspect-ratio: 4 / 3.4;
  border-radius: var(--rayon);
}
.atelier__haute {
  aspect-ratio: 4 / 5;
  border-radius: var(--rayon);
  margin-bottom: -40px;
}
@media (max-width: 900px) {
  .atelier__in {
    grid-template-columns: 1fr;
  }
  .atelier__haute {
    margin-bottom: 0;
  }
}

/* ---------- En-tête de page ---------- */
.tete-page {
  padding: clamp(36px, 6vw, 72px) 0 clamp(20px, 3vw, 36px);
}
.tete-page p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 60ch;
}
.tete-page--courte {
  padding-bottom: 8px;
}

/* ---------- Catalogue ---------- */
.catalogue {
  padding-bottom: clamp(56px, 8vw, 104px);
}
.filtres {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px 22px;
  padding: 16px 0 22px;
  border-bottom: 1px solid var(--kit-line);
  position: sticky;
  top: 64px;
  z-index: 5;
  background: var(--kit-bg);
}
.filtres__selects {
  display: flex;
  gap: 12px;
  margin-left: auto;
}
.champ--compact span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.champ--compact select {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
}
.catalogue__compte {
  color: var(--muted);
  margin: 18px 0;
  font-size: 0.92rem;
}
@media (max-width: 760px) {
  .filtres {
    position: static;
  }
  .filtres__selects {
    margin-left: 0;
    width: 100%;
  }
  .filtres__selects .champ {
    flex: 1;
  }
}

/* ---------- Fiche produit ---------- */
.fil-ariane {
  display: flex;
  gap: 8px;
  padding-top: 22px;
  font-size: 0.9rem;
  color: var(--muted);
}
.fil-ariane a {
  color: inherit;
}
.fiche {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: 22px 0 clamp(40px, 6vw, 80px);
}
.fiche__media {
  position: sticky;
  top: 90px;
  align-self: start;
}
.fiche__media .ph {
  aspect-ratio: 4 / 5;
  border-radius: var(--rayon);
}
.fiche__info {
  display: grid;
  gap: 22px;
  align-content: start;
}
.fiche__pays {
  font-family: var(--titre);
  font-style: italic;
  color: var(--bouee-texte);
  font-size: 1.1rem;
}
.fiche h1 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
  margin-top: 4px;
}
.notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.notes li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--petrole-doux);
  font-size: 0.88rem;
  font-weight: 600;
}
.fiche__texte {
  color: var(--muted);
  font-size: 1.04rem;
}
.fiche__prix {
  font-family: var(--titre);
  font-size: 2rem;
  font-weight: 560;
}
.fiche__prix small {
  font-family: var(--texte);
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}
.fiche__achat {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.fiche__achat .btn {
  flex: 1;
  min-width: 220px;
}
.fiche__bloc {
  border-top: 1px solid var(--kit-line);
  padding-top: 22px;
}
.fiche__bloc h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.fiche__gout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
  align-items: center;
}
.fiche__details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.fiche__details li::before {
  content: "—";
  margin-right: 8px;
  color: var(--bouee-texte);
}
.methodes {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.methodes li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
}
.methodes .ph {
  aspect-ratio: 1;
  border-radius: 12px;
}
.methodes strong {
  display: block;
}
.methodes span {
  color: var(--muted);
  font-size: 0.92rem;
}
@media (max-width: 860px) {
  .fiche {
    grid-template-columns: 1fr;
  }
  .fiche__media {
    position: static;
  }
  .fiche__media .ph {
    aspect-ratio: 4 / 3.6;
  }
}
@media (max-width: 520px) {
  .fiche__gout {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/* ---------- Boussole des saveurs ---------- */
.boussole {
  width: 100%;
  max-width: 260px;
  height: auto;
  overflow: visible;
}
.boussole__anneau {
  fill: none;
  stroke: var(--kit-line);
}
.boussole__rayon {
  stroke: var(--kit-line);
}
.boussole__forme {
  fill: color-mix(in srgb, var(--bouee) 30%, transparent);
  stroke: var(--bouee-fonce);
  stroke-width: 2;
  stroke-linejoin: round;
}
.motion .boussole__forme {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  fill-opacity: 0;
  animation:
    trace 1.4s var(--kit-ease) 0.2s forwards,
    remplir 0.8s ease 1.2s forwards;
}
@keyframes remplir {
  to {
    fill-opacity: 1;
  }
}
.boussole__point {
  fill: var(--bouee-fonce);
}
.boussole__axe {
  fill: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.echelle {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.echelle li {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.echelle__barre {
  display: flex;
  gap: 4px;
}
.echelle__barre i {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--kit-line);
}
.echelle__barre i.on {
  background: var(--petrole);
}

/* ---------- Tiroir du panier ---------- */
.tiroir {
  background: var(--kit-surface);
}
.tiroir__tete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid var(--kit-line);
}
.tiroir__tete h2 {
  font-size: 1.5rem;
}
.fermer {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--kit-line);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.fermer svg {
  width: 18px;
  height: 18px;
}
.tiroir__corps {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
}
.tiroir__seuil {
  padding: 16px 22px;
  font-size: 0.92rem;
  background: var(--petrole-doux);
}
.jauge {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--petrole) 18%, transparent);
  margin-top: 8px;
  overflow: hidden;
}
.jauge span {
  display: block;
  height: 100%;
  background: var(--petrole);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.7s var(--kit-ease);
}
.tiroir__lignes {
  list-style: none;
  margin: 0;
  padding: 8px 22px;
  flex: 1;
}
.ligne {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--kit-line);
  align-items: start;
}
.ligne__ph {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
}
.ligne__texte {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.ligne__nom {
  font-weight: 650;
  text-decoration: none;
  line-height: 1.3;
}
.ligne__detail {
  font-size: 0.84rem;
  color: var(--muted);
}
.ligne__prix {
  font-weight: 650;
}
.quantite--petite button {
  width: 34px;
  height: 34px;
}
.quantite--petite {
  justify-self: start;
}
.tiroir__pied {
  position: sticky;
  bottom: 0;
  padding: 18px 22px 22px;
  border-top: 1px solid var(--kit-line);
  background: var(--kit-surface);
  display: grid;
  gap: 10px;
}
.tiroir__total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
}
.tiroir__note {
  font-size: 0.86rem;
  color: var(--muted);
}
.tiroir__vide {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  padding: 26px 22px;
}
.tiroir__vide-ph {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--rayon);
}

/* ---------- Commande ---------- */
.commande {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: 18px 0 clamp(56px, 8vw, 104px);
}
.commande__parcours {
  display: grid;
  gap: 28px;
  min-width: 0;
}
.etape {
  display: grid;
  gap: 20px;
}
.etape h2 {
  font-size: 1.7rem;
}
.etape__aide {
  color: var(--muted);
  margin-top: -8px;
}
.etape__actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.etape__actions .btn--plein {
  margin-left: auto;
}
.choix-livraison {
  display: grid;
  gap: 10px;
}
.option-livraison {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--kit-line);
  border-radius: var(--rayon);
  background: var(--kit-surface);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.option-livraison:has(input:checked) {
  border-color: var(--petrole);
  box-shadow: inset 0 0 0 1px var(--petrole);
}
.option-livraison input {
  width: 20px;
  height: 20px;
  accent-color: var(--petrole);
}
.option-livraison strong {
  display: block;
}
.option-livraison small {
  color: var(--muted);
  font-size: 0.88rem;
}
.option-livraison__prix {
  font-weight: 700;
}
.grille-champs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.champ--large {
  grid-column: 1 / -1;
}
@media (max-width: 560px) {
  .grille-champs {
    grid-template-columns: 1fr;
  }
}
.liste-relais {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.liste-relais legend {
  font-weight: 600;
  margin-bottom: 8px;
}
.relais {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--kit-line);
  background: var(--kit-surface);
  cursor: pointer;
}
.relais input {
  accent-color: var(--petrole);
}
.relais span {
  display: grid;
  font-size: 0.92rem;
  color: var(--muted);
}
.relais strong {
  color: var(--kit-fg);
}
.paiement-demo {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: var(--rayon);
  background: var(--petrole-doux);
}
.paiement-demo svg {
  width: 30px;
  height: 30px;
  color: var(--petrole);
}
.paiement-demo p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-top: 4px;
}
.code {
  display: flex;
  gap: 8px;
}
.code input {
  flex: 1;
  text-transform: uppercase;
}
.champ--code .erreur.is-ok {
  color: #2b7a4b;
}
[data-theme="dark"] .champ--code .erreur.is-ok {
  color: #8fd6a8;
}
.recap {
  position: sticky;
  top: 92px;
  padding: 22px;
  border-radius: 18px;
  background: var(--kit-surface);
  border: 1px solid var(--kit-line);
  display: grid;
  gap: 14px;
}
.recap h2 {
  font-size: 1.3rem;
}
.recap ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.recap li {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 0.92rem;
}
.recap li .ph {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
}
.recap li small {
  display: block;
  color: var(--muted);
}
.recap dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--kit-line);
}
.recap dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.recap .recap__total {
  font-weight: 750;
  font-size: 1.15rem;
}
@media (max-width: 960px) {
  .commande {
    grid-template-columns: 1fr;
  }
  .recap {
    position: static;
    order: -1;
  }
}
.confirmation {
  gap: 22px;
}
.confirmation .ph {
  aspect-ratio: 16 / 8;
  border-radius: var(--rayon);
}
.confirmation__numero {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--petrole-doux);
  font-weight: 750;
  letter-spacing: 0.06em;
}
.calendrier-commande {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.calendrier-commande li {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--kit-line);
  background: var(--kit-surface);
}
.calendrier-commande strong {
  display: block;
  font-family: var(--titre);
  font-size: 1.1rem;
}
.calendrier-commande span {
  font-size: 0.86rem;
  color: var(--muted);
}
@media (max-width: 560px) {
  .calendrier-commande {
    grid-template-columns: 1fr;
  }
}
.commande-vide {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: 20px 0 100px;
}

/* ---------- Suivi des commandes ---------- */
.suivi {
  display: grid;
  gap: 18px;
  padding: 10px 0 clamp(56px, 8vw, 104px);
}
.suivi__vide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.suivi__vide .ph {
  aspect-ratio: 3 / 2;
  border-radius: var(--rayon);
}
.suivi__vide p {
  margin-bottom: 16px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .suivi__vide {
    grid-template-columns: 1fr;
  }
}
.colis {
  padding: 22px;
  border-radius: 18px;
  background: var(--kit-surface);
  border: 1px solid var(--kit-line);
  display: grid;
  gap: 18px;
}
.colis__tete {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
}
.colis__tete h2 {
  font-size: 1.35rem;
}
.colis__tete span {
  color: var(--muted);
  font-size: 0.92rem;
}
.jalons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.jalons li {
  position: relative;
  padding-top: 26px;
  font-size: 0.88rem;
  color: var(--muted);
}
.jalons li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--kit-line);
}
.jalons li::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--kit-surface);
  border: 2px solid var(--kit-line);
}
.jalons li.is-fait {
  color: var(--kit-fg);
}
.jalons li.is-fait::before,
.jalons li.is-fait::after {
  background: var(--petrole);
  border-color: var(--petrole);
}
.jalons strong {
  display: block;
  font-weight: 650;
}
.colis__lignes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.colis__lignes li {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--fond-2);
  font-size: 0.86rem;
}
.colis__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
.colis__total {
  font-weight: 700;
}
.colis--annulee {
  opacity: 0.72;
}
.etiquette-annulee {
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--rouille) 16%, transparent);
  color: var(--rouille);
  font-weight: 700;
  font-size: 0.8rem;
}
@media (max-width: 640px) {
  .jalons {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .jalons li {
    padding: 0 0 0 26px;
  }
  .jalons li::before {
    top: 15px;
    bottom: -14px;
    left: 6px;
    right: auto;
    width: 3px;
    height: auto;
  }
  .jalons li:last-child::before {
    display: none;
  }
}

/* ---------- Fenêtres ---------- */
.fenetre {
  padding: 26px;
  display: grid;
  gap: 14px;
}
.fenetre h2 {
  font-size: 1.5rem;
}
.fenetre p {
  color: var(--muted);
}
.fenetre__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

/* ---------- Pied de page ---------- */
.pied {
  background: var(--sombre-fond);
  color: var(--sombre-texte);
  padding: 56px 0 28px;
  --muted: color-mix(in srgb, var(--sombre-texte) 72%, transparent);
  --kit-bg: var(--sombre-fond);
}
.pied .marque,
.pied .marque__nom {
  color: var(--sombre-texte);
}
.pied .marque__nom small {
  color: var(--muted);
}
.pied__in {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
}
.pied__marque p {
  margin-top: 14px;
  color: var(--muted);
  max-width: 34ch;
}
.pied__titre {
  font-family: var(--texte);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 12px;
}
.pied ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.pied a {
  text-decoration: none;
}
.pied a:hover {
  text-decoration: underline;
}
.pied p {
  font-size: 0.95rem;
}
.pied p + p {
  margin-top: 8px;
}
.pied__bas {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(233, 240, 238, 0.16);
  font-size: 0.86rem;
  color: var(--muted);
}
@media (max-width: 860px) {
  .pied__in {
    grid-template-columns: 1fr 1fr;
  }
  .pied__marque {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .pied__in {
    grid-template-columns: 1fr;
  }
}

/* ---------- 404 ---------- */
.introuvable {
  padding: clamp(60px, 10vw, 140px) 0;
  display: grid;
  gap: 16px;
  justify-items: start;
}
.introuvable__code {
  font-family: var(--titre);
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 1;
  color: var(--petrole);
  font-weight: 300;
}
.introuvable p {
  color: var(--muted);
}

/* ---------- Mouvement ---------- */
.motion .grille-produits .carte {
  transition:
    opacity 0.35s ease,
    transform 0.35s var(--kit-ease);
}
.carte.is-sortie {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}
.pied .signe-binuxlabs {
  opacity: 1;
}
.fiche__options {
  display: grid;
  gap: 18px;
}
.boussole {
  max-width: 280px;
}
