@font-face { font-family: 'Libre Caslon Display'; font-style: normal; font-display: swap; font-weight: 400; src: url('/fonts/libre-caslon-display-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Libre Caslon Display'; font-style: normal; font-display: swap; font-weight: 400; src: url('/fonts/libre-caslon-display-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Commissioner'; font-style: normal; font-display: swap; font-weight: 400; src: url('/fonts/commissioner-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Commissioner'; font-style: normal; font-display: swap; font-weight: 400; src: url('/fonts/commissioner-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Commissioner'; font-style: normal; font-display: swap; font-weight: 500; src: url('/fonts/commissioner-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Commissioner'; font-style: normal; font-display: swap; font-weight: 500; src: url('/fonts/commissioner-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Commissioner'; font-style: normal; font-display: swap; font-weight: 600; src: url('/fonts/commissioner-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Commissioner'; font-style: normal; font-display: swap; font-weight: 600; src: url('/fonts/commissioner-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* La Lingerie : design « Velours bleu nuit ». CSS statique.
   Peau #F2E3DA (fond), bleu nuit #1D2442 (texte, pied de page), cerise #B3122E (< 5 % de la surface :
   focus, filet sous le H1, liens actifs, repères de la frise), ardoise #7181A8 (filets) et #56648C (texte secondaire),
   nude #C7A493 (filets, fonds de citation).
   Contrastes mesurés : nuit sur peau 12,1 ; cerise sur peau 5,5 ; ardoise texte #56648C sur peau 4,7 ;
   #7181A8 sur peau 3,1 (filets et grands éléments seulement) ; peau sur cerise 5,5. */

:root {
  --peau: #F2E3DA;
  --peau-claire: #F8EFE9;
  --nuit: #1D2442;
  --cerise: #B3122E;
  --ardoise: #7181A8;
  --ardoise-texte: #56648C;
  --nude: #C7A493;
  --nude-pale: #E9D5CA;
  --sur-nuit: #D5DAEA;
  --titre: 'Libre Caslon Display', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --texte: 'Commissioner', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --colonne: 68ch;
  --large: 74rem;
  --pas: clamp(1rem, 2.4vw, 1.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--peau); color: var(--nuit);
  font-family: var(--texte); font-size: 1.0625rem; line-height: 1.65; font-weight: 400;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p.titre-section { font-family: var(--titre); font-weight: 400; margin: 0; letter-spacing: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--cerise); outline-offset: 3px; border-radius: 2px; }
.lien-evitement { position: absolute; left: .5rem; top: -4rem; background: var(--nuit); color: var(--peau); padding: .6rem 1rem; z-index: 100; }
.lien-evitement:focus { top: .5rem; }

.conteneur { width: min(100% - 2 * var(--pas), var(--large)); margin-inline: auto; }

/* Liens */
.lien, .prose a, .texte-page a {
  text-decoration: underline; text-decoration-color: var(--nude); text-decoration-thickness: 1px; text-underline-offset: .22em;
}
.lien:hover, .prose a:hover, .texte-page a:hover { text-decoration-color: var(--cerise); color: var(--cerise); }

/* En-tête */
.entete { background: var(--peau); border-bottom: 1px solid var(--nude); position: relative; z-index: 20; }
.entete__interne { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .9rem; }
.marque { font-family: var(--titre); font-size: 1.75rem; line-height: 1; text-decoration: none; color: var(--nuit); white-space: nowrap; }
.nav__liste { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; justify-content: flex-end; }
.nav__liste a { text-decoration: none; font-weight: 500; font-size: .95rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav__liste a:hover { border-bottom-color: var(--nude); }
.nav__liste a[aria-current="page"] { border-bottom-color: var(--cerise); }
.nav__bouton { display: none; font: inherit; font-weight: 500; background: transparent; color: var(--nuit); border: 1px solid var(--nuit); padding: .5rem 1rem; cursor: pointer; border-radius: 2px; }

@media (max-width: 1100px) {
  .nav__bouton { display: inline-block; }
  .nav__liste { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--peau); border-bottom: 1px solid var(--nude); padding: .5rem var(--pas) 1rem; }
  .nav[data-ouvert="true"] .nav__liste { display: flex; }
  .nav__liste a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--nude-pale); }
}

/* Hero bord à bord. Conteneur 21/9, plafonné par min(75vh, 44vw) ; sous 700 px, 4/3 pour garder le sujet lisible. */
.hero { margin: 0; position: relative; }
.img-hero { aspect-ratio: 21 / 9; max-height: min(75vh, 44vw); overflow: hidden; background: var(--nude-pale); }
.img-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 20%; }
@media (max-width: 700px) { .img-hero { width: 100%; aspect-ratio: 4 / 3; max-height: none; } }
.legende { font-size: .85rem; color: var(--ardoise-texte); padding-block: .6rem 0; }

/* Voilage : le seul mouvement du site. Calque de tulle qui se tire vers la droite une fois, sur l'accueil. */
.voile { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero--voile .voile {
    display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; transform-origin: 100% 50%;
    background:
      repeating-linear-gradient(0deg, rgba(29,36,66,.10) 0 1px, transparent 1px 6px),
      repeating-linear-gradient(60deg, rgba(29,36,66,.08) 0 1px, transparent 1px 6px),
      repeating-linear-gradient(120deg, rgba(29,36,66,.08) 0 1px, transparent 1px 6px),
      linear-gradient(90deg, rgba(242,227,218,.96), rgba(242,227,218,.88) 60%, rgba(242,227,218,.7));
    animation: voile-tire 1.2s ease-out .25s both;
  }
}
@keyframes voile-tire {
  0% { transform: scaleX(1); opacity: 1; visibility: visible; }
  85% { opacity: .9; }
  100% { transform: scaleX(.04); opacity: 0; visibility: hidden; }
}

/* En-tête de page */
.tete-page { padding-block: clamp(1.75rem, 4vw, 3rem) 1.5rem; }
.titre-page { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.1; max-width: 22ch; text-wrap: balance; }
.titre-page::after { content: ''; display: block; width: 3.5rem; height: 3px; background: var(--cerise); margin-top: 1.1rem; }
.repere { margin-top: 1rem; font-size: .95rem; font-weight: 500; color: var(--ardoise-texte); }
.chapo { margin-top: 1.1rem; font-size: 1.2rem; line-height: 1.6; max-width: 56ch; }
.tete-page .chapo { margin-top: 1.25rem; }

/* Grille article : colonne latérale + texte (68 caractères) */
.article-grille { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); padding-bottom: 4rem; align-items: start; }
.article-meta { display: flex; flex-direction: column; gap: .5rem; font-size: .92rem; color: var(--ardoise-texte); border-top: 1px solid var(--nude); padding-top: 1rem; position: sticky; top: 1rem; }
.article-meta strong { color: var(--nuit); font-weight: 600; }
.article-sommaire { margin-top: 1rem; }
.article-sommaire__titre { font-family: var(--titre); font-size: 1.15rem; color: var(--nuit); margin-bottom: .4rem; }
.article-sommaire ol { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.article-sommaire a { color: var(--nuit); text-decoration: none; display: block; padding-block: .1rem; }
.article-sommaire a:hover { color: var(--cerise); }
@media (max-width: 900px) {
  .article-grille { grid-template-columns: minmax(0, 1fr); }
  .article-meta { position: static; }
}

/* Texte courant */
.prose { max-width: var(--colonne); line-height: 1.7; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.2; margin-top: 2.6rem; }
.prose h3 { font-size: 1.4rem; line-height: 1.25; margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .35rem; }
.prose li::marker { color: var(--ardoise); }
.prose blockquote, .citation {
  margin: 1.8rem 0; padding: 1.1rem 1.4rem; background: var(--nude-pale); border-left: 3px solid var(--nude);
  font-family: var(--titre); font-size: 1.3rem; line-height: 1.5;
}
.prose blockquote p + p { margin-top: .6rem; }
.prose blockquote cite, .citation__source { display: block; margin-top: .6rem; font-family: var(--texte); font-style: normal; font-size: .9rem; color: var(--ardoise-texte); }
.prose figure { margin-block: 2rem; }
.prose figcaption { font-size: .88rem; color: var(--ardoise-texte); margin-top: .5rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--nude); vertical-align: top; }
.prose th { font-weight: 600; }
@media (max-width: 700px) { .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } .prose th { min-width: 8rem; } }
.prose hr { border: 0; border-top: 1px solid var(--nude); margin-block: 2.5rem; }

.img-body { aspect-ratio: 3 / 2; overflow: hidden; background: var(--nude-pale); }
.img-body img, .img-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.img-card { aspect-ratio: 3 / 2; overflow: hidden; background: var(--nude-pale); }

/* FAQ */
.faq { max-width: var(--colonne); margin-top: 3rem; }
.titre-section { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
.faq .titre-section { margin-bottom: 1rem; }
.faq details { border-top: 1px solid var(--nude); padding-block: .9rem; }
.faq details:last-child { border-bottom: 1px solid var(--nude); }
.faq summary { cursor: pointer; font-weight: 500; }
.faq details p { margin-top: .6rem; }

/* Frise chronologique : vraie séquence de dates, défilable au clavier et au doigt */
.frise-bloc { padding-block: 1rem 2.5rem; }
.frise { list-style: none; display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x proximity; padding: 0 0 1rem; margin-top: 1.25rem; scrollbar-width: thin; scrollbar-color: var(--ardoise) transparent; }
.frise__jalon { flex: 0 0 min(15rem, 72vw); scroll-snap-align: start; position: relative; padding: 1.7rem 1.5rem 0 0; border-top: 2px solid var(--ardoise); }
.frise__jalon::before { content: ''; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--nuit); border: 2px solid var(--peau); box-sizing: content-box; }
.frise__jalon:first-child::before { background: var(--cerise); }
.frise__annee { font-family: var(--titre); font-size: 1.75rem; line-height: 1.1; }
.frise__libelle { margin-top: .5rem; font-size: .95rem; line-height: 1.5; }
.frise__libelle a { text-decoration-color: var(--nude); }
.frise:focus-visible { outline-offset: 6px; }

/* Cartes d'articles : à plat, sans ombre */
.grille-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem var(--pas); }
@media (max-width: 960px) { .grille-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grille-cartes { grid-template-columns: minmax(0, 1fr); } }
.carte { display: block; text-decoration: none; color: inherit; }
.carte__meta { margin-top: .85rem; font-size: .9rem; font-weight: 500; color: var(--ardoise-texte); }
.carte__titre { margin-top: .35rem; font-size: 1.4rem; line-height: 1.25; text-wrap: balance; }
.carte:hover .carte__titre { text-decoration: underline; text-decoration-color: var(--cerise); text-underline-offset: .2em; }
.carte__resume { margin-top: .5rem; font-size: .96rem; line-height: 1.55; }

/* Filtre blog */
.filtre { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; border-bottom: 1px solid var(--nude); padding-bottom: .6rem; margin-bottom: 1.75rem; }
.filtre a { text-decoration: none; font-weight: 500; padding: .3rem 0; border-bottom: 2px solid transparent; }
.filtre a:hover { border-bottom-color: var(--nude); }
.filtre a[aria-current="page"] { border-bottom-color: var(--cerise); }
.vide { color: var(--ardoise-texte); padding-block: 1.5rem; }

/* Accueil */
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.piliers { list-style: none; border-bottom: 1px solid var(--nude); }
.pilier { border-top: 1px solid var(--nude); }
.pilier a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: .25rem 2rem; align-items: baseline; padding-block: 1.15rem; text-decoration: none; }
.pilier__titre { font-family: var(--titre); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; }
.pilier a:hover .pilier__titre { color: var(--cerise); }
.pilier__texte { color: var(--ardoise-texte); }
@media (max-width: 700px) { .pilier a { grid-template-columns: minmax(0, 1fr); } }
.anecdote { background: var(--nude-pale); padding-block: clamp(2rem, 5vw, 3.25rem); }
.anecdote__titre { font-size: 1.15rem; color: var(--ardoise-texte); }
.anecdote__texte { margin-top: .6rem; font-family: var(--titre); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; max-width: 40ch; }
.anecdote__source { margin-top: .9rem; font-size: .92rem; color: var(--ardoise-texte); }

.page-simple { padding-block: clamp(2rem, 5vw, 3.5rem) 4rem; }
.texte-page { margin-top: 2rem; }
.plan ul { list-style: none; margin-top: .6rem; display: flex; flex-direction: column; gap: .3rem; }
.plan .titre-section { margin-top: 2rem; }

.bouton { display: inline-block; background: var(--nuit); color: var(--peau); border: 0; padding: .8rem 1.5rem; font: inherit; font-weight: 600; text-decoration: none; border-radius: 2px; cursor: pointer; }
.bouton:hover { background: var(--cerise); }
.bouton:disabled { opacity: .6; cursor: wait; }

/* Formulaire */
.formulaire { display: flex; flex-direction: column; gap: 1.25rem; max-width: 36rem; }
.champ { display: flex; flex-direction: column; gap: .35rem; }
.champ label { font-weight: 500; }
.champ input, .champ select, .champ textarea { font: inherit; color: var(--nuit); background: var(--peau-claire); border: 1px solid var(--ardoise); border-radius: 2px; padding: .7rem .8rem; width: 100%; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 3px solid var(--cerise); outline-offset: 1px; }
.champ__aide { font-size: .88rem; color: var(--ardoise-texte); }
.champ--case { flex-direction: row; gap: .7rem; align-items: flex-start; }
.champ--case input { width: 1.2rem; height: 1.2rem; margin-top: .25rem; flex: none; accent-color: var(--cerise); }
.champ--case label { font-weight: 400; font-size: .95rem; }
.pot-de-miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire__retour { padding: .8rem 1rem; border-left: 4px solid var(--ardoise); background: var(--peau-claire); }
.formulaire__retour--succes { border-left-color: var(--nuit); }
.formulaire__retour--erreur { border-left-color: var(--cerise); color: var(--cerise); font-weight: 500; }

/* Pied de page */
.pied { background: var(--nuit); color: var(--sur-nuit); padding-block: 3rem 2rem; }
.pied a { color: var(--peau); text-decoration: none; }
.pied a:hover { text-decoration: underline; text-decoration-color: var(--cerise); text-underline-offset: .2em; }
.pied .marque { color: var(--peau); }
.pied__grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied__grille { grid-template-columns: 1fr; } }
.pied__grille > div > p:not(.pied__titre) { margin-top: .6rem; max-width: 30ch; }
.pied__titre { font-family: var(--titre); font-size: 1.2rem; color: var(--peau); margin-bottom: .6rem; }
.pied ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.pied__mention { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(199,164,147,.35); font-size: .88rem; max-width: 70ch; }
.pied :focus-visible { outline-color: var(--peau); }
