/* ==========================================================================
   Maison Pernet Event — Feuille de style principale
   --------------------------------------------------------------------------
   Sommaire
   1. Variables (charte graphique)       8. Catalogue
   2. Base & typographie                 9. Sélection (tiroir)
   3. Utilitaires & animations          10. Formulaire de devis
   4. En-tête & navigation              11. Calendrier
   5. Hero                              12. Pied de page
   6. Sections & composants communs     13. Responsive
   7. Accueil (étapes, offres…)
   ========================================================================== */

/* 1. VARIABLES ------------------------------------------------------------ */
:root {
  /* Couleurs issues de la charte Maison Pernet */
  --c-black:   #1c1b1b;   /* fond logo / brochure */
  --c-black-2: #262424;
  --c-ink:     #2b2929;   /* texte courant */
  --c-yellow:  #f5b40f;   /* filet & bandeaux */
  --c-lime:    #a8c41f;   /* bouteille */
  --c-magenta: #b3317c;   /* verre à vin & bulles */
  --c-taupe:   #a39488;   /* tasse */
  --c-grey:    #9b9b9b;
  --c-white:   #ffffff;
  --c-cream:   #f7f4ef;   /* fonds clairs */
  --c-line:    #e6e1da;
  --c-muted:   #6f6a66;
  --c-success: #4f8a2a;
  --c-error:   #c0392b;

  /* Typographies */
  --f-display: "Rubik Dirt", "Oswald", Impact, sans-serif;   /* « Event ! » */
  --f-title:   "Oswald", "Arial Narrow", sans-serif;          /* titres */
  --f-body:    "Nunito Sans", "Segoe UI", Arial, sans-serif;  /* texte */

  /* Mise en page */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(20, 15, 10, .10);
  --shadow-lg: 0 20px 50px rgba(20, 15, 10, .18);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* 2. BASE ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-title); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--c-yellow); outline-offset: 2px; }

/* 3. UTILITAIRES ---------------------------------------------------------- */
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--c-yellow); color: var(--c-black); padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }

/* Animation d'apparition (déclenchée par main.js) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border: 2px solid transparent; border-radius: 999px;
  font-family: var(--f-title); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-primary { background: var(--c-yellow); color: var(--c-black); box-shadow: 0 6px 18px rgba(245, 180, 15, .35); }
.btn-primary:hover { background: #ffc426; }
.btn-dark { background: var(--c-black); color: var(--c-white); }
.btn-dark:hover { background: var(--c-black-2); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: var(--c-white); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: .55em 1.1em; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* Pastille couleur (rappel des carrés de la brochure) */
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 3px; flex: none; }
.c-white   { --accent: var(--c-white); }
.c-grey    { --accent: var(--c-grey); }
.c-taupe   { --accent: var(--c-taupe); }
.c-yellow  { --accent: var(--c-yellow); }
.c-lime    { --accent: var(--c-lime); }
.c-magenta { --accent: var(--c-magenta); }
.swatch { background: var(--accent, var(--c-yellow)); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }

.tag {
  display: inline-block; padding: .15em .65em; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--c-cream); color: var(--c-ink);
}
.tag-dark { background: var(--c-black); color: var(--c-white); }

