/* Pages de présentation du projet. Une seule famille, « Sentier », choisie par Christophe
   le 26/11/2026 dans ses maquettes (claude.ai/artifact/4ui7gEHnHaXzZ7jKj4x5hn) :
   Bodoni Moda pour les titres, Hanken Grotesk pour le texte, images en arche.
   Deux tons : clair (papier, encre brune, terre cuite) et sombre (brun de nuit, terre cuite claire).
   Variante d'essai (branche vitrine-veillee) : tout le site en « Veillée » (theme--veillee),
   clair (papier, encre, or bruni) et sombre (nuit bleue, or).
   Sur cette branche (vitrine-veillee), chaque page s'ouvre sur une image plein cadre.
   Seule exception : l'ouverture de la page du conte, qui garde l'habit « Veillée ».
   Le ton est porté par <html data-ton="clair|sombre">, posé dans head.njk avant l'affichage :
   le choix du visiteur (le même réglage que le conte, uvqc:mode), sinon le ton de la page
   (la page du conte s'ouvre en sombre), sinon le réglage de l'appareil. */

.body--vitrine {
  --largeur: 1160px; --marge: clamp(20px, 5vw, 40px);
  --arche: 999px 999px 0 0;
}
.theme--sentier {
  --fond: #F3ECE1; --fond-rvb: 243, 236, 225; --surface: #FBF6EE;
  --texte: #2A2019; --texte-seuil: #5F5246; --texte-doux: #5F5246;
  --accent: #A64B26; --accent-rvb: 166, 75, 38; --accent-clair: #E39B74; --sur-accent: #FBF6EE;
  --trait: rgba(42, 32, 25, 0.16); --trait-fort: rgba(42, 32, 25, 0.4);
  --sombre: #2A2019; --sur-sombre: #F3ECE1; --sur-sombre-doux: #D8CCBA;
  --police-titre: "Bodoni Moda", "Didot", Georgia, serif;
  --police-texte: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --police-interface: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --graisse-titre: 400;
}
/* Le ton sombre */
html[data-ton="sombre"] .theme--sentier {
  --fond: #1A140F; --fond-rvb: 26, 20, 15; --surface: #2E251C;
  --texte: #F1E9DC; --texte-seuil: #C4B6A2; --texte-doux: #C4B6A2;
  --accent: #E3916A; --accent-rvb: 227, 145, 106; --accent-clair: #E3916A; --sur-accent: #1A140F;
  --trait: rgba(241, 233, 220, 0.16); --trait-fort: rgba(241, 233, 220, 0.34);
  --sombre: #0F0B08; --sur-sombre: #F1E9DC; --sur-sombre-doux: #C4B6A2;
}
html[data-ton="sombre"] { color-scheme: dark; }

.body--vitrine { font-family: var(--police-texte); font-size: 1.125rem; line-height: 1.6; background: var(--fond); color: var(--texte); }
.body--vitrine .main { display: block; }
.body--vitrine h1, .body--vitrine h2, .body--vitrine h3 { font-family: var(--police-titre); font-weight: var(--graisse-titre); color: var(--texte); }
.body--vitrine a { color: var(--accent); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ─── Petits éléments ───────────────────────────────────────── */
.v-murmure { font-family: var(--police-interface); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; line-height: 1.5; }
.v-murmure--trait { display: flex; align-items: center; gap: 16px; }
.v-murmure--trait::before { content: ""; width: 40px; height: 1px; background: currentColor; flex: none; }
.v-centre { text-align: center; }
.v-note { color: var(--texte-doux); font-size: 0.9375em; font-family: var(--police-titre); font-style: italic; }
.v-chapo { margin: 20px auto 0; max-width: 60ch; color: var(--texte-seuil); font-size: 1.125em; }

.body--vitrine .bouton { background: var(--accent); border-color: var(--accent); color: var(--sur-accent); min-height: 56px; padding: 0 30px; font-family: var(--police-interface); font-size: 1rem; font-weight: 500; letter-spacing: 0.01em; gap: 12px; }

.v-lien-fleche { font-family: var(--police-interface); font-size: 1rem; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.v-lien-fleche::after { content: "→"; transition: transform var(--transition-rapide); }
.v-lien-fleche:hover::after { transform: translateX(5px); }
.v-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.v-actions--centre { justify-content: center; }

/* ─── Barre du haut ─────────────────────────────────────────── */
.v-barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; max-width: calc(1320px + 2 * var(--marge)); margin: 0 auto; padding: 28px var(--marge); font-family: var(--police-interface); font-size: 1rem; position: relative; z-index: 2; }
.v-barre__nom { font-family: var(--police-titre); font-style: italic; font-size: 1.75rem; line-height: 1; text-decoration: none; }
.body--vitrine .v-barre__nom, .body--vitrine .v-barre__liens a { color: var(--texte); }
.v-barre__liens { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(16px, 2.6vw, 34px); }
.v-barre__liens a { text-decoration: none; }
.body--vitrine .v-barre__liens a:hover { color: var(--accent); }
.v-barre__liens .v-barre__entrer { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: 1px solid var(--texte); border-radius: 999px; white-space: nowrap; }
.theme--sentier .v-barre__liens .v-barre__entrer:hover { background: var(--texte); color: var(--fond); }

/* La bascule clair / sombre : la lune en clair, le soleil en sombre */
.v-ton { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; border: 1px solid var(--trait-fort); border-radius: 50%; background: transparent; color: var(--texte); cursor: pointer; transition: border-color var(--transition-rapide), color var(--transition-rapide); }
.v-ton:hover { border-color: var(--accent); color: var(--accent); }
.v-ton:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.v-ton svg { width: 20px; height: 20px; }
html[data-ton="sombre"] .v-ton__lune, html:not([data-ton="sombre"]) .v-ton__soleil { display: none; }

/* ─── Sentier · ouverture de l'accueil : le nom, et la route en arche ── */
.v-seuil { max-width: calc(1320px + 2 * var(--marge)); margin: 0 auto; padding: clamp(24px, 4vw, 60px) var(--marge) clamp(72px, 10vw, 140px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 72px); }
.v-signature em { font-style: italic; color: var(--accent); }
.v-signature span { display: block; }
.v-seuil .v-signature { font-size: clamp(3rem, 1.4rem + 6vw, 5.75rem); line-height: 1.02; letter-spacing: -0.015em; }
.v-seuil .v-signature span { font-size: 0.42em; line-height: 1.2; margin-top: 0.5em; letter-spacing: 0; color: var(--texte-seuil); }
.v-seuil__phrase { margin-top: 32px; max-width: 30em; font-size: 1.25em; line-height: 1.6; color: var(--texte-seuil); }
.v-seuil__note { font-family: var(--police-titre); font-style: italic; color: var(--texte-seuil); }
.v-seuil__image { margin: 0; position: relative; justify-self: center; width: min(100%, 500px); }
.v-seuil__image img { position: relative; width: 100%; height: clamp(380px, 52vw, 660px); object-fit: cover; object-position: 62% center; border-radius: var(--arche); }
.v-seuil__arche { position: absolute; inset: -24px 0 0 0; transform: translateX(-5%); border: 1px solid var(--accent); border-radius: var(--arche); opacity: 0.5; }

/* L'extrait du manifeste : un bandeau sombre, comme une respiration */
.v-extrait { background: var(--sombre); color: var(--sur-sombre); text-align: center; padding: clamp(80px, 11vw, 150px) var(--marge); font-family: var(--police-titre); }
.v-extrait .v-murmure { color: var(--accent-clair); margin-bottom: clamp(36px, 5vw, 64px); }
.v-extrait p:not(.v-murmure) { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6875rem); line-height: 1.6; }
.v-extrait p + p:not(.v-extrait__fort) { margin-top: 1em; }
.v-extrait p.v-extrait__fort { margin-top: clamp(36px, 5vw, 60px); font-style: italic; color: var(--accent-clair); font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.75rem); line-height: 1.05; }
.v-extrait .v-lien-fleche { margin-top: clamp(36px, 5vw, 56px); color: var(--sur-sombre); }
.v-extrait .v-lien-fleche:hover { color: var(--accent-clair); }

