/* Miravel — one stylesheet for the whole site. Values come from docs/DESIGN.md. */

@font-face { font-family: "Cormorant Garamond"; src: url(/fonts/cormorant-garamond-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(/fonts/cormorant-garamond-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url(/fonts/jost.woff2) format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }

:root {
  --creme: #F7F3EB; --sable: #EFE8DC; --ligne: #DDD4C4; --encre: #1C1A16; --brun: #6F675A;
  --pale: #9A917F; --or: #8E7142; --geant: #E6DED0; --wa: #25D366; --erreur: #9B2C1F;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --marge: 20px; --section: 64px; --tete: 32px;
  interpolate-size: allow-keywords;
}
@media (min-width: 900px) { :root { --marge: 56px; --section: 120px; --tete: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--encre); font: 400 16px/1.625 var(--sans); }
body.menu-ouvert { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.15; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* ponytail: placeholder copy is wrapped in <mark class="todo"> so it is easy to see and to grep before launch */
.todo { background: #F3E3A6; color: inherit; padding: 0 .2em; }

/* ---------- Layout and type ---------- */
.wrap { max-width: calc(1328px + 2 * var(--marge)); margin-inline: auto; padding-inline: var(--marge); }
.section { padding-block: var(--section); }
.tete { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: var(--tete); }
.tete--centre { flex-direction: column; align-items: center; text-align: center; }
.label { font: 500 13px/1.3 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--brun); }
.titre-page { font-size: 34px; line-height: 40px; }
.titre-section { font-size: 30px; line-height: 36px; }
.titre-page em, .titre-section em, .enonce em { font-style: italic; color: var(--or); }
.doux { color: var(--brun); }
.petit { font-size: 14px; line-height: 21px; color: var(--brun); }
.pile { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 900px) {
  .label { font-size: 12px; }
  .titre-page { font-size: 64px; line-height: 70px; }
  .titre-section { font-size: 42px; line-height: 50px; }
}

/* ---------- Buttons and controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 40px;
  border: 1px solid var(--encre); background: transparent; color: var(--encre); border-radius: 0;
  font: 500 14px/1.2 var(--sans); letter-spacing: 2px; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--encre); color: var(--creme); }
.btn--clair { border-color: #fff; color: #fff; }
.btn--clair:hover { background: #fff; color: var(--encre); }
.btn--plein { width: 100%; min-height: 56px; background: var(--encre); color: #fff; }
.btn--plein:hover { background: #3A362F; border-color: #3A362F; color: #fff; }
.btn--wa { width: 100%; min-height: 56px; background: var(--wa); border-color: var(--wa); color: #fff; }
.btn--wa:hover { background: #1FB457; border-color: #1FB457; color: #fff; }
@media (min-width: 900px) { .btn { font-size: 13px; letter-spacing: 2.5px; } }

.lien { display: inline-block; padding: 0; border: 0; background: none; cursor: pointer; color: var(--brun);
  font: 500 13px/1.3 var(--sans); letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none; }
.lien:hover { color: var(--encre); text-decoration: underline; text-underline-offset: 4px; }
.lien-texte { color: var(--encre); text-underline-offset: 3px; }

.pill { display: inline-flex; flex: none; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 999px; background: var(--sable); color: var(--encre);
  font: 500 14px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s; }
.pill:hover { border-color: var(--ligne); }
input:checked + .pill, .pill[aria-pressed="true"] { background: var(--encre); color: var(--creme); }
input:focus-visible + .pill, input:focus-visible + .pastille { outline: 2px solid var(--encre); outline-offset: 3px; }
input:disabled + .pill { opacity: .45; text-decoration: line-through; cursor: not-allowed; }

.badge { position: absolute; top: 10px; left: 10px; padding: 6px 10px; border-radius: 999px; background: var(--creme);
  font: 500 11px/1.3 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; }
@media (min-width: 900px) { .badge { top: 14px; left: 14px; padding: 7px 12px; font-size: 12px; letter-spacing: 2.6px; } }
.badge--statique { position: static; align-self: flex-start; background: var(--sable); }

/* ---------- Top strip ---------- */
.bandeau { height: 33px; display: flex; align-items: center; overflow: hidden; background: var(--encre); color: var(--creme); }
/* The track holds the items twice, so sliding it by half loops without a jump. ~50 px/s, as Aurelle. */
.bandeau__piste { display: flex; gap: 60px; width: max-content; padding-left: 60px; animation: defile 44s linear infinite; }
.bandeau p { font: 500 12px/1 var(--sans); letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.entete { position: relative; z-index: 20; background: var(--creme); border-bottom: 1px solid var(--ligne); }
.entete__barre { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font: 400 27px/1 var(--serif); letter-spacing: 6px; text-transform: uppercase; text-decoration: none; }
.nav { display: none; }
.nav a, .menu a { text-decoration: none; text-transform: uppercase; font-weight: 500; }
.nav a { font-size: 13px; letter-spacing: 2.5px; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
.menu { position: fixed; inset: 0; z-index: 50; display: none; flex-direction: column; padding: 8px var(--marge) 32px; background: var(--creme); overflow-y: auto; }
.menu.ouvert { display: flex; }
.menu__haut { display: flex; justify-content: space-between; align-items: center; height: 60px; margin-bottom: 24px; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { padding: 14px 0; border-bottom: 1px solid var(--ligne); font-size: 22px; letter-spacing: 2px; }
.menu .btn--wa { margin-top: auto; }
@media (min-width: 1024px) {
  .entete { position: sticky; top: 0; }
  .entete__barre { display: grid; grid-template-columns: 1fr auto 1fr; height: 85px; }
  .nav { display: flex; gap: 32px; }
  .nav--droite { justify-content: flex-end; }
  .menu-btn, .menu { display: none !important; }
}

/* ---------- Footer ---------- */
.pied { border-top: 1px solid var(--ligne); }
.pied__cols { display: grid; gap: 36px; padding-block: 48px; }
.pied__cols .label { margin-bottom: 16px; }
.pied__cols ul { display: flex; flex-direction: column; gap: 10px; }
.pied__cols a { color: var(--brun); text-decoration: none; font-size: 15px; }
.pied__cols a:hover { color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }
/* One equal column per letter, so each letter's centre is a known percentage for the photo to visit. */
.pied__geant { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; text-align: center; padding-block: 8px 16px; overflow: hidden;
  color: var(--geant); font: 400 60px/1 var(--serif); user-select: none; }
.pied__photo { position: absolute; left: 7.143%; top: 50%; width: 10%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px; transform: translate(-50%, -50%);
  animation: lettres 14s ease-in-out infinite; }
/* ponytail: stops written for 7 letters (M-I-R-A-V-E-L). A name of another length needs new stops:
   one letter = 100 / n % of the row = (100 / n) / 10 photo widths (the photo is 10% wide). Each stop holds, then slides. */
@keyframes lettres {
  0%, 10.29% { translate: 0; }  14.29%, 24.57% { translate: 142.86%; }  28.57%, 38.86% { translate: 285.71%; }
  42.86%, 53.14% { translate: 428.57%; }  57.14%, 67.43% { translate: 571.43%; }  71.43%, 81.71% { translate: 714.29%; }
  85.71%, 96% { translate: 857.14%; }  100% { translate: 0; }
}
.pied__bas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 20px 0 28px; border-top: 1px solid var(--ligne); font-size: 13px; color: var(--brun); }
.pied__bas a { color: inherit; text-decoration: none; }
.pied__bas a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .pied__cols { grid-template-columns: repeat(4, 1fr); gap: 64px; padding-block: 72px 64px; }
  .pied__geant { font-size: clamp(120px, 15vw, 216px); }
}

/* ---------- WhatsApp button ---------- */
.wa { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); transition: opacity .2s, transform .2s; }
.wa.discret { opacity: 0; transform: scale(.8); pointer-events: none; }

/* ---------- Scroll reveal (site.js only hides blocks that start below the fold) ---------- */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.reveal.cache { opacity: 0; transform: translateY(24px); }

/* ---------- Fold-out sections ---------- */
.pli { border-bottom: 1px solid var(--ligne); }
.pli:first-child { border-top: 1px solid var(--ligne); }
.pli > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none;
  font: 500 13px/1.3 var(--sans); letter-spacing: 1.8px; text-transform: uppercase; }
.pli > summary::-webkit-details-marker { display: none; }
.pli > summary::after { content: "+"; font: 400 20px/1 var(--sans); }
.pli[open] > summary::after { content: "–"; }
.pli::details-content { height: 0; overflow: clip; transition: height .3s ease, content-visibility .3s allow-discrete; }
.pli[open]::details-content { height: auto; }
.pli__corps { padding-bottom: 22px; color: var(--brun); }
.pli__corps p + p { margin-top: 10px; }
.pli--q > summary { font: 400 22px/1.3 var(--serif); letter-spacing: 0; text-transform: none; }
@media (min-width: 900px) { .pli--q > summary { font-size: 28px; padding-block: 26px; } }

/* ---------- Forms ---------- */
.carte-form { display: flex; flex-direction: column; gap: 22px; padding: 32px 22px; border-radius: 2px; background: var(--sable); }
.carte-form__titre { font-size: 28px; line-height: 32px; }
.champ .label { display: block; margin-bottom: 8px; color: var(--encre); }
.champ .facultatif { text-transform: none; letter-spacing: 0; color: var(--brun); font-weight: 400; }
.champ input, .champ select, .champ textarea { width: 100%; height: 56px; padding: 0 16px; border: 1px solid var(--ligne); border-radius: 0;
  background: var(--creme); font-size: 16px; }
.champ textarea { height: 140px; padding: 14px 16px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--encre); }
.champ input::placeholder, .champ textarea::placeholder { color: var(--brun); opacity: .8; }
@media (min-width: 900px) { .carte-form { padding: 44px 40px; gap: 26px; } .carte-form__titre { font-size: 34px; line-height: 38px; } }

/* ---------- Product card ---------- */
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
.grille--page { padding-bottom: var(--section); }
.carte { display: block; color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.carte__photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; background: var(--sable); }
.carte__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
@media (hover: hover) { .carte:hover .carte__photo img { transform: scale(1.03); } }
.carte__info { display: flex; flex-direction: column; margin-top: 12px; }
.carte__nom { font-size: 18px; line-height: 22px; }
.carte__prix { font-size: 15px; line-height: 22px; }
.carte__bas { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 2px; }
@media (min-width: 900px) { .carte__bas { flex-direction: row; justify-content: space-between; align-items: center; gap: 8px; } }
.carte__sous { font-size: 14px; line-height: 21px; color: var(--brun); }
.points { display: flex; gap: 4px; }
.point { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(28, 26, 22, .18); }
@media (min-width: 768px) { .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; } }
@media (min-width: 1200px) { .grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .carte__info { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
  .carte__nom { font-size: 24px; line-height: 28px; }
  .carte__prix { font-size: 14px; white-space: nowrap; }
}

/* ---------- Accueil ---------- */
.hero { position: relative; display: flex; align-items: flex-end; height: 560px; color: #fff; overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 26, 22, .72), rgba(28, 26, 22, .35) 55%, rgba(28, 26, 22, 0) 80%); }
.hero__contenu { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 56px; }
.hero .label { color: #fff; }
.hero h1 { font-size: 42px; line-height: 46px; max-width: 700px; }
.hero h1 em { font-style: italic; }
.hero p { max-width: 520px; }
.hero .btn { margin-top: 12px; }
@media (min-width: 900px) {
  .hero { height: 810px; }
  .hero__contenu { gap: 20px; padding-bottom: 100px; }
  .hero h1 { font-size: 80px; line-height: 88px; }
  .hero p { font-size: 17px; }
}

.tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
.tuile { display: flex; flex-direction: column; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.tuile__photo { width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; background: var(--sable); }
.tuile__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
@media (hover: hover) { .tuile:hover img { transform: scale(1.03); } }
.tuile .label { color: var(--encre); }
@media (min-width: 900px) { .tuiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

.vedette { display: grid; background: var(--sable); }
.vedette__photo img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.vedette__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 44px var(--marge) 56px; }
.vedette h2 { font-size: 34px; line-height: 38px; }
.vedette .prix { font-size: 15px; }
@media (min-width: 900px) {
  .vedette { grid-template-columns: 1fr 1fr; min-height: 840px; }
  .vedette__photo img { aspect-ratio: auto; }
  .vedette__texte { justify-content: center; gap: 26px; padding: 0 80px; max-width: 640px; }
  .vedette h2 { font-size: 58px; line-height: 58px; }
}

.tissus { display: grid; gap: 24px; }
.tissu { overflow: hidden; border-radius: 2px; background: var(--sable); }
.tissu img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tissu__texte { display: flex; flex-direction: column; gap: 18px; padding: 28px 22px 32px; }
.tissu h3 { font-size: 30px; line-height: 36px; }
.tissu dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; }
.tissu dt { padding-top: 3px; font: 500 12px/1.3 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--brun); }
@media (min-width: 900px) { .tissus { grid-template-columns: 1fr 1fr; } .tissu__texte { padding: 36px 40px 40px; } }

.enonce-bloc { display: grid; gap: 32px; align-items: center; }
.enonce-bloc img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.enonce-bloc__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.enonce { font-size: 40px; line-height: 46px; letter-spacing: -.6px; }
.enonce span, .enonce em { display: block; }
@media (min-width: 900px) {
  .enonce-bloc { grid-template-columns: 1fr 1fr; gap: 127px; }
  .enonce-bloc__texte { gap: 40px; }
  .enonce { font-size: 72px; line-height: 79px; letter-spacing: -1.2px; }
}

/* ---------- Collection ---------- */
.tete-page { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-block: 40px 24px; text-align: center; }
.tete-page .sous-titre { max-width: 560px; font: 400 19px/1.3 var(--serif); color: var(--brun); }
@media (min-width: 900px) { .tete-page { gap: 20px; padding-block: 100px 56px; } }
html:not(.js) .filtres { display: none; }
.filtres { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; padding-block: 16px; border-block: 1px solid var(--ligne); }
.filtres__rang { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--marge)); padding-inline: var(--marge); }
.filtres__rang::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
  .filtres { flex-direction: row; justify-content: center; gap: 40px; margin-bottom: 48px; padding-block: 20px; }
  .filtres__rang { margin: 0; padding: 0; overflow: visible; }
}