/* 4. EN-TÊTE -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(28, 27, 27, .96); backdrop-filter: blur(8px);
  color: var(--c-white); border-bottom: 3px solid var(--c-yellow);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; }
.brand-text { font-family: var(--f-title); line-height: 1; }
.brand-text strong { display: block; font-size: 1.25rem; font-weight: 500; letter-spacing: .04em; }
.brand-text span { font-family: var(--f-display); color: var(--c-yellow); font-size: 1.05rem; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .5em .9em; border-radius: 999px; text-decoration: none;
  font-family: var(--f-title); letter-spacing: .06em; text-transform: uppercase; font-size: .92rem;
  color: rgba(255,255,255,.85); transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--c-white); background: rgba(255,255,255,.08); }
.main-nav a[aria-current="page"] { color: var(--c-black); background: var(--c-yellow); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.selection-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: .55em 1em; border-radius: 999px; border: 2px solid rgba(255,255,255,.25);
  background: transparent; color: var(--c-white); cursor: pointer;
  font-family: var(--f-title); letter-spacing: .05em; text-transform: uppercase; font-size: .85rem;
  transition: border-color .2s;
}
.selection-toggle:hover { border-color: var(--c-yellow); }
.selection-toggle svg { width: 20px; height: 20px; }
.selection-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--c-magenta); color: var(--c-white); font-size: .78rem; line-height: 22px; text-align: center;
}
.selection-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.nav-toggle { display: none; background: none; border: 0; color: var(--c-white); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* 5. HERO ----------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 760px); display: flex; align-items: flex-end;
  color: var(--c-white); background: var(--c-black);
}
/* Photo en haut, bandeau noir en bas (comme la brochure) */
.hero-bg {
  position: absolute; inset: 0 0 auto 0; height: 70%; z-index: -2;
  background: url("../img/hero-event.jpg") center top / cover no-repeat;
  transform-origin: center top; transform: scale(1.06); animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28,27,27,.05) 0%, rgba(28,27,27,.2) 35%, rgba(28,27,27,1) 70%);
}
.hero-ribbon {
  position: absolute; top: 34px; left: -62px; transform: rotate(-38deg);
  background: var(--c-yellow); color: var(--c-black); padding: 8px 80px;
  font-family: var(--f-title); letter-spacing: .08em; text-transform: uppercase; font-size: .95rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.hero-content { padding: 140px 0 72px; }
.hero-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(4rem, 13vw, 9.5rem); line-height: .9; margin: 0; letter-spacing: .01em; }
.hero-rule { width: min(100%, 720px); height: 5px; background: var(--c-yellow); border: 0; margin: 18px 0 22px; transform-origin: left; animation: rule 1.1s .3s var(--ease) both; }
@keyframes rule { from { transform: scaleX(0); } }
.hero-lead { font-family: var(--f-title); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.2; margin: 0 0 6px; }
.hero-lead span { display: block; font-weight: 300; }
.hero-promise { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 28px; color: rgba(255,255,255,.9); }
.hero-promise svg { width: 22px; height: 22px; color: var(--c-yellow); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* En-tête des pages intérieures */
.page-hero {
  position: relative; isolation: isolate; color: var(--c-white); background: var(--c-black);
  padding: 72px 0 56px; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .28;
  background: url("../img/hero-event.jpg") center 35% / cover no-repeat;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(28,27,27,.95) 30%, rgba(28,27,27,.6));
}
.page-hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 7vw, 4.8rem); margin-bottom: .1em; }
.page-hero .hero-rule { width: min(100%, 420px); margin: 10px 0 16px; }
.page-hero p { max-width: 640px; font-size: 1.1rem; color: rgba(255,255,255,.85); margin: 0; }

/* 6. SECTIONS ------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-cream { background: var(--c-cream); }
.section-dark { background: var(--c-black); color: var(--c-white); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-family: var(--f-title); font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-magenta);
}
/* Sur fond sombre, le magenta manque de contraste : on passe au jaune */
.section-dark .eyebrow, .page-hero .eyebrow { color: var(--c-yellow); }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 3px; background: currentColor; }
.section-head p { color: var(--c-muted); font-size: 1.08rem; }
.section-dark .section-head p { color: rgba(255,255,255,.75); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px; transition: transform .3s var(--ease), box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* 7. ACCUEIL -------------------------------------------------------------- */
/* Étapes */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-family: var(--f-display); font-size: 3.2rem; line-height: 1;
  color: var(--accent, var(--c-yellow));
}
.step h3 { margin-bottom: .35em; }
.step p { color: var(--c-muted); margin: 0; }
.step-highlight { background: var(--c-black); color: var(--c-white); }
.step-highlight p { color: rgba(255,255,255,.8); }

/* Liste des publics (façon brochure) */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.audience-visual { position: relative; }
.audience-visual img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-width: 440px; margin-inline: auto; }
.audience-list { list-style: none; margin: 0; padding: 0; }
.audience-list li { border-bottom: 1px solid rgba(255,255,255,.12); }
.audience-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px;
  text-decoration: none; font-family: var(--f-title); font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase;
  transition: padding .25s var(--ease), color .2s;
}
.audience-list a:hover { padding-left: 14px; color: var(--c-yellow); }
.audience-list .swatch { width: 22px; height: 22px; }