/* ─── Sections ──────────────────────────────────────────────── */
.v-section { max-width: calc(var(--largeur) + 2 * var(--marge)); margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--marge); }
.v-section h2, .v-tete h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.625rem); line-height: 1.1; }
.v-section h2.v-centre { max-width: 18em; margin-inline: auto; }
.v-section h3 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); line-height: 1.15; }
.v-tete { max-width: 760px; margin-bottom: clamp(48px, 7vw, 90px); }
.v-tete--centre { margin-inline: auto; text-align: center; }
.v-tete--centre h2, .v-tete--centre h1 { max-width: 15em; margin-inline: auto; }

/* Le sentier : trois étapes qui se répondent, une à gauche, une à droite */
.v-sentier { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(56px, 7vw, 80px); }
.v-sentier li { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 80px); }
.v-sentier li:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.v-sentier li:nth-child(even) img { order: 2; }
.v-sentier img { width: 100%; height: clamp(320px, 38vw, 480px); object-fit: cover; border-radius: var(--arche); }
.v-sentier__rang { display: flex; align-items: center; gap: 14px; font-family: var(--police-interface); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--texte-seuil); margin-bottom: 16px; }
.v-sentier__rang span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; letter-spacing: 0; flex: none; }
.v-sentier__rang--ouverte { color: var(--accent); }
.v-sentier__rang--ouverte span { background: var(--accent); border-color: var(--accent); color: var(--sur-accent); }
.v-section .v-sentier h3 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.05; }
.v-sentier div > p:not(.v-sentier__rang) { margin-top: 16px; font-size: 1.125em; color: var(--texte-seuil); max-width: 30em; }
.v-sentier .v-lien-fleche { margin-top: 14px; }

/* Les quatre entrées, en liste */
.v-entrees { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait-fort); counter-reset: entree; }
.v-entrees li { border-bottom: 1px solid var(--trait-fort); counter-increment: entree; }
.v-entrees a { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: baseline; gap: clamp(12px, 3vw, 40px); padding: clamp(24px, 3vw, 36px) 0; text-decoration: none; transition: padding var(--transition-rapide); }
.body--vitrine .v-entrees a { color: inherit; }
.v-entrees a::before { content: counter(entree, lower-roman) "."; font-family: var(--police-titre); font-style: italic; font-size: 1.5rem; color: var(--accent); }
.v-entrees a::after { content: "→"; color: var(--accent); transition: transform var(--transition-rapide); }
.v-entrees a:hover { padding-left: 10px; }
.v-entrees a:hover::after { transform: translateX(6px); }
.v-entrees a:hover h3 { color: var(--accent); }
.v-section .v-entrees h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem); transition: color var(--transition-rapide); }
.v-entrees p { color: var(--texte-seuil); }

/* La phrase du projet, entre deux filets */
.v-fin { max-width: calc(var(--largeur) + 2 * var(--marge)); margin: 0 auto; padding: 0 var(--marge) clamp(80px, 11vw, 150px); text-align: center; }
.v-fin__phrase { border-top: 1px solid var(--texte); border-bottom: 1px solid var(--texte); padding: clamp(48px, 7vw, 90px) clamp(0px, 3vw, 40px); font-family: var(--police-titre); font-size: clamp(1.625rem, 1.2rem + 2vw, 2.75rem); line-height: 1.25; }
.v-fin__phrase em { font-style: italic; color: var(--accent); }
.v-fin__qui { margin-top: 36px; color: var(--texte-seuil); }
.v-fin .bouton { margin-top: 28px; }

/* ─── Pages intérieures (partenaires, services éducatifs) ───── */
.v-ouverture { max-width: calc(1320px + 2 * var(--marge)); margin: 0 auto; padding: 0 var(--marge); }
.v-ouverture__image { margin: 0; }
.v-ouverture__image img { width: 100%; height: clamp(260px, 40vw, 520px); object-fit: cover; object-position: center 58%; border-radius: 260px 260px 0 0; }
.v-ouverture__texte { text-align: center; padding: clamp(40px, 6vw, 72px) 0 clamp(16px, 3vw, 40px); }
.v-ouverture__texte h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem); line-height: 1.05; letter-spacing: -0.01em; max-width: 14em; margin-inline: auto; }
.v-ouverture__phrase { margin: 26px auto 0; max-width: 34em; font-size: 1.1875em; color: var(--texte-seuil); }
.v-ouverture__texte .bouton { margin-top: 36px; }
.v-ouverture__texte .v-note { margin-top: 20px; }

