:root {
  --fond: #141110;
  --fond-2: #1d1916;
  --ligne: #2f2924;
  --texte: #ede6df;
  --doux: #a89d93;
  --cuivre: #d29a6a;
  --cuivre-fonce: #b47b4c;
  --titre: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --corps: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 17px/1.6 var(--corps); }
a { color: var(--cuivre); }
h1, h2 { font-family: var(--titre); font-weight: 500; letter-spacing: .01em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin: .2em 0 .4em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 1rem; }
.surtitre { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; color: var(--cuivre); margin: 0; }
.note { color: var(--doux); font-size: .92rem; }

.bouton { display: inline-block; background: var(--cuivre); color: #1a1310; border: 0; border-radius: 999px;
  padding: .8rem 1.6rem; font: 600 1rem var(--corps); text-decoration: none; cursor: pointer; transition: background .2s; }
.bouton:hover { background: var(--cuivre-fonce); }
.bouton-discret { background: transparent; color: var(--texte); border: 1px solid var(--ligne); }
.bouton-discret:hover { background: var(--fond-2); }

.entete { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--ligne); position: sticky; top: 0; background: rgba(20,17,16,.92); backdrop-filter: blur(8px); z-index: 5; }
.marque { font-family: var(--titre); font-size: 1.5rem; color: var(--texte); text-decoration: none; }
.entete nav a { color: var(--doux); text-decoration: none; margin-left: 1.4rem; font-size: .95rem; }
.entete nav a:hover { color: var(--texte); }

main > section { padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem); max-width: 1150px; margin: 0 auto; }
.hero { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  max-width: none !important; margin: 0 !important;
  background: linear-gradient(90deg, rgba(20,17,16,.96) 0%, rgba(20,17,16,.85) 35%, rgba(20,17,16,0) 62%),
              url("bandeau.jpg") right center / cover no-repeat, var(--fond); }
.hero > * { max-width: 34rem; position: relative; }
@media (max-width: 700px) {
  .hero { min-height: 78vh; justify-content: flex-end;
    background: linear-gradient(0deg, rgba(20,17,16,.97) 0%, rgba(20,17,16,.8) 42%, rgba(20,17,16,.1) 75%),
                url("bandeau-mobile.jpg") center top / cover no-repeat, var(--fond); }
}
.chapo { max-width: 34rem; color: var(--doux); font-size: 1.1rem; margin-bottom: 2rem; }

