/* ==========================================================================
   Bello delle Donne — feuille de style unique du site
   Valeurs issues de docs/fiche-technique.txt (ne pas modifier sans la charte)
   ========================================================================== */

/* ---------- Polices auto-hébergées (sous-ensemble latin, licence OFL) ---------- */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-italic.woff2") format("woff2");
  font-weight: 400 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --vinaccia: #5B2B2A;
  --cotto: #B4654A;      /* filets et ornements ; texte >= 24 px uniquement */
  --sabbia: #DCCBB4;
  --avorio: #F4EEE4;
  --inchiostro: #2A211F;
  --blanc: #FFFFFF;
  --muted: #5E5751;      /* texte secondaire (contraste AA sur Avorio et blanc) */

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-h1: 36px; --fs-h2: 28px; --fs-h3: 22px; --fs-sub: 18px;
  --fs-body: 16px; --fs-price: 16px; --fs-small: 14px; --fs-mention: 11px;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --gutter: 20px;
  --section: 64px;
  --card-pad: 24px;
  --max: 1120px;
}
@media (min-width: 640px) {
  :root {
    --fs-h1: 56px; --fs-h2: 40px; --fs-h3: 28px; --fs-sub: 22px;
    --fs-body: 17px; --fs-price: 17px; --fs-mention: 12px;
    --card-pad: 32px;
  }
}
@media (min-width: 900px) {
  :root { --gutter: 48px; --section: 96px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--avorio);
  color: var(--inchiostro);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--vinaccia);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.1; }
h2 { font-size: var(--fs-h2); line-height: 1.15; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--s4); }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
strong, b { font-weight: 600; }

a { color: var(--vinaccia); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 150ms; }
a:hover { color: var(--cotto); }
:focus-visible { outline: 2px solid var(--cotto); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--vinaccia); color: var(--avorio); padding: 12px 20px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--avorio); }

