/* =====================================================================
   frustration.fr — feuille de style unique du site
   Direction « Braise claire » (validée par le propriétaire le 2026-12-01) :
   mise en forme « Braise » (titres condensés en capitales, liserés braise)
   sur fond CLAIR pour le confort de lecture.
   Aucune police externe : piles système. Mobile d'abord.
   Règles d'usage : design/CHARTE.md
   ===================================================================== */

/* ---------- 1. Jetons ---------- */
:root {
  /* Fonds et traits */
  --fond: #faf7f3;          /* fond de page, blanc cassé chaud */
  --fond-2: #ffffff;        /* cartes, champs */
  --fond-3: #f1ebe4;        /* blocs secondaires, survols */
  --trait: #e4dbd1;
  --trait-fort: #cbbfb2;
  /* Textes */
  --texte: #1b1714;         /* 16,7:1 sur --fond */
  --lecture-encre: #2a2420; /* corps des histoires et articles */
  --doux: #5b524a;          /* 7,1:1 */
  --pale: #6e6359;          /* métadonnées : 5,4:1 sur --fond, 4,9:1 sur --fond-3 */
  /* Braise */
  --braise: #e2461f;        /* décor uniquement (3,8:1) : liserés, traits ; jamais pour du texte */
  --braise-texte: #b5321a;  /* liens, surtitres : 5,7:1 sur --fond */
  --braise-bouton: #c63d1c; /* fond des boutons, texte blanc : 5,1:1 */
  --braise-survol: #a12c15;
  --braise-pale: #fbe6de;   /* sélection, fond d'alerte */
  /* États */
  --ok: #1d6a3a; --ok-pale: #e2f1e7;
  --alerte: #8a5a00; --alerte-pale: #fdf0d2;

  /* Typographies système (zéro téléchargement) */
  --titre: "Bahnschrift", "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, system-ui, sans-serif;
  --lecture: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Mesures */
  --r: 6px;
  --r-grand: 10px;
  --large: 1180px;
  --mesure: 50rem;          /* largeur de lecture : 800 px (élargie à la demande du propriétaire) */
  --ombre: 0 14px 34px -18px rgba(60, 30, 15, .35);
  color-scheme: light;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 16px/1.6 var(--ui); overflow-wrap: break-word; }
img, video { max-width: 100%; height: auto; display: block; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--braise-texte); text-underline-offset: 3px; }
a:hover { color: var(--braise-survol); }
:focus-visible { outline: 3px solid var(--braise-texte); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4, .h1 { font-family: var(--titre); font-stretch: 80%; font-weight: 700; line-height: 1.08; letter-spacing: -.005em; text-wrap: balance; margin: 1.4em 0 .5em; color: var(--texte); }
h1, .h1 { font-size: clamp(2.1rem, 8vw, 4rem); text-transform: uppercase; letter-spacing: .005em; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--braise-pale); }
.large { width: min(100% - 32px, var(--large)); margin-inline: auto; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: -999px; top: 8px; z-index: 90; background: var(--braise-bouton); color: #fff; padding: 8px 14px; border-radius: var(--r); font-weight: 700; }
.evitement:focus { left: 8px; }
.surtitre, .rubrique { display: inline-block; margin: 0 0 10px; font: 700 .78rem/1.3 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--braise-texte); text-decoration: none; }
.meta { margin: 0; color: var(--pale); font-size: .86rem; }
.chapo { color: var(--doux); font-size: 1.1rem; max-width: 36em; margin: 0 0 24px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* ---------- 3. Boutons et liens ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .8em 1.4em; border: 0; border-radius: var(--r); background: var(--braise-bouton); color: #fff; font: 700 1rem/1.2 var(--ui); text-decoration: none; cursor: pointer; }
.bouton:hover { background: var(--braise-survol); color: #fff; }
.bouton.second { background: transparent; color: var(--texte); box-shadow: inset 0 0 0 1.5px var(--texte); }
.bouton.second:hover { background: var(--texte); color: var(--fond); }
.bouton.plein { width: 100%; }
.bouton.petit { min-height: 40px; padding: .5em 1em; font-size: .9rem; }
.bouton[disabled], .bouton[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.lien-fleche { font-weight: 600; text-decoration: none; white-space: nowrap; }
.lien-fleche::after { content: " →"; }
.lien-fleche:hover { text-decoration: underline; }

/* ---------- 4. En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 30; background: rgba(250, 247, 243, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--trait); }
.entete-ligne { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "marque panier burger" "recherche recherche recherche"; align-items: center; gap: 8px 6px; padding: 10px 0; }
.marque { grid-area: marque; justify-self: start; text-decoration: none; color: var(--texte); }
.marque-mot { display: inline-block; font-family: var(--titre); font-stretch: 75%; font-weight: 800; font-size: 1.6rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1; position: relative; padding-bottom: 6px; }
.marque-mot::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 4px; background: var(--braise); transform: skewX(-24deg); transform-origin: left; }
.marque:hover .marque-mot::after { width: 100%; transition: width .25s ease; }
.recherche { grid-area: recherche; display: flex; background: var(--fond-2); border: 1px solid var(--trait-fort); border-radius: var(--r); }
.recherche:focus-within { border-color: var(--braise-texte); box-shadow: 0 0 0 2px var(--braise-pale); }
.recherche input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; background: none; border: 0; color: var(--texte); outline: 0; }
.recherche input::placeholder { color: var(--pale); }
.recherche button, .panier, .burger { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--texte); cursor: pointer; position: relative; border-radius: var(--r); text-decoration: none; }
.panier:hover, .burger:hover { background: var(--fond-3); color: var(--texte); }
.panier { grid-area: panier; }
.burger { grid-area: burger; }
.pastille { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--braise-bouton); color: #fff; font-size: .72rem; font-weight: 800; line-height: 18px; text-align: center; }
/* Menu : tiroir (popover natif) sur mobile, barre + méga-menus sur ordinateur (01/12/2026) */
.compte { grid-area: compte; display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--texte); border-radius: var(--r); }
.compte:hover { background: var(--fond-3); color: var(--texte); }
.entete-ligne { grid-template-columns: 1fr auto auto auto; grid-template-areas: "marque compte panier burger" "recherche recherche recherche recherche"; }
.menu[popover] { position: fixed; margin: 0; inset: 0 0 0 auto; width: min(400px, 92vw); height: 100dvh; max-height: none; overflow-y: auto; padding: 0 0 28px;
  background: var(--fond-2); color: var(--texte); border: 0; border-left: 1px solid var(--trait); box-shadow: var(--ombre); }
.menu[popover]::backdrop { background: rgba(27, 23, 20, .45); }
.menu-tete { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 18px; background: var(--fond-2); border-bottom: 1px solid var(--trait); }
.menu-tete .marque-mot { font-size: 1.3rem; }
.menu-fermer { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--texte); border-radius: var(--r); cursor: pointer; }
.menu-fermer:hover { background: var(--fond-3); }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu .menu-barre { width: auto; padding: 4px 18px; }
.menu-groupe { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--trait); }
.menu-lien { display: block; padding: 16px 0; color: var(--texte); text-decoration: none; font-family: var(--titre); font-stretch: 80%; font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; }
.menu-lien[aria-current] { color: var(--braise-texte); }
.menu-boutique { color: var(--braise-texte); }
.menu-ouvrir { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; color: var(--texte); border-radius: var(--r); cursor: pointer; }
.menu-ouvrir:hover { background: var(--fond-3); }
.menu-ouvrir svg { transition: transform .2s ease; }
.menu-ouvrir[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega { grid-column: 1 / -1; padding: 0 0 16px; }
.mega .large { width: auto; }
.mega-titre { margin: 6px 0 4px; font: 700 .72rem/1.3 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--braise-texte); }
.mega-col + .mega-col { margin-top: 10px; }
.mega .mega-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.mega-liste a { display: block; padding: 8px 0; color: var(--texte); text-decoration: none; font-size: .98rem; line-height: 1.3; }
.mega-liste a:hover { color: var(--braise-texte); text-decoration: underline; }
.mega-liste small { color: var(--pale); font-size: .8em; margin-left: .2em; }
.mega-une { display: none; }
.mega-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; color: var(--doux); font-size: .88rem; }
.mega-puce { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--braise-pale); color: var(--braise-texte); font-weight: 700; font-size: .88rem; text-decoration: none; }
.mega-puce:hover { background: var(--braise-bouton); color: #fff; }
.menu-plus a { display: block; padding: 15px 0; color: var(--texte); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--trait); }

