/* Nuit de chanvre · thème Almanach. Monde : l'agenda de sommeil posé sur la table de nuit, l'almanach lunaire, la veilleuse.
   Une rampe bleu nuit, la lavande pour le texte secondaire, l'ambre de veilleuse comme seul accent (bouton, heure lue). */
@font-face { font-family: "Instrument Serif"; src: url(typo/instrument-serif-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Instrument Serif"; src: url(typo/instrument-serif-latin-ext-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geologica"; src: url(typo/geologica-latin-wght-normal.woff2) format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Geologica"; src: url(typo/geologica-latin-ext-wght-normal.woff2) format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--nuit-0: #0E1330; --nuit-1: #141B3A; --nuit-2: #1A2246; --nuit-3: #232C56;
	--texte: #EDEBF7; --lavande: #B8B5E8; --sourdine: #9592CB;
	--trait: rgba(237, 235, 247, .1); --trait-fort: rgba(237, 235, 247, .18);
	--veilleuse: #F3B562; --veilleuse-sombre: #2A1E08;
	--oui: #8FD3B0; --non: #F0A3A3;
	--serif: "Instrument Serif", Georgia, "Times New Roman", serif;
	--sans: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;
	--r-petit: 6px; --r: 10px; --r-carte: 12px; --r-panneau: 16px;
	--bord: clamp(16px, 4vw, 40px); --large: 1200px;
	--ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--nuit-1); color: var(--texte); font: 400 17px/1.65 var(--sans); font-feature-settings: "kern"; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--texte); text-decoration: underline; text-decoration-color: rgba(184, 181, 232, .55); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: color .15s var(--ease), text-decoration-color .15s var(--ease); }
a:hover { color: var(--veilleuse); text-decoration-color: var(--veilleuse); }
:focus-visible { outline: 2px solid var(--veilleuse); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 400; text-wrap: wrap; overflow-wrap: break-word; hyphens: manual; }
h1, h2 { font-family: var(--serif); letter-spacing: 0; }
h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.04; margin: 0 0 20px; }
h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; margin: 0 0 16px; }
h3 { font: 500 20px/1.35 var(--sans); margin: 32px 0 8px; }
p { margin: 0 0 16px; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.evitement { position: absolute; left: -9999px; top: 8px; background: var(--veilleuse); color: var(--nuit-1); padding: 8px 16px; border-radius: var(--r); z-index: 50; }
.evitement:focus { left: 16px; }
.visuel-masque { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-nuit { display: block; }

/* En-tête : la table de chevet */
.chevet { position: sticky; top: 0; z-index: 20; background: rgba(20, 27, 58, .94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--trait); }
.chevet__ligne { max-width: var(--large); margin: 0 auto; padding: 0 var(--bord); min-height: 64px; display: flex; align-items: center; gap: 24px; }
.chevet__nom { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 400 26px/1 var(--serif); white-space: nowrap; }
.chevet__nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.chevet__liste { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.chevet__liste a { display: block; padding: 8px 12px; border-radius: var(--r); text-decoration: none; font-size: 15px; color: var(--lavande); }
.chevet__liste a:hover, .chevet__liste .current-menu-item > a, .chevet__liste .current-category-ancestor > a { color: var(--texte); background: var(--nuit-2); }
.chevet__adulte { margin: 0; font-size: 14px; color: var(--sourdine); }
.chevet__adulte abbr { text-decoration: none; border: 1px solid var(--trait-fort); border-radius: var(--r-petit); padding: 2px 8px; }
.chevet__menu { display: none; margin-left: auto; min-height: 44px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--trait-fort); background: var(--nuit-2); color: var(--texte); font: 500 15px var(--sans); cursor: pointer; }
.chevet__lune-du-jour { display: none; }
.lune__ombre { fill: rgba(184, 181, 232, .16); stroke: rgba(184, 181, 232, .35); stroke-width: .8; }
.lune__clair { fill: #EDE6CF; }

@media (max-width: 900px) {
	.chevet__menu { display: inline-flex; align-items: center; }
	.chevet__nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--nuit-0); border-bottom: 1px solid var(--trait); padding: 12px var(--bord) 20px; flex-direction: column; align-items: stretch; gap: 12px; }
	.chevet--ouvert .chevet__nav { display: flex; }
	.chevet__liste { flex-direction: column; }
	.chevet__liste a { padding: 12px; font-size: 17px; }
	.chevet__nom { font-size: 22px; }
}

/* Ouverture de l'accueil : une scène pleine largeur (la lune au-dessus des arbres, en bichromie bleu nuit et crème),
   le titre sur le ciel calme à gauche, l'agenda papier posé à droite sous la lune et qui déborde sur la section suivante. */
.scene { position: relative; isolation: isolate; }
.scene__ciel { position: absolute; inset: 0 0 auto 0; height: 74%; z-index: -1; overflow: hidden; }
.scene__photo { width: 100%; height: 100%; object-fit: cover; object-position: 100% 0; }
.scene__ciel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 19, 48, .82) 0%, rgba(14, 19, 48, .45) 38%, rgba(14, 19, 48, 0) 62%), linear-gradient(180deg, rgba(20, 27, 58, 0) 45%, var(--nuit-1) 100%); }
.ouverture { max-width: var(--large); margin: 0 auto; padding: 104px var(--bord) 96px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; min-height: min(100svh - 64px, 900px); }
.ouverture__texte { padding-top: 8px; }
.ouverture__lune { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--lavande); margin-bottom: 28px; }
.ouverture h1 { font-size: clamp(48px, 7.2vw, 100px); line-height: .98; margin: 0 0 28px; max-width: 11ch; }
.ouverture__second { display: block; color: var(--lavande); }
.ouverture__chapo { font-size: 19px; line-height: 1.6; color: rgba(237, 235, 247, .86); max-width: 34em; margin-bottom: 48px; }
.choix { border: 0; margin: 0; padding: 0; max-width: 34em; }
.choix legend { font-size: 14px; color: var(--lavande); margin-bottom: 8px; padding: 0; }
.choix__ligne { position: relative; display: grid; grid-template-columns: 96px 1fr 16px; align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid var(--trait-fort); cursor: pointer; transition: color .15s var(--ease); }
.choix__ligne:last-of-type { border-bottom: 1px solid var(--trait-fort); }
.choix__ligne input { position: absolute; opacity: 0; pointer-events: none; }
.choix__heure { font: 400 30px/1 var(--serif); color: var(--sourdine); font-variant-numeric: tabular-nums; transition: color .15s var(--ease); }
.choix__mot { font-size: 17px; color: var(--lavande); transition: color .15s var(--ease); }
.choix__ligne::after { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--sourdine); align-self: center; transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.choix__ligne:hover .choix__mot, .choix__ligne:hover .choix__heure { color: var(--texte); }
.choix__ligne:has(input:checked) .choix__heure { color: var(--veilleuse); }
.choix__ligne:has(input:checked) .choix__mot { color: var(--texte); }
.choix__ligne:has(input:checked)::after { background: var(--veilleuse); border-color: var(--veilleuse); }
.choix__ligne:has(input:focus-visible) { outline: 2px solid var(--veilleuse); outline-offset: 4px; border-radius: 4px; }