/* ---------- Mise en page ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(720px + 2 * var(--gutter)); }
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.section--band { background: var(--vinaccia); color: var(--avorio); }
.section--band + .section, .section + .section--band { padding-top: var(--section); }
.section--sabbia { background: var(--sabbia); }
.stack > * + * { margin-top: var(--s5); }
.center { text-align: center; }

/* Typo utilitaires */
.subtitle { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: var(--fs-sub); line-height: 1.35; color: var(--vinaccia); }
.mention { font-size: var(--fs-mention); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.small { font-size: var(--fs-small); line-height: 1.5; }
.muted { color: var(--muted); }
.price { font-weight: 600; font-size: var(--fs-price); white-space: nowrap; color: var(--inchiostro); font-variant-numeric: tabular-nums; }
.lead { font-size: var(--fs-body); max-width: 62ch; }

/* ---------- Filet « delle » : deux traits de part et d’autre d’un mot en italique ---------- */
.filet {
  display: flex; align-items: center; justify-content: center; gap: var(--s4);
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 24px; line-height: 1.2; color: var(--vinaccia);
  margin: 0 0 var(--s6);
}
.filet::before, .filet::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--cotto); }
@media (min-width: 640px) { .filet { font-size: 28px; } .filet::before, .filet::after { flex-basis: 64px; } }
/* Variante alignée à gauche, comme dans la carte des soins (titre + filet qui file) */
.filet-left {
  display: flex; align-items: center; gap: var(--s3);
  margin: 0 0 var(--s2);
}
.filet-left::after { content: ""; flex: 1; height: 1px; background: var(--cotto); }
.filet-left > * { flex: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 14px 28px;
  border: 1px solid var(--vinaccia); border-radius: 2px;
  background: var(--vinaccia); color: var(--avorio);
  font-family: var(--font-body); font-weight: 500; font-size: 14px; line-height: 1.2;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color 150ms, color 150ms, border-color 150ms;
}
.btn:hover { background: var(--inchiostro); border-color: var(--inchiostro); color: var(--avorio); }
.btn--secondary { background: transparent; color: var(--vinaccia); }
.btn--secondary:hover { background: var(--vinaccia); border-color: var(--vinaccia); color: var(--avorio); }
.btn--light { background: var(--avorio); border-color: var(--avorio); color: var(--vinaccia); }
.btn--light:hover { background: var(--sabbia); border-color: var(--sabbia); color: var(--vinaccia); }
.btn--outline-light { background: transparent; border-color: var(--avorio); color: var(--avorio); }
.btn--outline-light:hover { background: var(--avorio); color: var(--vinaccia); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 1; background: var(--sabbia); border-color: var(--sabbia); color: var(--muted); cursor: not-allowed; }
.btn--small { min-height: 44px; padding: 10px 18px; font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.btn-row--center { justify-content: center; }
@media (max-width: 479px) { .btn-row--stack .btn { width: 100%; } }
.link-plain { text-decoration: none; }
.link-arrow { font-weight: 500; }

/* ---------- En-tête ---------- */
.site-header { background: var(--avorio); border-bottom: 1px solid var(--sabbia); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: 72px; }
.brand-link { display: block; flex: none; line-height: 0; }
.brand-link img { width: 190px; height: auto; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--vinaccia); border-radius: 2px;
  color: var(--vinaccia); font: 500 13px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  min-height: 44px; padding: 0 16px; cursor: pointer;
}
.site-nav ul { display: flex; align-items: center; gap: var(--s5); }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--vinaccia); padding: 8px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { color: var(--cotto); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--cotto); }
.site-nav .nav-cta a { border: 1px solid var(--vinaccia); padding: 12px 18px; border-radius: 2px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.site-nav .nav-cta a:hover { background: var(--vinaccia); color: var(--avorio); }
.nav-cart[hidden] { display: none; }

@media (max-width: 899px) {
  .js .nav-toggle { display: inline-flex; align-items: center; }
  .header-inner { flex-wrap: wrap; }
  .brand-link img { width: 180px; }
  .site-nav { width: 100%; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 var(--s4); }
  .site-nav li { border-top: 1px solid var(--sabbia); }
  .site-nav a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 0; }
  .site-nav a[aria-current="page"] { color: var(--cotto); border-bottom: 0; }
  .site-nav .nav-cta { border-top: 0; padding-top: var(--s4); }
  .site-nav .nav-cta a { text-align: center; padding: 14px 18px; }
}
@media (max-width: 380px) { .brand-link img { width: 160px; } }

/* ---------- Héros d’accueil ---------- */
.hero { padding: var(--s7) 0 var(--section); text-align: center; }
.hero-logo { width: min(320px, 78vw); margin: 0 auto var(--s6); }
.hero h1 { max-width: 16ch; margin: 0 auto; }
.hero .mention { margin-top: var(--s5); }
.hero .btn-row { margin-top: var(--s6); justify-content: center; }
@media (min-width: 900px) { .hero { padding-top: var(--s8); } .hero-logo { width: 400px; } }

/* En-tête de page intérieure */
.page-head { padding: var(--s7) 0 var(--s7); text-align: center; }
.page-head .mention { margin-bottom: var(--s3); }
.page-head .subtitle { margin-top: var(--s4); }
.page-head .lead { margin: var(--s5) auto 0; }
@media (min-width: 900px) { .page-head { padding-top: var(--s8); } }

/* ---------- Cartes ---------- */
.card { background: var(--blanc); border: 1px solid var(--sabbia); padding: var(--card-pad); }
.grid { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); gap: var(--s5); } }
@media (min-width: 900px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); gap: var(--s5); } }

.soin-teaser { display: flex; flex-direction: column; gap: var(--s3); text-decoration: none; color: inherit; height: 100%; transition: border-color 150ms; }
.soin-teaser:hover { border-color: var(--vinaccia); color: inherit; }
.soin-teaser h3 { font-size: 22px; }
.soin-teaser p { color: var(--muted); font-size: var(--fs-small); }
.soin-teaser .from { margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--sabbia); display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.soin-teaser .from span:first-child { font-size: var(--fs-small); color: var(--muted); }

