/* ==========================================================================
   meilleurfoiegras.fr — v2, esprit « maison d'épicerie fine »
   Blanc, anthracite, rouge basque. Titres Montserrat ExtraBold en capitales,
   texte Barlow, signature Caveat (logo uniquement).
   Rayons : 14px pour les blocs, pilule pour tout ce qui se clique.
   Couches : 1 contenu levé, 40 en-tête.
   ========================================================================== */

@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/assets/fonts/caveat-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --blanc: #ffffff;
  --creme: #f6f4f0;
  --sable: #ece7df;
  --encre: #2a2a2b;
  --gris: #5f5f60;
  --ligne: #e3ded6;
  --rouge: #c8372d;
  --rouge-fonce: #a82c23;
  --titre: "Montserrat", "Arial Black", system-ui, sans-serif;
  --texte: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --large: min(1320px, 100% - 2 * clamp(16px, 4vw, 48px));
  --h-entete: 112px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--blanc); color: var(--encre); font: 400 1.125rem/1.6 var(--texte); letter-spacing: .01em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; border-radius: 4px; }
.evitement { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.evitement:focus { top: 12px; }

.ic { width: 1.1em; height: 1.1em; flex: none; }
.ic--grand { width: 2.1rem; height: 2.1rem; color: var(--rouge); }
.ic--gauche { transform: rotate(180deg); }
.conteneur { width: var(--large); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */
.titre, h1, h2, h3 { font-family: var(--titre); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.04; margin: 0; text-wrap: balance; }
.titre { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.titre--clair { color: #fff; }
.insecable { white-space: nowrap; }
.chapo { color: var(--gris); max-width: 60ch; margin: 1rem 0 0; font-size: 1.2rem; }
.chapo a { color: var(--rouge); font-weight: 600; text-underline-offset: 3px; }
.surtitre { font-family: var(--titre); font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rouge); margin: 0 0 .8rem; }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1.8rem; border-radius: 999px; border: 2px solid transparent; font: 800 .88rem/1 var(--titre); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .35s, color .35s, border-color .35s, transform .5s var(--ease); }
.bouton:active { transform: scale(.97); }
.bouton .ic { transition: transform .5s var(--ease); }
.bouton:hover .ic { transform: translate(2px, -2px); }
.bouton--plein { background: var(--rouge); color: #fff; }
.bouton--plein:hover { background: var(--rouge-fonce); }
.bouton--clair { border-color: #fff; color: #fff; }
.bouton--clair:hover { background: #fff; color: var(--encre); }
.bouton--trait { border-color: var(--encre); color: var(--encre); }
.bouton--trait:hover { background: var(--encre); color: #fff; }

.lien-fleche { display: inline-flex; align-items: center; gap: .45rem; background: none; border: 0; padding: 0; cursor: pointer; color: var(--rouge); font: 700 .98rem/1.4 var(--texte); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lien-fleche::after { content: "→"; transition: transform .4s var(--ease); }
.lien-fleche:hover::after { transform: translateX(4px); }

.rond { width: 50px; height: 50px; border-radius: 999px; border: 2px solid var(--encre); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background-color .3s, color .3s; }
.rond:hover { background: var(--encre); color: #fff; }

.badges { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 1.1rem; }
.badge { display: inline-flex; align-items: center; gap: .4rem; font: 700 .72rem/1 var(--titre); letter-spacing: .08em; text-transform: uppercase; padding: .5rem .85rem; border-radius: 999px; border: 1.5px solid var(--encre); }
.badge--rouge { background: var(--rouge); border-color: var(--rouge); color: #fff; }

/* --------------------------------------------------------------------------
   Bandeau d'annonce, en-tête, logo
   -------------------------------------------------------------------------- */
.annonce { background: var(--rouge); color: #fff; text-align: center; font: 600 .9rem/1.2 var(--texte); letter-spacing: .02em; padding: .7rem 16px; min-height: 2.6rem; display: grid; place-items: center; overflow: hidden; }
.annonce__texte { margin: 0; }
.annonce__texte a { color: #fff; text-underline-offset: 3px; font-weight: 700; }
.annonce__compte { font-variant-numeric: tabular-nums; font-weight: 700; }
.annonce__bloc { display: inline-block; min-width: 2ch; }
@media (prefers-reduced-motion: no-preference) {
  .annonce__texte.entre { animation: annonce-entre .6s var(--ease) both; }
  .annonce__texte.sort { animation: annonce-sort .4s ease-in both; }
}
@keyframes annonce-entre { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: none; } }
@keyframes annonce-sort { to { opacity: 0; transform: translateY(-100%); } }
@media (max-width: 560px) { .annonce { font-size: .8rem; } .annonce__long { display: none; } }

.entete { position: sticky; top: 0; z-index: 40; background: var(--blanc); border-bottom: 1px solid var(--ligne); transition: background-color .45s, border-color .45s, color .45s, box-shadow .45s; }
.entete--photo { background: transparent; border-color: transparent; color: #fff; }
.entete.est-colle { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--encre); border-color: var(--ligne); box-shadow: 0 10px 30px -20px rgba(42, 42, 43, .35); }
.entete__in { width: var(--large); margin-inline: auto; height: var(--h-entete); display: grid; grid-template-rows: 1fr auto; justify-items: center; align-content: center; gap: .55rem; padding-block: .6rem; }

.logo { display: inline-grid; justify-items: center; text-decoration: none; line-height: 1; color: inherit; }
.logo__script { font: 700 1.35rem/1 "Caveat", cursive; color: var(--rouge); transform: rotate(-5deg) translateX(-18%); margin-bottom: -.15rem; }
.entete--photo:not(.est-colle) .logo__script { color: #ffd0c6; }
.logo__nom { font: 800 1.7rem/1 var(--titre); text-transform: uppercase; letter-spacing: .01em; }
.logo__base { font: 700 .55rem/1 var(--titre); letter-spacing: .34em; text-transform: uppercase; margin-top: .35rem; }

.nav { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); }
.nav a { position: relative; text-decoration: none; font: 700 .8rem/1 var(--titre); letter-spacing: .08em; text-transform: uppercase; padding: .35rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--rouge); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 760px) {
  :root { --h-entete: 104px; }
  .nav { gap: 1.1rem; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding-inline: 4px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: .7rem; white-space: nowrap; }
  .logo__nom { font-size: 1.45rem; }
}

/* --------------------------------------------------------------------------
   Diaporama plein écran
   -------------------------------------------------------------------------- */
.diapo { position: relative; height: min(100dvh - 38px, 880px); min-height: 560px; margin-top: calc(-1 * var(--h-entete) - 1px); overflow: hidden; background: var(--encre); isolation: isolate; }
.diapo__vue { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 0s 1.2s; }
.diapo__vue.est-active { opacity: 1; visibility: visible; transition: opacity 1.2s var(--ease), visibility 0s; }
.diapo__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diapo__vue::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 12, .55) 0%, rgba(20, 16, 12, .2) 30%, rgba(20, 16, 12, .28) 60%, rgba(20, 16, 12, .64) 100%); }
.diapo__texte { position: relative; z-index: 1; text-align: center; color: #fff; width: min(980px, 100% - 32px); padding-top: calc(var(--h-entete) * .6); }
.diapo__titre { font: 800 clamp(2.2rem, 5.6vw, 4.8rem)/1.02 var(--titre); text-transform: uppercase; margin: 0; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); text-wrap: balance; }
.diapo__sous { font-size: clamp(1.05rem, 1.6vw, 1.3rem); margin: 1.2rem auto 2rem; max-width: 46ch; }
.diapo__points { position: absolute; z-index: 2; left: 50%; bottom: 32px; translate: -50% 0; display: flex; gap: 12px; }
.diapo__points button { width: 44px; height: 24px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.diapo__points span { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .45); overflow: hidden; position: relative; }
.diapo__points span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.diapo__points [aria-selected="true"] span::after { transform: scaleX(1); }
@media (max-width: 760px) { .diapo { height: 88dvh; min-height: 520px; } }

/* Bande de repères */
.atouts { border-bottom: 1px solid var(--ligne); }
.atouts__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.atouts p { display: flex; align-items: center; gap: .8rem; margin: 0; padding: 1.5rem 1rem; font-size: 1rem; color: var(--gris); }
.atouts p + p { border-left: 1px solid var(--ligne); }
.atouts strong { color: var(--encre); font-weight: 600; }
.atouts .ic { width: 1.6rem; height: 1.6rem; color: var(--rouge); }
@media (max-width: 900px) { .atouts__in { grid-template-columns: 1fr 1fr; } .atouts p:nth-child(3) { border-left: 0; } .atouts p:nth-child(n+3) { border-top: 1px solid var(--ligne); } }
@media (max-width: 480px) { .atouts p { padding: 1rem .6rem; font-size: .92rem; gap: .5rem; } }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }

/* Classement : n°1 */
.numero-un { margin-top: 3rem; display: grid; grid-template-columns: 1fr 1.05fr; background: var(--creme); border-radius: var(--r); overflow: hidden; }
.numero-un__visuel { position: relative; min-height: 460px; overflow: hidden; }
.numero-un__visuel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.numero-un:hover .numero-un__visuel img { transform: scale(1.05); }
.numero-un__visuel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 12, 0) 40%, rgba(20, 16, 12, .45)); }
.numero-un__visuel .numero-un__bocal { position: absolute; z-index: 1; inset: auto auto 7% 50%; width: 42%; height: auto; object-fit: contain; transform: translateX(-50%); filter: drop-shadow(0 28px 30px rgba(0, 0, 0, .45)); transition: transform 1.2s var(--ease); }
.numero-un:hover .numero-un__visuel .numero-un__bocal { transform: translateX(-50%) translateY(-8px) rotate(-3deg); }
.pastille { z-index: 2; position: absolute; top: 24px; left: 24px; width: 92px; height: 92px; border-radius: 50%; background: var(--rouge); color: #fff; display: grid; place-content: center; text-align: center; font: 800 2.6rem/1 var(--titre); box-shadow: 0 12px 30px -10px rgba(168, 44, 35, .6); }
.pastille small { font-size: .8rem; letter-spacing: .1em; display: block; margin-bottom: -.1rem; }
.numero-un__corps { padding: clamp(28px, 4vw, 56px); }
.numero-un__nom { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.numero-un__lieu { color: var(--gris); margin: .6rem 0 1.2rem; font-weight: 600; }
.numero-un__resume { margin: 0 0 1.2rem; font-size: 1.15rem; }
.numero-un__bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.6rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--ligne); }
.numero-un__prix { margin: 0; font: 800 1.05rem/1.3 var(--titre); text-transform: uppercase; letter-spacing: .02em; }
.numero-un__savoir { font-size: .95rem; color: var(--gris); margin: 1.2rem 0 0; }
.coches { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.coches li { display: flex; gap: .7rem; align-items: flex-start; }
.coches .ic { color: var(--rouge); margin-top: .3rem; }
.numero-un > * { min-width: 0; }
@media (max-width: 900px) { .numero-un { grid-template-columns: 1fr; } .numero-un__visuel { min-height: 300px; } }
@media (max-width: 480px) { .bouton { white-space: normal; text-align: center; line-height: 1.25; padding-inline: 1.3rem; } .pastille { width: 72px; height: 72px; font-size: 2rem; } }

/* Classement : suivants */
.suivants { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem clamp(24px, 3vw, 48px); }
.suivant { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding-top: 1.4rem; border-top: 2px solid var(--encre); }
.suivant__rang { font: 800 2.6rem/1 var(--titre); color: var(--rouge); }
.suivant__nom { font-size: 1.25rem; }
.suivant__meta { font: 700 .72rem/1.3 var(--titre); letter-spacing: .1em; text-transform: uppercase; color: var(--gris); margin: .4rem 0 .7rem; }
.suivant__resume { margin: 0 0 .5rem; }
.suivant__savoir { margin: 0; font-size: .98rem; color: var(--gris); }
.suivant__savoir strong { color: var(--encre); }
@media (max-width: 1024px) { .suivants { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .suivants { grid-template-columns: 1fr; } }

/* Pièces (médailles) : dessin maison, pas le macaron officiel du concours */
.piece { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; font: 800 .72rem/1 var(--titre); color: var(--encre); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35), inset 0 -4px 8px rgba(0, 0, 0, .15), 0 6px 14px -8px rgba(0, 0, 0, .5); }
.piece--or { background: radial-gradient(circle at 35% 30%, #fbe6a2, #d9ae45 55%, #b0822a); }
.piece--argent { background: radial-gradient(circle at 35% 30%, #ffffff, #cdd0d4 55%, #9ea3a9); }
.piece--bronze { background: radial-gradient(circle at 35% 30%, #f6caa0, #cf8a53 55%, #a4622f); }
.piece--grande { width: 58px; height: 58px; }
.numero-un__medailles { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .55rem .8rem; margin: 0 0 1.3rem; font-weight: 600; }
.numero-un__medailles .piece { width: 38px; height: 38px; font-size: .62rem; }
.reseaux { display: flex; align-items: center; gap: .6rem; margin: 1.2rem 0 0; font: 700 .72rem/1 var(--titre); letter-spacing: .1em; text-transform: uppercase; }
.reseaux span { margin-right: .3rem; }
.reseaux a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--encre); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.reseaux a:hover { background: var(--encre); color: #fff; transform: translateY(-2px); }
.reseaux .ic { width: 1.3rem; height: 1.3rem; }
.reseaux--clair a { border-color: #fff; color: #fff; }
.reseaux--clair a:hover { background: #fff; color: var(--encre); }

/* Médailles */
.medailles { background: var(--creme); }
.medailles__in { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.compteurs { list-style: none; padding: 0; margin: 2.2rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.compteurs li { display: grid; justify-items: start; gap: .5rem; padding: 1.2rem; border-radius: var(--r); background: var(--blanc); font: 700 .8rem/1 var(--titre); letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.compteurs strong { font: 800 clamp(2.4rem, 4vw, 3.4rem)/1 var(--titre); color: var(--encre); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.medailles__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.medailles__photo { margin: 2.4rem 0 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; }
.medailles__photo img { width: 100%; height: 100%; object-fit: cover; }
.medailles__photo figcaption { position: absolute; inset: auto 0 0; padding: 3rem 1.2rem 1rem; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(20, 16, 12, .85) 55%); }
.mur { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(122px, 1fr)); gap: 1.2rem .8rem; }
.mur__piece { display: grid; justify-items: center; text-align: center; gap: .5rem; }
.mur__piece .piece { width: 56px; height: 56px; font-size: .8rem; transition: transform .6s var(--ease); }
.mur__piece:hover .piece { transform: rotateY(180deg) scale(1.08); }
.mur__texte { font-size: .82rem; line-height: 1.3; color: var(--gris); }
.mur__texte strong { display: block; color: var(--encre); font-family: var(--titre); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 900px) { .medailles__in { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .compteurs { gap: .5rem; } .compteurs li { padding: .9rem .7rem; } .mur { grid-template-columns: repeat(3, 1fr); } }

/* Bannière éditoriale plein écran */
.banniere { position: relative; min-height: 560px; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; color: #fff; }
.banniere__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banniere::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20, 16, 12, .52); }
.banniere__texte { width: min(860px, 100% - 32px); padding: 80px 0; }
.banniere__texte p { font-size: 1.25rem; margin: 1.1rem auto 2rem; max-width: 44ch; }

/* Formes */
.formes { background: var(--creme); }
.formes__in > * { min-width: 0; }
.formes__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.formes__visuel { position: relative; margin: 0; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, #fff 0%, var(--creme) 68%); }
.formes__visuel img { grid-area: 1 / 1; max-height: 78%; width: auto; object-fit: contain; opacity: 0; transform: translateY(40px) scale(.92) rotate(-6deg); transition: opacity .7s var(--ease), transform 1.1s var(--ease); filter: drop-shadow(0 30px 30px rgba(60, 40, 20, .22)); }
.formes__visuel img.est-actif { opacity: 1; transform: none; }
.onglets { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0; }
.onglet { border: 2px solid var(--encre); background: transparent; border-radius: 999px; padding: .75rem 1.3rem; cursor: pointer; font: 800 .8rem/1 var(--titre); letter-spacing: .06em; text-transform: uppercase; transition: background-color .3s, color .3s; }
.onglet:hover { background: var(--sable); }
.onglet[aria-selected="true"] { background: var(--encre); color: #fff; }
.panneau__titre { font-size: 1.4rem; margin-bottom: .8rem; }
.panneau__texte { font-size: 1.18rem; margin: 0 0 1rem; max-width: 50ch; }
.panneau__garde { display: flex; gap: .6rem; align-items: flex-start; color: var(--gris); margin: 0 0 1.4rem; }
.panneau__garde .ic { margin-top: .3rem; color: var(--rouge); }
.panneau__note { color: var(--gris); font-style: italic; margin: 0; }
.panneau:not([hidden]) { animation: monte .7s var(--ease) both; }
@media (max-width: 768px) { .formes__in { grid-template-columns: 1fr; } .formes__visuel { max-width: 340px; width: 100%; margin-inline: auto; } }

/* Coffrets */
.offrir__tete { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.offrir__fleches { display: flex; gap: .6rem; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 320px); gap: clamp(16px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, (100% - 1320px) / 2);
  padding: 2.6rem max(16px, (100% - 1320px) / 2) .6rem; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.coffret { scroll-snap-align: start; text-decoration: none; display: grid; align-content: start; gap: .3rem; }
.coffret__image { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r); background: var(--creme); overflow: hidden; margin-bottom: .9rem; }
.coffret__image img { width: 90%; transition: transform .9s var(--ease); }
.coffret:hover .coffret__image img { transform: scale(1.06); }
.coffret__nom { font: 800 1.02rem/1.2 var(--titre); text-transform: uppercase; }
.coffret__prix { color: var(--rouge); font-weight: 600; font-size: 1.1rem; }
.coffret--photo { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; align-self: start; }
.coffret--photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.coffret--photo:hover img { transform: scale(1.06); }
.coffret--pack { background: var(--creme); }
.coffret--pack img { object-fit: contain; padding: 10% 8% 26%; }
.coffret__sur { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; padding: .9rem 1.1rem; border-radius: 999px; background: #fff; font: 800 .8rem/1 var(--titre); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 640px) { .offrir__fleches { display: none; } .rail { grid-auto-columns: 76%; } }

/* Laborde : bento */
.bento { margin-top: 3rem; display: grid; gap: clamp(12px, 1.6vw, 20px); grid-template-columns: 1.3fr 1fr 1fr 1fr; grid-template-areas: "photo chiffre chiffre rouge" "photo accord boutiques boutiques"; }
.bento__c { border-radius: var(--r); background: var(--creme); padding: clamp(22px, 2.4vw, 34px); margin: 0; overflow: hidden; position: relative; }
.bento__c p { margin: 0; color: var(--gris); }
.bento__c--photo { padding: 0; min-height: 260px; }
.bento__c--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.bento__c--photo:hover img { transform: scale(1.05); }
.bento__c--photo figcaption { position: absolute; inset: auto 0 0; padding: 4rem 1.5rem 1.4rem; color: #fff; font-weight: 600; font-size: 1.1rem; background: linear-gradient(transparent, rgba(20, 16, 12, .88) 55%); }
.bento__c--haut { grid-area: photo; min-height: 520px; }
.bento__c--chiffre { grid-area: chiffre; display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: center; }
.bento__c--rouge { grid-area: rouge; background: var(--rouge); color: #fff; }
.bento__c--rouge p, .bento__c--rouge .ic { color: #fff; }
.bento__c:nth-child(4) { grid-area: accord; }
.bento__c--boutiques { grid-area: boutiques; background: var(--encre); color: #fff; }
.bento__c--boutiques p { color: #e4e1db; }
.bento__c--boutiques .ic { color: #ff9a8e; }
.bento__c--boutiques .lien-fleche { color: #fff; margin-top: 1.1rem; }
.bento__titre { font: 800 1.2rem/1.15 var(--titre) !important; text-transform: uppercase; color: inherit !important; margin: .9rem 0 .5rem !important; }
.grand-chiffre { font: 800 clamp(4rem, 7vw, 6.4rem)/.9 var(--titre) !important; color: var(--rouge) !important; letter-spacing: -.02em; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "photo photo" "chiffre chiffre" "rouge accord" "boutiques boutiques"; }
  .bento__c--haut { min-height: 380px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "photo" "chiffre" "rouge" "accord" "boutiques"; }
  .bento__c--chiffre { grid-template-columns: 1fr; gap: .8rem; }
}

/* Quiz */
.quiz { background: var(--creme); }
.quiz__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.quiz__photo { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; min-height: 480px; }
.quiz__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quiz__photo--pack { background: radial-gradient(circle at 50% 55%, #fff, var(--sable) 75%); }
.quiz__photo--pack img { object-fit: contain; padding: 12%; filter: drop-shadow(0 24px 24px rgba(60, 40, 20, .2)); }
.quiz__carte { background: var(--blanc); border-radius: var(--r); padding: clamp(28px, 4.5vw, 56px); align-self: center; }
.quiz__carte .titre { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.quiz__progression { margin: 1.4rem 0 .5rem; color: var(--gris); font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums; }
.quiz__barre { height: 3px; margin-bottom: 2rem; }
.quiz__barre span { display: block; height: 100%; width: 33.3%; background: var(--rouge); border-radius: 3px; transition: width .7s var(--ease); }
.quiz__q { border: 0; padding: 0; margin: 0; display: grid; gap: .7rem; }
.quiz__q:not([hidden]) { animation: monte .6s var(--ease) both; }
.quiz__q legend { font: 800 1.2rem/1.2 var(--titre); text-transform: uppercase; margin-bottom: 1rem; padding: 0; }
.quiz__q button { text-align: left; padding: 1.05rem 1.3rem; border-radius: 999px; border: 2px solid var(--ligne); background: var(--blanc); cursor: pointer; font-weight: 600; font-size: 1.05rem; transition: border-color .3s, background-color .3s, transform .4s var(--ease); }
.quiz__q button:hover { border-color: var(--encre); transform: translateX(4px); }
.quiz__resultat:not([hidden]) { display: grid; grid-template-columns: 150px 1fr; gap: 1.6rem; align-items: center; animation: monte .7s var(--ease) both; }
.quiz__resultat-image img { width: 100%; border-radius: 10px; }
.quiz__resultat-nom { font: 800 1.35rem/1.15 var(--titre); text-transform: uppercase; margin: 0 0 .6rem; }
.quiz__resultat p:not(.surtitre):not(.quiz__resultat-nom) { color: var(--gris); margin: 0 0 1.4rem; }
.quiz__resultat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; }
@media (max-width: 900px) { .quiz__in { grid-template-columns: 1fr; } .quiz__photo { display: none; } }
@media (max-width: 560px) { .quiz__resultat:not([hidden]) { grid-template-columns: 1fr; } .quiz__resultat-image { max-width: 140px; } }

/* Cartes d'articles */
.cartes, .liste-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); margin-top: 2.6rem; }
.carte { text-decoration: none; display: grid; align-content: start; gap: .5rem; }
.carte__image { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; margin-bottom: .6rem; background: var(--creme); }
.carte__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.carte:hover .carte__image img { transform: scale(1.06); }
.carte__cat { font: 700 .72rem/1 var(--titre); letter-spacing: .12em; text-transform: uppercase; color: var(--rouge); }
.carte__titre { font: 800 1.2rem/1.2 var(--titre); text-transform: uppercase; }
.carte:hover .carte__titre { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 900px) { .cartes, .liste-articles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cartes, .liste-articles { grid-template-columns: 1fr; } }

/* FAQ */
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__titre { position: sticky; top: 150px; }
.faq__item { border-bottom: 1px solid var(--ligne); }
.faq__item:first-child { border-top: 2px solid var(--encre); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; font: 800 1.05rem/1.3 var(--titre); text-transform: uppercase; letter-spacing: .01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { color: var(--rouge); transition: transform .5s var(--ease); }
.faq__item[open] summary .ic { transform: rotate(180deg); }
.faq__item p { margin: 0 0 1.5rem; color: var(--gris); max-width: 62ch; }
.faq__item[open] p { animation: monte .5s var(--ease) both; }
@media (max-width: 768px) { .faq__in { grid-template-columns: 1fr; } .faq__titre { position: static; } }

/* --------------------------------------------------------------------------
   Pages intérieures
   -------------------------------------------------------------------------- */
.tete-page { padding: 64px 0 24px; }
.tete-page h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.filtres { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.filtres a { text-decoration: none; padding: .65rem 1.1rem; border-radius: 999px; border: 2px solid var(--ligne); font: 700 .75rem/1 var(--titre); letter-spacing: .06em; text-transform: uppercase; transition: border-color .3s, background-color .3s, color .3s; }
.filtres a:hover { border-color: var(--encre); }
.filtres a[aria-current="page"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.liste-articles { padding-bottom: 110px; }
.vide { padding: 3rem; border-radius: var(--r); background: var(--creme); color: var(--gris); text-align: center; }

.progression { position: fixed; inset: 0 0 auto; height: 3px; z-index: 45; background: var(--rouge); transform-origin: left; transform: scaleX(0); }
@supports (animation-timeline: scroll()) { .progression { animation: remplit linear both; animation-timeline: scroll(root); } }
@keyframes remplit { to { transform: scaleX(1); } }

.article__hero { position: relative; min-height: 480px; display: grid; align-items: end; color: #fff; overflow: hidden; isolation: isolate; }
.article__hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.article__hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 16, 12, .3), rgba(20, 16, 12, .8)); }
.article__tete { width: min(900px, 100% - 32px); margin-inline: auto; padding: 72px 0 48px; }
.article__cat { display: inline-block; text-decoration: none; font: 700 .75rem/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; background: var(--rouge); color: #fff; padding: .55rem .9rem; border-radius: 999px; margin-bottom: 1.3rem; }
.article h1 { font-size: clamp(2rem, 4.8vw, 3.6rem); line-height: 1.05; }
.article__chapo { font-size: clamp(1.1rem, 1.8vw, 1.3rem); margin: 1.3rem 0; max-width: 60ch; }
.article__meta { font-size: .95rem; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.article__grille { width: var(--large); margin: 3.5rem auto 0; padding-bottom: 96px; display: grid; grid-template-columns: 230px minmax(0, 740px) 1fr; gap: clamp(24px, 4vw, 64px); }
.sommaire { position: sticky; top: 150px; align-self: start; font-size: .95rem; }
.sommaire p { font: 800 .75rem/1 var(--titre); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.sommaire ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; border-left: 2px solid var(--ligne); }
.sommaire a { display: block; text-decoration: none; color: var(--gris); padding-left: 1rem; margin-left: -2px; border-left: 2px solid transparent; transition: color .3s, border-color .3s; }
.sommaire a:hover, .sommaire a.est-actif { color: var(--encre); border-color: var(--rouge); }
@media (max-width: 1100px) { .article__grille { grid-template-columns: minmax(0, 740px); justify-content: center; } .sommaire { display: none; } }

.prose { font-size: 1.15rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.8em; }
.prose a { color: var(--rouge); font-weight: 600; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--rouge); }
.prose .encart { border-radius: var(--r); padding: clamp(22px, 3vw, 34px); background: var(--creme); border-left: 4px solid var(--rouge); }
.prose .encart h3 { margin: 0 0 .9rem; font-size: 1.05rem; color: var(--rouge); }
.prose .encart ul { margin: 0; }
.prose .table-defile { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--ligne); }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 520px; }
.prose th, .prose td { text-align: left; padding: .9rem 1rem; vertical-align: top; }
.prose thead th { background: var(--encre); color: #fff; font: 700 .8rem/1.3 var(--titre); letter-spacing: .04em; text-transform: uppercase; }
.prose tbody tr:nth-child(even) td { background: var(--creme); }
.prose blockquote { margin-inline: 0; padding-left: 1.3rem; border-left: 3px solid var(--rouge); font-size: 1.3rem; font-style: italic; }

.encart-reco { margin-top: 3.5rem; display: grid; grid-template-columns: 170px 1fr; gap: 1.8rem; align-items: center; padding: clamp(22px, 3vw, 34px); border-radius: var(--r); background: var(--creme); }
.encart-reco img { width: 100%; border-radius: 10px; }
.encart-reco p { margin: 0 0 1rem; color: var(--gris); }
.encart-reco .encart-reco__titre { font: 800 1.3rem/1.15 var(--titre); text-transform: uppercase; color: var(--encre); margin-bottom: .5rem; }
@media (max-width: 560px) { .encart-reco { grid-template-columns: 1fr; } .encart-reco img { max-width: 160px; } }

.quiz-article { margin-top: 3.5rem; }
.quiz-article .quiz__carte { background: var(--creme); }
.quiz__fin .bouton { margin-top: .4rem; }
.sources { margin-top: 3rem; font-size: .95rem; color: var(--gris); }
.sources ul { padding-left: 1.2em; }
.sources a { color: var(--gris); }

.legal { padding: 64px 0 110px; }
.legal .prose { width: min(780px, 100% - 32px); margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }

.introuvable { min-height: 70dvh; display: grid; place-items: center; text-align: center; padding: 80px 16px; }
.introuvable h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
.introuvable p { color: var(--gris); margin: 1rem 0 2rem; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.pied { background: var(--encre); color: #fff; padding: 80px 0 40px; }
.pied__in { width: var(--large); margin-inline: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.logo--pied { justify-items: start; }
.logo--pied .logo__script { color: #ff9a8e; transform: rotate(-5deg); }
.logo--pied .logo__nom { font-size: 2.2rem; }
.pied__texte { color: #d6d3cc; max-width: 44ch; margin: 1.3rem 0 0; }
.pied__col { display: grid; gap: .6rem; align-content: start; }
.pied__col a { text-decoration: none; color: #d6d3cc; }
.pied__col a:hover { color: #fff; }
.pied__titre { font: 800 .8rem/1 var(--titre); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .6rem; }
.pied__mention { width: var(--large); margin: 56px auto 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .9rem; color: #c9c5bd; }
@media (max-width: 768px) { .pied__in { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Mouvement (tout est coupé si l'utilisateur demande moins d'animations)
   -------------------------------------------------------------------------- */
@keyframes monte { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes jauge { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: no-preference) {
  .diapo__vue.est-active .diapo__photo { animation: zoom 9s linear both; }
  .diapo__vue.est-active .diapo__titre, .diapo__vue.est-active .diapo__sous, .diapo__vue.est-active .bouton { animation: monte 1.1s var(--ease) both; }
  .diapo__vue.est-active .diapo__sous { animation-delay: .15s; }
  .diapo__vue.est-active .bouton { animation-delay: .3s; }
  .diapo[data-auto] .diapo__points [aria-selected="true"] span::after { animation: jauge var(--duree, 7s) linear both; }
  .js .revele { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .revele.est-visible { opacity: 1; transform: none; }
  .js .mur__piece { opacity: 0; transform: translateY(-40px) scale(.6); }
  .js .mur.est-visible .mur__piece { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .8s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--i, 0) * 45ms); }
  @supports (animation-timeline: view()) {
    .banniere__photo { animation: parallaxe linear both; animation-timeline: view(); }
    @keyframes parallaxe { from { transform: translateY(-9%) scale(1.2); } to { transform: translateY(9%) scale(1.2); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   Menu mobile plein écran (repris de decorermamaison.fr, aux couleurs du site)
   -------------------------------------------------------------------------- */
.burger { display: none; position: relative; z-index: 70; width: 46px; height: 46px; margin-left: auto; border: 1.5px solid currentColor; border-radius: 12px; background: transparent; color: inherit; cursor: pointer; flex: none; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s cubic-bezier(.22, 1, .36, 1), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; right: 18px; } .burger span:nth-child(3) { top: 27px; }
.menu-ouvert .burger { color: #ffffff; border-color: rgba(255, 255, 255, .18); }
.menu-ouvert .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-ouvert .burger span:nth-child(2) { opacity: 0; }
.menu-ouvert .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-mobile { position: fixed; inset: 0; z-index: 60; background: #2a2a2b; color: #ffffff; visibility: hidden; overflow-y: auto;
  clip-path: inset(0 0 100% 0); transition: clip-path .55s cubic-bezier(.77, 0, .18, 1), visibility 0s .55s; }
.menu-mobile::before { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; pointer-events: none; }
.menu-ouvert .menu-mobile { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .55s cubic-bezier(.77, 0, .18, 1); }
.menu-ouvert { overflow: hidden; }
.mm-in { min-height: 100%; display: flex; flex-direction: column; padding: 110px 24px 30px; }
.mm-surtitre { font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #ff9a8e; margin: 0 0 18px; }
.mm-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.mm-liste li { border-bottom: 1px solid rgba(255, 255, 255, .18); opacity: 0; transform: translateY(18px); transition: opacity .45s, transform .45s cubic-bezier(.22, 1, .36, 1); }
.menu-ouvert .mm-liste li { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i) * .05s); }
.mm-liste a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; text-decoration: none; font-family: var(--titre); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.6rem, 7.6vw, 2.3rem); line-height: 1.05; letter-spacing: -.01em; color: #ffffff; transition: color .2s, padding .3s; }
.mm-liste a b { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: #ff9a8e; min-width: 22px; font-family: inherit; }
.mm-liste a:hover, .mm-liste a:focus-visible { color: #ff9a8e; padding-left: 6px; }
.mm-liste a[aria-current] { color: #ff9a8e; }
.mm-pied { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; }
.mm-pied a { color: #ffffff; opacity: .85; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .18); }
@media (max-width: 900px) {
  .burger { display: block; }
  .entete .nav { display: none; }
  .menu-ouvert .entete { z-index: 80; position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: #ffffff; }
  .menu-ouvert .logo { position: relative; z-index: 70; }
  :root { --h-entete: 76px; }
  .entete__in { grid-template-rows: none; grid-auto-flow: column; justify-content: space-between; justify-items: start; align-items: center; padding-block: 0; }
  .logo { justify-items: start; }
  .logo__script { transform: rotate(-5deg); }
  .menu-ouvert .logo__script { color: #ffd0c6; }
}
@media (prefers-reduced-motion: reduce) { .menu-mobile, .mm-liste li, .burger span { transition: none; } }