.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 360px)); gap: 1.6rem; }
.carte { background: var(--fond-2); border: 1px solid var(--ligne); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.carte img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; display: block; background: #2a2420; }
.carte-corps { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.carte h3 { font-family: var(--titre); font-weight: 500; font-size: 1.3rem; margin: 0; }
.carte p { margin: 0; }
.carte-bas { margin-top: auto; padding-top: .9rem; display: flex; justify-content: space-between; align-items: center; }
.prix { font-size: 1.25rem; font-weight: 600; }

.comment ol { padding-left: 1.2rem; max-width: 40rem; }
.comment li { margin-bottom: .8rem; }

.pied { border-top: 1px solid var(--ligne); padding: 2rem; text-align: center; color: var(--doux); font-size: .85rem; }
.pied p { margin: .3rem 0; }

.porte, .achat { position: fixed; inset: 0; background: rgba(10,8,7,.94); display: grid; place-items: center; z-index: 20; padding: 1rem; }
.porte[hidden], .achat[hidden] { display: none; }
.porte-boite, .achat-boite { background: var(--fond-2); border: 1px solid var(--ligne); border-radius: 16px; max-width: 30rem; width: 100%;
  padding: 2rem; position: relative; max-height: 92vh; overflow: auto; }
.porte-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.fermer { position: absolute; top: .6rem; right: .9rem; background: none; border: 0; color: var(--doux); font-size: 1.8rem; cursor: pointer; }
.prix-grand { font-size: 2rem; font-family: var(--titre); margin: .4rem 0 1rem; }
.case { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; margin: .7rem 0; color: var(--doux); }
.case input { margin-top: .3rem; accent-color: var(--cuivre); width: 1.1rem; height: 1.1rem; flex: none; }
.bouton-paypal { width: 100%; margin-top: 1rem; background: #ffc439; color: #111; }
.bouton-paypal:hover { background: #f2b625; }
.bouton-paypal:disabled { opacity: .35; cursor: not-allowed; }
.erreur { color: #ff8f7a; font-size: .9rem; min-height: 1.2em; }
code { background: #000; padding: .1rem .4rem; border-radius: 4px; }

.legal { max-width: 46rem; margin: 0 auto; padding: 3rem 1.2rem; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.a-completer { background: #3a2a14; color: #ffd59a; padding: 0 .3rem; border-radius: 3px; }

@media (max-width: 560px) {
  .entete nav a { margin-left: .9rem; font-size: .85rem; }
  .entete nav a[href="#comment"], .entete nav .lien-x { display: none; }
}

.limites { background: #0e0c0b; border: 1px solid var(--ligne); border-radius: 10px; padding: .8rem 1rem; margin: .6rem 0 1rem; }
.limites ul { margin: .4rem 0; padding-left: 1.2rem; }
.limites li { margin: .2rem 0; }
.champ { display: block; font-size: .92rem; margin: .8rem 0; color: var(--texte); }
.champ textarea, .champ input { display: block; width: 100%; margin-top: .35rem; background: #0e0c0b; color: var(--texte);
  border: 1px solid var(--ligne); border-radius: 8px; padding: .6rem .7rem; font: 1rem var(--corps); }
.champ textarea:focus, .champ input:focus { outline: 2px solid var(--cuivre); outline-offset: 1px; }
.champ .note { display: block; text-align: right; font-size: .8rem; margin-top: .2rem; }

.prix-barre { color: var(--doux); font-weight: 400; font-size: .8em; margin-right: .2rem; }
.badge { align-self: flex-start; background: var(--cuivre); color: #1a1310; font-weight: 700; font-size: .78rem; padding: .15rem .55rem; border-radius: 999px; margin-bottom: .2rem; }
.carte-lot { border-color: var(--cuivre-fonce); }
.carte-vedette { border-color: var(--cuivre); }
.badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.badge-nouveau { background: transparent; color: var(--cuivre); border: 1px solid var(--cuivre); }
.tri { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; justify-content: space-between; margin: 0 0 1.4rem; }
.filtres { display: flex; flex-wrap: wrap; gap: .5rem; }
.filtre { background: transparent; color: var(--texte); border: 1px solid var(--ligne); border-radius: 999px; padding: .4rem .9rem; font: .9rem var(--corps); cursor: pointer; }
.filtre:hover { border-color: var(--cuivre); }
.filtre[aria-pressed="true"] { background: var(--cuivre); border-color: var(--cuivre); color: #1a1310; font-weight: 600; }
.filtre:focus-visible, .tri-ordre select:focus-visible { outline: 2px solid var(--cuivre); outline-offset: 2px; }
.tri-ordre { color: var(--doux); font-size: .9rem; display: flex; align-items: center; gap: .5rem; }
.tri-ordre select { background: var(--fond-2); color: var(--texte); border: 1px solid var(--ligne); border-radius: 8px; padding: .4rem .6rem; font: .9rem var(--corps); }

#fichiers { display: block; margin: 1rem 0; color: var(--doux); max-width: 100%; }
.vignettes { display: flex; gap: .5rem; flex-wrap: wrap; margin: .5rem 0 1rem; }
.vignettes figure { margin: 0; width: 88px; }
.vignettes img { width: 88px; height: 117px; object-fit: cover; border-radius: 6px; display: block; }
.vignettes figcaption { font-size: .75rem; color: var(--doux); text-align: center; margin-top: .2rem; }

.intro { color: var(--doux); margin: -.4rem 0 1.4rem; max-width: 46rem; }
#services { padding-top: 0; }
.visuel { position: relative; }
.points { position: absolute; left: 0; right: 0; bottom: .7rem; display: flex; justify-content: center; gap: .5rem; }
.points button { width: .7rem; height: .7rem; padding: 0; border-radius: 50%; border: 1px solid #fff; background: rgba(0,0,0,.45); cursor: pointer; }
.points button[aria-current="true"] { background: var(--cuivre); border-color: var(--cuivre); }
.suivre a { color: var(--cuivre); }
.entete nav a { white-space: nowrap; }

/* Histoire « L'essayage » */
.recit { max-width: 40rem; margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem); }
.recit p { font-family: var(--titre); font-size: 1.15rem; line-height: 1.75; margin: 0 0 1.1rem; }
.recit .chapo, .recit .note, .recit .surtitre, .recit .erreur, .recit .case span { font-family: var(--corps); }
.recit .chapo { font-size: 1.15rem; margin-bottom: 2.5rem; }
.recit h2 { margin-top: 2.5rem; }
.inscription, .suite { margin-top: 3rem; padding: 1.8rem clamp(1.2rem, 4vw, 2rem); background: var(--fond-2); border: 1px solid var(--cuivre-fonce); border-radius: 14px; }
.inscription h2, .suite h2 { margin-top: .3rem; }
.inscription p:not(.surtitre):not(.note):not(.erreur) { font-family: var(--corps); font-size: 1rem; }
.inscription .note, .suite .note { font-size: .88rem; }
.inscription .bouton { margin: .6rem 0 .4rem; }