/* ---------- Carte des soins (inspirée de l’Imprimé 4) ---------- */
.soins-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s5); margin-top: var(--s6); }
.soins-nav a { font-weight: 500; }
.soin-cat { scroll-margin-top: 100px; }
.soin-cat + .soin-cat { margin-top: var(--s8); }
.soin-cat-head { margin-bottom: var(--s5); }
.soin-cat-head h2 { font-style: italic; font-weight: 400; font-size: var(--fs-h3); white-space: normal; }
.soin-cat-head p { color: var(--muted); font-size: var(--fs-small); }
.soin-list { padding-top: 0; padding-bottom: 0; }
.soin-row {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s1) var(--s5); align-items: baseline;
  padding: var(--s5) 0; border-bottom: 1px solid var(--sabbia);
}
.soin-row:last-child { border-bottom: 0; }
.soin-row h3 { font-size: 20px; line-height: 1.25; }
.soin-row .desc { grid-column: 1 / -1; color: var(--muted); font-size: var(--fs-small); max-width: 60ch; }
.soin-row .meta { display: flex; gap: var(--s4); align-items: baseline; justify-content: flex-end; }
.soin-row .duree { color: var(--muted); font-size: var(--fs-small); white-space: nowrap; }
@media (min-width: 640px) {
  .soin-row { grid-template-columns: 1fr auto auto; }
  .soin-row h3 { font-size: 22px; grid-column: 1; }
  .soin-row .desc { grid-column: 1; grid-row: 2; }
  .soin-row .meta { grid-column: 2 / 4; grid-row: 1; }
  .soin-row .meta .price { min-width: 92px; text-align: right; }
}
.soin-row--simple { padding: var(--s4) 0; }
.soin-row--simple h3 { font-family: var(--font-body); font-size: var(--fs-body); font-weight: 400; color: var(--inchiostro); }
.soin-note { margin-top: var(--s4); font-style: italic; color: var(--muted); font-size: var(--fs-small); }

/* ---------- Offre du moment (inspirée de l’Imprimé 5) ---------- */
.offres { display: grid; gap: var(--s5); }
.offre { background: var(--blanc); border: 1px solid var(--sabbia); display: grid; }
.offre .photo { aspect-ratio: 4 / 3; }
.offre-body { padding: var(--card-pad); display: flex; flex-direction: column; gap: var(--s3); }
.offre-body h3 { font-size: var(--fs-h2); line-height: 1.1; }
.offre-avantage { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2) var(--s4); padding-top: var(--s4); margin-top: var(--s2); border-top: 1px solid var(--sabbia); }
.offre-avantage strong { font-size: 20px; font-weight: 600; }
.offre .btn-row { margin-top: var(--s3); }
@media (min-width: 900px) {
  .offres--1 .offre { grid-template-columns: 1fr 1fr; }
  .offres--1 .offre .photo { aspect-ratio: auto; min-height: 100%; }
  .offres--2 { grid-template-columns: 1fr 1fr; }
  .offres--3 { grid-template-columns: repeat(3, 1fr); }
  .offres--3 .offre-body h3 { font-size: var(--fs-h3); }
}
.offre-vide { text-align: center; padding: var(--card-pad); }
.offre-vide h3 { margin-bottom: var(--s3); }
.offre-vide .btn-row { justify-content: center; margin-top: var(--s5); }


/* ---------- Bloc deux colonnes (À propos, accès) ---------- */
.split { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s8); } .split--reverse > :first-child { order: 2; } }
.split .text > * + * { margin-top: var(--s4); }
.split .text .btn-row, .split .text .link-arrow { margin-top: var(--s5); display: inline-flex; }