.v-deux { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 80px); }
.v-deux--texte { align-items: start; }
.v-deux--texte .v-deux__texte + .v-deux__texte > p:first-child { margin-top: 0; }
.v-deux--inverse { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
/* L'image à droite, pour alterner avec la section précédente. Sur téléphone, elle revient en tête. */
.v-deux--image-droite { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.v-deux--image-droite .v-deux__image { order: 2; }
.v-deux__image { margin: 0; }
.v-deux__image img { width: 100%; border-radius: 6px; }
.v-deux__image--carre { width: min(100%, 420px); justify-self: center; }
.v-deux__image--carre img { height: clamp(360px, 40vw, 520px); object-fit: cover; border-radius: var(--arche); }
.v-deux__texte > p:not(.v-murmure) { margin-top: 20px; max-width: 34em; color: var(--texte-seuil); }
.v-deux__texte strong { color: var(--texte); font-weight: 500; }
.v-deux__texte > .v-lien-fleche { margin-top: 20px; }

.v-temps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.v-section > .v-centre + .v-temps, .v-section > .v-centre + .v-portes, .v-section > h2 + .v-galerie { margin-top: clamp(40px, 6vw, 72px); }
.v-temps--quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v-temps li { border-top: 1px solid var(--trait-fort); padding-top: 24px; }
.v-temps__rang { display: block; font-family: var(--police-titre); font-style: italic; font-size: 2.25rem; line-height: 1; color: var(--accent); margin-bottom: 14px; }
.v-temps--quatre .v-temps__rang { font-size: 1.5rem; }
.v-temps p { margin-top: 12px; color: var(--texte-seuil); }

.v-portes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.v-portes--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; }
.v-porte { padding: 24px 0 0; border-top: 1px solid var(--trait-fort); display: flex; flex-direction: column; align-items: flex-start; }
.v-porte p { margin: 14px 0 18px; color: var(--texte-seuil); }
.v-porte .v-lien-fleche { margin-top: auto; }

.v-esprit { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.v-esprit__suite { margin-top: 20px; font-family: var(--police-titre); font-style: italic; font-size: 1.25em; color: var(--texte-seuil); max-width: 24em; }
.v-esprit__liste { list-style: none; margin: 0; padding: 0; }
.v-esprit__liste li { padding: 20px 0; border-top: 1px solid var(--trait-fort); color: var(--texte-seuil); }
.v-esprit__liste li:last-child { border-bottom: 1px solid var(--trait-fort); }
.v-esprit__liste strong { color: var(--texte); font-weight: 500; }

.v-citation { max-width: calc(var(--largeur) + 2 * var(--marge)); margin: 0 auto; padding: 0 var(--marge) clamp(80px, 11vw, 150px); text-align: center; }
.v-citation > p { border-top: 1px solid var(--texte); padding-top: clamp(48px, 7vw, 90px); max-width: none; margin: 0 auto; font-family: var(--police-titre); font-style: italic; font-size: clamp(1.625rem, 1.2rem + 2vw, 2.75rem); line-height: 1.25; }

/* ─── Le manifeste, sur sa page ─────────────────────────────── */
.v-manifeste { background: var(--sombre); color: var(--sur-sombre); text-align: center; padding: clamp(64px, 9vw, 130px) var(--marge) clamp(80px, 11vw, 150px); font-family: var(--police-titre); }
.v-manifeste .v-murmure { color: var(--accent-clair); }
.body--vitrine .v-manifeste__titre { color: var(--sur-sombre); font-style: italic; font-size: clamp(2.75rem, 1.6rem + 5vw, 5rem); line-height: 1; margin-bottom: clamp(40px, 6vw, 72px); }
.v-manifeste__texte { max-width: 30em; margin: 0 auto; font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem); line-height: 1.6; }
.v-manifeste__texte p + p { margin-top: 1.3em; }
.v-manifeste__texte p:nth-child(3), .v-manifeste__texte p:nth-child(7) { color: var(--sur-sombre-doux); }
.v-manifeste__fort { font-style: italic; color: var(--accent-clair); font-size: 1.9em; line-height: 1.1; }

/* ─── La page du conte : l'ouverture « Veillée » ────────────────
   Christophe garde ici le héros de sa maquette Veillée : la nuit bleue, l'or,
   Cormorant Garamond et Jost. Il reste le même dans les deux tons ; le reste de la page est en Sentier. */
.theme--veillee {
  --fond-2: #EDE5D7;
  --fond: #F6F1E8; --fond-rvb: 246, 241, 232; --surface: #FBF7EF;
  --texte: #1B1D26; --texte-seuil: #45423A; --texte-doux: #5C584D;
  --accent: #7A5420; --accent-rvb: 122, 84, 32; --accent-clair: #E2B46E; --sur-accent: #FBF7EF;
  --trait: rgba(27, 29, 38, 0.16); --trait-fort: rgba(27, 29, 38, 0.38);
  --sombre: #1B1D26; --sur-sombre: #EFE8DA; --sur-sombre-doux: #BDB5A6;
  --police-titre: "Cormorant Garamond", Georgia, serif;
  --police-texte: "Cormorant Garamond", Georgia, serif;
  --police-interface: "Jost", system-ui, sans-serif;
  --graisse-titre: 300;
  font-size: 1.3125rem; line-height: 1.5;
}
html[data-ton="sombre"] .theme--veillee { --fond-2: #181B26; }
html[data-ton="sombre"] .theme--veillee, .body--vitrine .v-veillee {
  --sombre: #1B1D26; --sur-sombre: #EFE8DA; --sur-sombre-doux: #BDB5A6;
  --fond: #12151F; --fond-rvb: 18, 21, 31; --surface: #1B1D26;
  --texte: #EFE8DA; --texte-seuil: #E4DCCB; --texte-doux: #BDB5A6;
  --accent: #E2B46E; --accent-rvb: 226, 180, 110; --accent-clair: #E2B46E; --sur-accent: #12151F;
  --trait: rgba(239, 232, 218, 0.16); --trait-fort: rgba(239, 232, 218, 0.34);
  --police-titre: "Cormorant Garamond", Georgia, serif;
  --police-texte: "Cormorant Garamond", Georgia, serif;
  --police-interface: "Jost", system-ui, sans-serif;
  --graisse-titre: 300;
  font-family: var(--police-texte); font-size: 1.3125rem; line-height: 1.5;   /* Cormorant est petite d'œil */
}
:is(.theme--veillee, .v-veillee) .v-murmure { letter-spacing: 0.3em; font-weight: 400; }
:is(.theme--veillee, .v-veillee) .v-barre__liens { font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; }
:is(.theme--veillee, .v-veillee) .v-barre__liens .v-barre__entrer { background: var(--accent); border-color: var(--accent); color: var(--sur-accent); }
:is(.theme--veillee, .v-veillee) .bouton { background: transparent; color: var(--texte); font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400; }
:is(.theme--veillee, .v-veillee) .bouton span { color: var(--accent); }
:is(.theme--veillee, .v-veillee) .bouton:hover:not(:disabled) { background: var(--accent); color: var(--sur-accent); }
:is(.theme--veillee, .v-veillee) .bouton:hover span { color: inherit; }
:is(.theme--veillee, .v-veillee) .v-lien-fleche { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400; }
.v-veillee { color: var(--texte); background: var(--fond); position: relative; min-height: min(860px, calc(100dvh - 96px)); display: flex; flex-direction: column; overflow: hidden; }
.v-veillee__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 12%; }
.v-veillee::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 21, 31, 0.97) 8%, rgba(18, 21, 31, 0.6) 48%, rgba(18, 21, 31, 0.35) 100%); }
.v-veillee .v-barre { width: 100%; }
.v-veillee__texte { position: relative; z-index: 1; margin-top: auto; width: 100%; max-width: calc(1280px + 2 * var(--marge)); margin-inline: auto; padding: clamp(48px, 8vw, 120px) var(--marge) clamp(48px, 7vw, 96px); }
.v-veillee__texte h1 { font-size: clamp(2.75rem, 1.2rem + 6.4vw, 6.5rem); line-height: 0.98; letter-spacing: -0.01em; max-width: 11em; }
.v-veillee__texte h1 em { font-style: italic; }
.v-veillee__bas { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.v-veillee__phrase { max-width: 24em; font-size: 1.2em; line-height: 1.45; color: var(--texte-seuil); }
.v-veillee__phrase em { font-style: italic; color: var(--texte); }
.v-veillee__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

.v-galerie { display: grid; grid-template-columns: 1fr 1.78fr; grid-template-areas: "a b" "c d"; gap: clamp(18px, 2.6vw, 34px); }
.v-galerie figure { margin: 0; }
.v-galerie figure:nth-child(1) { grid-area: a; }
.v-galerie figure:nth-child(2) { grid-area: b; }
.v-galerie figure:nth-child(3) { grid-area: d; }
.v-galerie figure:nth-child(4) { grid-area: c; }
.v-galerie img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.v-galerie figure:nth-child(2) img, .v-galerie figure:nth-child(3) img { aspect-ratio: 1536 / 865; }
.v-galerie figcaption { margin-top: 12px; font-style: italic; color: var(--texte-doux); line-height: 1.4; }

.v-poeme { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 6vw, 80px); }
.v-poeme__texte > p:not(.v-murmure) { margin-top: 20px; max-width: 30em; color: var(--texte-seuil); }
.v-poeme__carte { margin: 0; padding: clamp(28px, 4vw, 52px); background: var(--surface); border: 1px solid var(--trait); border-radius: 4px; line-height: 1.6; }
.v-poeme__carte p + p { margin-top: 1.1em; }
.v-poeme__formule { font-style: italic; color: var(--accent); }
.v-poeme__carte footer { margin-top: 1.6em; font-style: italic; color: var(--texte-doux); }