/* Services */
.service-icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent, var(--c-yellow)); color: var(--c-black);
}
.service-icon svg { width: 28px; height: 28px; }
.card p { color: var(--c-muted); margin: 0; }

/* Offres / packs */
.offer {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-top: 6px solid var(--accent, var(--c-yellow));
}
.offer h3 { font-size: 1.5rem; }
.offer ul { list-style: none; padding: 0; margin: 12px 0 24px; flex: 1; }
.offer li { position: relative; padding: 6px 0 6px 26px; border-bottom: 1px dashed var(--c-line); }
.offer li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 10px; height: 10px; border-radius: 2px; background: var(--accent, var(--c-yellow)); }
.offer-price { font-family: var(--f-title); font-size: 1rem; color: var(--c-muted); margin-bottom: 16px; }
.offer-price strong { font-size: 2rem; color: var(--c-ink); font-weight: 500; }
.offer-featured { background: var(--c-black); color: var(--c-white); }
.offer-featured li { border-color: rgba(255,255,255,.15); }
.offer-featured .offer-price, .offer-featured p { color: rgba(255,255,255,.75); }
.offer-featured .offer-price strong { color: var(--c-yellow); }
.offer-badge { position: absolute; top: 18px; right: 18px; }

/* Partenaires */
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.partner {
  display: grid; place-items: center; text-align: center; aspect-ratio: 3 / 2; padding: 12px;
  border: 1px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-white);
  font-family: var(--f-title); letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; color: var(--c-muted);
  filter: grayscale(1); transition: filter .3s, color .3s, border-color .3s;
}
.partner:hover { filter: none; color: var(--c-ink); border-color: var(--c-yellow); }
.partner svg { width: 30px; height: 30px; margin: 0 auto 6px; color: var(--c-magenta); }

/* Bandeau d'appel à l'action */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: clamp(36px, 6vw, 64px);
  background: var(--c-black); color: var(--c-white); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(179,49,124,.6), transparent 70%);
}
.cta-band::after {
  content: ""; position: absolute; left: 30%; bottom: -90px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,196,31,.35), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin: 0 0 .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.8); }

/* Cartes événements */
.event-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 0;
  background: var(--c-black); color: var(--c-white);
}
.event-card-media {
  position: relative; aspect-ratio: 16 / 9; background: var(--c-black-2) center / cover no-repeat;
  display: grid; place-items: center;
}
.event-card-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--accent); }
.event-card-media .event-glyph { width: 76px; height: 76px; color: var(--accent); transition: transform .4s var(--ease); }
.event-card:hover .event-glyph { transform: scale(1.1) rotate(-5deg); }
.event-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.event-card-body p { color: rgba(255,255,255,.75); }
.event-card-ideas { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 22px; padding: 0; list-style: none; }
.event-card-ideas li { font-size: .78rem; padding: .25em .7em; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); }
.event-card .btn { margin-top: auto; align-self: flex-start; }

/* 8. CATALOGUE ------------------------------------------------------------ */
.catalogue-toolbar {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--c-line); padding: 16px 0;
}
.toolbar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.family-tabs { display: inline-flex; background: var(--c-cream); border-radius: 999px; padding: 4px; }
.family-tabs button {
  border: 0; background: transparent; padding: .5em 1.2em; border-radius: 999px; cursor: pointer;
  font-family: var(--f-title); letter-spacing: .06em; text-transform: uppercase; font-size: .88rem; color: var(--c-muted);
}
.family-tabs button[aria-pressed="true"] { background: var(--c-black); color: var(--c-white); }
.search-field { position: relative; margin-left: auto; flex: 0 1 300px; }
.search-field svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--c-muted); }
.search-field input {
  width: 100%; padding: .7em 1em .7em 2.6em; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-white);
}
.category-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 2px; scrollbar-width: thin; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; flex: none; padding: .45em 1em; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--c-line); background: var(--c-white); font-size: .88rem; white-space: nowrap; transition: border-color .2s, background .2s;
}
.chip:hover { border-color: var(--c-ink); }
.chip[aria-pressed="true"] { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.chip .swatch { width: 10px; height: 10px; }

.catalogue-meta { display: flex; justify-content: space-between; align-items: center; margin: 28px 0 16px; color: var(--c-muted); font-size: .95rem; }
.catalogue-group-title { display: flex; align-items: center; gap: 12px; margin: 40px 0 18px; font-size: 1.5rem; }
#catalogue-results > section:first-child .catalogue-group-title { margin-top: 0; }
.catalogue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }

.product {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  background: var(--c-white); border: 1px solid var(--c-line); transition: box-shadow .3s, transform .3s var(--ease), border-color .3s;
}
.product:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product.is-selected { border-color: var(--c-lime); box-shadow: 0 0 0 2px var(--c-lime); }
.product-media {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 120%, var(--accent) -40%, var(--c-black) 70%);
  color: var(--accent);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media svg { width: 72px; height: 72px; transition: transform .4s var(--ease); }
.product:hover .product-media svg { transform: scale(1.1) rotate(-4deg); }
.product-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.product-check {
  position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c-lime); color: var(--c-black);
  transform: scale(0); transition: transform .3s var(--ease);
}
.product-check svg { width: 18px; height: 18px; }
.product.is-selected .product-check { transform: scale(1); }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 4px; }
.product h3 { font-size: 1.15rem; margin-bottom: .3em; }
.product-desc { color: var(--c-muted); font-size: .92rem; flex: 1; }
.product-price { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 6px 0 14px; font-size: .85rem; color: var(--c-muted); }
.product-price strong { font-family: var(--f-title); font-weight: 500; font-size: 1.25rem; color: var(--c-ink); }
/* Curseur de budget (devis) */
.budget-slider { display: grid; gap: 10px; }
.budget-out { font-family: var(--f-title); font-size: 1.25rem; color: var(--c-ink); }
.budget-slider input[type="range"] { width: 100%; accent-color: var(--c-magenta); cursor: pointer; }
.budget-slider input[type="range"]:disabled { opacity: .4; cursor: not-allowed; }
.budget-ends { display: flex; justify-content: space-between; font-size: .8rem; color: var(--c-muted); }
.budget-unknown { margin-top: 10px; }

/* Indication de budget : discrète, sans signe monétaire */
.budget { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--c-muted); white-space: nowrap; }
.budget .dots { display: inline-flex; gap: 3px; }
.budget .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-line); }
.budget .dots i.on { background: var(--c-taupe); }
.product-price .budget { font-size: .85rem; }
.product-actions { display: flex; gap: 10px; align-items: center; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: 999px; overflow: hidden; flex: none; }
.qty button { width: 34px; height: 38px; border: 0; background: var(--c-cream); cursor: pointer; font-size: 1.1rem; }
.qty button:hover { background: var(--c-line); }
.qty input { width: 46px; height: 38px; border: 0; text-align: center; -moz-appearance: textfield; background: var(--c-white); }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-actions .btn { flex: 1; padding-inline: .8em; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--c-muted); }
.empty-state svg { width: 56px; height: 56px; margin: 0 auto 12px; color: var(--c-line); }

/* 9. SÉLECTION (TIROIR) --------------------------------------------------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(15,12,10,.5); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--c-white); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
}
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
body.drawer-open .drawer { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; background: var(--c-black); color: var(--c-white); border-bottom: 3px solid var(--c-yellow); }
.drawer-head h2 { font-size: 1.4rem; margin: 0; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: rgba(127,127,127,.15); }
.icon-btn[disabled] { opacity: .3; cursor: default; background: transparent; }
.icon-btn svg { width: 22px; height: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--c-line); background: var(--c-cream); }
.drawer-total { display: flex; justify-content: space-between; margin-bottom: 4px; font-family: var(--f-title); font-size: 1.1rem; }
.drawer-note { font-size: .8rem; color: var(--c-muted); margin-bottom: 14px; }

.sel-list { list-style: none; margin: 0; padding: 0; }
.sel-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.sel-thumb { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--c-black); color: var(--accent); }
.sel-thumb svg { width: 24px; height: 24px; }
.sel-name { font-weight: 700; line-height: 1.25; font-size: .95rem; }
.sel-unit { font-size: .8rem; color: var(--c-muted); }
.sel-controls { display: flex; align-items: center; gap: 6px; }
.sel-controls .qty button { width: 28px; height: 30px; }
.sel-controls .qty input { width: 36px; height: 30px; font-size: .9rem; }
.sel-remove { color: var(--c-muted); width: 32px; height: 32px; }
.sel-remove:hover { color: var(--c-error); }

/* Notification « toast » */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
  background: var(--c-black); color: var(--c-white); box-shadow: var(--shadow-lg); transition: transform .4s var(--ease);
  max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 20px; height: 20px; color: var(--c-lime); flex: none; }