@media (min-width: 900px) {
  .entete-ligne { grid-template-columns: auto 1fr auto auto; grid-template-areas: "marque recherche compte panier"; gap: 6px 28px; padding: 16px 0 14px; }
  .compte { margin-right: -22px; }
  .recherche { max-width: 520px; justify-self: center; width: 100%; }
  .burger { display: none; }
  .menu[popover] { display: block; position: static; inset: auto; width: auto; height: auto; overflow: visible; padding: 0; background: var(--fond-2); border: 0; border-top: 1px solid var(--trait); box-shadow: none; }
  .menu-tete, .menu-plus { display: none; }
  .menu .menu-barre { display: flex; align-items: stretch; gap: 10px; width: min(100% - 32px, var(--large)); margin-inline: auto; padding: 0; }
  .menu-groupe { display: flex; align-items: center; border: 0; }
  .menu-lien { position: relative; padding: 15px 2px 15px 12px; font-size: 1.12rem; font-stretch: 85%; letter-spacing: .04em; }
  .menu-groupe:first-child .menu-lien { padding-left: 0; }
  .menu-lien::after { content: ""; position: absolute; left: 12px; right: -4px; bottom: 0; height: 4px; background: var(--braise); transform: skewX(-24deg) scaleX(0); transform-origin: left; transition: transform .2s ease; }
  .menu-groupe:first-child .menu-lien::after { left: 0; }
  .menu-groupe:hover .menu-lien::after, .menu-groupe.ouvert .menu-lien::after, .menu-lien[aria-current]::after { transform: skewX(-24deg) scaleX(1); }
  .menu-lien[aria-current] { color: var(--texte); }
  .menu-boutique { color: var(--braise-texte) !important; }
  .menu-ouvrir { width: 30px; height: 30px; color: var(--doux); }
  .menu-ouvrir svg { width: 18px; height: 18px; }
  .mega { position: absolute; left: 0; right: 0; top: 100%; padding: 28px 0 22px; max-height: calc(100vh - 140px); overflow-y: auto;
    background: var(--fond-2); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); box-shadow: 0 30px 40px -28px rgba(60, 30, 15, .4); }
  .mega .large { width: min(100% - 32px, var(--large)); }
  .mega-grille { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; align-items: start; }
  #mega-conseils .mega-grille { grid-template-columns: minmax(0, 1fr) 250px 250px; }
  .mega-grille.mega-boutique { grid-template-columns: repeat(5, minmax(0, 1fr)) 210px; gap: 26px; }
  .mega-col + .mega-col { margin-top: 0; }
  .mega-titre { margin: 0 0 10px; }
  .mega .mega-liste { grid-template-columns: 1fr; }
  .mega .mega-liste.deux-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .mega .mega-liste.trois-col { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
  .mega-liste a { padding: 6px 0; font-size: .95rem; }
  .mega-une { display: block; color: var(--texte); text-decoration: none; }
  .mega-une-visuel { display: block; aspect-ratio: 4 / 3; margin-bottom: 10px; border-radius: var(--r); overflow: hidden; background: var(--fond-3); }
  .mega-une-visuel img { width: 100%; height: 100%; object-fit: cover; }
  .mega-une-visuel img.ambiance { object-position: 50% 18%; }
  .mega-produit .mega-une-visuel { aspect-ratio: 3 / 4; background: #fff; border: 1px solid var(--trait); }
  .mega-produit .mega-une-visuel img { object-fit: contain; }
  .mega-une .rubrique { margin-bottom: 4px; }
  .mega-une-titre { display: block; font-family: var(--titre); font-stretch: 85%; font-weight: 700; font-size: 1.12rem; line-height: 1.18; }
  .mega-une:hover .mega-une-titre { color: var(--braise-texte); }
  .mega-une .prix { margin: 6px 0 0; }
  .mega-pied { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--trait); }
}

/* ---------- 5. Fil d'Ariane ---------- */
.fil { overflow-x: auto; scrollbar-width: none; }
.fil::-webkit-scrollbar { display: none; }
.fil ol { list-style: none; display: flex; margin: 16px 0 18px; padding: 0; font-size: .85rem; color: var(--pale); white-space: nowrap; }
.fil li + li::before { content: "/"; margin: 0 8px; color: var(--trait-fort); }
.fil a { color: var(--doux); text-decoration: none; }
.fil a:hover { color: var(--texte); text-decoration: underline; }
.fil [aria-current] { color: var(--texte); }