/* ─── Contact ───────────────────────────────────────────────── */
.v-form { margin: clamp(36px, 5vw, 56px) auto 0; max-width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.v-form__champ { display: flex; flex-direction: column; gap: 8px; }
.v-form__champ--large, .v-form__erreur, .v-form__envoyer, .v-form__note { grid-column: 1 / -1; }
.v-form label { font-size: 0.9375rem; color: var(--texte-seuil); }
.v-form input, .v-form select, .v-form textarea { color: var(--texte); background: var(--surface); border: 1px solid var(--trait-fort); border-radius: 6px; padding: 14px 16px; min-height: 52px; width: 100%; }
.v-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--texte-doux) 50%), linear-gradient(135deg, var(--texte-doux) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.v-form textarea { resize: vertical; line-height: 1.5; }
.v-form input:focus, .v-form select:focus, .v-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.v-form__erreur { color: var(--accent); font-size: 0.9375rem; }
.v-form__envoyer { justify-self: center; min-width: 260px; }
.v-form__note { text-align: center; font-size: 0.875rem; color: var(--texte-seuil); }

/* ─── Pied ──────────────────────────────────────────────────── */
.v-pied { border-top: 1px solid var(--trait); padding: 44px var(--marge) 60px; text-align: center; color: var(--texte-seuil); }
.v-pied p:first-child { font-family: var(--police-titre); font-size: 1.25em; color: var(--texte); }
.v-pied p:first-child em { font-style: italic; }
.v-pied p + p { margin-top: 10px; font-size: 0.9375rem; line-height: 2; }

/* Toutes les pages s'ouvrent comme la page du conte : une image plein cadre et une phrase.
   Choix de Christophe, le 26/11/2026. */
.v-veillee--court { min-height: min(640px, 82dvh); }
.v-veillee--accueil .v-veillee__image { object-position: 60% 62%; }
.v-veillee--accueil .v-signature { max-width: none; font-size: clamp(3rem, 1.2rem + 7.4vw, 8rem); line-height: 0.96; }
.v-veillee--accueil .v-signature span { display: block; margin-top: 0.18em; font-size: 0.44em; line-height: 1.12; font-style: italic; letter-spacing: 0; }
.v-veillee--accueil .v-signature span em { font-style: inherit; }
.v-veillee__texte h1 em { color: var(--accent); }

/* Isidore salue dès l'ouverture de l'accueil : un médaillon et ses premiers mots */
.v-veillee--accueil .v-veillee__image { object-position: 72% 30%; }
.v-salut { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(20px, 3vw, 34px); }
.v-salut__portrait { flex: none; width: 84px; height: 84px; border-radius: 50%; background: url("/illustrations/images/site-isidore-ecoute.webp") 50% 4% / 230% auto no-repeat; box-shadow: 0 0 0 1px var(--accent), 0 0 34px 4px rgba(226, 180, 110, 0.28); }
.v-salut__mots { display: flex; flex-direction: column; gap: 6px; }
.v-salut q { quotes: "« " " »"; font-family: var(--police-titre); font-style: italic; font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem); line-height: 1.15; color: var(--texte); }
.v-salut__qui { font-family: var(--police-interface); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 600px) { .v-salut__portrait { width: 64px; height: 64px; } }

/* La parole d'Isidore, sur l'accueil */
.v-parole { padding-bottom: clamp(24px, 4vw, 56px); }
.v-parole__texte { margin: 0; }
.v-parole__texte p { margin-top: 18px; max-width: 30em; color: var(--texte-seuil); font-size: 1.0625em; }
.v-parole__texte p.v-parole__seuil { margin-top: 0; max-width: 14em; font-family: var(--police-titre); font-style: italic; font-weight: var(--graisse-titre); font-size: clamp(2rem, 1.3rem + 2.8vw, 3.625rem); line-height: 1.08; color: var(--texte); }
.v-parole__qui { margin-top: 26px; font-family: var(--police-interface); font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 14px; }
.v-parole__qui::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.v-parole .v-lien-fleche { margin-top: 10px; }