/* ---------- Emplacements photo (fond Sabbia, ratio fixe) ---------- */
.photo {
  position: relative; overflow: hidden; background: var(--sabbia);
  aspect-ratio: 4 / 5; margin: 0; width: 100%;
}
.photo::before { /* monogramme en signature discrète tant qu’aucune photo n’est déposée */
  content: ""; position: absolute; inset: 0; margin: auto; width: 64px; height: 36px;
  background: url("../logos/bdd-monogramme-blanc.svg") center / contain no-repeat;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo--paysage { aspect-ratio: 3 / 2; }
.photo--carre { aspect-ratio: 1 / 1; }

/* ---------- Infos pratiques ---------- */
.infos { display: grid; gap: var(--s5); }
.infos dt { margin-bottom: var(--s1); }
.infos dd { margin: 0; }
.infos dd a { overflow-wrap: anywhere; }
@media (min-width: 640px) { .infos--2 { grid-template-columns: 1fr 1fr; gap: var(--s6); } }

/* ---------- Boutique ---------- */
.produits { display: grid; gap: var(--s4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .produits { grid-template-columns: repeat(4, 1fr); gap: var(--s5); } }
@media (max-width: 359px) { .produits { grid-template-columns: 1fr; } }
.produit { background: var(--blanc); border: 1px solid var(--sabbia); display: flex; flex-direction: column; }
.produit .photo { aspect-ratio: 1 / 1; }
.produit-body { padding: var(--s4); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
@media (min-width: 640px) { .produit-body { padding: var(--s5); } }
.produit h3 { font-size: 19px; line-height: 1.25; }
.produit .desc { color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.produit-foot { margin-top: auto; padding-top: var(--s3); display: flex; flex-direction: column; gap: var(--s3); }
.produit-foot .btn { width: 100%; padding-left: 8px; padding-right: 8px; }
.produit .indispo { font-size: var(--fs-small); color: var(--muted); }
.boutique-vide { text-align: center; max-width: 640px; margin: 0 auto; }
.boutique-vide .btn-row { justify-content: center; margin-top: var(--s5); }
.notice { border: 1px solid var(--sabbia); background: var(--blanc); padding: var(--s4) var(--s5); font-size: var(--fs-small); }
.notice--demo { border-color: var(--cotto); }
.panier-bar {
  position: sticky; bottom: 0; z-index: 40; background: var(--vinaccia); color: var(--avorio);
  border-top: 1px solid var(--vinaccia);
}
.panier-bar[hidden] { display: none; }
.panier-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 68px; }
.panier-bar .btn { min-height: 44px; }

/* Page panier */
.panier-lignes { border-top: 1px solid var(--sabbia); }
.ligne { display: grid; grid-template-columns: 64px 1fr; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--sabbia); align-items: start; }
.ligne .photo { aspect-ratio: 1 / 1; }
.ligne .photo::before { width: 32px; height: 18px; }
.ligne h3 { font-size: 18px; }
.ligne-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s2); }
.qte { display: inline-flex; align-items: center; border: 1px solid var(--sabbia); }
.qte button { width: 44px; height: 44px; background: var(--blanc); border: 0; color: var(--vinaccia); font: 500 20px/1 var(--font-body); cursor: pointer; }
.qte button:hover { background: var(--avorio); }
.qte output { min-width: 36px; text-align: center; font-weight: 600; }
.btn-text { background: none; border: 0; padding: 8px 0; color: var(--vinaccia); font: inherit; font-size: var(--fs-small); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn-text:hover { color: var(--cotto); }
@media (min-width: 640px) { .ligne { grid-template-columns: 96px 1fr; } }
.panier-layout { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .panier-layout { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.recap > * + * { margin-top: var(--s4); }
.recap .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--s4); border-top: 1px solid var(--sabbia); }
.recap .total .price { font-size: 20px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { padding: 0; margin-bottom: var(--s3); }
.choix { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) 0; cursor: pointer; }
.choix input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--vinaccia); flex: none; }
.form-msg { font-size: var(--fs-small); color: var(--vinaccia); }
.form-msg:empty { display: none; }