/* 10. FORMULAIRE DE DEVIS ------------------------------------------------- */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.quote-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 24px; }
.form-card { background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); }
fieldset { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
legend {
  display: flex; align-items: center; gap: 12px; width: 100%; padding-bottom: 10px; margin-bottom: 20px;
  border-bottom: 2px solid var(--c-cream); font-family: var(--f-title); font-size: 1.3rem;
}
legend .num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-yellow); color: var(--c-black); font-size: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .92rem; }
.field label .req { color: var(--c-magenta); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8em 1em; border-radius: var(--radius-sm); border: 1.5px solid var(--c-line); background: var(--c-white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-yellow); box-shadow: 0 0 0 4px rgba(245,180,15,.2); }
.field .hint { font-size: .8rem; color: var(--c-muted); margin-top: 4px; }
.field .error-msg { display: none; font-size: .82rem; color: var(--c-error); margin-top: 5px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--c-error); }
.field.has-error .error-msg { display: block; }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: var(--c-lime); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--c-black); flex: none; }
.honeypot { position: absolute; left: -9999px; }

.form-selection { border: 1.5px dashed var(--c-line); border-radius: var(--radius-sm); padding: 16px 18px; background: var(--c-cream); }
.form-selection-empty { color: var(--c-muted); margin: 0; }
.form-selection table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.form-selection td { padding: 6px 0; border-bottom: 1px solid var(--c-line); }
.form-selection td:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.form-selection-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form-submit p { margin: 0; font-size: .85rem; color: var(--c-muted); flex: 1; min-width: 220px; }
.form-alert { display: none; padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; background: #fdecea; color: var(--c-error); }
.form-alert.show { display: block; }

.spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Confirmation */
.confirmation { text-align: center; padding: clamp(32px, 6vw, 64px) clamp(20px, 4vw, 48px); }
.confirmation-icon {
  width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-lime); color: var(--c-black); animation: pop .6s var(--ease);
}
.confirmation-icon svg { width: 44px; height: 44px; }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.1); } }
.confirmation h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 6vw, 3.4rem); }
.confirmation .callback { display: inline-block; margin: 8px 0 24px; padding: 14px 22px; border-radius: var(--radius-sm); background: var(--c-cream); }
.confirmation .ref { font-family: var(--f-title); letter-spacing: .1em; color: var(--c-magenta); }
.payment-box { margin: 10px auto 26px; max-width: 460px; padding: 20px; border: 2px solid var(--c-yellow); border-radius: var(--radius-sm); }