/* ─── L'extrait gratuit : trois minutes sur un banc ─────────── */
.v-banc { min-height: calc(100dvh - 96px); }
.v-banc .v-veillee__image { object-position: 72% 60%; }
.v-banc::after { background: linear-gradient(90deg, rgba(18, 21, 31, 0.9) 0%, rgba(18, 21, 31, 0.82) 55%, rgba(18, 21, 31, 0.5) 100%); }
.v-banc__scene { position: relative; z-index: 1; width: 100%; max-width: calc(760px + 2 * var(--marge)); margin: auto; padding: clamp(24px, 5vw, 64px) var(--marge) clamp(40px, 6vw, 80px); }
.v-banc__pas { list-style: none; margin: 0 0 clamp(24px, 4vw, 40px); padding: 0; display: flex; gap: 8px; }
.v-banc__pas li { flex: 1; height: 2px; background: var(--trait-fort); transition: background var(--transition-rapide); }
.v-banc__pas li.est-fait { background: var(--accent); }
.v-banc__qui { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-family: var(--police-interface); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.v-banc__qui .v-salut__portrait { width: 64px; height: 64px; }
.v-banc__parole p { font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem); line-height: 1.4; }
.v-banc__parole p + p { margin-top: 0.7em; }
.v-banc__parole p:first-child { font-style: italic; }
.v-banc__proverbe { font-style: italic; color: var(--accent); }
.v-banc__etape label { display: block; margin-top: 30px; font-family: var(--police-interface); font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--texte-doux); }
.v-banc__etape input { display: block; width: 100%; margin-top: 10px; padding: 12px 2px; background: transparent; border: 0; border-bottom: 1px solid var(--trait-fort); border-radius: 0; color: var(--texte); font: inherit; font-size: 1.5rem; }
.v-banc__etape input:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.v-banc__actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.v-banc__retour { min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer; font-family: var(--police-interface); font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--texte-doux); text-decoration: underline; text-underline-offset: 5px; }
.v-banc__retour:hover, .v-banc__retour:focus-visible { color: var(--accent); }
.v-banc__choix { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.v-banc__choix button { display: flex; flex-direction: column; gap: 6px; padding: 0 0 16px; text-align: left; background: var(--surface); border: 1px solid var(--trait); border-radius: 999px 999px 6px 6px; overflow: hidden; color: var(--texte); cursor: pointer; font: inherit; transition: border-color var(--transition-rapide), transform var(--transition-rapide); }
.v-banc__choix button:hover, .v-banc__choix button:focus-visible { border-color: var(--accent); transform: translateY(-3px); outline: none; }
.v-banc__choix img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 10px; }
.v-banc__choix strong { padding: 0 16px; font-weight: 400; font-size: 1.375rem; line-height: 1.1; }
.v-banc__choix span { padding: 0 16px; font-size: 1rem; line-height: 1.35; color: var(--texte-doux); }
.v-banc__conte { margin-top: 26px; font-size: 1.25rem; }
.v-banc__conte:focus { outline: none; }
.v-banc__etat { margin-top: 14px; min-height: 1.5em; font-style: italic; color: var(--accent); }
.v-banc__promesse { margin-top: clamp(32px, 5vw, 56px); padding-top: 18px; border-top: 1px solid var(--trait); font-size: 1rem; }
@media (max-width: 600px) { .v-banc__choix { grid-template-columns: 1fr; } .v-banc__choix button { flex-direction: row; flex-wrap: wrap; align-items: center; border-radius: 6px; padding: 0; } .v-banc__choix img { width: 96px; aspect-ratio: 1; margin: 0 14px 0 0; } .v-banc__choix strong, .v-banc__choix span { padding: 0; } .v-banc__choix button { display: grid; grid-template-columns: 96px 1fr; column-gap: 14px; } .v-banc__choix img { grid-row: 1 / 3; } .v-banc__choix strong { align-self: end; } .v-banc__choix span { align-self: start; padding-right: 12px; } }
@media print { .body--vitrine .v-barre, .v-banc .v-veillee__image, .v-banc::after, .v-banc__pas, .v-banc__qui, .v-banc__parole, .v-banc__actions, .v-banc__promesse, .v-banc__etat, .v-pied, .v-banc .v-murmure { display: none !important; } .v-banc, .v-banc__conte { background: #fff !important; color: #000 !important; border: 0 !important; min-height: 0; } .v-banc__conte p, .v-banc__conte footer { color: #000 !important; } }

/* ─── Contact : peu de choses, mais chaleureuses ────────────── */
.v-cle__lueur { display: block; width: 9px; height: 9px; margin: 0 auto clamp(28px, 4vw, 40px); border-radius: 50%; background: #E2B46E; box-shadow: 0 0 40px 14px rgba(226, 180, 110, 0.38); }
.v-cle .v-tete { margin-bottom: clamp(28px, 4vw, 48px); }
.v-cle h2 em { font-style: italic; color: var(--accent); }
.v-form--douce { max-width: 600px; gap: 30px 20px; }
.v-form--douce label, .v-form--douce legend { font-family: var(--police-interface); font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--texte-doux); }
.v-form--douce .v-form__option { text-transform: none; letter-spacing: 0.02em; }
.v-form--douce input[type="text"], .v-form--douce textarea { background: transparent; border: 0; border-bottom: 1px solid var(--trait-fort); border-radius: 0; padding: 8px 2px 12px; min-height: 0; font-size: 1.375rem; }
.v-form--douce input[type="text"]:focus, .v-form--douce textarea:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.v-form__profils { border: 0; margin: 0; padding: 0; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
.v-form__profils legend { width: 100%; margin-bottom: 14px; text-align: center; }
.v-form__profils label { position: relative; cursor: pointer; }
.v-form__profils input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.v-form__profils span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--trait-fort); border-radius: 999px; font-family: var(--police-titre); font-size: 1.1875rem; letter-spacing: 0; text-transform: none; color: var(--texte); transition: background var(--transition-rapide), border-color var(--transition-rapide), color var(--transition-rapide); }
.v-form__profils label:hover span { border-color: var(--accent); }
.v-form__profils input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--sur-accent); }
.v-form__profils input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.v-form--douce .v-form__envoyer { margin-top: 6px; }
.v-cle__signe { margin-top: clamp(36px, 5vw, 56px); text-align: center; font-style: italic; color: var(--texte-seuil); }
.v-cle__signe span { display: block; margin-top: 2px; font-family: var(--police-titre); font-size: 2rem; line-height: 1.1; color: var(--accent); }

/* ─── Finitions de lecture (passe du 26/11/2026) ────────────── */
.body--vitrine h1, .body--vitrine h2, .body--vitrine h3, .v-manifeste__texte p, .v-extrait p, .v-fin__phrase, .v-citation p, .v-parole__seuil, .v-chapo, .v-veillee__phrase { text-wrap: balance; }
.body--vitrine p, .body--vitrine li { text-wrap: pretty; }
.theme--veillee strong { font-weight: 600; }
.v-salut q { quotes: "«\00a0" "\00a0»"; }
.v-pied p:last-child a { display: inline-block; padding: 12px 4px; }
.v-barre__menu { display: none; }

/* ─── Mentions légales et confidentialité ───────────────────── */
.v-legal { max-width: calc(760px + 2 * var(--marge)); }
.v-legal h2 { margin-top: clamp(48px, 6vw, 72px); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.12; }
.v-legal h2:first-child { margin-top: 0; }
.v-legal h3 { margin-top: 32px; font-family: var(--police-interface); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.v-legal p, .v-legal ul { margin-top: 16px; color: var(--texte-seuil); }
.v-legal ul { padding-left: 1.1em; }
.v-legal li + li { margin-top: 8px; }
.v-legal li::marker { color: var(--accent); }
.v-legal strong { color: var(--texte); }
.v-legal a { text-underline-offset: 4px; }
.v-legal__date { margin-top: clamp(48px, 6vw, 72px); padding-top: 20px; border-top: 1px solid var(--trait); font-style: italic; font-size: 0.9375em; }

/* ─── Orientation « facilitation » (26/11/2026) ─────────────── */
.v-chapo--gauche { margin-left: 0; }
.v-tete h2 em { font-style: italic; color: var(--accent); }
.v-entrees__suite { margin-top: 28px; max-width: 46em; color: var(--texte-seuil); font-style: italic; }
.v-portes__note { margin-top: clamp(28px, 4vw, 44px); }

/* Le menu se tient au-dessus de l'image, et non plus dessus (demande de Christophe, 26/11/2026) :
   il reste lisible quelle que soit l'image, et ne passe plus sur le visage d'Isidore. */
.body--vitrine .v-barre { padding-block: 20px; }

/* ─── « Il était une fois, ce projet… » : un récit en chapitres ── */
.v-recit__chapitre { max-width: calc(680px + 2 * var(--marge)); padding-block: clamp(48px, 7vw, 96px); }
.v-recit__chapitre + .v-recit__chapitre { padding-top: 0; }
.v-recit__rang { font-family: var(--police-titre); font-style: italic; font-size: 2.25rem; line-height: 1; color: var(--accent); margin-bottom: 14px; }
.v-recit h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.08; }
.v-recit__chapitre p:not(.v-recit__rang) { margin-top: 20px; color: var(--texte-seuil); }
.v-recit p.v-recit__fort { font-family: var(--police-titre); font-style: italic; font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem); line-height: 1.25; color: var(--texte); }
.v-recit__isidore { padding-block: 0 clamp(48px, 7vw, 96px); }
.v-recit__suite { padding-top: 0; }
.v-recit__suite .v-cle__signe { margin-bottom: 28px; }