/* ---------- 6. Accueil : héros et entrées ---------- */
.heros { padding: 26px 0 10px; }
.heros h1 { margin: 0 0 16px; max-width: 14ch; }
.heros-photo { margin: 0 0 22px; aspect-ratio: 16 / 10; border-radius: var(--r-grand); overflow: hidden; }
.heros-photo img { width: 100%; height: 100%; object-fit: cover; }
.entrees { display: grid; gap: 10px; }
.entree { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; background: var(--fond-2); border: 1px solid var(--trait); border-left: 4px solid var(--braise); border-radius: var(--r); text-decoration: none; color: var(--texte); }
.entree:hover { background: var(--fond-3); color: var(--texte); }
.entree-titre { display: block; font-family: var(--titre); font-stretch: 80%; font-weight: 700; font-size: 1.3rem; text-transform: uppercase; }
.entree-info { display: block; color: var(--doux); font-size: .92rem; }
.entree-photo { width: 64px; height: 64px; border-radius: var(--r); overflow: hidden; }
.entree-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 700px) {
  .heros { padding-top: 48px; }
  .heros-grille { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
  .heros-photo { order: 2; aspect-ratio: 4 / 5; margin: 0; }
  .entrees { grid-template-columns: repeat(3, 1fr); margin-top: 28px; }
}

/* ---------- 7. Blocs de page ---------- */
.bloc { padding: 34px 0; }
.bloc + .bloc { border-top: 1px solid var(--trait); }
.bloc-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.bloc-tete h2 { margin: 0; text-transform: uppercase; }
.bloc-tete h2::before { content: ""; display: inline-block; width: 14px; height: .62em; margin-right: 10px; background: var(--braise); transform: skewX(-24deg); }
.bloc-sable { background: var(--fond-3); }

/* ---------- 8. Tuiles photo (catégories d'histoires, rubriques) ---------- */
.tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tuile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-grand); overflow: hidden; color: #fff; text-decoration: none; background: var(--fond-3); }
.tuile > img, .tuile > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tuile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(27, 23, 20, .82)); }
.tuile-titre { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-family: var(--titre); font-stretch: 80%; font-weight: 700; font-size: 1.3rem; line-height: 1.05; text-transform: uppercase; }
.tuile-titre::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 8px; background: var(--braise); transform: skewX(-24deg); }
.tuile-titre small { display: block; font: 500 .8rem/1.3 var(--ui); text-transform: none; color: #f3e6dc; margin-top: 4px; }
.tuile:hover > img, .tuile:hover > .ph { transform: scale(1.04); }
.tuile:focus-visible { outline-offset: 3px; }
@media (min-width: 700px) { .tuiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .tuiles.six { grid-template-columns: repeat(6, 1fr); } }

/* ---------- 9. Cartes de récits (histoires, articles) ---------- */
.grille-recits { display: grid; gap: 24px; }
.carte-recit { position: relative; }
.carte-recit .visuel { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; margin-bottom: 12px; background: var(--fond-3); }
.carte-recit .visuel img, .carte-recit .visuel .ph { width: 100%; height: 100%; object-fit: cover; }
.carte-recit h3 { margin: 0 0 6px; font-size: 1.3rem; }
.carte-recit h3 a { color: var(--texte); text-decoration: none; }
.carte-recit h3 a::after { content: ""; position: absolute; inset: 0; }
.carte-recit:hover h3 a { color: var(--braise-texte); }
.carte-recit .extrait { color: var(--doux); font-size: .95rem; margin: 0 0 6px; }
.carte-recit .rubrique { position: relative; z-index: 1; }
@media (min-width: 700px) { .grille-recits { grid-template-columns: repeat(3, 1fr); } .grille-recits.deux { grid-template-columns: repeat(2, 1fr); } }
/* Liste compacte (catégories longues : 70+ histoires) */
.liste-recits { list-style: none; margin: 0; padding: 0; }
.liste-recits li { position: relative; display: grid; grid-template-columns: 1fr 92px; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--trait); }
.liste-recits h3 { margin: 0 0 4px; font-size: 1.15rem; }
.liste-recits h3 a { color: var(--texte); text-decoration: none; }
.liste-recits h3 a::after { content: ""; position: absolute; inset: 0; }
.liste-recits li:hover h3 a { color: var(--braise-texte); }
.liste-recits .extrait { margin: 0 0 4px; color: var(--doux); font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.liste-recits .vignette-recit { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--fond-3); }
.liste-recits .vignette-recit img, .liste-recits .vignette-recit .ph { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 10. Lecture longue (histoire, article) ---------- */
.lecture { max-width: var(--mesure); margin-inline: auto; }
.lecture-tete h1 { margin: 0 0 12px; font-size: clamp(1.9rem, 7vw, 3.1rem); }
/* Couverture : format naturel de l’image (carrée 1000×1000 ou 16:9 1408×768 dans l’existant), hauteur plafonnée */
.couverture { margin: 18px 0 6px; border-radius: var(--r-grand); overflow: hidden; background: var(--fond-3); }
.couverture img { width: 100%; height: auto; max-height: min(70vh, 640px); object-fit: cover; }
.couverture .ph { aspect-ratio: 16 / 9; }
.sommaire { margin: 22px 0 26px; background: var(--fond-2); border: 1px solid var(--trait); border-radius: var(--r-grand); }
.sommaire summary { cursor: pointer; padding: 14px 18px; min-height: 48px; font: 700 .85rem/1.4 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--doux); }
.sommaire > ol { margin: 0; padding: 0 18px 16px 38px; }
.sommaire ol ol { padding-left: 18px; margin: 4px 0; list-style: circle; }
.sommaire li { margin: 5px 0; }
.sommaire a { color: var(--texte); text-decoration: none; }
.sommaire a:hover { color: var(--braise-texte); text-decoration: underline; }
/* Corps de texte : contenu WordPress repris tel quel */
.texte { font-family: var(--lecture); font-size: 1.19rem; line-height: 1.72; color: var(--lecture-encre); hyphens: auto; -webkit-hyphens: auto; }
.texte > :first-child { margin-top: 0; }
.texte p { margin: 0 0 1.15em; }
.texte h2, .texte h3, .texte h4 { font-family: var(--titre); color: var(--texte); hyphens: none; }
.texte h2 { font-size: 1.7rem; margin-top: 1.6em; }
.texte h3 { font-size: 1.3rem; margin-top: 1.4em; }
.texte b, .texte strong { color: var(--texte); font-weight: 700; }
.texte a { color: var(--braise-texte); }
.texte ul, .texte ol { padding-left: 1.3em; margin: 0 0 1.15em; }
.texte li { margin-bottom: .35em; }
.texte li::marker { color: var(--braise-texte); }
.texte code { font-size: .85em; background: var(--fond-3); padding: 1px 5px; border-radius: 4px; }
.texte blockquote { margin: 1.6em 0; padding: 0 0 0 18px; border-left: 3px solid var(--braise); font-style: italic; color: var(--doux); font-size: 1.1em; }
.texte blockquote p { margin: 0; }
.texte img, .texte figure { margin: 1.6em auto; border-radius: var(--r); }
.texte figcaption, .texte .wp-caption-text { font: .84rem/1.4 var(--ui); color: var(--pale); text-align: center; margin-top: .4em; }
.texte .aligncenter { margin-inline: auto; }
.texte .alignleft, .texte .alignright { max-width: 45%; }
@media (min-width: 600px) { .texte .alignleft { float: left; margin: .3em 1.2em .8em 0; } .texte .alignright { float: right; margin: .3em 0 .8em 1.2em; } }
.texte table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font: .92rem/1.5 var(--ui); margin: 1.4em 0; }
.texte th, .texte td { padding: .55em .7em; border-bottom: 1px solid var(--trait); text-align: left; vertical-align: top; }
.texte th { background: var(--fond-3); }
.texte iframe { max-width: 100%; }
.texte hr { border: 0; height: 4px; width: 60px; margin: 2em auto; background: var(--braise); transform: skewX(-24deg); }
.lettrine::first-letter { float: left; font-family: var(--titre); font-weight: 800; font-size: 4.2em; line-height: .82; margin: .06em .1em 0 0; color: var(--braise-texte); }
@media (min-width: 700px) { .texte { font-size: 1.25rem; } }
/* Texte de l'article de blog : même corps, en sans-serif (plus « guide pratique ») */
.texte.pratique { font-family: var(--ui); font-size: 1.08rem; line-height: 1.7; }
@media (min-width: 700px) { .texte.pratique { font-size: 1.12rem; } }
/* Texte SEO long des catégories : SOUS la liste, lisible, jamais masqué */
.texte-categorie { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--trait); }
.texte-categorie .texte { max-width: var(--mesure); }