.aside-card { background: var(--c-black); color: var(--c-white); border-radius: var(--radius); padding: 26px; }
.aside-card h3 { display: flex; align-items: center; gap: 10px; }
.aside-card h3 svg { width: 22px; height: 22px; color: var(--c-yellow); }
.aside-card p, .aside-card li { color: rgba(255,255,255,.8); font-size: .92rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { display: flex; gap: 10px; padding: 6px 0; }
.aside-card li svg { width: 18px; height: 18px; color: var(--c-lime); flex: none; margin-top: 3px; }
.aside-card a { color: var(--c-yellow); }

/* 11. CALENDRIER ---------------------------------------------------------- */
.calendar { background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head h3 { margin: 0; font-size: 1.2rem; text-transform: capitalize; }
.cal-head .icon-btn { width: 34px; height: 34px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); padding: 4px 0; }
.cal-day {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; border: 0; cursor: pointer; font-size: .9rem;
  background: rgba(168,196,31,.16); color: var(--c-ink); transition: transform .15s, background .2s;
}
.cal-day:hover:not([disabled]) { transform: scale(1.08); background: rgba(168,196,31,.35); }
.cal-day.is-limited { background: rgba(245,180,15,.25); }
.cal-day.is-booked { background: repeating-linear-gradient(45deg, #f0ebe5, #f0ebe5 4px, #e6e0d9 4px, #e6e0d9 8px); color: #b3aba3; text-decoration: line-through; cursor: not-allowed; }
.cal-day.is-past { background: transparent; color: #c9c2bb; cursor: default; }
.cal-day.is-today { box-shadow: inset 0 0 0 2px var(--c-ink); }
.cal-day.is-selected { background: var(--c-black) !important; color: var(--c-white); }
.cal-empty { aspect-ratio: 1; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; font-size: .78rem; color: var(--c-muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* 12. PIED DE PAGE -------------------------------------------------------- */
.site-footer { background: var(--c-black); color: rgba(255,255,255,.75); padding-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 110px; border-radius: 8px; margin-bottom: 16px; }
.site-footer h4 { color: var(--c-white); font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--c-yellow); }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2); color: var(--c-white); transition: background .2s, border-color .2s, transform .2s;
}
.social-links a:hover { background: var(--c-yellow); border-color: var(--c-yellow); color: var(--c-black); transform: translateY(-3px); }
.social-links svg { width: 18px; height: 18px; }
.footer-colors { display: flex; height: 6px; }
.footer-colors span { flex: 1; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 0; font-size: .82rem; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .legal-alcohol { text-transform: uppercase; letter-spacing: .06em; color: var(--c-white); }

/* 13. RESPONSIVE ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-aside { position: static; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .brand img { width: 46px; height: 46px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
    background: var(--c-black); border-bottom: 3px solid var(--c-yellow);
    max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
  }
  .main-nav.open { max-height: 420px; }
  .main-nav ul { flex-direction: column; padding: 12px 16px 20px; }
  .main-nav a { padding: .9em 1em; border-radius: var(--radius-sm); }
  .header-actions { margin-left: auto; }
  .header-cta { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .audience { grid-template-columns: 1fr; gap: 36px; }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .quote-aside { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .brand-text { display: none; }
  .selection-toggle .label { display: none; }
  .hero-ribbon { top: 22px; left: -78px; font-size: .78rem; }
  .hero-content { padding-top: 110px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .search-field { flex: 1 1 100%; margin-left: 0; }
  .family-tabs { width: 100%; }
  .family-tabs button { flex: 1; padding-inline: .6em; }
  .catalogue-toolbar { position: static; }
}

/* ==========================================================================
   AJOUTS : étapes du devis, bouton d'appel mobile, pages d'information,
   FAQ, calculateur de quantités
   ========================================================================== */
[hidden] { display: none !important; }

/* Étapes du formulaire de devis */
.form-steps { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 28px; font-size: .9rem; color: var(--c-muted); }
.form-steps span { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.form-steps i { width: 28px; height: 28px; border-radius: 50%; background: var(--c-cream); display: grid; place-items: center; font-style: normal; font-size: .85rem; }
.form-steps .is-current { color: var(--c-ink); }
.form-steps .is-current i { background: var(--c-yellow); }
.form-steps .is-done i { background: var(--c-lime); }
.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* Barre fixe en bas d'écran (mobile uniquement) : Appeler + Ma sélection / Demander un devis */
.mobile-bar { display: none; }
@media (max-width: 768px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--c-black); border-top: 3px solid var(--c-yellow); box-shadow: 0 -6px 18px rgba(0,0,0,.18);
  }
  .mobile-bar a, .mobile-bar button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px;
    border-radius: 999px; font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  }
  .mobile-bar svg { width: 20px; height: 20px; flex: none; }
  .mb-call { flex: 0 0 auto; background: transparent; color: var(--c-white); border: 2px solid rgba(255,255,255,.35); }
  .mb-call svg { color: var(--c-yellow); }
  .mb-main { flex: 1 1 auto; background: var(--c-yellow); color: var(--c-black); border: 0; }
  .mb-main[hidden] { display: none !important; }
  /* Page devis sans sélection : « Appeler » seul, sur toute la largeur */
  .mobile-bar:not(:has(.mb-main:not([hidden]))) .mb-call { flex: 1 1 auto; }
  .mb-sel .selection-count { position: static; background: var(--c-black); color: var(--c-white); }
  /* Pendant la saisie ou tiroir ouvert : on masque la barre */
  body.is-typing .mobile-bar, body.drawer-open .mobile-bar { display: none; }
  /* Espace sous le pied de page pour que la barre ne cache pas les derniers liens */
  .site-footer { padding-bottom: 84px; }

  /* En-tête de l'accueil : bien moins haut sur téléphone */
  .hero { min-height: 0; }
  .hero-bg { height: 210px; }
  .hero::after { background: linear-gradient(180deg, rgba(28,27,27,.05) 0, rgba(28,27,27,.25) 120px, rgba(28,27,27,1) 210px); }
  .hero-content { padding: 150px 0 36px; }
  .hero-title { font-size: clamp(3rem, 16vw, 4.4rem); }
  .hero-rule { margin: 12px 0 14px; }
  .hero-lead { font-size: 1.2rem; }
  .hero-promise { margin: 12px 0 18px; font-size: .92rem; }
}

/* En-tête : 5 liens de menu, les boutons ne passent jamais sur deux lignes */
.selection-toggle, .header-cta { white-space: nowrap; }
@media (min-width: 921px) and (max-width: 1200px) {
  .selection-toggle .label { display: none; }
  .main-nav a { padding-inline: .7em; }
}

/* Libellés et choix du formulaire */
.field-label { display: block; margin-bottom: 8px; font-weight: 700; font-size: .92rem; }
.field label .optional { font-weight: 400; color: var(--c-muted); }
.choice-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.field .pill { display: inline-flex; margin: 0; font-weight: 600; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-block; padding: .55em 1.1em; border: 2px solid var(--c-line); border-radius: 999px; background: var(--c-white); transition: border-color .15s, background .15s; }
.pill:hover span { border-color: var(--c-yellow); }
.pill input:checked + span { background: var(--c-black); border-color: var(--c-black); color: var(--c-white); }
.pill input:focus-visible + span { outline: 3px solid var(--c-yellow); outline-offset: 2px; }

/* Titre du calendrier : il sert à choisir la date de l'événement */
.cal-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.cal-title svg { width: 18px; height: 18px; color: var(--c-magenta); }

/* Encart « Calculateur de quantités » (accueil, catalogue) */
.calc-promo {
  display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: var(--radius);
  background: var(--c-yellow); color: var(--c-black); text-decoration: none; box-shadow: var(--shadow);
  transition: transform .2s var(--ease);
}
.calc-promo:hover { transform: translateY(-2px); }
.calc-promo-icon { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--c-black); color: var(--c-yellow); display: grid; place-items: center; }
.calc-promo-icon svg { width: 28px; height: 28px; }
.calc-promo-text { flex: 1; display: grid; gap: 4px; }
.calc-promo-text strong { font-family: var(--f-title); font-size: 1.25rem; font-weight: 500; }
.calc-promo-text span { font-size: .95rem; }
.calc-promo .btn { flex: none; }
.calc-promo-compact { margin: 24px 0 8px; padding: 16px 20px; }
.calc-promo-compact .calc-promo-icon { width: 44px; height: 44px; }
.calc-promo-compact .calc-promo-text strong { font-size: 1.1rem; }
@media (max-width: 640px) {
  .calc-promo { flex-wrap: wrap; gap: 14px; padding: 18px; }
  .calc-promo-text { flex: 1 1 calc(100% - 70px); }
  .calc-promo .btn { flex: 1 1 100%; justify-content: center; }
}

/* Pages d'information */
.info-prose { max-width: 800px; }
.info-prose h2 { margin-top: 2em; font-size: 1.6rem; }
.info-prose h3 { margin-top: 1.5em; font-size: 1.2rem; }
.info-prose p, .info-prose li { line-height: 1.65; }
.info-prose ul { padding-left: 1.2em; }
.info-prose .placeholder { background: #fff3c4; padding: 0 .3em; border-radius: 4px; font-weight: 700; }

/* FAQ */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--c-line); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--f-title); font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--c-muted); line-height: 1.6; }