/* ─── Le menu en catégories (demande de Christophe, 26/11/2026) ── */
.v-groupe { position: relative; }
.v-groupe__titre { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0; background: none; border: 0; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--texte); }
.v-groupe__titre::after { content: ""; width: 6px; height: 6px; margin-top: -4px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform var(--transition-rapide); }
.v-groupe:hover .v-groupe__titre, .v-groupe:focus-within .v-groupe__titre, .v-groupe.est-ouvert .v-groupe__titre { color: var(--accent); }
.v-groupe.est-ouvert .v-groupe__titre::after { transform: rotate(225deg); margin-top: 4px; }
.v-groupe__titre:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.v-groupe__liens { display: none; position: absolute; top: 100%; left: -20px; z-index: 30; min-width: 290px; padding: 10px; background: var(--surface); border: 1px solid var(--trait); border-radius: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18); }
.v-groupe:hover .v-groupe__liens, .v-groupe:focus-within .v-groupe__liens, .v-groupe.est-ouvert .v-groupe__liens { display: block; }
.v-groupe__liens a { display: block; padding: 13px 14px; border-radius: 5px; letter-spacing: 0.12em; line-height: 1.35; }
.v-groupe__liens a:hover, .v-groupe__liens a:focus-visible { background: rgba(var(--accent-rvb), 0.1); outline: none; }

/* ─── L'accueil « Le Seuil » (planche H de la maquette, 26/11/2026) ──
   Isidore dans une arche, sur le seuil ; la parole du conteur en grand ; un fil de conte entre les blocs. */
.theme--veillee .v-seuil { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(72px, 9vw, 130px); }
.theme--veillee .v-seuil .v-signature { font-size: clamp(3rem, 1rem + 5.2vw, 6rem); line-height: 0.95; letter-spacing: -0.01em; }
.theme--veillee .v-seuil .v-signature span { margin-top: 0.2em; font-size: 0.43em; line-height: 1.1; font-style: italic; color: var(--texte); }
.theme--veillee .v-seuil .v-signature span em { font-style: inherit; }
.v-seuil .v-salut { margin-bottom: clamp(22px, 3vw, 34px); }
.v-seuil .v-salut q { color: var(--accent); }
.v-seuil .v-salut__qui { color: var(--texte-doux); }
.v-seuil .v-salut__qui::before { content: "— "; }
.theme--veillee .v-seuil__phrase { font-size: 1.19em; line-height: 1.5; max-width: 22em; }
.theme--veillee .v-seuil .bouton { background: var(--texte); border-color: var(--texte); color: var(--fond); }
.theme--veillee .v-seuil .bouton span { color: inherit; }
.theme--veillee .v-seuil .bouton:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--sur-accent); }
html[data-ton="sombre"] .theme--veillee .v-seuil .bouton { background: var(--accent); border-color: var(--accent); color: var(--sur-accent); }
.theme--veillee .v-seuil__image { width: min(100%, 420px); }
.theme--veillee .v-seuil__image img { height: clamp(400px, 46vw, 600px); object-position: center; box-shadow: 0 0 140px 10px rgba(var(--accent-rvb), 0.22); }
.theme--veillee .v-seuil__arche { inset: -18px; transform: none; opacity: 1; }

.v-fil { display: flex; align-items: center; gap: 22px; margin-bottom: clamp(36px, 5vw, 56px); }
.v-fil__mot { font-family: var(--police-titre); font-style: italic; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2.125rem); line-height: 1.1; color: var(--accent); white-space: nowrap; }
.v-fil__trait { flex: 1; height: 1px; background: var(--trait-fort); }
.v-fil__nom { font-family: var(--police-interface); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--texte-doux); white-space: nowrap; }
.v-fil--centre { flex-direction: column; gap: 14px; }
.v-extrait .v-fil__mot { color: var(--accent-clair); }
.v-extrait .v-fil__nom { color: var(--sur-sombre-doux); }
.v-extrait .v-fil { margin-bottom: clamp(36px, 5vw, 64px); }
.v-fin .v-fil { margin-bottom: clamp(28px, 4vw, 44px); }

.v-bande { background: var(--fond-2); padding: clamp(72px, 10vw, 140px) var(--marge); }
.v-bande__dedans { max-width: 980px; margin: 0 auto; }
.v-accueil-parole { margin: 0; }
.v-accueil-parole__grand { font-family: var(--police-titre); font-weight: 300; font-size: clamp(2.25rem, 1.3rem + 4vw, 4.375rem); line-height: 1.08; text-wrap: balance; }
.v-accueil-parole__suite { margin-top: clamp(32px, 4vw, 52px); padding-left: 28px; border-left: 1px solid var(--accent); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(32px, 5vw, 64px); }
.v-accueil-parole__suite p { font-style: italic; font-size: 1.19em; line-height: 1.55; color: var(--texte-seuil); }
.v-bande .v-lien-fleche { margin-top: clamp(32px, 4vw, 48px); }

.v-sentier--colonnes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); align-items: start; }
.v-sentier--colonnes li, .v-sentier--colonnes li:nth-child(even) { display: block; }
.v-sentier--colonnes li:nth-child(even) img { order: 0; }
.v-sentier--colonnes img { height: clamp(300px, 30vw, 440px); margin-bottom: 26px; border-radius: 999px 999px 4px 4px; }
.v-sentier--colonnes li:not(:first-child) img { opacity: 0.82; }
.v-section .v-sentier--colonnes h3 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
@media (max-width: 900px) {
  .v-sentier--colonnes { grid-template-columns: 1fr; gap: 56px; }
  .v-accueil-parole__suite { grid-template-columns: 1fr; }
  .v-fil { gap: 14px; flex-wrap: wrap; }
  .v-fil__trait { display: none; }
  .v-fil__nom { flex-basis: 100%; white-space: normal; }
  .theme--veillee .v-seuil__arche { inset: -12px; }
}