/* Histoires voisines */
.suite { display: grid; gap: 10px; margin: 0 0 10px; }
.suite a { display: block; padding: 14px 16px; background: var(--fond-2); border: 1px solid var(--trait); border-radius: var(--r); color: var(--texte); text-decoration: none; font-weight: 600; }
.suite a:hover { border-color: var(--braise); }
.suite span { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pale); font-weight: 700; }
.suite a[rel=next] { text-align: right; }
@media (min-width: 560px) { .suite { grid-template-columns: 1fr 1fr; } }

/* Mini-produit glissé dans un texte */
.encart-produit { position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; padding: 12px; margin: 28px 0; background: var(--fond-2); border: 1px solid var(--trait); border-left: 4px solid var(--braise); border-radius: var(--r); font-family: var(--ui); font-size: .95rem; line-height: 1.45; }
.encart-produit .vignette { margin: 0; }
.encart-produit p { margin: 0 0 4px; }
.encart-produit a { font-weight: 650; color: var(--texte); text-decoration: none; }
.encart-produit a::after { content: ""; position: absolute; inset: 0; }
.encart-produit:hover a { color: var(--braise-texte); }

/* ---------- 11. Encart coquine-telephonerose (fin d'histoire) ----------
   Aux couleurs de frustration (identité séparée), avec les éléments de l'encart actuel :
   photo de l'hôtesse, accroche, bouton « Discuter avec… », lien fiche, mention 18+. */
.encart-coquine { position: relative; overflow: hidden; margin: 40px 0 28px; padding: 22px 20px 20px 24px; border-radius: var(--r-grand); background: linear-gradient(150deg, #fff4ee, var(--fond-2) 65%); border: 1px solid #f0cfc2; font-family: var(--ui); }
.encart-coquine::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--braise); }
.encart-haut { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; margin-bottom: 12px; }
.encart-photo { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--braise); }
.encart-photo img, .encart-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.encart-sur { margin: 0 0 4px; font: 700 .76rem/1.3 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--braise-texte); }
.encart-titre { margin: 0; font-family: var(--titre); font-stretch: 85%; font-weight: 700; font-size: 1.4rem; line-height: 1.12; color: var(--texte); }
.encart-texte { margin: 0 0 16px; color: var(--doux); }
.encart-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.encart-coquine .bouton { width: 100%; }
.encart-mention { margin: 12px 0 0; font-size: .78rem; color: var(--pale); }
@media (min-width: 560px) { .encart-coquine .bouton { width: auto; } }

/* ---------- 12. Produits ---------- */
.grille-produits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.rail > * { scroll-snap-align: start; }
.carte-produit { position: relative; display: flex; flex-direction: column; }
/* Photos fournisseur de tous formats : cadre carré clair, image entière (contain) */
/* Photos fournisseur Busyx : packshots 2:3 (800×1200) sur fond blanc, logo de marque en coin.
   Cadre 2:3 blanc, image entière (contain) : les 2:3 le remplissent, les autres formats sont centrés sans recadrage. */