/* Mentions « à compléter » sur les pages juridiques (à retirer après relecture) */
.a-completer { background: var(--sabbia); color: var(--inchiostro); padding: 0 4px; font-weight: 500; }
.legal h2 { font-size: var(--fs-h3); margin: var(--s7) 0 var(--s3); }
.legal h3 { font-size: 20px; margin: var(--s5) 0 var(--s2); }
.legal ul { list-style: disc; padding-left: 1.2em; margin-top: var(--s3); }
.legal li + li { margin-top: var(--s2); }
.legal p + ul, .legal ul + p { margin-top: var(--s3); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--vinaccia); color: var(--avorio); padding: var(--s8) 0 var(--s6); margin-top: var(--section); }
.section--band + .site-footer, .section--flush + .site-footer { margin-top: 0; }
.site-footer a { color: var(--avorio); }
.site-footer a:hover { color: var(--sabbia); }
.footer-grid { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: var(--s7); } }
.footer-logo { width: 220px; }
.site-footer .mention { color: var(--sabbia); margin-bottom: var(--s3); }
.site-footer li + li { margin-top: var(--s2); }
.footer-bottom { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid #7E5450; display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); justify-content: space-between; align-items: center; font-size: var(--fs-small); color: var(--sabbia); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.footer-mono { width: 48px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .panier-bar, .btn-row { display: none !important; } body { background: #fff; } }
.h3 { font-size: var(--fs-h3); line-height: 1.2; }
.soin-teaser-list > li { display: flex; }
.after-grid { margin-top: var(--s6); }
.footer-bottom li + li { margin-top: 0; }
/* Offre : bloc texte + bloc avantage. Sans photo sur ordinateur, les deux côte à côte. */
.offre-main, .offre-side { display: flex; flex-direction: column; gap: var(--s3); }
.offre-side .offre-avantage { margin-top: 0; }
@media (min-width: 900px) {
  .offres--1 .offre--texte { grid-template-columns: 1fr; }
  .offres--1 .offre--texte .offre-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s8); align-items: center; padding: var(--s7); }
  .offres--1 .offre--texte .offre-side { border-left: 1px solid var(--sabbia); padding-left: var(--s7); }
  .offres--1 .offre--texte .offre-avantage { border-top: 0; padding-top: 0; flex-direction: column; gap: var(--s1); }
}
.section + .section--sabbia { padding-top: var(--section); }
.section--sabbia + .site-footer { margin-top: 0; }
.recap-row { display: flex; justify-content: space-between; align-items: baseline; padding: var(--s1) 0; }
.recap dd { margin: 0; }
.recap .btn { width: 100%; }
.card .infos + .btn-row { margin-top: var(--s6); }
/* Message affiché uniquement dans l'aperçu (site affiché dans un cadre) */
.apercu-note {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--s5); z-index: 60;
  max-width: 480px; margin: 0 auto; padding: var(--s4) var(--s5);
  background: var(--vinaccia); color: var(--avorio); border: 1px solid var(--sabbia); border-radius: 2px;
  font-size: var(--fs-small); line-height: 1.5; text-align: center;
}
.apercu-note[hidden] { display: none; }

/* ==========================================================================
   Finitions (relecture de mise en page) — aucune couleur, police ni texte modifiés
   ========================================================================== */
.nowrap { white-space: nowrap; }

/* Logo du pied de page : compenser la marge intégrée au SVG pour l'aligner sur le texte */
.footer-logo { margin-left: -21px; }

/* Accueil : le titre tient sur deux lignes dès la tablette ; espace régulier sous le héros */
@media (min-width: 640px) { .hero h1 { max-width: 22ch; } }
.hero + .section { padding-top: 0; }