/* ─── Les quatre manières : deux colonnes, le texte sous le titre ──
   La liste en travers de la page laissait un grand vide entre le titre et sa phrase (retour de Christophe, 26/11/2026). */
.v-entrees { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v-entrees li:nth-child(odd) { border-right: 1px solid var(--trait-fort); }
.v-entrees a { grid-template-columns: 3.25rem minmax(0, 1fr) auto; align-items: baseline; align-content: start; gap: 10px 16px; height: 100%; padding: clamp(32px, 3.6vw, 48px) clamp(20px, 3vw, 44px) clamp(32px, 3.6vw, 48px) 0; }
.v-entrees li:nth-child(even) a { padding-left: clamp(20px, 3vw, 44px); padding-right: 0; }
.v-entrees a:hover { padding-left: 0; }
.v-entrees li:nth-child(even) a:hover { padding-left: clamp(20px, 3vw, 44px); }
.v-entrees a::before { font-size: 2rem; line-height: 1; }
.v-entrees a::after { font-size: 1.5rem; }
.v-entrees p { grid-column: 2 / 4; grid-row: 2; max-width: 26em; font-size: 1.06em; line-height: 1.5; }
.v-section .v-entrees h3 { font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem); line-height: 1.1; }
@media (max-width: 900px) {
  .v-entrees { grid-template-columns: 1fr; }
  .v-entrees li:nth-child(odd) { border-right: 0; }
  .v-entrees li:nth-child(even) a, .v-entrees li:nth-child(even) a:hover { padding-left: 0; }
  .v-entrees a { padding-right: 0; }
}

/* ─── Ouverture allégée, texte à droite (page du conte, 26/11/2026) ──
   Le titre ne passe plus sur le visage d'Isidore : il se range du côté que sa main désigne. */