/* ---------- Product page ---------- */
.produit { display: grid; gap: 28px; padding-block: 12px var(--section); }
.galerie__piste { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * var(--marge)); padding-inline: var(--marge); scroll-padding-inline: var(--marge); }
.galerie__piste::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 calc(100% - 20px); scroll-snap-align: start; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--sable); }
.slide:only-child { flex-basis: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.galerie__points { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.galerie__points span { width: 6px; height: 6px; border-radius: 50%; background: var(--ligne); transition: background-color .2s, width .2s; }
.galerie__points span.actif { width: 18px; border-radius: 3px; background: var(--encre); }
.galerie__points:has(span:only-child) { display: none; }

.details { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.fil a { text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.produit__nom { font-size: 34px; line-height: 38px; }
.produit__prix { margin-top: -8px; font: 400 26px/30px var(--serif); }
.produit__tissu { font-size: 14px; line-height: 21px; color: var(--brun); }
.produit__tissu a { color: var(--encre); }
.commande { display: flex; flex-direction: column; gap: 22px; }
.choix { margin: 0; padding: 0; border: 0; min-width: 0; }
.choix__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; margin-bottom: 12px; padding: 0; }
.choix__tete .lien { font-size: 12px; letter-spacing: 1.5px; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.couleurs { gap: 4px; }
.pastille { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.pastille::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(28, 26, 22, .2); }
input:checked + .pastille::before { box-shadow: inset 0 0 0 1px rgba(28, 26, 22, .2), 0 0 0 3px var(--creme), 0 0 0 4px var(--encre); }
input:disabled + .pastille { position: relative; opacity: .45; cursor: not-allowed; }
/* Sold out: a strike across the swatch, so a faded colour is never mistaken for a lighter one. */
input:disabled + .pastille::after { content: ""; position: absolute; inset: 0; width: 34px; height: 1.5px; margin: auto; background: var(--encre); transform: rotate(-45deg); }

.ajouts { padding: 20px 22px; border-radius: 2px; background: var(--sable); }
.ajouts .choix__tete { margin-bottom: 8px; }
.ajouts .label { color: var(--encre); }
.ajout { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.ajout input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--encre); }
.ajout label { cursor: pointer; }
.ajout input:disabled + label { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.ajout__prix { white-space: nowrap; }
.ajout select { grid-column: 2 / 4; justify-self: start; height: 40px; padding: 0 10px; border: 1px solid var(--ligne); background: var(--creme); font-size: 15px; }
.ajouts__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; font-weight: 500; }
.commande__envoi { display: flex; flex-direction: column; gap: 12px; }

/* Order page (/commander): the summary first on phones, beside the form on desktop. */
.commander { display: grid; gap: 24px; padding-block: 32px var(--section); }
.commander__tete { display: flex; flex-direction: column; gap: 10px; }
.resume { display: flex; flex-direction: column; gap: 16px; padding: 20px 22px; border-radius: 2px; background: var(--sable); }
.resume__produit { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: start; }
.resume__produit img { width: 76px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.resume__nom { font: 400 22px/26px var(--serif); }
.resume__choix { margin: 4px 0 6px; }
.resume__lignes { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--ligne); font-size: 15px; }
.resume__ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.resume__ligne > :last-child { white-space: nowrap; }
.resume__total { padding-top: 14px; border-top: 1px solid var(--ligne); font-weight: 500; }
/* Ville: Le Peignoir's searchable menu (its "example 3"), in Miravel's look. */
.vs { position: relative; }
.vs-trigger { position: relative; width: 100%; height: 56px; padding: 0 48px 0 16px; border: 1px solid var(--ligne); background: var(--creme);
  font: 400 16px var(--sans); color: var(--encre); text-align: left; cursor: pointer; transition: border-color .2s; }
.vs-trigger.vide { color: var(--brun); }
.vs-trigger::after { content: ""; position: absolute; right: 20px; top: 50%; width: 7px; height: 7px; margin-top: -6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.vs.open .vs-trigger, .vs-trigger:hover { border-color: var(--encre); }
.vs.open .vs-trigger::after { transform: rotate(-135deg); margin-top: -2px; }
.vs-panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; overflow: hidden; border: 1px solid var(--encre); background: var(--creme);
  box-shadow: 0 18px 40px -16px rgba(28, 26, 22, .25); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s ease, transform .3s cubic-bezier(.16,1,.3,1); }
.vs.open .vs-panel { opacity: 1; transform: none; pointer-events: auto; }
.vs-search { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--ligne); color: var(--brun); }
.vs-search input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; font: 16px var(--sans); color: var(--encre); } /* 16px: iOS zooms below that */
.vs-list { max-height: 264px; margin: 0; padding: 6px; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
.vs-opt { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px; font-size: 15px; cursor: pointer; }
.vs-opt.active { background: var(--sable); }
.vs-opt[aria-selected="true"] { font-weight: 500; }
.vs-opt[aria-selected="true"]::after { content: "✓"; color: var(--or); font-size: 13px; }
.vs-empty { padding: 14px; font-size: 14px; color: var(--brun); text-align: center; }
#autre-ville { margin-top: 8px; }
.code-promo { display: flex; gap: 8px; }
.code-promo input { flex: 1; min-width: 0; }
.code-promo .btn { min-height: 56px; padding-inline: 20px; }
.code-promo__msg { margin-top: 8px; }
.code-promo__msg:empty { display: none; }
.code-promo__msg.non, .envoi-erreur { color: var(--erreur); }
.envoi-erreur { padding: 12px 16px; border-left: 2px solid var(--erreur); background: var(--creme); font-size: 15px; line-height: 22px; }
.btn:disabled { opacity: .6; cursor: progress; }
.merci { gap: 16px; }
.merci:focus { outline: none; } /* focused only so screen readers read it; nothing to click */
.merci .btn { align-self: flex-start; }
@media (min-width: 900px) {
  .commander { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: 72px; padding-top: 56px; align-items: start; }
  .commander__tete { grid-column: 1 / -1; }
  .commander .carte-form { grid-row: 2; grid-column: 1; }
  .resume { grid-row: 2; grid-column: 2; position: sticky; top: 110px; }
}

.confiance { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; border-radius: 2px; background: var(--sable); font-size: 14px; line-height: 21px; }
.confiance li { display: flex; align-items: center; gap: 12px; }

.fiche { display: grid; gap: 36px; padding: 40px 20px; border-radius: 2px; background: var(--sable); }
.fiche__texte { display: flex; flex-direction: column; gap: 14px; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { display: block; padding: 0; text-align: left; vertical-align: top; font-weight: 400; }
.specs th { padding-top: 16px; font-size: 14px; color: var(--brun); }
.specs td { padding: 2px 0 16px; border-bottom: 1px solid var(--ligne); }
.plis { max-width: 880px; margin: 48px auto 0; }
.plis--haut { margin-top: 0; }

@media (min-width: 900px) {
  .produit { grid-template-columns: minmax(0, 792fr) minmax(0, 480fr); gap: 72px; padding-top: 40px; align-items: start; }
  .galerie__piste { display: grid; gap: 16px; margin: 0; padding: 0; overflow: visible; }
  .slide { aspect-ratio: 4 / 5; }
  .galerie__points { display: none; }
  .details { gap: 26px; }
  .produit__nom { font-size: 56px; line-height: 60px; }
  .produit__prix { font: 400 30px/34px var(--serif); }
  .fiche { grid-template-columns: 1fr 1fr; gap: 80px; padding: 80px 64px; }
  .specs th, .specs td { display: table-cell; padding: 16px 0; border-bottom: 1px solid var(--ligne); }
  .specs th { width: 140px; padding-right: 20px; }
}

/* ---------- Size guide panel ---------- */
.guide { width: calc(100% - 40px); max-width: 560px; max-height: 85vh; padding: 0; border: 0; border-radius: 2px; background: var(--creme); color: var(--encre); }
.guide::backdrop { background: rgba(28, 26, 22, .5); }
.guide__tete { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--ligne); background: var(--creme); }
.guide__tete h2 { font-size: 28px; }
.guide__fermer { width: 44px; height: 44px; margin-right: -12px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; }
.guide__corps { display: flex; flex-direction: column; gap: 28px; padding: 20px 24px 32px; }
.guide h3 { margin-bottom: 8px; font-size: 22px; }
.tableau { width: 100%; border-collapse: collapse; font-size: 15px; }
.tableau th, .tableau td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--ligne); text-align: left; font-weight: 400; }
.tableau th { font: 500 12px/1.3 var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--brun); }
@media (max-width: 599px) {
  .guide[open] { width: 100%; max-width: none; margin: auto 0 0; border-radius: 12px 12px 0 0; animation: monte .25s ease; }
}
@keyframes monte { from { transform: translateY(40px); opacity: 0; } }