/* Formules Pack Étudiant / Associations */
.offer ul li { font-size: .95rem; }

/* Calculateur de quantités */
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.calc-results { display: grid; gap: 14px; }
.calc-item { background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.calc-item h3 { margin: 0 0 4px; font-size: 1.1rem; }
.calc-item p { margin: 0; color: var(--c-muted); font-size: .88rem; }
.calc-item strong { font-family: var(--f-title); font-size: 2rem; font-weight: 500; white-space: nowrap; }
.calc-note { font-size: .85rem; color: var(--c-muted); margin-top: 8px; }
.calc-disclaimer { margin: 14px 0 0; padding: 12px 16px; border-left: 4px solid var(--c-magenta); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--c-white); font-size: .85rem; line-height: 1.5; }
@media (max-width: 920px) { .calc-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .calc-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .calc-item strong { font-size: 1.5rem; white-space: normal; }
}

/* ==========================================================================
   AVIS SUR LA NAVIGATION : étoiles dans la confirmation du devis
   ========================================================================== */
.feedback-box { margin: 28px auto; max-width: 520px; padding: 24px; border-radius: var(--radius); background: var(--c-cream); text-align: center; }
.feedback-box h3 { margin: 0 0 6px; }
.feedback-box p { margin: 0 0 14px; font-size: .92rem; color: var(--c-muted); }
.feedback-label { display: block; margin: 16px 0 6px; font-weight: 700; font-size: .9rem; text-align: left; }
.feedback-label span { font-weight: 400; color: var(--c-muted); }
.feedback-box textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--c-line); border-radius: 10px; font: inherit; resize: vertical; margin-bottom: 12px; }
.feedback-box .error-msg { display: none; color: var(--c-error); font-size: .85rem; margin: 0 0 10px; }
.star-input { border: 0; padding: 0; margin: 0; }
.stars { display: inline-flex; gap: 6px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 2.6rem; line-height: 1; color: var(--c-line); cursor: pointer; transition: color .15s, transform .15s; }
.stars label.on { color: var(--c-yellow); }
.stars label:hover { transform: scale(1.12); }
.stars input:focus-visible + label { outline: 3px solid var(--c-yellow); outline-offset: 2px; border-radius: 4px; }
.star-label { font-size: .9rem; color: var(--c-muted); margin: 6px 0 0; }