.v-veillee--droite .v-veillee__image { object-position: 22% 14%; }
.v-veillee--droite::after { background: linear-gradient(90deg, rgba(18, 21, 31, 0) 30%, rgba(18, 21, 31, 0.78) 62%, rgba(18, 21, 31, 0.9) 100%), linear-gradient(to top, rgba(18, 21, 31, 0.9) 0%, rgba(18, 21, 31, 0) 38%); }
.v-veillee--droite .v-veillee__texte { display: flex; flex-direction: column; align-items: flex-start; margin-block: auto; padding-left: clamp(24px, 52%, 760px); }
.v-veillee--droite .v-veillee__texte h1 { font-size: clamp(2.5rem, 1.5rem + 3.2vw, 4.5rem); line-height: 1.04; max-width: 11em; }
.v-veillee--droite .v-veillee__phrase { margin-top: 24px; max-width: 22em; }
.v-veillee--droite .v-veillee__actions { margin-top: 32px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.v-recit__traversees { padding-top: 0; }
@media (max-width: 900px) {
  .v-veillee--droite .v-veillee__image { object-position: 30% 12%; }
  .v-veillee--droite::after { background: linear-gradient(to top, rgba(18, 21, 31, 0.97) 10%, rgba(18, 21, 31, 0.62) 52%, rgba(18, 21, 31, 0.2) 100%); }
  .v-veillee--droite .v-veillee__texte { margin-block: auto 0; padding-left: var(--marge); }
}

/* ─── Ouvertures en image, allégées (retour de Christophe, 26/11/2026) ──
   Le titre occupait toute la largeur et recouvrait le sujet de l'image. Les images du site sont peintes
   avec leur sujet à droite : le texte se tient donc à gauche, plus petit, et le bouton passe sous la phrase. */
.v-veillee:not(.v-veillee--droite):not(.v-banc)::after { background: linear-gradient(90deg, rgba(18, 21, 31, 0.86) 0%, rgba(18, 21, 31, 0.62) 40%, rgba(18, 21, 31, 0) 72%), linear-gradient(to top, rgba(18, 21, 31, 0.85) 0%, rgba(18, 21, 31, 0) 34%); }
.v-veillee:not(.v-veillee--droite) .v-veillee__texte h1 { font-size: clamp(2.375rem, 1.5rem + 2.9vw, 4.25rem); line-height: 1.05; max-width: min(100%, 11.5em); }
.v-veillee:not(.v-veillee--droite) .v-veillee__bas { margin-top: clamp(20px, 2.6vw, 30px); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 28px; }
.v-veillee:not(.v-veillee--droite) .v-veillee__phrase { max-width: 23em; font-size: 1.1em; }
.v-veillee:not(.v-veillee--droite) .v-veillee__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
@media (max-width: 900px) {
  .v-veillee:not(.v-veillee--droite):not(.v-banc)::after { background: linear-gradient(to top, rgba(18, 21, 31, 0.97) 10%, rgba(18, 21, 31, 0.66) 55%, rgba(18, 21, 31, 0.25) 100%); }
}

/* ─── Des bandes pour rythmer les pages (retour de Christophe, 26/11/2026) ──
   Les pages intérieures enchaînaient les sections sur le même fond. Une bande de nuit par page, au moment
   qui compte, et des bandes teintées autour : jamais deux bandes de même sorte à la suite.
   La section garde sa largeur ; c'est son fond qui s'étend d'un bord à l'autre de l'écran. */
.v-section--nuit, .v-section--teinte { background: var(--bande); box-shadow: 0 0 0 100vmax var(--bande); clip-path: inset(0 -100vmax); padding-block: clamp(72px, 9vw, 124px); }
.v-section--teinte { --bande: var(--fond-2); }
.v-section--nuit {
  --bande: #1B1D26; --fond: #1B1D26; --fond-rvb: 27, 29, 38; --fond-2: #242733; --surface: #242733;
  --texte: #EFE8DA; --texte-seuil: #E4DCCB; --texte-doux: #BDB5A6;
  --accent: #E2B46E; --accent-rvb: 226, 180, 110; --sur-accent: #12151F;
  --trait: rgba(239, 232, 218, 0.16); --trait-fort: rgba(239, 232, 218, 0.34);
  color: var(--texte);
}
:is(.v-section--nuit, .v-section--teinte) + .v-section:not(.v-section--nuit):not(.v-section--teinte) { padding-top: clamp(72px, 10vw, 140px); }
.v-section--nuit + .v-citation, .v-section--teinte + .v-citation { padding-top: clamp(72px, 10vw, 140px); }
.v-section--nuit + .v-citation > p, .v-section--teinte + .v-citation > p { border-top: 0; padding-top: 0; }
.v-recit__isidore.v-section--nuit { padding-block: clamp(72px, 9vw, 124px); }
.v-recit .v-section--nuit p:not(.v-recit__rang):not(.v-recit__fort) { color: var(--texte-seuil); }
.v-recit__chapitre.v-section--teinte { max-width: calc(680px + 2 * var(--marge)); }
.v-recit__chapitre + .v-recit__chapitre.v-section--teinte { padding-top: clamp(72px, 9vw, 124px); }

/* ─── Pied de page en nuit (demande de Christophe, 26/11/2026) ───
   Nuit dans les deux tons ; en mode sombre, un cran plus foncé que la page pour s'en détacher. */
.body--vitrine .v-pied {
  --nuit: #12151F; --texte: #EFE8DA; --texte-seuil: #CFC6B4; --texte-doux: #A9A293; --accent: #E2B46E;
  --trait: rgba(239, 232, 218, 0.14);
  background: var(--nuit); color: var(--texte-seuil); border-top: 0; padding: clamp(64px, 8vw, 110px) var(--marge) 0; text-align: left; font-size: 1rem;
}
html[data-ton="sombre"] .body--vitrine .v-pied { --nuit: #0B0D14; border-top: 1px solid var(--trait); }
.v-pied__dedans { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.v-pied__lueur { display: block; width: 9px; height: 9px; margin-bottom: 26px; border-radius: 50%; background: #E2B46E; box-shadow: 0 0 40px 14px rgba(226, 180, 110, 0.34); }
.body--vitrine .v-pied .v-pied__nom { font-family: var(--police-titre); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem); line-height: 1.1; color: var(--texte); margin: 0; }
.v-pied__nom em { font-style: italic; color: var(--accent); }
.v-pied__nom span { display: block; margin-top: 6px; font-size: 0.62em; font-style: italic; color: var(--texte-seuil); }
.body--vitrine .v-pied .v-pied__maison { margin-top: 20px; font-size: 1.0625rem; line-height: 1.5; font-family: var(--police-texte); letter-spacing: 0; text-transform: none; }
.body--vitrine .v-pied a { color: var(--texte-seuil); text-decoration: none; transition: color var(--transition-rapide); }
.body--vitrine .v-pied a:hover, .body--vitrine .v-pied a:focus-visible { color: var(--accent); }
.body--vitrine .v-pied .v-pied__maison a { color: var(--texte); border-bottom: 1px solid var(--trait); padding: 0; display: inline; }
.body--vitrine .v-pied .v-pied__ecrire { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; margin-top: 26px; padding: 0 22px; border: 1px solid var(--accent); border-radius: 999px; font-family: var(--police-interface); font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--texte); }
.body--vitrine .v-pied .v-pied__ecrire:hover { background: var(--accent); color: #12151F; }
.v-pied__colonnes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); }
.body--vitrine .v-pied .v-pied__titre { margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--trait); font-family: var(--police-interface); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); line-height: 1.4; }
.body--vitrine .v-pied .v-pied__colonnes a { display: block; padding: 9px 0; font-family: var(--police-texte); font-size: 1.125rem; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.v-pied__bas { max-width: 1240px; margin: clamp(48px, 6vw, 80px) auto 0; padding: 22px 0 30px; border-top: 1px solid var(--trait); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; }
.body--vitrine .v-pied .v-pied__bas p { margin: 0; font-family: var(--police-interface); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; line-height: 2; color: var(--texte-doux); }
.body--vitrine .v-pied .v-pied__bas a { display: inline-block; padding: 8px 0; margin-left: 28px; color: var(--texte-doux); }
.body--vitrine .v-pied .v-pied__bas a:first-child { margin-left: 0; }
@media (max-width: 900px) {
  .v-pied__dedans { grid-template-columns: 1fr; }
  .v-pied__colonnes { grid-template-columns: 1fr; gap: 28px; }
  .body--vitrine .v-pied .v-pied__colonnes a { padding: 12px 0; }
}
@media print { .v-pied { display: none !important; } }

/* ─── Passe téléphone et mode sombre du 26/11/2026 (seconde) ─── */
.v-barre__nom { display: inline-flex; align-items: center; min-height: 44px; }
.body--vitrine .v-pied .v-pied__bas a { padding: 13px 0; }
.body--vitrine .v-pied .v-pied__ecrire { min-height: 44px; margin-top: 18px; padding: 0; border: 0; border-radius: 0; color: var(--accent); }
.body--vitrine .v-pied .v-pied__ecrire:hover { background: none; color: var(--texte); }

/* ─── Téléphone et tablette ─────────────────────────────────── */
@media (max-width: 1040px) { .v-temps--quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .v-barre { padding-block: 20px; }
  .v-barre__liens { gap: 12px; }
  .v-barre__menu { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--trait-fort); border-radius: 999px; background: transparent; color: var(--texte); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
  .v-groupe, .v-barre__lien { display: none; order: 10; flex-basis: 100%; }
  .v-barre.est-ouvert .v-groupe, .v-barre.est-ouvert .v-barre__lien { display: block; }
  .v-groupe { border-top: 1px solid var(--trait); padding: 14px 0 6px; }
  .v-groupe__titre { pointer-events: none; min-height: 0; color: var(--accent); font-size: 0.75rem; }
  .v-groupe__titre::after { display: none; }
  .v-groupe__liens, .v-groupe:hover .v-groupe__liens { position: static; display: block; min-width: 0; padding: 4px 0 0; border: 0; background: none; box-shadow: none; }
  .v-groupe__liens a { padding: 0; min-height: 48px; display: flex; align-items: center; font-size: 0.9375rem; }
  .v-barre__lien { border-top: 1px solid var(--trait); min-height: 56px; line-height: 56px; font-size: 0.9375rem; }
  .v-barre.est-ouvert { background: rgba(var(--fond-rvb), 0.96); padding-bottom: 8px; }
  .v-extrait br { display: none; }
  .v-deux--image-droite { grid-template-columns: 1fr; }
  .v-deux--image-droite .v-deux__image { order: 0; }
  .v-seuil, .v-deux, .v-deux--inverse, .v-poeme, .v-esprit, .v-portes, .v-portes--deux, .v-temps, .v-temps--quatre { grid-template-columns: 1fr; }
  .v-seuil__image { order: -1; width: min(78vw, 340px); }
  .v-seuil__image img { height: min(92vw, 400px); }
  .v-sentier li, .v-sentier li:nth-child(even) { grid-template-columns: 1fr; }
  .v-sentier li:nth-child(even) img { order: 0; }
  .v-sentier img { width: min(100%, 360px); height: min(96vw, 400px); }
  .v-deux__image--carre { width: min(78vw, 340px); }
  .v-ouverture__image img { border-radius: 140px 140px 0 0; }
  .v-entrees a { grid-template-columns: 2.25rem minmax(0, 1fr) auto; gap: 4px 12px; }
  .v-entrees p { grid-column: 2; grid-row: 2; }
  .v-galerie { grid-template-columns: 1fr; grid-template-areas: "a" "b" "d" "c"; }
  .v-galerie img, .v-galerie figure:nth-child(2) img, .v-galerie figure:nth-child(3) img { aspect-ratio: 3 / 2; }
  .v-veillee__bas { flex-direction: column; align-items: flex-start; }
  .v-form { grid-template-columns: 1fr; }
  .v-form__envoyer { justify-self: stretch; min-width: 0; }
}
.theme--veillee .v-pied p:last-child { font-family: var(--police-interface); font-size: 0.8125rem; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; }
.theme--veillee .v-form label, .theme--veillee .v-form__note, .theme--veillee .v-sentier__rang { font-family: var(--police-interface); }