/* ---------- Contact ---------- */
.contact-tete { display: grid; gap: 20px; padding-block: 40px 32px; }
.contact { display: grid; gap: 40px; padding-bottom: var(--section); }
.coordonnees { display: flex; flex-direction: column; }
.coord { display: flex; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--ligne); }
.coord a { text-decoration: none; }
.rond { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sable); }
.contact__photo { display: none; }
.bande { background: var(--sable); }
@media (min-width: 900px) {
  .contact-tete { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; padding-block: 100px 64px; }
  .contact { grid-template-columns: minmax(0, 596fr) minmax(0, 676fr); gap: 72px; align-items: start; }
  .contact__photo { display: block; width: 100%; aspect-ratio: 596 / 360; object-fit: cover; margin-top: 32px; border-radius: 2px; }
}

/* ---------- À propos / text pages ---------- */
.intro-centre { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 760px; margin-inline: auto; text-align: center; }
.rang { display: grid; gap: 28px; align-items: center; }
.rang + .rang { margin-top: var(--section); }
.rang img { width: 100%; aspect-ratio: 7 / 8; object-fit: cover; border-radius: 2px; }
.rang__texte { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
@media (min-width: 900px) {
  .rang { grid-template-columns: 1fr 1fr; gap: 96px; }
  .rang--inverse img { order: 2; }
}
.numeros { max-width: 920px; margin-inline: auto; }
.numeros li { display: flex; gap: 24px; padding: 24px 8px; border-bottom: 1px solid var(--ligne); }
.numeros li:first-child { border-top: 1px solid var(--ligne); }
.numeros__n { flex: none; min-width: 32px; font: 400 19px/1.4 var(--serif); color: var(--or); }
.numeros h3 { font-size: 21px; line-height: 1.3; }
.numeros p { margin-top: 6px; color: var(--brun); }
.banniere { position: relative; display: grid; place-items: center; height: 420px; overflow: hidden; color: #fff; text-align: center; }
.banniere img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banniere::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(28, 26, 22, .4); }
.banniere__contenu { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 24px; padding-inline: var(--marge); }
.banniere h2 { font-size: 36px; line-height: 1.1; }
@media (min-width: 900px) { .banniere { height: 680px; } .banniere h2 { font-size: 48px; } }

.texte-page { max-width: 720px; margin-inline: auto; padding-block: 48px var(--section); }
.texte-page h1 { margin: 10px 0 24px; font-size: 34px; line-height: 40px; }
.texte-page h2 { margin: 40px 0 12px; font-size: 24px; line-height: 30px; }
.texte-page p + p, .texte-page p + ul, .texte-page ul + p { margin-top: 12px; }
.texte-page ul { padding-left: 20px; list-style: disc; }
.texte-page li + li { margin-top: 6px; }
@media (min-width: 900px) { .texte-page { padding-top: 100px; } .texte-page h1 { font-size: 42px; line-height: 50px; } }

.erreur { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-block: 120px; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