/* Pages intérieures : pas de double espace entre l'en-tête et le contenu */
.section--after-head { padding-top: var(--s5); }

/* Carte des soins : descriptions lisibles (taille du texte courant, encre pleine) */
.soin-row .desc { font-size: var(--fs-body); color: var(--inchiostro); }
.soin-row--simple h3 { font-size: var(--fs-body); }

/* Carte des soins sur ordinateur : titre de catégorie à gauche, liste à droite, sur toute la largeur */
@media (min-width: 900px) {
  .soin-cat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: var(--s8); align-items: start; }
  .soin-cat > .soin-cat-head { grid-column: 1; grid-row: 1 / span 2; position: sticky; top: 104px; margin-bottom: 0; }
  .soin-cat > .card, .soin-cat > .soin-note { grid-column: 2; }
  .soin-cat + .soin-cat { margin-top: var(--s9); }
  .soin-cat-head h2 { font-size: var(--fs-h3); }
  .soin-cat-head p { margin-top: var(--s2); }
}

/* Retour visuel au toucher (téléphone) : même teinte que le survol */
.btn:active { background: var(--inchiostro); border-color: var(--inchiostro); color: var(--avorio); }
.btn--secondary:active { background: var(--vinaccia); border-color: var(--vinaccia); }
.soin-teaser:active { border-color: var(--vinaccia); }


/* Bandeau sable en fin de page : il touche directement le pied de page */
main:has(> .section--sabbia:last-child) + .site-footer { margin-top: 0; }

/* Tailles de boutons et de navigation ramenées sur l'échelle de la charte (boutons 14 px) */
.btn--small, .nav-toggle, .site-nav .nav-cta a { font-size: 14px; }

/* Emplacement photo dans les blocs à deux colonnes : paysage tant qu'il est sur une seule colonne */
@media (max-width: 899px) { .split > .photo { aspect-ratio: 3 / 2; } }

/* ==========================================================================
   Interactions des boutons et liens (retour visuel au survol, au clic, au toucher)
   ========================================================================== */
.btn { transition: background-color 200ms, color 200ms, border-color 200ms, transform 120ms ease-out; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: 60ms; }
.btn[disabled], .btn[disabled]:hover { transform: none; }

/* Liens : le soulignement s'éloigne légèrement au survol */
a { transition: color 200ms, text-underline-offset 200ms; }
a:hover { text-underline-offset: 5px; }

/* Navigation : trait Cotto qui se dessine sous le lien survolé */
@media (min-width: 900px) {
  .site-nav li:not(.nav-cta) a { position: relative; border-bottom: 0; }
  .site-nav li:not(.nav-cta) a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--cotto);
    transform: scaleX(0); transform-origin: left; transition: transform 250ms ease-out;
  }
  .site-nav li:not(.nav-cta) a:hover::after, .site-nav li:not(.nav-cta) a[aria-current="page"]::after { transform: scaleX(1); }
}

/* Cartes de soins de l'accueil : la carte se soulève et son prix se teinte */
.soin-teaser { transition: border-color 200ms, transform 200ms ease-out; }
.soin-teaser:hover { transform: translateY(-4px); }
.soin-teaser .price { transition: color 200ms; }
.soin-teaser:hover .price { color: var(--vinaccia); }

/* Boutique : confirmation visible quand un produit est ajouté, compteur qui « rebondit » */
.btn.is-added, .btn.is-added:hover { background: var(--vinaccia); border-color: var(--vinaccia); color: var(--avorio); }
@keyframes bdd-pop { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
.panier-bar.is-bump [data-resume], .nav-cart.is-bump a { display: inline-block; animation: bdd-pop 320ms ease-out; }
.qte button { transition: background-color 150ms, transform 100ms; }
.qte button:active { transform: scale(.9); }

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active, .soin-teaser:hover { transform: none; }
  .panier-bar.is-bump [data-resume], .nav-cart.is-bump a { animation: none; }
}