/* Le moment : la page d'agenda, un objet papier posé sous la lune */
.agenda { position: relative; margin-top: clamp(120px, 22vw, 300px); margin-bottom: -160px; z-index: 2; background: linear-gradient(180deg, #F6F2E8 0%, #EFEADC 100%); color: #1E2240; border-radius: 6px 6px 14px 14px; padding: 40px 28px 24px; transform: rotate(-1.2deg); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 2px 4px rgba(3, 6, 20, .25), 0 32px 64px rgba(3, 6, 20, .55); }
.agenda::before { content: ""; position: absolute; inset: auto 6px -6px 6px; height: 12px; border-radius: 0 0 12px 12px; background: #DDD6C4; z-index: -1; box-shadow: 0 12px 24px rgba(3, 6, 20, .3); }
.agenda__spirale { position: absolute; left: 24px; right: 24px; top: -10px; height: 24px; background: radial-gradient(circle at 50% 14px, #10142E 3px, transparent 3.5px) 0 0 / 22px 24px repeat-x; }
.agenda__spirale::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 4px 10px at 50% 8px, transparent 2px, #8F8B7E 2.5px, #C9C3B2 3.5px, transparent 4px) 0 0 / 22px 24px repeat-x; }
.agenda__tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 1px solid rgba(30, 34, 64, .14); padding-bottom: 16px; margin-bottom: 20px; }
.agenda__carnet { margin: 0 0 4px; font-size: 13px; color: #6A6880; }
.agenda__titre { font: 400 28px/1.1 var(--serif); margin: 0; }
.agenda__lune { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 13px; line-height: 1.35; text-align: right; color: #4A4E73; }
.agenda .lune__ombre { fill: rgba(30, 34, 64, .1); stroke: rgba(30, 34, 64, .3); }
.agenda .lune__clair { fill: #C9A45C; }
.regle { position: relative; height: 24px; margin: 0 8px 8px; border-bottom: 1px solid rgba(30, 34, 64, .22); font-size: 12px; color: #5A5E80; font-variant-numeric: tabular-nums; }
.regle span { position: absolute; bottom: 4px; transform: translateX(-50%); white-space: nowrap; }
.regle span:first-child { transform: none; }
.regle span:last-child { transform: translateX(-100%); }
.trace { list-style: none; margin: 0 8px; padding: 0; position: relative; height: 132px; background: repeating-linear-gradient(90deg, rgba(30, 34, 64, .07) 0 1px, transparent 1px calc(100% / 12)); }
.trace__bloc { position: absolute; height: 28px; border-radius: 14px; display: flex; align-items: center; }
.trace__bloc--lit { top: 8px; background: repeating-linear-gradient(135deg, rgba(91, 87, 160, .3) 0 5px, rgba(91, 87, 160, .1) 5px 10px); box-shadow: inset 0 0 0 1px rgba(91, 87, 160, .45); }
.trace__bloc--sommeil { top: 48px; background: linear-gradient(180deg, #6762B0, #55519C); }
.trace__bloc--eveil { top: 48px; background: #D98A2B; z-index: 1; }
.trace__bloc--poste { top: 92px; background: #2E3358; }
.trace__mot { margin: 0 0 0 12px; font-size: 12px; line-height: 1.2; color: #F4F2FA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trace__bloc--lit .trace__mot { color: #2E3256; overflow: visible; }
.trace__bloc--eveil .trace__mot { position: absolute; top: 100%; left: 0; margin: 4px 0 0; color: #8A5212; overflow: visible; }
.bilan { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 16px 8px 0; padding: 16px 0 0; border-top: 1px dashed rgba(30, 34, 64, .2); }
.bilan div { display: grid; gap: 2px; }
.bilan dt { font-size: 12px; color: #6A6880; }
.bilan dd { margin: 0; font: 400 26px/1 var(--serif); font-variant-numeric: tabular-nums; color: #1E2240; }
.agenda__note { margin: 16px 8px 0; font-size: 14px; line-height: 1.5; color: #4A4E73; }
.legende { list-style: none; margin: 16px 8px 0; padding: 12px 0 0; border-top: 1px solid rgba(30, 34, 64, .1); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; color: #5A5E80; }
.legende li::before { content: ""; display: inline-block; width: 16px; height: 8px; border-radius: 4px; margin-right: 8px; vertical-align: 0; }
.legende--lit::before { background: repeating-linear-gradient(135deg, rgba(91, 87, 160, .45) 0 3px, rgba(91, 87, 160, .12) 3px 6px); }
.legende--sommeil::before { background: #5B57A0; }
.legende--eveil::before { background: #D98A2B; }
.legende--poste::before { background: #2E3358; }

/* Réponses de l'outil : un bandeau éditorial à filets, sans cartes */
.reponses { max-width: var(--large); margin: 0 auto; padding: 72px var(--bord) 80px; }
.reponses__lot[data-cache] { display: none; }
.reponses__tete { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: baseline; margin-bottom: 32px; max-width: calc(100% - 520px); }
.reponses__heure { margin: 0; font: 400 30px/1 var(--serif); color: var(--veilleuse); font-variant-numeric: tabular-nums; }
.reponses__titre { font-size: clamp(30px, 3.6vw, 44px); margin: 0; }
.reponses__grille { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 0; border-top: 1px solid var(--trait-fort); }
.reponse { padding: 28px 32px 8px 0; font-size: 16px; color: rgba(237, 235, 247, .88); }
.reponse + .reponse { padding-left: 32px; border-left: 1px solid var(--trait); }
.reponse ul { margin: 0; padding-left: 18px; }
.reponse li { margin-bottom: 12px; }
.reponse li::marker { color: var(--sourdine); }
.reponse p:last-child { margin-bottom: 0; }
.reponse__etiquette { display: flex; align-items: baseline; gap: 12px; font: 400 22px/1.2 var(--serif); color: var(--texte) !important; margin-bottom: 16px; }
.reponse__num { font: 400 13px/1 var(--sans); color: var(--sourdine); font-variant-numeric: tabular-nums; }
.reponse--consulter .reponse__num { color: var(--veilleuse); }


/* Bandes de l'accueil */
.bande, .soir, .rubriques-photo, .derniers, .veilleurs, .questions-accueil, .suite { max-width: var(--large); margin: 0 auto; padding: 64px var(--bord); }
.bande { border-top: 1px solid var(--trait); }
.bande__tete, .soir__tete { margin-bottom: 24px; }
.bande__tete p, .soir__tete p { color: var(--lavande); }
.tableau { overflow-x: auto; border: 1px solid var(--trait); border-radius: var(--r-carte); background: var(--nuit-2); margin: 24px 0; }
.tableau table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.tableau th, .tableau td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--trait); }
.tableau thead th { font-weight: 500; color: var(--lavande); background: var(--nuit-3); }
.tableau tbody tr:last-child > * { border-bottom: 0; }
.tableau tbody th { font-weight: 500; }
.registre td[data-etat="oui"] { color: var(--oui); }
.registre td[data-etat="non"] { color: var(--non); }
.registre td[data-etat="neutre"] { color: var(--lavande); }

/* Étagère et fiches produit */
.etagere { margin: 32px 0; }
.etagere__pub { font-size: 13px; color: var(--sourdine); margin-bottom: 8px; }
.etagere__titre { font: 500 18px/1.4 var(--sans); margin-bottom: 16px; }
.etagere__rang { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.fiche { background: var(--nuit-2); border: 1px solid var(--trait); border-radius: var(--r-carte); overflow: hidden; display: flex; flex-direction: column; }
.fiche__cadre { position: relative; background: #F2EEE3; aspect-ratio: 4 / 3; overflow: hidden; }
.fiche__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 16px; }
.fiche__famille { position: absolute; left: 12px; top: 12px; font-size: 12px; background: var(--nuit-1); color: var(--lavande); padding: 4px 8px; border-radius: var(--r-petit); }
.fiche__texte { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fiche__texte p { margin: 0; }
.fiche__boutique { font-size: 14px; color: var(--sourdine); }
.fiche__nom { font: 500 19px/1.3 var(--sans); margin: 0; }
.fiche__taux { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; font-variant-numeric: tabular-nums; }
.fiche__taux span { border: 1px solid var(--trait-fort); border-radius: var(--r-petit); padding: 2px 8px; color: var(--lavande); }
.fiche__prix { font-size: 15px; color: var(--lavande); }
.fiche__prix strong { font: 500 22px/1.2 var(--sans); color: var(--texte); font-variant-numeric: tabular-nums; }
.fiche__unite { display: block; font-size: 14px; color: var(--sourdine); font-variant-numeric: tabular-nums; }
.fiche__note { font-size: 14px; line-height: 1.5; color: var(--lavande); }
.fiche__date { font-size: 13px; color: var(--sourdine); }
.fiche__lien { margin-top: auto; display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r); background: var(--veilleuse); color: #1B1405; font-weight: 500; font-size: 15px; text-decoration: none; transition: background-color .15s var(--ease), transform .12s var(--ease); }
.fiche__lien:hover { background: #F7C784; color: #1B1405; }
.fiche__lien:active { transform: scale(.98); }
.etagere__mention { font-size: 13px; line-height: 1.55; color: var(--sourdine); margin-top: 16px; }

/* Rubriques en photo, cartes de textes */
.rubriques-photo__grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rubriques-photo__grille--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vignette { position: relative; display: block; border-radius: var(--r-carte); overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; background: var(--nuit-2); }
.vignette__photo { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .2s var(--ease); }
.vignette:hover .vignette__photo { opacity: .9; }
.vignette::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(14, 19, 48, .92)); }
.vignette__texte { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; display: grid; gap: 4px; }
.vignette__nom { font: 400 28px/1.1 var(--serif); color: var(--texte); }
.vignette__nb { font-size: 14px; color: var(--lavande); }
.derniers__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.carte--grande { grid-column: span 2; grid-row: span 2; }
.carte__lien { display: grid; gap: 8px; text-decoration: none; color: var(--texte); }
.carte__photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-carte); margin-bottom: 8px; opacity: .9; transition: opacity .2s var(--ease); }
.carte__lien:hover .carte__photo { opacity: 1; }
.carte__meta { font-size: 14px; color: var(--sourdine); }
.carte__titre { font: 500 20px/1.3 var(--sans); }
.carte--grande .carte__titre { font: 400 clamp(28px, 3vw, 38px)/1.12 var(--serif); }
.carte__chapo { color: var(--lavande); }
.carte__lien:hover .carte__titre { color: var(--veilleuse); }

/* Qui veille ici */
.veilleurs__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.veilleur { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; background: var(--nuit-2); border: 1px solid var(--trait); border-radius: var(--r-carte); padding: 24px; }
.veilleur p { margin: 0; color: var(--lavande); }
.veilleur__nom { font: 400 26px/1.2 var(--serif); margin-bottom: 8px !important; color: var(--texte) !important; }
.veilleur__mono { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--nuit-3); border: 1px solid var(--trait-fort); font: 400 28px/1 var(--serif); color: var(--veilleuse); }
.veilleur--grand { background: none; border: 0; padding: 0; }
.veilleurs__methode { color: var(--lavande); }

/* Questions et sources */
.questions { border-top: 1px solid var(--trait); }
.questions details { border-bottom: 1px solid var(--trait); }
.questions summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 500 18px/1.45 var(--sans); }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: ""; position: absolute; right: 8px; top: 28px; width: 10px; height: 10px; border-right: 1.5px solid var(--lavande); border-bottom: 1.5px solid var(--lavande); transform: rotate(45deg); transition: transform .18s var(--ease); }
.questions details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.questions details > div { padding: 0 0 20px; color: var(--lavande); }
.questions details > div p:last-child { margin: 0; }
.sources-liste { margin-top: 40px; font-size: 15px; color: var(--lavande); }
.sources-liste__titre { font-weight: 500; color: var(--texte); }
.sources-liste ul { padding-left: 20px; margin: 0 0 16px; }
.sources-liste li { margin-bottom: 8px; overflow-wrap: anywhere; }
.credit { font-size: 13px; color: var(--sourdine); }

/* Article, format B « Cadran » */
.texte { max-width: var(--large); margin: 0 auto; padding: 40px var(--bord) 0; }
.fil { font-size: 14px; color: var(--sourdine); margin-bottom: 20px; }
.fil a { color: var(--lavande); }
.texte__tete h1 { font-size: clamp(38px, 5.2vw, 62px); }
.texte__chapo { font-size: 20px; line-height: 1.55; color: var(--lavande); }
.texte__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; color: var(--sourdine); padding: 16px 0; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); margin: 24px 0 16px; }
.signature { display: inline-flex; align-items: center; gap: 8px; color: var(--texte); text-decoration: none; font-weight: 500; }
.signature__mono { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--nuit-3); color: var(--veilleuse); font: 400 18px/1 var(--serif); }
.annonce { font-size: 14px; color: var(--lavande); border-left: 2px solid var(--veilleuse); padding: 4px 0 4px 16px; }
.texte__photo { margin: 24px 0 40px; }
.texte__photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r-panneau); }
.texte__photo figcaption { font-size: 13px; color: var(--sourdine); margin-top: 8px; }
.texte__grille { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
.cadran { position: sticky; top: 96px; order: 2; }
.cadran__pli summary { list-style: none; font-size: 14px; color: var(--sourdine); padding-bottom: 12px; border-bottom: 1px solid var(--trait); cursor: default; display: flex; justify-content: space-between; gap: 8px; }
.cadran__pli summary::-webkit-details-marker { display: none; }
.cadran ol { list-style: none; margin: 0; padding: 12px 0 0; position: relative; }
.cadran ol::before { content: ""; position: absolute; left: 4px; top: 20px; bottom: 12px; width: 1px; background: var(--trait-fort); }
.cadran li a { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 6px 0 6px 20px; position: relative; text-decoration: none; font-size: 14px; line-height: 1.4; color: var(--lavande); }
.cadran li a::before { content: ""; position: absolute; left: 0; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--nuit-1); border: 1px solid var(--sourdine); }
.cadran li a .mono { color: var(--sourdine); }
.cadran li a.est-lue { color: var(--texte); }
.cadran li a.est-lue::before { background: var(--veilleuse); border-color: var(--veilleuse); }
.cadran li a.est-lue .mono { color: var(--veilleuse); }
.texte__corps { min-width: 0; font-size: 18px; }
.texte__corps > *:first-child { margin-top: 0; }
.texte__corps h2 { margin-top: 56px; padding-top: 8px; display: grid; gap: 8px; }
.texte__corps .heure { font: 400 14px/1 var(--sans); color: var(--veilleuse); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.texte__corps ul, .texte__corps ol { padding-left: 24px; margin: 0 0 20px; }
.texte__corps li { margin-bottom: 8px; }
.texte__corps strong { font-weight: 500; color: #FFFFFF; }
.texte__corps section[data-bloc="questions"] h2, .texte__corps section[data-bloc="sources"] h2 { font-size: clamp(26px, 3vw, 34px); }
.texte__corps section[data-bloc="questions"] { border-top: 0; }
.texte__corps section[data-bloc="questions"] details { border-bottom: 1px solid var(--trait); }
.texte__corps section[data-bloc="questions"] summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 500 18px/1.45 var(--sans); }
.texte__corps section[data-bloc="questions"] summary::-webkit-details-marker { display: none; }
.texte__corps section[data-bloc="questions"] summary::after { content: ""; position: absolute; right: 8px; top: 28px; width: 10px; height: 10px; border-right: 1.5px solid var(--lavande); border-bottom: 1.5px solid var(--lavande); transform: rotate(45deg); transition: transform .18s var(--ease); }
.texte__corps section[data-bloc="questions"] details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.texte__corps section[data-bloc="questions"] details > div { padding: 0 0 20px; color: var(--lavande); }
.texte__corps section[data-bloc="sources"] { font-size: 15px; color: var(--lavande); }
.texte__corps section[data-bloc="sources"] li { overflow-wrap: anywhere; }
.en-bref { background: var(--nuit-2); border: 1px solid var(--trait); border-radius: var(--r-carte); padding: 20px 24px; margin: 0 0 32px; }
.en-bref__titre { font-size: 14px; color: var(--veilleuse); margin-bottom: 8px; }
.en-bref ul { margin: 0; padding-left: 20px; }
.en-bref li:last-child { margin-bottom: 0; }
.citation { margin: 32px 0; padding: 20px 24px; border-left: 2px solid var(--lavande); background: rgba(26, 34, 70, .6); border-radius: 0 var(--r-carte) var(--r-carte) 0; }
.citation blockquote { margin: 0 0 8px; font: 400 22px/1.4 var(--serif); }
.citation figcaption { font-size: 14px; color: var(--sourdine); }
.garde { margin: 32px 0; padding: 20px 24px; border: 1px solid rgba(243, 181, 98, .4); border-radius: var(--r-carte); font-size: 16px; }
.garde p { margin: 0; }
.garde strong { color: var(--veilleuse); }
.bientot { text-decoration: underline dotted rgba(184, 181, 232, .5); text-underline-offset: .2em; }
.auteur-bloc { display: grid; grid-template-columns: 56px 1fr; gap: 16px; margin: 56px 0 0; padding: 24px 0; border-top: 1px solid var(--trait); }
.auteur-bloc p { margin: 0; color: var(--lavande); }
.auteur-bloc__nom { color: var(--texte) !important; font-weight: 500; margin-bottom: 4px !important; }
.derniers__grille--trois .carte--grande { grid-column: auto; grid-row: auto; }

/* Pages et 404 */
.feuille { max-width: var(--large); margin: 0 auto; padding: 40px var(--bord) 64px; }
.feuille__tete { border-bottom: 1px solid var(--trait); margin-bottom: 32px; padding-bottom: 16px; }
.feuille__maj { font-size: 14px; color: var(--sourdine); }
.feuille__corps h2 { margin-top: 40px; }
.feuille__sous { margin-top: 40px; }
.perdu__heure { color: var(--veilleuse); font-size: 15px; }
.perdu__liens { padding-left: 20px; }
.perdu__liens li { margin-bottom: 8px; }

/* Rubrique : page d'entrée */
.rubrique { padding-bottom: 32px; }
.rubrique__bandeau img { width: 100%; height: clamp(240px, 34vw, 440px); object-fit: cover; opacity: .62; }
.rubrique > *:not(.rubrique__bandeau) { max-width: var(--large); margin-left: auto; margin-right: auto; padding-left: var(--bord); padding-right: var(--bord); }
.rubrique__tete { position: relative; margin-top: -120px !important; }
.rubrique__tete::before { content: ""; position: absolute; inset: 0 max(0px, calc(var(--bord) - 24px)); background: var(--nuit-1); border-radius: var(--r-panneau) var(--r-panneau) 0 0; z-index: -1; }
.rubrique__tete { z-index: 1; padding-top: 32px; }
.rubrique__nom { font-size: 14px; color: var(--sourdine); }
.rubrique__chapo { font-size: 20px; color: var(--lavande); }
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 32px auto; }
.chiffre { background: var(--nuit-2); border: 1px solid var(--trait); border-radius: var(--r-carte); padding: 20px; }
.chiffre dt { font-size: 14px; color: var(--lavande); margin-bottom: 8px; }
.chiffre dd { margin: 0; display: grid; gap: 8px; }
.chiffre__valeur { font: 400 36px/1 var(--serif); font-variant-numeric: tabular-nums; }
.chiffre__source { font-size: 13px; color: var(--sourdine); }
.mot { display: grid; grid-template-columns: 56px 1fr; gap: 20px; margin: 40px auto !important; }
.mot__texte p { color: var(--lavande); font-size: 18px; }
.mot__signe { color: var(--veilleuse) !important; font: 400 22px/1 var(--serif) !important; }
.rubrique__textes { margin-top: 48px !important; margin-bottom: 48px !important; }
.rubrique__utile { margin-top: 32px !important; margin-bottom: 32px !important; }
.guide { margin-top: 48px !important; border-top: 1px solid var(--trait); padding-top: 24px; }
.rubrique__questions { margin-top: 48px !important; }
.note-bas { font-size: 14px; color: var(--sourdine); }

/* Pied de page : l'aube */
.aube { background: var(--nuit-0); border-top: 1px solid var(--trait); margin-top: 32px; }
.aube__grille { max-width: var(--large); margin: 0 auto; padding: 56px var(--bord) 32px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.aube p { color: var(--lavande); font-size: 15px; }
.aube .aube__nom { display: flex; align-items: center; gap: 12px; font: 400 26px/1 var(--serif); color: var(--texte) !important; }
.aube__garde { font-size: 14px !important; color: var(--sourdine) !important; }
.aube__titre { color: var(--texte) !important; font-weight: 500; }
.aube ul { list-style: none; margin: 0; padding: 0; }
.aube li { margin-bottom: 4px; }
.aube li a { display: inline-block; padding: 6px 0; color: var(--lavande); text-decoration: none; font-size: 15px; }
.aube li a:hover { color: var(--veilleuse); }
.aube__editeur { max-width: var(--large); margin: 0 auto; padding: 16px var(--bord) 32px; font-size: 13px !important; color: var(--sourdine) !important; border-top: 1px solid var(--trait); }

/* Lien en pause (local) */
.pause { display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.pause__boite { max-width: 560px; background: var(--nuit-2); border: 1px solid var(--trait); border-radius: var(--r-panneau); padding: 32px; }
.pause__heure { color: var(--veilleuse); font-size: 14px; }
.pause__url { font-size: 13px; color: var(--sourdine); overflow-wrap: anywhere; }
.pause h1 { font-size: 36px; }

/* Entrée douce du contenu principal */
@media (prefers-reduced-motion: no-preference) {
	.ouverture__texte, .agenda { animation: monte .45s var(--ease) both; }
	.agenda { animation-delay: .06s; }
	@keyframes monte { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
	html { scroll-behavior: smooth; }
}

@media (max-width: 1100px) {
	.texte__grille { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.cadran { position: static; order: 0; margin-bottom: 32px; background: var(--nuit-2); border: 1px solid var(--trait); border-radius: var(--r-carte); padding: 16px 20px; }
	.cadran__pli summary { cursor: pointer; border-bottom: 0; padding-bottom: 0; }
	.cadran__pli[open] summary { padding-bottom: 12px; border-bottom: 1px solid var(--trait); }
	.reponses__grille { grid-template-columns: 1fr 1fr; }
	.reponse:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
	.ouverture { grid-template-columns: minmax(0, 1fr); padding-top: 40px; gap: 32px; }
	.ouverture__fond { inset: 0 0 50% 0; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
	.ouverture__photo { opacity: .35; }
	.rubriques-photo__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.derniers__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.carte--grande { grid-column: 1 / -1; grid-row: auto; }
	.chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aube__grille { grid-template-columns: 1fr 1fr; }
	.aube__site { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	body { font-size: 17px; }
	.texte__corps { font-size: 17px; }
	.agenda { padding: 20px 16px; }
	.agenda__tete { flex-direction: column; }
	.agenda__lune { text-align: left; }
	.regle span:nth-child(even) { display: none; }
	.trace { margin: 0 4px; }
	.trace__mot { font-size: 11px; }
	.reponses__grille, .veilleurs__grille, .derniers__grille, .rubriques-photo__grille--trois { grid-template-columns: minmax(0, 1fr); }
	.vignette { aspect-ratio: 3 / 2; }
	.rubriques-photo__grille { grid-template-columns: minmax(0, 1fr); }
	.chiffres { grid-template-columns: minmax(0, 1fr); }
	.aube__grille { grid-template-columns: 1fr; }
	.rubrique__tete { margin-top: -64px !important; }
	.veilleur { grid-template-columns: 44px 1fr; padding: 20px; }
	.veilleur__mono { width: 44px; height: 44px; font-size: 22px; }
}

/* Ouverture et réponses : tablette et mobile */
@media (max-width: 1000px) {
	.ouverture { grid-template-columns: minmax(0, 1fr); padding-top: 64px; padding-bottom: 64px; gap: 40px; min-height: 0; }
	.ouverture h1 { max-width: 12ch; }
	.scene__photo { object-position: 70% 18%; }
	.scene__ciel::after { background: linear-gradient(180deg, rgba(14, 19, 48, .55) 0%, rgba(14, 19, 48, .35) 30%, rgba(20, 27, 58, .85) 62%, var(--nuit-1) 100%); }
	.agenda { margin-top: 0; margin-bottom: -112px; transform: rotate(-.8deg); }
	.reponses { padding-top: 152px; }
	.reponses__tete { max-width: none; }
	.reponses__grille { grid-template-columns: minmax(0, 1fr); }
	.reponse { padding: 24px 0 8px; }
	.reponse + .reponse { padding-left: 0; border-left: 0; border-top: 1px solid var(--trait); }
}
@media (max-width: 640px) {
	.ouverture { padding-top: 40px; }
	.ouverture__lune { margin-bottom: 20px; font-size: 13px; }
	.ouverture h1 { font-size: 46px; }
	.ouverture__chapo { font-size: 17px; margin-bottom: 32px; }
	.choix__ligne { grid-template-columns: 64px 1fr 12px; gap: 12px; padding: 14px 0; }
	.choix__heure { font-size: 24px; }
	.choix__mot { font-size: 16px; }
	.agenda { padding: 36px 16px 20px; }
	.agenda__tete { flex-direction: column; }
	.agenda__lune { text-align: left; }
	.agenda__titre { font-size: 24px; }
	.bilan { gap: 8px 20px; }
	.bilan dd { font-size: 22px; }
	.reponses__tete { grid-template-columns: 64px 1fr; }
	.reponses__heure { font-size: 24px; }
}

/* Étagère : la rangée s'adapte au nombre de fiches (jamais de case vide) */
.etagere__rang[data-n="1"] { grid-template-columns: minmax(0, 760px); }
.etagere__rang[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.etagere__rang[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.etagere__rang[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.etagere__rang[data-n="1"] .fiche, .etagere__rang[data-n="2"] .fiche { flex-direction: row; }
.etagere__rang[data-n="1"] .fiche__cadre, .etagere__rang[data-n="2"] .fiche__cadre { flex: 0 0 42%; aspect-ratio: auto; min-height: 260px; }
.texte__corps .etagere__rang[data-n="3"], .texte__corps .etagere__rang[data-n="4"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.texte__corps .etagere__rang[data-n="2"] .fiche { flex-direction: column; }
.texte__corps .etagere__rang[data-n="2"] .fiche__cadre { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
@media (max-width: 1000px) {
	.etagere__rang[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.etagere__rang[data-n="3"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
}
@media (max-width: 640px) {
	.etagere__rang[data-n] { grid-template-columns: minmax(0, 1fr); }
	.etagere__rang[data-n] .fiche { flex-direction: column; }
	.etagere__rang[data-n] .fiche__cadre { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
}

/* Sources de l'accueil : repliées sur une ligne */
.sources-pli { margin-top: 40px; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); font-size: 15px; color: var(--lavande); }
.sources-pli summary { list-style: none; cursor: pointer; padding: 16px 32px 16px 0; position: relative; color: var(--lavande); }
.sources-pli summary::-webkit-details-marker { display: none; }
.sources-pli summary::after { content: ""; position: absolute; right: 8px; top: 22px; width: 8px; height: 8px; border-right: 1.5px solid var(--lavande); border-bottom: 1.5px solid var(--lavande); transform: rotate(45deg); transition: transform .18s var(--ease); }
.sources-pli[open] summary::after { transform: rotate(-135deg); top: 26px; }
.sources-pli ul { padding: 0 0 16px 20px; margin: 0; }
.sources-pli li { margin-bottom: 8px; overflow-wrap: anywhere; }

@media (min-width: 1001px) and (max-width: 1100px) { .reponses__grille { grid-template-columns: 1.25fr 1fr 1fr; } .reponse:first-child { grid-column: auto; } }
@media (max-width: 640px) {
	.scene__ciel { height: 360px; }
	.scene__photo { object-position: 80% 0; }
	.scene__ciel::after { background: linear-gradient(180deg, rgba(14, 19, 48, .2) 0%, rgba(20, 27, 58, .1) 40%, var(--nuit-1) 100%); }
	.ouverture__lune { padding-right: 104px; }
}

/* Registre « Ce qui se vend » : trois colonnes, du permis à l'interdit */
.registre3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.colonne { position: relative; background: linear-gradient(180deg, var(--nuit-2) 0%, rgba(26, 34, 70, .4) 100%); border: 1px solid var(--trait); border-radius: var(--r-panneau); padding: 28px 28px 12px; overflow: hidden; }
.colonne::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--teinte); }
.colonne--oui { --teinte: #8FD3B0; }
.colonne--ici { --teinte: var(--lavande); }
.colonne--non { --teinte: #F0A3A3; }
.colonne__tete { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding-bottom: 20px; border-bottom: 1px solid var(--trait); }
.colonne__compte { margin: 0; font: 400 64px/.85 var(--serif); color: var(--teinte); font-variant-numeric: tabular-nums; }
.colonne__titre { font: 400 26px/1.15 var(--serif); margin: 0 0 6px; }
.colonne__sous { margin: 0; font-size: 14px; line-height: 1.5; color: var(--sourdine); }
.colonne__liste { list-style: none; margin: 0; padding: 0; }
.produit-r { padding: 20px 0; border-bottom: 1px solid var(--trait); }
.produit-r:last-child { border-bottom: 0; }
.produit-r p { margin: 0; }
.produit-r__nom { font: 500 17px/1.35 var(--sans); color: var(--texte); }
.produit-r__statut { display: flex; align-items: center; gap: 8px; margin-top: 6px !important; font-size: 14px; color: var(--teinte); }
.produit-r__statut::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teinte); flex: none; }
.produit-r__pourquoi { margin-top: 8px !important; font-size: 14px; line-height: 1.55; color: var(--lavande); }
.produit-r__pourquoi a { color: var(--lavande); }
@media (max-width: 1000px) { .registre3 { grid-template-columns: minmax(0, 1fr); } .colonne__compte { font-size: 52px; } }
