/* Musarde : charte « Club rétro version vive ». Un seul thème clair assumé. */
:root {
  --piment: #B40F1C;
  --griotte: #7A0A12;
  --rose: #FF9EBF;      /* accent rare, jamais pour du texte sur fond clair */
  --citron: #FFF1A8;
  --dragee: #FFD6E0;
  --fond: #FDFAF9;
  --encre: #3A0A0E;
  --gris-rose: #6E4A4D;
  --blanc: #FFFFFF;
  --f-titre: "DM Serif Display", Georgia, "Times New Roman", serif;
  --f-main: "Yellowtail", "Brush Script MT", cursive;
  --f-tampon: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --f-texte: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --largeur: 68rem;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--piment); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

/* Store rayé : rayures et festons dans un seul motif */
.store {
  height: 3rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='70' viewBox='0 0 88 70'%3E%3Cpath d='M0 0H44V48A22 22 0 0 1 0 48Z' fill='%23B40F1C'/%3E%3Cpath d='M44 0H88V48A22 22 0 0 1 44 48Z' fill='%23FFFFFF'/%3E%3C/svg%3E") 0 0 / 3.77rem 3rem repeat-x;
  filter: drop-shadow(0 2px 0 rgba(122, 10, 18, 0.12));
}
.enveloppe {
  max-width: var(--largeur);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* En-tête */
.entete { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem 0.5rem; }
.marque { font-family: var(--f-titre); font-size: 1.9rem; color: var(--piment); text-decoration: none; line-height: 1; display: inline-block; padding-block: 0.4rem; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--griotte); text-decoration: none; font-weight: 700; font-size: 0.95rem; padding-block: 0.7rem; }
.nav a:hover { color: var(--piment); }
.nav .pastille { color: var(--griotte); }
@media (max-width: 640px) { .nav .lien-nav { display: none; } }

.pastille {
  display: inline-block;
  font-family: var(--f-tampon);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--griotte);
  background: var(--citron);
  border: 1.5px solid var(--griotte);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  text-decoration: none;
}

/* Boutons */
.bouton {
  display: inline-block;
  font-family: var(--f-tampon);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.8rem;
  cursor: pointer;
  background: var(--piment);
  color: var(--blanc);
  box-shadow: 0 0.3rem 0 var(--griotte);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.bouton:hover { transform: translateY(-1px); box-shadow: 0 0.38rem 0 var(--griotte); }
.bouton:active { transform: translateY(0.2rem); box-shadow: 0 0.1rem 0 var(--griotte); }
.bouton.citron { background: var(--citron); color: var(--griotte); }

/* Titres de section */
.section { padding-block: 3.5rem; }
.surtitre {
  font-family: var(--f-tampon);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--piment);
  display: flex; align-items: center; gap: 0.6rem;
  margin: 0 0 0.6rem;
}
.surtitre::before { content: ""; width: 1.4rem; height: 2px; background: currentColor; }
h2.titre {
  font-family: var(--f-titre);
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.1;
  color: var(--griotte);
  margin: 0 0 1rem;
  text-wrap: balance;
}
.main { font-family: var(--f-main); color: var(--piment); font-weight: 400; }

/* Pied de page */
.pied { background: var(--griotte); color: var(--dragee); margin-top: 2rem; }
.pied .enveloppe { padding-block: 2.2rem 2.6rem; display: grid; gap: 1.2rem; }
.pied .marque { color: var(--blanc); }
.pied p { margin: 0; }
.pied a { color: var(--citron); text-decoration: none; font-weight: 700; display: inline-block; padding-block: 0.65rem; }
.pied a:hover { text-decoration: underline; }
.liens-legaux { display: flex; flex-wrap: wrap; gap: 0 1.4rem; font-size: 0.9rem; }

/* Pages de texte (légal) */
.texte { max-width: 44rem; padding-block: 2.5rem 3rem; }
.texte h1 { font-family: var(--f-titre); font-weight: 400; color: var(--piment); font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1.1; margin: 0 0 0.5rem; }
.texte h2 { font-family: var(--f-titre); font-weight: 400; color: var(--griotte); font-size: 1.45rem; margin: 2.2rem 0 0.5rem; }
.texte p, .texte li { max-width: 65ch; }
.texte a { display: inline-block; padding-block: 0.6rem; margin-block: -0.6rem; }
.texte .maj { color: var(--gris-rose); font-size: 0.9rem; }
.a-completer { background: var(--citron); padding: 0 0.3rem; border-radius: 0.2rem; font-weight: 700; }
.avertissement { background: var(--dragee); border-radius: 0.8rem; padding: 0.9rem 1.1rem; margin-top: 1.2rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bouton { transition: none; } }

/* Fil d'Ariane */
.ariane { font-size: 0.85rem; color: var(--gris-rose); padding-block: 0.2rem 0; }
.ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.5rem; }
.ariane li { display: flex; align-items: center; gap: 0.5rem; }
.ariane li + li::before { content: "›"; color: var(--piment); font-weight: 700; }
.ariane a { color: var(--griotte); font-weight: 700; text-decoration: none; display: inline-block; padding-block: 0.6rem; }
.ariane a:hover { text-decoration: underline; }
.ariane [aria-current] { color: var(--gris-rose); }

/* Barre du haut, toujours visible */
html { scroll-padding-top: 5.5rem; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--fond); }
.barre { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--fond); border-bottom: 1.5px solid var(--dragee); }
.barre .entete { max-width: var(--largeur, 68rem); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.35rem; }
.barre .marque { font-family: var(--f-titre); font-size: 1.7rem; color: var(--piment); text-decoration: none; line-height: 1; display: inline-block; padding-block: 0.4rem; }
.barre .nav { display: flex; align-items: center; gap: 1.4rem; }
.barre .nav a { color: var(--griotte); text-decoration: none; font-weight: 700; font-size: 0.95rem; padding-block: 0.7rem; }
.barre .nav a:hover { color: var(--piment); }
.barre .pastille { display: inline-block; font-family: var(--f-tampon); font-size: 0.9rem; letter-spacing: 0.03em; color: var(--griotte); background: var(--citron); border: 1.5px solid var(--griotte); border-radius: 999px; padding: 0.6rem 1.1rem; text-decoration: none; }
@media (max-width: 640px) { .barre .nav .lien-nav { display: none; } }