/* Images libres : point de cadrage (le flacon reste au centre de l'emplacement) */
.photo--flacon img { object-position: 50% 50%; }
.photo--pipette img { object-position: 42% 50%; }

/* Offre du moment : période de validité bien lisible */
.offre-dates { font-weight: 600; color: var(--vinaccia); }

/* Carte des soins : le prix toujours à droite du nom du soin, la description en dessous (toutes largeurs) */
.soin-row { grid-template-columns: 1fr auto; }
.soin-row h3 { grid-column: 1; grid-row: 1; }
.soin-row .meta { grid-column: 2; grid-row: 1; }
.soin-row .desc { grid-column: 1 / -1; grid-row: 2; }
@media (min-width: 640px) {
  .soin-row { grid-template-columns: 1fr auto; }
  .soin-row .meta { grid-column: 2; }
  .soin-row .desc { grid-column: 1; }
}

/* Carte des soins : une image d'ambiance par catégorie, sous son titre */
/* Sur téléphone et tablette : bandeau horizontal sous le titre ; sur ordinateur : colonne de gauche */
.cat-photo { display: block; aspect-ratio: 16 / 9; margin-top: var(--s4); }
@media (min-width: 900px) {
  .cat-photo { aspect-ratio: 3 / 4; margin-top: var(--s5); }
  .cat-photo--paysage { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   INTERRUPTEUR BOUTIQUE — boutique masquée aux visiteuses (décision de Matteo, 10 novembre 2026)
   Pour afficher la boutique : supprimez la ligne ci-dessous (et voir README, « Réactiver la boutique »).
   ========================================================================== */
.lien-boutique { display: none !important; }

/* ==========================================================================
   Adaptation aux écrans (analyse du 10 novembre 2026)
   ========================================================================== */
/* Zones de toucher d'au moins 44 px pour les liens isolés (recommandation Apple et WCAG) */
.brand-link { display: inline-flex; align-items: center; min-height: 44px; }
.link-arrow, .soins-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.soins-nav { gap: 0 var(--s5); }
.site-footer ul a { display: inline-block; padding: 10px 0; }
.site-footer li + li { margin-top: 0; }

/* Très petits téléphones (téléphones pliables, iPhone SE 1re génération) */
@media (max-width: 340px) {
  :root { --gutter: 16px; }
  .brand-link img { width: 138px; }
  .nav-toggle { padding: 0 12px; }
  .header-inner { gap: var(--s3); }
  .btn { padding-left: 14px; padding-right: 14px; letter-spacing: .06em; }
}

/* Tablettes en portrait : les images d'ambiance ne sont pas étirées au-delà de leur résolution */
@media (min-width: 600px) and (max-width: 899px) {
  .cat-photo { max-width: 560px; }
}

/* Téléphones tenus à l'horizontale (écran très bas) */
@media (orientation: landscape) and (max-height: 500px) {
  .site-header { position: static; }
  html { scroll-padding-top: 16px; }
  .hero { padding-top: var(--s5); }
  .hero-logo { width: 220px; margin-bottom: var(--s5); }
  .photo, .cat-photo, .offre .photo { max-height: 80vh; }
  .soin-cat { scroll-margin-top: 16px; }
}
.site-footer .footer-bottom a { display: inline-block; padding: 12px 0; }
/* Longueur de ligne confortable (environ 65 caractères) quand le texte s'étale sur toute la largeur */
.split .text p, .legal p, .legal li { max-width: 68ch; }
.notice { max-width: 68ch; }
/* Téléphones à l'horizontale assez larges : deux colonnes, comme sur ordinateur (images nettes, écran mieux rempli) */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 700px) {
  .offres--1 .offre { grid-template-columns: 1fr 1fr; }
  .offres--1 .offre .photo { aspect-ratio: auto; min-height: 100%; max-height: none; }
  .split { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .split > .photo { aspect-ratio: 4 / 5; }
  .cat-photo { max-width: 400px; }
}