.stars-display { color: var(--c-yellow); letter-spacing: 2px; font-size: 1.25rem; margin: 0; }
.stars-display .off { color: var(--c-line); }

/* ==========================================================================
   CHOIX PAR PRODUIT : couleur, parfums, styles, précision (cartes catalogue)
   ========================================================================== */
.product-options { border: 0; padding: 0; margin: 0 0 10px; min-width: 0; }
.product-options legend { padding: 0; margin-bottom: 6px; font-size: .8rem; font-weight: 700; }
.product-options legend small, .opt-text small { font-weight: 400; color: var(--c-muted); }
.opt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.opt-chip { position: relative; cursor: pointer; }
.opt-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-chip span { display: inline-block; padding: 4px 12px; border: 1px solid var(--c-line); border-radius: 999px; font-size: .8rem; background: var(--c-white); transition: background .15s, color .15s; }
.opt-chip input:checked + span { background: var(--c-black); border-color: var(--c-black); color: var(--c-white); }
.opt-chip input:focus-visible + span { outline: 3px solid var(--c-yellow); outline-offset: 2px; }
.opt-text { display: block; margin: 0 0 10px; font-size: .8rem; font-weight: 700; }
.opt-text input { display: block; width: 100%; margin-top: 4px; padding: 7px 10px; border: 1px solid var(--c-line); border-radius: 8px; font: inherit; font-weight: 400; }
.sel-opts { font-size: .78rem; color: var(--c-muted); margin-top: 2px; }
/* Longue liste de choix repliée (ex. 19 parfums) */
.opt-more summary { cursor: pointer; font-size: .82rem; color: var(--c-ink); padding: 4px 0 8px; }
.opt-more summary .opt-count { color: var(--c-muted); }
.opt-more[open] summary { margin-bottom: 4px; }