.vignette { position: relative; aspect-ratio: 2 / 3; display: grid; place-items: center; background: #fff; border: 1px solid var(--trait); border-radius: var(--r); overflow: hidden; padding: 0; margin-bottom: 10px; }
.vignette img { width: 100%; height: 100%; object-fit: contain; }
.carte-produit h3 { margin: 0 0 6px; font-family: var(--ui); font-stretch: normal; font-weight: 600; font-size: .95rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.carte-produit h3 a { color: var(--texte); text-decoration: none; }
.carte-produit h3 a::after { content: ""; position: absolute; inset: 0; }
.carte-produit:hover h3 a { color: var(--braise-texte); }
.prix { margin: auto 0 0; font-weight: 800; font-size: 1.05rem; color: var(--texte); font-variant-numeric: tabular-nums; }
.prix-barre { color: var(--pale); font-weight: 400; text-decoration: line-through; margin-right: 6px; font-size: .9em; }
.prix-promo { color: var(--braise-texte); }
.badge { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 4px 8px; border-radius: 3px; background: var(--texte); color: #fff; font: 700 .68rem/1.2 var(--ui); letter-spacing: .1em; text-transform: uppercase; }
.badge.promo { background: var(--braise-bouton); }
.badge.epuise { background: var(--fond-3); color: var(--doux); }
.carte-produit .ajout { position: relative; z-index: 1; margin-top: 8px; min-height: 42px; border: 0; border-radius: var(--r); background: var(--fond-3); color: var(--texte); font-weight: 700; font-size: .88rem; cursor: pointer; text-decoration: none; display: grid; place-items: center; }
.carte-produit .ajout:hover { background: var(--texte); color: #fff; }
@media (min-width: 700px) { .grille-produits { grid-template-columns: repeat(3, 1fr); } .rail { grid-auto-columns: 30%; } }
@media (min-width: 900px) { .grille-produits { grid-template-columns: repeat(4, 1fr); gap: 28px 24px; } .rail { grid-auto-columns: calc(25% - 9px); } }

.reassurance { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 16px 0 0; border-top: 1px solid var(--trait); color: var(--doux); font-size: .9rem; }
.reassurance li::before { content: "■"; color: var(--braise); margin-right: 8px; font-size: .7em; vertical-align: 2px; }

/* ---------- 13. Listes : outils, sous-catégories, pagination ---------- */
.outils-liste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 20px; padding: 10px 0; border-block: 1px solid var(--trait); font-size: .9rem; color: var(--doux); }
.outils-liste label { display: inline-flex; align-items: center; gap: 8px; }
.outils-liste select { min-height: 42px; border: 1px solid var(--trait-fort); border-radius: var(--r); background: var(--fond-2); padding: 0 10px; color: var(--texte); }
.puces { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 8px; padding: 2px 16px 8px; list-style: none; }
.puces::-webkit-scrollbar { display: none; }
.puces a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--trait-fort); border-radius: var(--r); background: var(--fond-2); color: var(--texte); text-decoration: none; font-size: .9rem; white-space: nowrap; }
.puces a:hover { border-color: var(--texte); }
.puces a[aria-current] { background: var(--texte); border-color: var(--texte); color: #fff; }
.puces small { color: var(--pale); margin-left: .4em; }
.puces a[aria-current] small { color: #e9e1d8; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 34px 0 10px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--trait-fort); border-radius: var(--r); background: var(--fond-2); text-decoration: none; color: var(--texte); font-weight: 600; }
.pagination a:hover { border-color: var(--braise); color: var(--braise-texte); }
.pagination [aria-current] { background: var(--texte); border-color: var(--texte); color: #fff; }
.pagination .ellipse { border: 0; background: none; }

/* ---------- 14. Fiche produit ---------- */
.fiche { display: grid; gap: 22px; }
.galerie { display: grid; gap: 8px; }
.galerie-defile { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r); }
.galerie-defile::-webkit-scrollbar { display: none; }
.galerie-defile > * { scroll-snap-align: start; margin: 0; }
.galerie-vignettes { display: flex; gap: 8px; overflow-x: auto; }
.galerie-vignettes button { flex: none; width: 64px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--r); }
.galerie-vignettes .vignette { margin: 0; }
.galerie-vignettes button[aria-current="true"] .vignette { border: 2px solid var(--braise); }
.achat h1 { font-size: clamp(1.6rem, 5.6vw, 2.3rem); margin: 0 0 10px; text-transform: none; } /* noms produits longs : pas de capitales */
.achat .prix { font-size: 1.7rem; margin: 0 0 6px; }
.marque-produit { margin: 0 0 6px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ok); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.faible { color: var(--alerte); }
.stock.epuise { color: var(--pale); }
.choix { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
.choix legend { font-weight: 700; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.choix legend span { font-weight: 400; color: var(--doux); }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.options label { position: relative; }
.options input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.options span { display: grid; place-items: center; min-width: 48px; min-height: 44px; padding: 0 14px; border: 1px solid var(--trait-fort); border-radius: var(--r); background: var(--fond-2); font-size: .92rem; }
.options input:checked + span { border: 2px solid var(--braise-texte); background: var(--braise-pale); font-weight: 700; }
.options input:focus-visible + span { outline: 3px solid var(--braise-texte); outline-offset: 2px; }
.options input:disabled + span { color: var(--trait-fort); text-decoration: line-through; }
.quantite { display: inline-flex; align-items: center; border: 1px solid var(--trait-fort); border-radius: var(--r); background: var(--fond-2); }
.quantite button { width: 44px; height: 46px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
.quantite input { width: 42px; height: 46px; border: 0; text-align: center; background: none; -moz-appearance: textfield; appearance: textfield; }
.quantite input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ligne-achat { display: flex; gap: 10px; margin-top: 20px; }
.ligne-achat .bouton { flex: 1; }
.atouts { list-style: none; padding: 0; margin: 18px 0 0; font-size: .9rem; display: grid; gap: 6px; color: var(--doux); }
.atouts li::before { content: "■"; color: var(--braise); margin-right: 8px; font-size: .7em; vertical-align: 2px; }
.plis { margin-top: 10px; border-top: 1px solid var(--trait); }
.plis details { border-bottom: 1px solid var(--trait); }
.plis summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; list-style: none; font-family: var(--titre); font-stretch: 80%; font-weight: 700; font-size: 1.3rem; text-transform: uppercase; }
.plis summary::-webkit-details-marker { display: none; }
.plis summary::after { content: "+"; color: var(--braise-texte); font: 400 1.6rem/1 var(--ui); }
.plis details[open] summary::after { content: "–"; }
.plis .texte { padding-bottom: 20px; }
.caracteristiques { width: 100%; border-collapse: collapse; font-size: .93rem; }
.caracteristiques th, .caracteristiques td { text-align: left; padding: .55em 0; border-bottom: 1px solid var(--trait); vertical-align: top; }
.caracteristiques th { width: 42%; color: var(--doux); font-weight: 500; }
/* Barre d'achat collante (mobile) */
.barre-achat { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--fond-2); border-top: 1px solid var(--trait); box-shadow: 0 -10px 24px -18px rgba(0, 0, 0, .5); }
.barre-achat .prix { margin: 0; font-size: 1.15rem; }
.barre-achat .bouton { flex: 1; }
@media (min-width: 900px) {
  .fiche { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .achat { position: sticky; top: 130px; }
  .barre-achat { display: none; }
}

/* ---------- 15. Formulaires ---------- */
.champ { display: grid; gap: 6px; margin-bottom: 14px; }
.champ label { font-weight: 600; font-size: .92rem; }
.champ .aide { font-size: .82rem; color: var(--pale); }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--trait-fort); border-radius: var(--r); background: var(--fond-2); color: var(--texte); }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--braise-texte); outline: 2px solid var(--braise-pale); outline-offset: 0; }
.champ.erreur input { border-color: var(--braise-texte); background: var(--braise-pale); }
.champ .message-erreur { color: var(--braise-texte); font-size: .85rem; font-weight: 600; margin: 0; }
.deux-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin: 10px 0; }
.case input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--braise-bouton); flex: none; }
.cartes-choix { display: grid; gap: 8px; border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.cartes-choix legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.carte-choix { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--trait-fort); border-radius: var(--r); background: var(--fond-2); cursor: pointer; }
.carte-choix input { width: 20px; height: 20px; margin: 0; accent-color: var(--braise-bouton); }
.carte-choix:has(input:checked) { border: 2px solid var(--braise-texte); background: var(--braise-pale); }
.carte-choix small { display: block; color: var(--doux); font-size: .84rem; }
.carte-choix b { font-variant-numeric: tabular-nums; }
.titre-etape { font-size: 1.4rem; text-transform: uppercase; margin: 28px 0 14px; }

