/* Le Showroom de Mél : feuille de style de la maquette
   Univers : comptoir de confiserie. Signature : le bord festonné. */

:root {
  --reglisse: #2a1b16;
  --reglisse-doux: #5c4a42;
  --sucre: #fffcf9;
  --dragee: #f7d3c8;
  --dragee-pale: #fcece6;
  --citrouille: #e5571c;
  --citrouille-fonce: #b83f0c;
  --trait: #ead9d1;

  --gourmande: #c4832f;
  --fruitee: #c9365a;
  --florale: #8d6cb3;
  --fraiche: #6f9d62;

  --titre: "Caprasimo", "Cooper Black", Georgia, serif;
  --texte: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --largeur: 1240px;
  --gouttiere: 24px;
  --feston: polygon(100.00% 50.00%,99.80% 51.86%,99.23% 53.69%,98.30% 55.44%,97.09% 57.10%,95.67% 58.64%,94.12% 60.07%,94.90% 62.03%,95.51% 64.04%,95.88% 66.05%,95.95% 68.03%,95.68% 69.93%,95.05% 71.69%,94.06% 73.29%,92.75% 74.68%,91.16% 75.86%,89.35% 76.83%,87.40% 77.60%,85.38% 78.21%,85.23% 80.32%,84.91% 82.39%,84.37% 84.37%,83.58% 86.19%,82.51% 87.78%,81.17% 89.09%,79.59% 90.10%,77.81% 90.79%,75.86% 91.16%,73.81% 91.24%,71.72% 91.09%,69.63% 90.77%,68.59% 92.60%,67.40% 94.33%,66.05% 95.88%,64.55% 97.17%,62.90% 98.14%,61.13% 98.75%,59.27% 98.97%,57.36% 98.81%,55.44% 98.30%,53.56% 97.49%,51.74% 96.45%,50.00% 95.25%,48.26% 96.45%,46.44% 97.49%,44.56% 98.30%,42.64% 98.81%,40.73% 98.97%,38.87% 98.75%,37.10% 98.14%,35.45% 97.17%,33.95% 95.88%,32.60% 94.33%,31.41% 92.60%,30.37% 90.77%,28.28% 91.09%,26.19% 91.24%,24.14% 91.16%,22.19% 90.79%,20.41% 90.10%,18.83% 89.09%,17.49% 87.78%,16.42% 86.19%,15.63% 84.37%,15.09% 82.39%,14.77% 80.32%,14.62% 78.21%,12.60% 77.60%,10.65% 76.83%,8.84% 75.86%,7.25% 74.68%,5.94% 73.29%,4.95% 71.69%,4.32% 69.93%,4.05% 68.03%,4.12% 66.05%,4.49% 64.04%,5.10% 62.03%,5.88% 60.07%,4.33% 58.64%,2.91% 57.10%,1.70% 55.44%,0.77% 53.69%,0.20% 51.86%,0.00% 50.00%,0.20% 48.14%,0.77% 46.31%,1.70% 44.56%,2.91% 42.90%,4.33% 41.36%,5.88% 39.93%,5.10% 37.97%,4.49% 35.96%,4.12% 33.95%,4.05% 31.97%,4.32% 30.07%,4.95% 28.31%,5.94% 26.71%,7.25% 25.32%,8.84% 24.14%,10.65% 23.17%,12.60% 22.40%,14.62% 21.79%,14.77% 19.68%,15.09% 17.61%,15.63% 15.63%,16.42% 13.81%,17.49% 12.22%,18.83% 10.91%,20.41% 9.90%,22.19% 9.21%,24.14% 8.84%,26.19% 8.76%,28.28% 8.91%,30.37% 9.23%,31.41% 7.40%,32.60% 5.67%,33.95% 4.12%,35.45% 2.83%,37.10% 1.86%,38.87% 1.25%,40.73% 1.03%,42.64% 1.19%,44.56% 1.70%,46.44% 2.51%,48.26% 3.55%,50.00% 4.75%,51.74% 3.55%,53.56% 2.51%,55.44% 1.70%,57.36% 1.19%,59.27% 1.03%,61.13% 1.25%,62.90% 1.86%,64.55% 2.83%,66.05% 4.12%,67.40% 5.67%,68.59% 7.40%,69.63% 9.23%,71.72% 8.91%,73.81% 8.76%,75.86% 8.84%,77.81% 9.21%,79.59% 9.90%,81.17% 10.91%,82.51% 12.22%,83.58% 13.81%,84.37% 15.63%,84.91% 17.61%,85.23% 19.68%,85.38% 21.79%,87.40% 22.40%,89.35% 23.17%,91.16% 24.14%,92.75% 25.32%,94.06% 26.71%,95.05% 28.31%,95.68% 30.07%,95.95% 31.97%,95.88% 33.95%,95.51% 35.96%,94.90% 37.97%,94.12% 39.93%,95.67% 41.36%,97.09% 42.90%,98.30% 44.56%,99.23% 46.31%,99.80% 48.14%);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--sucre);
  color: var(--reglisse);
  font: 400 17px/1.55 var(--texte);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--citrouille); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--titre); font-weight: 400; line-height: 1.04; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.enveloppe { width: min(100% - 2 * var(--gouttiere), var(--largeur)); margin-inline: auto; }