/* ---------- 16. Panier et commande ---------- */
.etapes { display: flex; list-style: none; margin: 10px 0 16px; padding: 0; gap: 6px; font-size: .78rem; counter-reset: etape; }
.etapes li { flex: 1; counter-increment: etape; padding-top: 8px; border-top: 4px solid var(--trait); color: var(--pale); font-weight: 600; }
.etapes li::before { content: counter(etape) ". "; }
.etapes li.faite, .etapes li[aria-current] { border-top-color: var(--braise); color: var(--texte); }
.etapes li[aria-current] { font-weight: 800; }
.ligne-panier { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--trait); }
.ligne-panier .vignette { margin: 0; }
.ligne-panier .nom { font-weight: 600; color: var(--texte); text-decoration: none; line-height: 1.3; }
.ligne-panier .nom:hover { color: var(--braise-texte); text-decoration: underline; }
.ligne-panier .variante { display: block; font-size: .85rem; color: var(--doux); }
.ligne-panier .bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.ligne-panier .prix { margin: 0; }
.retirer { background: none; border: 0; padding: 6px 0; min-height: 32px; color: var(--doux); font-size: .85rem; text-decoration: underline; cursor: pointer; }
.retirer:hover { color: var(--braise-texte); }
.recap { background: var(--fond-2); border: 1px solid var(--trait); border-radius: var(--r-grand); padding: 18px; }
.recap h2 { margin: 0 0 14px; font-size: 1.4rem; text-transform: uppercase; }
.recap dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 0; font-variant-numeric: tabular-nums; }
.recap dt { color: var(--doux); }
.recap dd { margin: 0; text-align: right; }
.recap .total { color: var(--texte); font-weight: 800; font-size: 1.2rem; padding-top: 10px; border-top: 1px solid var(--trait); }
.code-promo { display: flex; gap: 8px; margin: 14px 0; }
.code-promo input { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--trait-fort); border-radius: var(--r); padding: 0 12px; background: var(--fond-2); }
.discretion { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--fond-3); font-size: .88rem; margin-top: 14px; }
.discretion svg { flex: none; color: var(--braise-texte); }
.livraison-offerte { font-size: .9rem; margin: 4px 0 18px; }
.jauge { height: 6px; border-radius: 3px; background: var(--trait); overflow: hidden; margin-top: 6px; }
.jauge span { display: block; height: 100%; background: var(--braise); }
@media (min-width: 900px) {
  .panier-grille { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .panier-grille .recap { position: sticky; top: 130px; }
}

/* ---------- 17. Messages ---------- */
.message { padding: 12px 14px; border-radius: var(--r); font-size: .92rem; margin: 14px 0; border-left: 4px solid; }
.message.ok { background: var(--ok-pale); border-color: var(--ok); color: #133f23; }
.message.erreur { background: var(--braise-pale); border-color: var(--braise-texte); color: #7a2010; }
.message.info { background: var(--fond-3); border-color: var(--trait-fort); }
.message.alerte { background: var(--alerte-pale); border-color: var(--alerte); color: #5a3b00; }

/* ---------- 18. Pages vides et 404 ---------- */
.vide { padding: 34px 0 10px; }
.vide-code { margin: 0; font-family: var(--titre); font-stretch: 75%; font-weight: 800; font-size: clamp(6rem, 34vw, 11rem); line-height: .9; color: var(--texte); position: relative; display: inline-block; }
.vide-code::after { content: ""; position: absolute; left: 4%; bottom: -6px; width: 45%; height: 8px; background: var(--braise); transform: skewX(-24deg); }
.vide h1 { margin-top: .6em; }
.vide .recherche { max-width: 520px; margin: 22px 0; }

/* ---------- 19. Pied de page ---------- */
.pied { margin-top: 40px; padding: 34px 0 40px; background: var(--fond-3); border-top: 1px solid var(--trait); font-size: .92rem; }
.pied-marque { margin: 0 0 14px; }
.pied-devise { color: var(--doux); max-width: 34em; }
.pied-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.pied h2 { margin: 0 0 8px; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pied a { color: var(--doux); text-decoration: none; display: inline-block; padding: 4px 0; }
.pied a:hover { color: var(--texte); text-decoration: underline; }
.pied-mention { color: var(--pale); font-size: .85rem; margin: 0; padding-top: 16px; border-top: 1px solid var(--trait); }
@media (min-width: 700px) { .pied-colonnes { grid-template-columns: repeat(4, 1fr); } }

/* Bandeau cookies (français, choix équivalents) */
.cookies { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; max-width: 520px; margin-inline: auto; background: var(--fond-2); border: 1px solid var(--trait); border-radius: var(--r-grand); box-shadow: var(--ombre); padding: 16px; font-size: .9rem; }
.cookies p { margin: 0 0 12px; }
.cookies .actions { display: flex; gap: 8px; }
.cookies .bouton { flex: 1; min-height: 44px; }

/* ---------- 20. Compléments de gabarits ---------- */
/* Récit mis en avant (première carte d'une liste) */
.carte-recit.vedette { margin: 18px 0 26px; }
.carte-recit :is(h2, h3) a { color: var(--texte); text-decoration: none; }
.carte-recit :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; }
.carte-recit:hover :is(h2, h3) a { color: var(--braise-texte); }
.carte-recit.vedette :is(h2, h3) { margin: 0 0 8px; font-size: clamp(1.6rem, 5.4vw, 2.3rem); text-transform: none; }
@media (min-width: 800px) { .carte-recit.vedette { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 32px; align-items: center; } .carte-recit.vedette .visuel { grid-row: span 5; margin: 0; } }
/* Rappel coquine en milieu d'histoire (une ligne, discrète) */
.ligne-coquine { font-family: var(--ui); font-size: .98rem; line-height: 1.5; padding: 12px 14px; border-radius: var(--r); background: var(--fond-3); border-left: 3px solid var(--braise); }
/* Description produit et textes dépliables à largeur de lecture */
.plis .texte, .texte-categorie .texte { max-width: var(--mesure); }
/* Formulaire de recherche dans une page (recherche, 404) */
main .recherche { max-width: 560px; margin: 0 0 16px; }
mark { background: var(--braise-pale); color: inherit; padding: 0 2px; border-radius: 2px; }
.bloc.serre { padding-top: 16px; }
.vide .entrees { margin-top: 26px; }
/* Commande : récapitulatif en haut sur mobile, à droite sur ordinateur */
@media (max-width: 899.98px) { .panier-grille { display: grid; gap: 24px; } }
.panier-grille.commande .recap { order: -1; }
@media (min-width: 900px) { .panier-grille.commande .recap { order: 0; } }
.stripe-emplacement { min-height: 110px; border: 1px dashed var(--trait-fort); border-radius: var(--r); background: var(--fond-2); display: grid; place-items: center; color: var(--pale); font-size: .85rem; }
.ligne-panier.premiere { padding-top: 0; }
.recap dl.espace { margin-top: 14px; }
/* Titres de cartes en h2 quand la carte suit directement le H1 (listes, catégories) */
.carte-recit h2 { font-size: 1.3rem; margin: 0 0 6px; }
.carte-produit h2 { margin: 0 0 6px; font-family: var(--ui); font-stretch: normal; font-weight: 600; font-size: .95rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.carte-produit h2 a { color: var(--texte); text-decoration: none; }
.carte-produit h2 a::after { content: ""; position: absolute; inset: 0; }
.carte-produit:hover h2 a { color: var(--braise-texte); }
.plis summary h2 { margin: 0; font: inherit; text-transform: inherit; }

/* ---------- 21. Fenêtre (popup coquine après 60 s de lecture) ----------
   <dialog class="fenetre"> natif : focus piégé, Échap pour fermer, fond assombri. */
.fenetre { width: min(420px, calc(100% - 24px)); padding: 0; border: 0; border-radius: var(--r-grand); background: var(--fond-2); color: var(--texte); box-shadow: 0 30px 80px -20px rgba(27, 23, 20, .55); }
.fenetre::backdrop { background: rgba(27, 23, 20, .55); }
.fenetre-photo { aspect-ratio: 4 / 3; background: var(--fond-3); }
.fenetre-photo img, .fenetre-photo .ph { width: 100%; height: 100%; object-fit: cover; }
.fenetre-corps { padding: 18px 20px 20px; }
.fenetre-corps .encart-titre { margin-bottom: 6px; }
.fenetre-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 8px; }
.fenetre-fermer { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); font-size: 1.4rem; cursor: pointer; }
.fenetre-non { width: 100%; min-height: 44px; border: 0; background: none; color: var(--doux); text-decoration: underline; cursor: pointer; }
/* Accueil : le H1 SEO (« Frustration.fr : votre boutique… ») est affiché en surtitre, le slogan en .h1 */
.heros h1.surtitre { max-width: none; margin: 0 0 10px; }
.heros p.h1 { margin: 0 0 16px; max-width: 14ch; }
/* Grande photo de la fiche produit : 2:3, plafonnée en hauteur sur ordinateur */
.galerie-defile .vignette { margin: 0; }
@media (min-width: 900px) { .galerie-defile .vignette { aspect-ratio: auto; height: min(78vh, 760px); } }
/* Colonne de lecture élargie (50 rem) : corps un peu plus grand sur ordinateur pour garder des lignes confortables */
@media (min-width: 1000px) {
  .texte { font-size: 1.3rem; }
  .texte.pratique { font-size: 1.18rem; }
}

/* ===== Compléments d'intégration (pilote) : panier, commande, compte, messages ===== */
.panier-colonnes,.commande-colonnes,.compte-colonnes{display:grid;gap:1.5rem;margin-top:1rem}
@media (min-width:900px){.panier-colonnes,.commande-colonnes{grid-template-columns:minmax(0,1fr) 22rem;align-items:start}.compte-colonnes{grid-template-columns:1fr 1fr}}
.lignes{list-style:none;margin:0 0 1rem;padding:0}
.lignes .ligne{display:grid;grid-template-columns:5rem 1fr auto;gap:.5rem 1rem;align-items:center;padding:1rem 0;border-bottom:1px solid var(--trait)}
.lignes .ligne .vignette{grid-row:span 3}
.lignes .ligne .vignette img{width:100%;height:auto;border-radius:4px}
.lignes .ligne p{margin:0}
.lignes .ligne.indisponible{opacity:.75}
.lignes-recap{list-style:none;margin:1rem 0;padding:0}
.lignes-recap li{display:flex;justify-content:space-between;gap:1rem;padding:.4rem 0;border-bottom:1px solid var(--trait)}
.lignes-recap li.total{font-weight:700;border-bottom:0}
.recap{background:var(--fond-2);border:1px solid var(--trait);border-radius:6px;padding:1.25rem;position:sticky;top:9rem}
.recap dl{display:grid;grid-template-columns:1fr auto;gap:.4rem 1rem;margin:1rem 0}
.recap dt.total,.recap dd.total{font-weight:700;font-size:1.15em;border-top:1px solid var(--trait);padding-top:.5rem}
.recap dd{margin:0;text-align:right}
.boite{background:var(--fond-2);border:1px solid var(--trait);border-radius:6px;padding:1.25rem}
.etroite{max-width:32rem}
fieldset{border:0;margin:0 0 1.5rem;padding:0}
fieldset legend h2{margin:0 0 .5rem}
.champs-adresse{display:grid;gap:.75rem 1rem}
@media (min-width:700px){.champs-adresse{grid-template-columns:1fr 1fr}}
.champ label{display:block;font-size:.9rem;margin-bottom:.25rem;color:var(--doux)}
.champ input,.champ textarea,.champ select{width:100%;padding:.6rem .7rem;border:1px solid var(--trait-fort);border-radius:4px;background:var(--fond-2);font:inherit}
.case{display:flex;gap:.5rem;align-items:flex-start;margin:.6rem 0}
.options-livraison{display:grid;gap:.5rem;margin-bottom:1rem}
.options-livraison .option{display:flex;gap:.6rem;align-items:center;padding:.75rem 1rem;border:1px solid var(--trait-fort);border-radius:4px;background:var(--fond-2)}
.options-livraison .option .prix{margin-left:auto}
.options-livraison .option:has(input:checked){border-color:var(--braise);background:var(--braise-pale)}
.code-promo{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:1rem 0}
.code-promo input{flex:1;min-width:8rem;padding:.5rem;border:1px solid var(--trait-fort);border-radius:4px}
.message{padding:.8rem 1rem;border-radius:4px;margin:1rem 0;background:var(--fond-3)}
.message.ok{border-left:4px solid #2f7d4b}
.message.erreur,.message-erreur{border-left:4px solid var(--braise-texte);background:var(--braise-pale)}
.erreur{color:var(--braise-texte)}
.lien{background:none;border:0;padding:0;color:var(--braise-texte);text-decoration:underline;cursor:pointer;font:inherit}
.tableau-commandes{width:100%;border-collapse:collapse}
.tableau-commandes th,.tableau-commandes td{text-align:left;padding:.6rem .4rem;border-bottom:1px solid var(--trait)}
.puces-compte form{display:inline}
.recherche.grande{display:flex;gap:.5rem;max-width:36rem;margin:1rem 0 2rem}
.recherche.grande input{flex:1;padding:.6rem .8rem;border:1px solid var(--trait-fort);border-radius:4px}
.tableau{overflow-x:auto}
.texte.court p:last-child{margin-bottom:0}
.carte-produit form{margin:0}

/* ===== Visuels et bandeaux (accueil, listes d'histoires et d'articles) — design, 01/12/2026 ===== */
/* Images de remplacement tirées de la boutique : lingerie portée = ambiance (cover), produit = objet (contain sur blanc) */
img.ambiance { object-position: 50% 22%; }
img.objet, .objet > img { object-fit: contain !important; background: #fff; }
.carte-recit .visuel img.objet { padding: 8px; }
.liste-recits .vignette-recit img.objet { padding: 4px; }
.tuile.objet { background: #fff; }
.tuile.objet > img, .tuile > img.objet { padding: 12% 12% 34%; }

/* Bandeau des listes : serré, avec trois photos penchées */
.bandeau { position: relative; display: grid; gap: 18px; align-items: center; margin: 4px 0 18px; padding: 20px 18px 22px; border-radius: var(--r-grand);
  background: radial-gradient(120% 140% at 100% 0%, #fbd9cb 0%, var(--braise-pale) 38%, var(--fond-3) 100%); overflow: hidden; }
.bandeau::before { content: ""; position: absolute; right: -40px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 70, 31, .22), transparent 70%); pointer-events: none; }
.bandeau-texte { position: relative; }
.bandeau .surtitre { margin: 0 0 6px; }
.bandeau h1 { margin: 0 0 8px; font-size: clamp(2.1rem, 7.5vw, 3.6rem); }
.bandeau h1::after { content: ""; display: block; width: 64px; height: 6px; margin-top: 10px; background: var(--braise); transform: skewX(-24deg); }
.bandeau-chapo { margin: 0; max-width: 34em; color: var(--lecture-encre, var(--texte)); font-size: 1.05rem; }
.pastille-fun { position: absolute; top: -6px; right: 0; display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--braise-bouton); color: #fff;
  font: 800 .78rem/1.1 var(--ui); letter-spacing: .04em; text-align: center; text-transform: uppercase; padding: 8px; transform: rotate(12deg); box-shadow: var(--ombre); }
.bandeau-vitrine { position: relative; display: flex; justify-content: center; gap: 0; padding: 6px 0 4px; }
.polaroid { position: relative; display: block; width: 31%; max-width: 150px; aspect-ratio: 3 / 4; padding: 6px 6px 22px; background: #fff; border-radius: 4px; box-shadow: 0 10px 24px -12px rgba(60, 30, 15, .55);
  text-decoration: none; transition: transform .25s ease; }
.polaroid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; border-radius: 2px; background: #fff; }
.polaroid.p1 { transform: rotate(-7deg) translateY(6px); z-index: 1; }
.polaroid.p2 { transform: rotate(3deg); margin: 0 -8px; z-index: 2; }
.polaroid.p3 { transform: rotate(8deg) translateY(10px); z-index: 1; }
.polaroid:hover, .polaroid:focus-visible { transform: rotate(0) scale(1.06); z-index: 3; }
.etiquette { position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%); white-space: nowrap; font: 800 .78rem/1 var(--ui); color: var(--braise-texte); }
.bandeau-blog .polaroid img { object-fit: contain; padding: 4px; }
@media (min-width: 700px) {
  .bandeau { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); padding: 26px 30px; }
  .pastille-fun { top: auto; bottom: -4px; right: -14px; }
  .bandeau-texte { padding-right: 70px; }
}
@media (min-width: 1000px) { .bandeau { padding: 30px 44px; } .bandeau-vitrine { justify-content: flex-end; } }

/* Rangée de produits glissée dans les listes */
.vitrine { margin: 30px 0; padding: 22px 16px 14px; border-radius: var(--r-grand); background: var(--fond-2); border: 1px solid var(--trait); }
.vitrine .bloc-tete { margin-bottom: 14px; }
.vitrine .bloc-tete h2 { font-size: clamp(1.3rem, 4vw, 1.7rem); }
@media (min-width: 700px) { .vitrine { padding: 26px 24px 16px; } }

/* Accueil : scène du héros (photo + deux objets penchés) */
.heros-accueil .heros-scene { position: relative; margin: 0 0 22px; }
.heros-accueil .heros-photo { display: block; margin: 0; aspect-ratio: 4 / 5; max-height: 62vh; width: 78%; }
.heros-accueil .heros-photo img { object-position: 50% 20%; }
.heros-accueil .heros-scene .polaroid { position: absolute; width: 32%; max-width: 180px; }
.heros-accueil .heros-scene .polaroid.p2 { right: 0; top: 0; margin: 0; transform: rotate(6deg); }
.heros-accueil .heros-scene .polaroid.p3 { right: 5%; bottom: 0; transform: rotate(-5deg); }
.heros-accueil .heros-scene .polaroid img { object-fit: contain; padding: 4px; }
.heros-accueil .heros-scene .polaroid:hover { transform: rotate(0) scale(1.06); }
.heros-accueil .heros-scene .pastille-fun { top: auto; right: auto; left: -8px; bottom: 10%; }
.heros-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.entree-photo.objet { background: #fff; }
.entree-photo img.objet, .entree-photo.objet img { padding: 3px; }
@media (min-width: 900px) {
  .heros-accueil .heros-scene { order: 2; margin: 0; }
  .heros-accueil .heros-photo { max-height: 600px; }
}
@media (min-width: 1000px) { .tuiles.six .tuile-titre { font-size: 1.12rem; hyphens: auto; overflow-wrap: normal; } }
.carte-recit.vedette .visuel img.ambiance { object-position: 50% 15%; }
@media (max-width: 699.98px) {
  .bandeau .pastille-fun { width: 64px; height: 64px; font-size: .66rem; top: 10px; right: 10px; }
  .bandeau .surtitre, .bandeau h1 { max-width: calc(100% - 66px); }
  .bandeau-vitrine .polaroid { max-width: 112px; }
}

/* Accueil : bloc « Calendriers de l'Avent » (pilote), habillage de fêtes — CSS seul, aucune image */
section[aria-labelledby="t-fetes"] { position: relative; overflow: hidden;
  background: radial-gradient(circle at 12% 18%, rgba(214, 168, 74, .35) 0 2px, transparent 3px) 0 0 / 46px 46px,
              radial-gradient(circle at 70% 60%, rgba(226, 70, 31, .22) 0 2px, transparent 3px) 0 0 / 58px 58px,
              linear-gradient(160deg, #fbe6de 0%, #f7efe2 55%, #f3e3c7 100%);
  border-top: 4px solid #c9a14a; border-bottom: 1px solid var(--trait); }
section[aria-labelledby="t-fetes"] .bloc-tete h2::before { background: #c9a14a; }
section[aria-labelledby="t-fetes"] .bloc-tete h2::after { content: "★"; display: inline-block; margin-left: 10px; color: #b8892c; font-size: .7em; transform: rotate(-12deg) translateY(-.15em); }
section[aria-labelledby="t-fetes"] .chapo { color: var(--lecture-encre, var(--texte)); }
section[aria-labelledby="t-fetes"] .vignette { border-color: #e6d3a8; box-shadow: 0 10px 22px -16px rgba(120, 80, 20, .55); }
@media (min-width: 700px) and (max-width: 899.98px) { section[aria-labelledby="t-fetes"] .grille-produits { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { section[aria-labelledby="t-fetes"] .grille-produits { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 18px; } }