.lecture-seule { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 2px solid var(--reglisse); border-radius: 999px;
  background: var(--reglisse); color: var(--sucre);
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, transform .15s;
}
.bouton:hover { background: #000; }
.bouton:active { transform: scale(.98); }
.bouton--clair { background: transparent; color: var(--reglisse); }
.bouton--clair:hover { background: var(--reglisse); color: var(--sucre); }
.bouton--sucre { background: var(--sucre); color: var(--reglisse); border-color: var(--sucre); }
.bouton--sucre:hover { background: #fff; }
.bouton--large { width: 100%; }
.lien { font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.lien:hover { text-decoration-color: var(--citrouille); }

/* ---------- Bandeau et en-tête ---------- */
.bandeau { background: var(--reglisse); color: var(--sucre); font-size: 14px; }
.bandeau .enveloppe { display: flex; justify-content: space-between; gap: 24px; padding-block: 9px; }
.bandeau strong { font-weight: 600; }
.bandeau a { text-underline-offset: 3px; }

.entete { position: sticky; top: 0; z-index: 40; background: var(--sucre); border-bottom: 1px solid var(--trait); }
.entete .enveloppe { display: flex; align-items: center; gap: 28px; min-height: 76px; }

.marque { display: flex; flex-direction: column; text-decoration: none; line-height: 1; flex: none; }
.marque__nom { font-family: var(--titre); font-size: 25px; letter-spacing: -0.01em; white-space: nowrap; }
.marque__metier { font-size: 12.5px; color: var(--reglisse-doux); margin-top: 5px; white-space: nowrap; }

.menu { display: flex; gap: 18px; margin-left: auto; flex-wrap: nowrap; }
.menu a { text-decoration: none; font-weight: 500; font-size: 15.5px; padding: 8px 2px; white-space: nowrap; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { border-bottom-color: var(--reglisse); }
.menu a.saison { color: var(--citrouille-fonce); font-weight: 600; }
.menu a.kit { padding: 8px 16px; border: 2px solid var(--reglisse); border-radius: 999px; font-weight: 600; }
.menu a.kit:hover, .menu a.kit[aria-current="page"] { background: var(--reglisse); color: var(--sucre); }

.outils { display: flex; align-items: center; gap: 6px; flex: none; }
.outil { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; }
.outil:hover { background: var(--dragee-pale); }
.outil svg { width: 23px; height: 23px; }
.outil__compte {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--citrouille); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.outil--menu { display: none; }

/* ---------- Héros Halloween ---------- */
.heros { position: relative; background: var(--citrouille); color: var(--reglisse); }
.heros .enveloppe { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; padding-block: 72px 104px; }
.heros h1 { font-size: clamp(46px, 6.3vw, 92px); color: var(--sucre); line-height: .98; }
.heros__texte p { max-width: 30em; margin-top: 26px; font-size: 19px; line-height: 1.5; font-weight: 500; }
.heros__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; }

.heros__vitrine { position: relative; aspect-ratio: 1 / .92; }
.feston { clip-path: var(--feston); background: var(--sucre); display: grid; place-items: center; }
.feston > img { width: 91%; height: 91%; object-fit: cover; clip-path: var(--feston); }
.heros__grand { position: absolute; right: 0; top: 0; width: 82%; }
.heros__petit { position: absolute; left: 0; bottom: 0; width: 44%; }
.heros__pastille {
  position: absolute; right: 3%; bottom: 2%; width: 27%; aspect-ratio: 1;
  clip-path: var(--feston); background: var(--reglisse); color: var(--sucre);
  display: grid; place-items: center; text-align: center; transform: rotate(-9deg);
  font-family: var(--titre); font-size: clamp(12px, 1.35vw, 19px); line-height: 1.08; padding: 0 5%;
}

/* Lambrequin festonné : le bas d'une zone de couleur retombe sur la suivante */
.lambrequin { position: relative; }
.lambrequin::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px; z-index: 2;
  background: radial-gradient(circle at 22px 0, var(--lambrequin, var(--citrouille)) 21.5px, transparent 22px) 0 0 / 44px 22px repeat-x;
}

@media (prefers-reduced-motion: no-preference) {
  .heros h1, .heros__texte p, .heros__actions { animation: lever .7s cubic-bezier(.2,.7,.2,1) both; }
  .heros__texte p { animation-delay: .08s; }
  .heros__actions { animation-delay: .16s; }
  .heros__grand { animation: eclore .8s cubic-bezier(.2,.8,.2,1) .1s both; }
  .heros__petit { animation: eclore .8s cubic-bezier(.2,.8,.2,1) .25s both; }
  .heros__pastille { animation: tamponner .5s cubic-bezier(.3,1.5,.5,1) .7s both; }
}
@keyframes lever { from { opacity: 0; transform: translateY(22px); } }
@keyframes eclore { from { opacity: 0; transform: scale(.86) rotate(-6deg); } }
@keyframes tamponner { from { opacity: 0; transform: rotate(-9deg) scale(1.6); } }

/* ---------- Preuves ---------- */
.preuves { padding-block: 64px 28px; }
.preuves ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.preuves li { padding: 4px 28px; border-left: 1px solid var(--trait); }
.preuves li:first-child { border-left: 0; padding-left: 0; }
.preuves strong { display: block; font-family: var(--titre); font-weight: 400; font-size: 21px; line-height: 1.15; }
.preuves span { display: block; margin-top: 6px; font-size: 15px; color: var(--reglisse-doux); line-height: 1.4; }

/* ---------- Sections ---------- */
.zone { padding-block: 84px; }
.zone__tete { display: flex; align-items: end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 36px; }
.zone__tete h2 { font-size: clamp(34px, 4.2vw, 56px); max-width: 16em; }
.zone__tete p { max-width: 34em; color: var(--reglisse-doux); margin-top: 14px; }

/* ---------- Familles ---------- */
.familles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.famille {
  --c: var(--gourmande);
  position: relative; display: block; min-height: 470px; padding: 28px 26px; border-radius: 26px; overflow: hidden;
  background: color-mix(in srgb, var(--c) 20%, var(--sucre)); text-decoration: none;
  transition: background-color .2s;
}
.famille:hover { background: color-mix(in srgb, var(--c) 30%, var(--sucre)); }
.famille[data-fam="fruitee"] { --c: var(--fruitee); }
.famille[data-fam="florale"] { --c: var(--florale); }
.famille[data-fam="fraiche"] { --c: var(--fraiche); }
.famille h3 { font-size: 38px; color: color-mix(in srgb, var(--c) 62%, var(--reglisse)); }
.famille__senteurs { margin-top: 10px; font-size: 15.5px; line-height: 1.45; }
.famille__nombre { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.famille__photo { position: absolute; left: 50%; bottom: -17%; width: 92%; transform: translateX(-50%) rotate(-6deg); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.famille:hover .famille__photo { transform: translateX(-50%) rotate(4deg) scale(1.03); }
.famille__photo.feston { background: color-mix(in srgb, var(--c) 55%, var(--sucre)); }

/* ---------- Cartes produit ---------- */
.grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 22px; }
.carte { --c: var(--gourmande); display: flex; flex-direction: column; }
.carte[data-fam="fruitee"] { --c: var(--fruitee); }
.carte[data-fam="florale"] { --c: var(--florale); }
.carte[data-fam="fraiche"] { --c: var(--fraiche); }
.carte__photo { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--dragee-pale); }
.carte__photo img { width: 100%; height: 100%; object-fit: cover; }
.carte__photo .autre { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; }
.carte:hover .carte__photo .autre { opacity: 1; }
.carte__fam { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: color-mix(in srgb, var(--c) 70%, var(--reglisse)); }
.carte__fam i { width: 11px; height: 11px; border-radius: 50%; background: var(--c); }
.carte h3 { font-size: 22px; margin-top: 6px; line-height: 1.12; }
.carte h3 a { text-decoration: none; }
.carte h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.carte__detail { margin-top: 6px; font-size: 15px; color: var(--reglisse-doux); }
.carte__prix { margin-top: 4px; font-weight: 600; font-size: 16px; }
.carte__prix:has(+ .carte__ajout) { margin-bottom: 14px; }
.carte__ajout {
  margin-top: auto; align-self: flex-start; min-height: 42px; padding: 0 18px; border-radius: 999px;
  border: 2px solid currentColor; background: transparent; font-weight: 600; font-size: 14.5px;
  transition: background-color .15s, color .15s;
}
.carte__ajout:hover { background: var(--reglisse); color: var(--sucre); border-color: var(--reglisse); }

/* ---------- Zone Halloween ---------- */
.nuit { --lambrequin: var(--reglisse); background: var(--reglisse); color: var(--sucre); }
.nuit .zone__tete h2 { color: var(--citrouille); }
.nuit .zone__tete p { color: #e9d9d1; }
.nuit .carte__photo { background: #3b2820; }
.nuit .carte__detail { color: #d9c4ba; }
.nuit .carte__ajout:hover { background: var(--citrouille); border-color: var(--citrouille); color: #fff; }
.nuit h3.sous-titre { font-size: 28px; margin: 60px 0 26px; color: var(--dragee); }

/* ---------- Formats ---------- */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.format { text-decoration: none; display: block; }
.format img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.format h3 { font-size: 24px; margin-top: 16px; }
.format__mesure { font-weight: 600; margin-top: 4px; }
.format__usage { color: var(--reglisse-doux); font-size: 15.5px; margin-top: 4px; }

/* ---------- Mode d'emploi ---------- */
.emploi { background: var(--dragee-pale); }
.emploi .enveloppe { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.emploi img { border-radius: 26px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.emploi h2 { font-size: clamp(34px, 4.2vw, 56px); }
.etapes { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: etape; }
.etapes li { counter-increment: etape; display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid #ecd0c5; }
.etapes li::before { content: counter(etape); font-family: var(--titre); font-size: 40px; line-height: .95; color: var(--citrouille); }
.etapes strong { display: block; font-size: 18px; }
.etapes span { display: block; color: var(--reglisse-doux); margin-top: 2px; }

/* ---------- Sur mesure ---------- */
.mesure { --lambrequin: var(--dragee); background: var(--dragee); }
.mesure .enveloppe { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.mesure h2 { font-size: clamp(38px, 5.4vw, 76px); }
.mesure p { max-width: 33em; margin-top: 22px; font-size: 18.5px; }
.mesure__occasions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; padding: 0; list-style: none; }
.mesure__occasions li { padding: 8px 16px; border-radius: 999px; background: var(--sucre); font-weight: 500; font-size: 15px; }
.mesure__photo { width: 100%; max-width: 420px; justify-self: end; transform: rotate(4deg); }

/* ---------- Atelier ---------- */
.atelier { padding-top: 124px; }
.atelier .enveloppe { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.atelier img { border-radius: 26px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.atelier blockquote { margin: 0; font-family: var(--titre); font-size: clamp(27px, 3.1vw, 42px); line-height: 1.14; }
.atelier__suite { margin-top: 26px; max-width: 34em; color: var(--reglisse-doux); }
.atelier__signature { margin-top: 22px; font-weight: 600; }

/* ---------- Lettre ---------- */
.lettre { background: var(--reglisse); color: var(--sucre); }
.lettre .enveloppe { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-block: 72px; }
.lettre h2 { font-size: clamp(32px, 4vw, 52px); }
.lettre p { margin-top: 14px; color: #e9d9d1; max-width: 28em; }
.lettre form { display: flex; gap: 10px; }
.lettre input { flex: 1; min-width: 0; min-height: 54px; padding: 0 22px; border-radius: 999px; border: 2px solid #6b554b; background: transparent; color: var(--sucre); font-size: 16px; }
.lettre input::placeholder { color: #c2aca2; }
.lettre .bouton { background: var(--citrouille); border-color: var(--citrouille); min-height: 54px; }
.lettre .bouton:hover { background: var(--citrouille-fonce); border-color: var(--citrouille-fonce); }
.lettre small { display: block; margin-top: 12px; color: #c2aca2; font-size: 13.5px; }

/* ---------- Pied ---------- */
.pied { background: var(--reglisse); color: #e9d9d1; border-top: 1px solid #4a372f; font-size: 15.5px; }
.pied .enveloppe { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: 56px 44px; }
.pied h3 { font-family: var(--texte); font-weight: 600; font-size: 15.5px; color: var(--sucre); margin-bottom: 14px; letter-spacing: 0; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pied .marque__nom { color: var(--sucre); font-size: 28px; }
.pied__adresse { margin-top: 14px; line-height: 1.5; }
.mention-demo { background: #1c110d; color: #b9a399; text-align: center; padding: 18px 16px; font-size: 13.5px; line-height: 1.5; }
.mention-demo a { color: #e9d9d1; }

/* ---------- Panier ---------- */
.voile { position: fixed; inset: 0; z-index: 60; background: rgba(42, 27, 22, .5); opacity: 0; transition: opacity .2s; }
.voile.ouvert { opacity: 1; }
.panier {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--sucre);
  transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.panier.ouvert { transform: none; }
.panier__tete { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--trait); }
.panier__tete h2 { font-size: 28px; }
.panier__jauge { padding: 18px 24px; background: var(--dragee-pale); font-size: 15px; }
.panier__jauge b { font-weight: 600; }
.jauge { height: 10px; margin-top: 10px; border-radius: 5px; background: #f0cdc1; overflow: hidden; }
.jauge i { display: block; height: 100%; border-radius: 5px; background: var(--citrouille); transition: width .35s; }
.panier__lignes { flex: 1; overflow-y: auto; padding: 8px 24px; }
.ligne { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--trait); align-items: start; }
.ligne img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; }
.ligne__nom { font-family: var(--titre); font-size: 18px; line-height: 1.15; }
.ligne__format { font-size: 14px; color: var(--reglisse-doux); margin-top: 2px; }
.ligne__prix { font-weight: 600; white-space: nowrap; }
.quantite { display: inline-flex; align-items: center; margin-top: 10px; border: 1.5px solid var(--reglisse); border-radius: 999px; }
.quantite button { width: 34px; height: 34px; border: 0; background: transparent; font-size: 18px; line-height: 1; border-radius: 50%; }
.quantite button:hover { background: var(--dragee-pale); }
.quantite output { min-width: 24px; text-align: center; font-weight: 600; font-size: 15px; }
.panier__retrait { margin: 0 24px; padding: 12px 0 14px; font-size: 14px; line-height: 1.4; color: var(--reglisse-doux); border-top: 1px solid var(--trait); }
.panier__vide { padding: 48px 8px; text-align: center; }
.panier__vide p { color: var(--reglisse-doux); margin: 10px 0 24px; }
.panier__pied { padding: 20px 24px 24px; border-top: 1px solid var(--trait); }
.panier__total { display: flex; justify-content: space-between; font-weight: 600; font-size: 18px; margin-bottom: 4px; }
.panier__pied small { display: block; color: var(--reglisse-doux); font-size: 14px; margin-bottom: 16px; }

.annonce {
  position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 20px);
  max-width: min(92vw, 460px); padding: 14px 22px; border-radius: 999px;
  background: var(--reglisse); color: var(--sucre); font-weight: 500; font-size: 15px; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.annonce.visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Menu mobile ---------- */
.tiroir { position: fixed; inset: 0; z-index: 80; background: var(--sucre); padding: 20px var(--gouttiere) 32px; overflow-y: auto; }
.tiroir__tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.tiroir nav { display: grid; }
.tiroir nav a { font-family: var(--titre); font-size: 32px; text-decoration: none; padding: 13px 0; border-bottom: 1px solid var(--trait); }
.tiroir nav a.saison { color: var(--citrouille-fonce); }

/* ---------- Boutique ---------- */
.rayon { background: var(--dragee-pale); --lambrequin: var(--dragee-pale); }
.rayon .enveloppe { padding-block: 56px 60px; }
.rayon h1 { font-size: clamp(42px, 6vw, 84px); }
.rayon p { max-width: 36em; margin-top: 16px; font-size: 18px; color: var(--reglisse-doux); }
.filtres { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-block: 56px 30px; }
.filtres__groupe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filtres__titre { font-size: 14.5px; font-weight: 600; margin-right: 6px; }
.puce {
  --c: var(--reglisse);
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border: 1.5px solid var(--trait); border-radius: 999px; background: #fff; font-weight: 500; font-size: 15px;
}
.puce i { width: 11px; height: 11px; border-radius: 50%; background: var(--c); }
.puce:hover { border-color: var(--reglisse); }
.puce[aria-pressed="true"] { background: var(--reglisse); border-color: var(--reglisse); color: var(--sucre); }
.rayon__compte { font-size: 15px; color: var(--reglisse-doux); padding-bottom: 22px; }
.rayon__vide { padding: 40px 0 80px; }

/* ---------- Fiche senteur ---------- */
.fil { font-size: 14.5px; color: var(--reglisse-doux); padding-block: 22px 0; }
.fil a { text-underline-offset: 4px; }
.fiche { --c: var(--gourmande); display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; padding-block: 26px 88px; align-items: start; }
.fiche[data-fam="fruitee"] { --c: var(--fruitee); }
.fiche[data-fam="florale"] { --c: var(--florale); }
.fiche[data-fam="fraiche"] { --c: var(--fraiche); }
.galerie { position: sticky; top: 100px; }
.galerie__grande { aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--dragee-pale); }
.galerie__grande img { width: 100%; height: 100%; object-fit: cover; }
.galerie__vignettes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.galerie__vignettes button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: none; aspect-ratio: 1; }
.galerie__vignettes button[aria-pressed="true"] { border-color: var(--reglisse); }
.galerie__vignettes img { width: 100%; height: 100%; object-fit: cover; }

.fiche__fam { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; text-decoration: none;
  background: color-mix(in srgb, var(--c) 18%, var(--sucre)); color: color-mix(in srgb, var(--c) 66%, var(--reglisse)); }
.fiche__fam i { width: 11px; height: 11px; border-radius: 50%; background: var(--c); }
.fiche h1 { font-size: clamp(42px, 5.2vw, 72px); margin-top: 16px; }
.fiche__desc { margin-top: 18px; font-size: 17.5px; color: var(--reglisse-doux); max-width: 34em; }

.pyramide { margin-top: 30px; display: grid; gap: 5px; max-width: 520px; }
.pyramide div { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: baseline; padding: 13px 18px; border-radius: 8px; }
.pyramide div:nth-child(1) { background: color-mix(in srgb, var(--c) 13%, var(--sucre)); width: 78%; border-radius: 20px 20px 8px 8px; }
.pyramide div:nth-child(2) { background: color-mix(in srgb, var(--c) 25%, var(--sucre)); width: 89%; }
.pyramide div:nth-child(3) { background: color-mix(in srgb, var(--c) 40%, var(--sucre)); border-radius: 8px 8px 20px 20px; }
.pyramide dt { font-family: var(--titre); font-size: 18px; }
.pyramide dd { margin: 0; font-size: 15.5px; line-height: 1.35; }

.choix { border: 0; margin: 36px 0 0; padding: 0; }
.choix legend { font-weight: 600; font-size: 16px; padding: 0; margin-bottom: 12px; }
.choix__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choix label {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline;
  padding: 14px 18px; border: 1.5px solid var(--trait); border-radius: 14px; background: #fff; cursor: pointer;
}
.choix label:hover { border-color: var(--reglisse-doux); }
.choix input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choix label:has(input:checked) { border-color: var(--reglisse); box-shadow: inset 0 0 0 1.5px var(--reglisse); background: var(--dragee-pale); }
.choix label:has(input:focus-visible) { outline: 3px solid var(--citrouille); outline-offset: 3px; }
.choix__nom { font-weight: 600; }
.choix__prix { font-weight: 600; }
.choix__poids { grid-column: 1 / -1; font-size: 14.5px; color: var(--reglisse-doux); }

.achat { display: flex; gap: 12px; margin-top: 22px; align-items: stretch; }
.achat .quantite { margin: 0; border-width: 2px; }
.achat .quantite button { width: 46px; height: 52px; }
.achat .quantite output { min-width: 28px; font-size: 16px; }
.achat .bouton { flex: 1; justify-content: space-between; padding: 0 26px; min-height: 56px; font-size: 17px; }
.promesses { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 7px; font-size: 15px; color: var(--reglisse-doux); }
.promesses li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.promesses svg { width: 18px; height: 18px; margin-top: 3px; color: var(--c); }

.replis { margin-top: 34px; border-top: 1px solid var(--trait); }
.replis details { border-bottom: 1px solid var(--trait); }
.replis summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
.replis summary::-webkit-details-marker { display: none; }
.replis summary::after { content: "+"; font-family: var(--titre); font-size: 26px; line-height: .8; }
.replis details[open] summary::after { content: "–"; }
.replis details > div { padding: 0 0 20px; color: var(--reglisse-doux); max-width: 36em; }
.replis ol, .replis ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

.barre-achat { display: none; }

/* ---------- Invitation au kit (accueil) ---------- */
.invite { padding-block: 0 84px; }
.invite .enveloppe > div { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 56px 60px; border-radius: 32px; background: var(--dragee); overflow: hidden; }
.invite h2 { font-size: clamp(34px, 4.4vw, 60px); }
.invite p { max-width: 30em; margin: 18px 0 28px; font-size: 18.5px; }
.invite__photos { position: relative; aspect-ratio: 1.5; }
.invite__photos .feston { position: absolute; }
.invite__photos .feston:nth-child(1) { width: 50%; left: 0; top: 16%; transform: rotate(-8deg); }
.invite__photos .feston:nth-child(2) { width: 56%; left: 26%; top: 0; z-index: 1; }
.invite__photos .feston:nth-child(3) { width: 46%; right: 0; top: 28%; transform: rotate(9deg); }

/* ---------- Composeur de kit ---------- */
.kit { padding-block: 64px 104px; scroll-margin-top: 90px; }
.kit-question { max-width: 980px; margin-inline: auto; }
.kit-avance { font-weight: 600; font-size: 15px; color: var(--reglisse-doux); }
.kit-barre { height: 8px; margin: 10px 0 34px; border-radius: 4px; background: var(--dragee-pale); overflow: hidden; }
.kit-barre i { display: block; height: 100%; border-radius: 4px; background: var(--citrouille); transition: width .35s cubic-bezier(.2,.8,.2,1); }
.kit h2 { font-size: clamp(32px, 4.4vw, 58px); outline: none; }
.kit-aide { margin-top: 14px; max-width: 38em; font-size: 18px; color: var(--reglisse-doux); }

.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.options--deux { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
.options--quatre { grid-template-columns: repeat(4, 1fr); }
.option {
  --c: var(--reglisse);
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left;
  padding: 22px 22px 24px; border: 2px solid var(--trait); border-radius: 24px; background: #fff;
  transition: border-color .15s, background-color .15s, transform .15s;
}
.option:hover { border-color: var(--reglisse); transform: translateY(-3px); }
.option[aria-pressed="true"] { border-color: var(--reglisse); background: var(--dragee-pale); box-shadow: inset 0 0 0 1.5px var(--reglisse); }
.option__photo { width: 62%; max-width: 190px; margin: 0 0 14px -6px; background: var(--dragee); }
.option__titre { font-family: var(--titre); font-size: 25px; line-height: 1.1; }
.option__texte { font-size: 15.5px; line-height: 1.45; color: var(--reglisse-doux); }
.option--famille { background: color-mix(in srgb, var(--c) 14%, var(--sucre)); border-color: transparent; }
.option--famille .option__titre { color: color-mix(in srgb, var(--c) 62%, var(--reglisse)); }
.option--famille .option__photo { background: color-mix(in srgb, var(--c) 50%, var(--sucre)); }
.option--famille[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 30%, var(--sucre)); border-color: color-mix(in srgb, var(--c) 62%, var(--reglisse)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 62%, var(--reglisse)); }

.kit-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 40px; }
.bouton[disabled] { opacity: .38; cursor: not-allowed; }
.kit-nombre { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 34px; }
.kit-nombre p { font-size: 18px; max-width: 26em; }
.quantite--grande { border-width: 2px; }
.quantite--grande button { width: 64px; height: 72px; font-size: 28px; }
.quantite--grande button[disabled] { opacity: .3; cursor: not-allowed; }
.quantite--grande output { min-width: 62px; font-family: var(--titre); font-size: 44px; font-weight: 400; }

.kit-resultat { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.kit-lignes { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--trait); }
.kit-ligne { --c: var(--reglisse-doux); display: grid; grid-template-columns: 96px 1fr auto 76px; grid-template-areas: "photo texte quantite prix" "photo texte retirer retirer"; gap: 4px 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--trait); }
.kit-ligne[data-fam="gourmande"] { --c: var(--gourmande); }
.kit-ligne[data-fam="fruitee"] { --c: var(--fruitee); }
.kit-ligne[data-fam="florale"] { --c: var(--florale); }
.kit-ligne[data-fam="fraiche"] { --c: var(--fraiche); }
.kit-ligne img { grid-area: photo; width: 96px; height: 96px; border-radius: 12px; object-fit: cover; }
.kit-ligne__texte { grid-area: texte; min-width: 0; }
.kit-ligne .carte__fam { margin-top: 0; }
.kit-ligne__role { font-size: 13.5px; font-weight: 600; color: var(--reglisse-doux); }
.kit-ligne__choix { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.kit-ligne select {
  min-height: 44px; max-width: 100%; padding: 0 38px 0 14px; border: 1.5px solid var(--trait); border-radius: 12px; background-color: #fff; font-weight: 500; font-size: 15.5px;
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.500 6 6.500l5-5' fill='none' stroke='%232a1b16' stroke-width='1.800' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
.kit-ligne select:hover { border-color: var(--reglisse); }
.kit-ligne select[data-senteur-ligne], .kit-ligne select[data-extra-ligne] { font-family: var(--titre); font-weight: 400; font-size: 18px; }
.kit-ligne .quantite { grid-area: quantite; margin: 0; }
.kit-ligne__prix { grid-area: prix; text-align: right; font-weight: 600; font-size: 17px; white-space: nowrap; }
.kit-ligne__retirer { grid-area: retirer; justify-self: end; padding: 4px 0; border: 0; background: none; font-size: 14px; color: var(--reglisse-doux); text-decoration: underline; text-underline-offset: 4px; }
.kit-ligne__retirer:hover { color: var(--reglisse); }
.kit-ajouts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.kit-ajouts .bouton { min-height: 46px; padding: 0 20px; font-size: 15px; }
.kit-vide { margin-top: 30px; color: var(--reglisse-doux); }

.kit-bilan { position: sticky; top: 104px; padding: 28px; border-radius: 26px; background: var(--dragee-pale); }
.kit-bilan__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.kit-bilan__total span { font-weight: 600; }
.kit-bilan__total strong { font-family: var(--titre); font-weight: 400; font-size: 44px; line-height: 1; }
.kit-bilan__jauge { margin-top: 18px; font-size: 15px; }
.kit-bilan .jauge { margin-bottom: 22px; }
.kit-bilan__note { margin-top: 16px; font-size: 14.5px; line-height: 1.45; color: var(--reglisse-doux); }
.kit-recommencer { display: block; margin: 18px auto 0; padding: 4px; border: 0; background: none; font-size: 14.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Composeur : choix des senteurs, kits prêts, complément ---------- */
.kit-atelier { margin-top: 26px; }
.kit-atelier .bouton { min-height: 46px; padding: 0 20px; font-size: 15px; }
.options--senteurs { grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.option--senteur { position: relative; padding: 10px 10px 16px; border-radius: 20px; gap: 3px; }
.option--senteur img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 8px; }
.option--senteur .option__titre { font-size: 20px; padding-inline: 6px; }
.option--senteur .option__texte { font-size: 14.5px; padding-inline: 6px; }
.option--senteur[aria-pressed="true"] { background: color-mix(in srgb, var(--c) 18%, var(--sucre)); border-color: color-mix(in srgb, var(--c) 62%, var(--reglisse)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 62%, var(--reglisse)); }
.option--senteur[aria-pressed="true"]::after {
  content: ""; position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--reglisse) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23fffcf9' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.option[disabled] { opacity: .38; cursor: not-allowed; }
.option[disabled]:hover { border-color: var(--trait); transform: none; }
.kit-resume { margin-top: 24px; font-size: 17.5px; }
.kit-resume b { font-weight: 600; }

.prets { margin-top: 88px; padding-top: 68px; border-top: 1px solid var(--trait); }
.prets h2 { font-size: clamp(30px, 3.8vw, 48px); }
.prets__grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.pret { display: flex; flex-direction: column; padding: 16px 16px 20px; border: 1.5px solid var(--trait); border-radius: 24px; background: #fff; }
.pret__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 18px; }
.pret__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.pret h3 { font-size: 25px; padding-inline: 4px; }
.pret__texte { margin-top: 8px; padding-inline: 4px; font-size: 15px; line-height: 1.45; color: var(--reglisse-doux); }
.pret__contenu { list-style: none; margin: 14px 0 18px; padding: 14px 4px 0; border-top: 1px solid var(--trait); display: grid; gap: 4px; font-size: 14.5px; line-height: 1.35; }
.pret__prix { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-inline: 4px; }
.pret__prix strong { font-family: var(--titre); font-weight: 400; font-size: 30px; }
.pret__offerte { padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--fraiche) 24%, var(--sucre)); color: color-mix(in srgb, var(--fraiche) 55%, var(--reglisse)); font-size: 13px; font-weight: 600; white-space: nowrap; }
.pret__actions { display: grid; gap: 8px; margin-top: 16px; }
.pret__actions .bouton { min-height: 46px; padding: 0 14px; font-size: 15px; }

.pouce { margin-top: 36px; padding: 28px 30px 30px; border-radius: 24px; background: color-mix(in srgb, var(--citrouille) 11%, var(--sucre)); }
.pouce h3 { font-size: 27px; }
.pouce > p { margin-top: 10px; max-width: 36em; }
.pouce ul { list-style: none; margin: 16px 0 22px; padding: 0; max-width: 520px; }
.pouce li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--citrouille) 28%, var(--sucre)); }
.pouce li b { font-weight: 600; white-space: nowrap; }
.pouce .pouce__retrait { margin-top: 18px; font-size: 14.5px; color: var(--reglisse-doux); }
.kit-ligne__notes { margin-top: 7px; font-size: 14px; color: var(--reglisse-doux); }
.kit-ligne__nom { font-family: var(--titre); font-size: 19px; line-height: 1.15; }
.kit-bilan__note + .kit-bilan__note { margin-top: 8px; }

/* ---------- Retrait à l'atelier ---------- */
.retrait { padding-bottom: 0; scroll-margin-top: 80px; }
.retrait .enveloppe { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.retrait h2 { font-size: clamp(32px, 4vw, 54px); }
.retrait__intro { margin-top: 18px; max-width: 32em; font-size: 18.5px; }
.retrait .etapes { margin-top: 26px; }
.retrait .etapes li { border-top-color: var(--trait); }
.retrait iframe { width: 100%; aspect-ratio: 1; border: 0; border-radius: 26px; background: var(--dragee-pale); }

/* ---------- Adaptation ---------- */
@media (max-width: 1180px) {
  .menu { display: none; }
  .outil--menu { display: grid; }
  .outils { margin-left: auto; }
  .grille { grid-template-columns: repeat(3, 1fr); }
  .prets__grille { grid-template-columns: repeat(2, 1fr); }
  .options--senteurs { grid-template-columns: repeat(3, 1fr); }
  .familles { grid-template-columns: repeat(2, 1fr); }
  .famille { min-height: 330px; }
  .famille__photo { width: 54%; left: auto; right: -6%; bottom: -16%; transform: rotate(-6deg); }
  .famille:hover .famille__photo { transform: rotate(4deg) scale(1.03); }
}

@media (max-width: 860px) {
  :root { --gouttiere: 18px; }
  body { font-size: 16.5px; }
  .bandeau { font-size: 13px; }
  .bandeau .enveloppe { flex-direction: column; align-items: center; gap: 2px; text-align: center; padding-block: 7px; }
  .entete .enveloppe { min-height: 66px; gap: 12px; }
  .marque__nom { font-size: 21px; }
  .marque__metier { display: none; }

  .heros .enveloppe { grid-template-columns: 1fr; gap: 32px; padding-block: 40px 44px; }
  .heros__texte p { font-size: 17.5px; }
  .heros__actions { flex-direction: column; align-items: stretch; }
  .heros__actions .lien { text-align: center; padding: 6px; }
  .heros__vitrine { max-width: 460px; width: 100%; margin-inline: auto; }

  .preuves { padding-block: 48px 8px; }
  .preuves ul { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .preuves li { padding: 0 18px; }
  .preuves li:nth-child(odd) { border-left: 0; padding-left: 0; }

  .zone { padding-block: 60px; }
  .zone__tete { margin-bottom: 26px; }
  .grille { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .carte h3 { font-size: 19px; }
  .formats { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .format h3 { font-size: 21px; }

  .emploi .enveloppe, .mesure .enveloppe, .atelier .enveloppe, .lettre .enveloppe { grid-template-columns: 1fr; gap: 36px; }
  .mesure__photo { justify-self: center; max-width: 300px; }
  .atelier img { aspect-ratio: 1; }
  .lettre .enveloppe { padding-block: 56px; }
  .lettre form { flex-direction: column; }
  .pied .enveloppe { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .pied .enveloppe > :first-child { grid-column: 1 / -1; }

  .filtres { padding-block: 44px 22px; }
  .fiche { grid-template-columns: 1fr; gap: 28px; padding-block: 16px 120px; }
  .galerie { position: static; }
  .choix__liste { grid-template-columns: 1fr; }
  .pyramide div:nth-child(1) { width: 86%; }
  .pyramide div:nth-child(2) { width: 93%; }

  .invite { padding-block: 0 60px; }
  .invite .enveloppe > div { grid-template-columns: 1fr; gap: 28px; padding: 36px 24px 30px; border-radius: 26px; }
  .invite p { font-size: 17px; margin: 14px 0 22px; }
  .invite__photos { max-width: 380px; width: 100%; margin-inline: auto; }

  .kit { padding-block: 44px 80px; }
  .options.options--senteurs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .option--senteur { display: flex; padding: 8px 8px 14px; }
  .option--senteur .option__titre { font-size: 18px; align-self: auto; }
  .option--senteur[aria-pressed="true"]::after { top: 14px; right: 14px; width: 30px; height: 30px; }
  .prets { margin-top: 60px; padding-top: 48px; }
  .prets__grille { grid-template-columns: 1fr; }
  .pouce { padding: 22px 20px 24px; }
  .pouce .bouton { width: 100%; white-space: normal; text-align: center; padding-block: 12px; }
  .retrait .enveloppe { grid-template-columns: 1fr; gap: 32px; }
  .retrait iframe { aspect-ratio: 4 / 3; }
  .options, .options--deux { grid-template-columns: 1fr; margin-top: 26px; }
  .options--quatre { grid-template-columns: 1fr 1fr; }
  .option { display: grid; grid-template-columns: 84px 1fr; gap: 2px 16px; align-items: center; padding: 16px 18px; border-radius: 20px; }
  .option__photo { grid-row: 1 / span 2; width: 84px; margin: 0; }
  .option:not(:has(.option__photo)) { grid-template-columns: 1fr; }
  .option__titre { font-size: 22px; align-self: end; }
  .option__texte { align-self: start; }
  .option--famille { display: flex; }
  .option--famille .option__photo { width: 70%; margin-bottom: 10px; }
  .kit-actions { flex-direction: column-reverse; align-items: stretch; }
  .kit-actions > span:empty { display: none; }
  .kit-resultat { grid-template-columns: 1fr; gap: 32px; }
  .kit-ligne { grid-template-columns: 72px 1fr auto; grid-template-areas: "photo texte texte" "photo quantite prix" "retirer retirer retirer"; gap: 10px 14px; }
  .kit-ligne img { width: 72px; height: 72px; align-self: start; }
  .kit-ligne .quantite { justify-self: start; }
  .kit-ligne select { width: 100%; }
  .kit-ligne__choix { flex-direction: column; }
  .kit-ajouts .bouton { width: 100%; }
  .kit-bilan { position: static; }

  .barre-achat {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 12px; align-items: center;
    padding: 12px var(--gouttiere) calc(12px + env(safe-area-inset-bottom)); background: var(--sucre); border-top: 1px solid var(--trait);
    transform: translateY(110%); transition: transform .25s;
  }
  .barre-achat.visible { transform: none; }
  .barre-achat div { flex: 1; min-width: 0; line-height: 1.2; }
  .barre-achat strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .barre-achat span { font-size: 14px; color: var(--reglisse-doux); }
  .barre-achat .bouton { min-height: 48px; padding: 0 20px; }
}

@media (max-width: 520px) {
  .outil--second { display: none; }
  .familles { grid-template-columns: 1fr; }
  .famille { min-height: 220px; }
  .famille h3 { font-size: 32px; }
  .famille__senteurs { max-width: 58%; }
  .famille__photo { width: 46%; right: -5%; bottom: -22%; }
  .pied .enveloppe { grid-template-columns: 1fr; }
}

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