/* Patrick F. Woodtli — psychologue
   Même maison que L'Encre du Temps (papier, encre, Cormorant Garamond),
   mais une autre pièce : un lin plus chaud, la lumière d'une lampe,
   et un seul filet terracotta. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f4eee4;          /* lin */
  --bg-deep: #ece4d6;
  --ink: #1a160d;
  --ink-mid: #5c534a;
  --ink-light: #6f655c;
  --rule: #cbc1b1;
  --accent: #9a3515;      /* terracotta, en touche seulement */
  --glow: rgba(214, 170, 112, 0.30);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  color-scheme: light;
}

html { -webkit-text-size-adjust: 100%; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--serif); }
body { min-height: 100vh; }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--ink-mid); outline-offset: 4px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--bg); padding: 8px 14px; font-size: 15px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; }

/* La lampe : un halo chaud, discret, au-dessus du nom */
.lamp {
  position: relative;
  isolation: isolate;
}
.lamp::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%; top: -18vw;
  width: min(1100px, 150vw); height: min(780px, 105vw);
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--glow), rgba(214,170,112,0.10) 55%, transparent 100%);
  pointer-events: none;
}

.page {
  max-width: 1040px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* ---------- EN-TÊTE ---------- */
.topbar {
  display: flex; justify-content: flex-end;
  padding-top: 20px;
}
.lang {
  font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-light); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.lang:hover { color: var(--ink); border-bottom-color: var(--rule); }

.masthead { text-align: center; padding: clamp(28px, 5vw, 56px) 0 0; }
.masthead .title {
  display: inline-block;
  font-size: clamp(25px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
}
.masthead .sub {
  margin-top: 14px;
  font-size: clamp(11px, 1.25vw, 13.5px);
  font-weight: 500;
  letter-spacing: 0.34em;
  color: var(--ink-mid);
}
.masthead .sub .dot { color: var(--accent); margin: 0 0.55em 0 0.4em; letter-spacing: 0; }

.nav { margin-top: clamp(22px, 3vw, 30px); }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; }
.nav li + li::before { content: "·"; color: var(--rule); margin: 0 clamp(10px, 1.6vw, 16px); }
.nav a {
  font-size: clamp(10.5px, 1.1vw, 11.5px);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mid); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 3px;
  transition: color .25s, border-color .25s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--rule); }

/* ---------- OUVERTURE ---------- */
.overture {
  text-align: center;
  padding: clamp(64px, 11vw, 132px) 0 clamp(52px, 8vw, 92px);
}
.overture h1 {
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.22;
  max-width: 17ch;
  margin: 0 auto;
  text-wrap: balance;
}
.overture .rule { margin: clamp(30px, 4vw, 42px) auto; }
.overture p {
  font-size: clamp(17px, 1.9vw, 20.5px);
  line-height: 1.6;
  max-width: 34em;
  margin: 0 auto;
  color: var(--ink);
  text-wrap: pretty;
}
.overture p + p { margin-top: 1em; color: var(--ink-mid); }

.rule { width: 56px; height: 1px; background: var(--accent); opacity: .75; }

/* ---------- TROIS SEUILS ---------- */
.seuils {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.seuil {
  display: block;
  text-decoration: none;
  padding: clamp(28px, 4vw, 44px) clamp(18px, 2.6vw, 34px) clamp(30px, 4vw, 44px);
  text-align: center;
  transition: background .35s;
}
.seuil + .seuil { border-left: 1px solid var(--rule); }
.seuil:hover { background: rgba(236, 228, 214, 0.65); }
.seuil .num {
  display: block;
  font-size: 12px; letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 14px;
}
.seuil .name {
  display: block;
  font-size: clamp(13px, 1.3vw, 14px);
  letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
}
.seuil .line {
  display: block;
  font-size: clamp(17px, 1.8vw, 19.5px);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-mid);
  max-width: 19em; margin: 0 auto;
}
.seuil .go {
  display: inline-block; margin-top: 18px;
  font-size: 15px; color: var(--ink-light);
  transition: transform .3s, color .3s;
}
.seuil:hover .go { transform: translateX(4px); color: var(--accent); }

/* ---------- CITATION ---------- */
.epigraph {
  text-align: center;
  padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 96px);
}
.epigraph blockquote {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.4;
  color: var(--ink-mid);
  max-width: 22em; margin: 0 auto;
  text-wrap: balance;
}
.epigraph cite {
  display: block; margin-top: 22px;
  font-style: normal;
  font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-light);
}
.epigraph cite a { text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; }
.epigraph cite a:hover { border-bottom-color: var(--ink); }

/* ---------- PIED DE PAGE ---------- */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--rule);
  padding: 30px 0 calc(34px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px;
  font-size: 14.5px; line-height: 1.6; color: var(--ink-mid);
}
.footer .place strong { font-weight: 500; color: var(--ink); }
.footer .house { text-align: right; }
.footer .house a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.footer .house a:hover { border-bottom-color: var(--ink); }
.footer .small { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-light); }

@media (max-width: 720px) {
  .nav ul { gap: 10px 20px; }
  .nav li + li::before { content: none; }
  .seuils { grid-template-columns: 1fr; }
  .seuil + .seuil { border-left: 0; border-top: 1px solid var(--rule); }
  .footer { flex-direction: column; }
  .footer .house { text-align: left; }
}

/* ---------- ACCUEIL : la devanture ---------- */
/* Une seule vue, sans défilement : le nom, la lampe, une phrase. */
.home .page { min-height: 100vh; min-height: 100svh; }
.home .lamp::before { top: auto; bottom: 0; height: 100%; width: min(1200px, 170vw); 
  background: radial-gradient(ellipse 50% 46% at 50% 44%, var(--glow), rgba(214,170,112,0.08) 60%, transparent 100%); }
.home .masthead { padding-top: 0; }
.home .door {
  flex: 1 0 auto;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: clamp(40px, 8vh, 96px) 0;
  text-align: center;
}
.home .masthead h1 { font: inherit; }
.home .whisper {
  margin-top: clamp(56px, 11vh, 120px);
  display: flex; flex-direction: column; align-items: center;
}
.home .whisper .rule { margin-bottom: 26px; }
.home .whisper p {
  font-style: italic;
  font-size: clamp(18px, 2.1vw, 22px);
  color: var(--ink-mid);
  letter-spacing: 0.01em;
  max-width: 22em;
  opacity: 0;
  animation: lever 2.4s ease 0.6s forwards;
}
@keyframes lever { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .home .whisper p { animation: none; opacity: 1; } }
.home .footer {
  border-top: 0;
  justify-content: center;
  text-align: center;
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-light);
  gap: 6px 0;
  padding-top: 0;
}
.home .footer span + span::before { content: "·"; color: var(--rule); margin: 0 14px; }
@media (max-width: 720px) {
  .home .footer { flex-direction: column; align-items: center; }
  .home .footer span + span::before { content: none; }
}

/* Accueil : laisser respirer le nom, le titre et les rubriques */
.home .masthead .title { letter-spacing: 0.18em; }
.home .masthead .sub { margin-top: clamp(20px, 2.4vw, 26px); letter-spacing: 0.4em; }
.home .nav { margin-top: clamp(44px, 7vh, 72px); }
.home .nav ul { gap: 12px 0; }
.home .nav li + li::before { margin: 0 clamp(14px, 2.2vw, 24px); }
.home .nav a { letter-spacing: 0.2em; }
.home .whisper { margin-top: clamp(64px, 12vh, 132px); }
@media (max-width: 720px) {
  .home .nav ul { gap: 16px 22px; max-width: 320px; margin: 0 auto; }
  .home .nav li + li::before { content: none; }
}
.home .masthead .sub .dot { margin: 0 0.85em 0 0.45em; }
/* Rubriques inscrites sous la largeur du nom */
.home .nav a { letter-spacing: 0.15em; }
.home .nav li + li::before { margin: 0 clamp(8px, 1.1vw, 12px); }
.home .whisper p { text-wrap: balance; }
/* La phrase, signée du paraphe */
.home figure.whisper { margin-left: 0; margin-right: 0; }
.home .whisper blockquote { margin: 0; }
.home .whisper figcaption { margin-top: 18px; opacity: 0; animation: lever 2.4s ease 1.6s forwards; }
.home .paraphe { display: block; width: clamp(120px, 13vw, 150px); height: auto; margin: 0 auto; transform: translateX(6%); }
@media (prefers-reduced-motion: reduce) { .home .whisper figcaption { animation: none; opacity: 1; } }
.home .whisper p { max-width: 27em; }
/* Respiration : la phrase et son paraphe plus bas, plus légers */
.home .whisper { margin-top: clamp(96px, 19vh, 230px); }
.home .whisper figcaption { margin-top: 22px; }
.home .paraphe { width: clamp(100px, 9.5vw, 124px); opacity: .82; }
/* Phrase en romain, encre moyenne ; paraphe un peu plus présent */
.home .whisper p { font-style: normal; font-size: clamp(17px, 1.95vw, 20.5px); color: var(--ink-mid); letter-spacing: 0.015em; }
.home .paraphe { width: clamp(112px, 10.5vw, 136px); opacity: 1; }
.home .whisper .nb { display: inline-block; }
.home .paraphe { transform: translateX(-4.5%); }
.home .paraphe { transform: translateX(-8%); }

/* ================= PAGES INTÉRIEURES ================= */
.inner .lamp::before { top: -28vw; opacity: .7; }
.inner .masthead { padding-top: clamp(8px, 2vw, 20px); }
.inner .masthead .title { font-size: clamp(19px, 2.4vw, 25px); letter-spacing: 0.18em; }
.inner .masthead .sub { margin-top: 12px; font-size: 11px; letter-spacing: 0.36em; }
.inner .masthead .sub .dot { margin: 0 0.85em 0 0.45em; }
.inner .nav { margin-top: clamp(26px, 4vh, 40px); }
.inner .nav a { letter-spacing: 0.15em; }
.inner .nav li + li::before { margin: 0 clamp(8px, 1.1vw, 12px); }

.article {
  max-width: 35em;
  margin: 0 auto;
  padding: clamp(72px, 12vh, 128px) 0 clamp(80px, 12vh, 140px);
}
.article .eyebrow {
  text-align: center;
  font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}
.article .eyebrow + .rule { margin: 26px auto clamp(48px, 7vh, 72px); }
.article p {
  font-size: clamp(18px, 1.9vw, 20.5px);
  line-height: 1.72;
  color: var(--ink);
  text-wrap: pretty;
  hyphens: manual;
}
.article p + p { margin-top: 1.15em; }
.article p.cadence {
  margin-top: 1.9em;
  font-style: italic;
  color: var(--ink-mid);
}
.article p.coda {
  margin-top: 1.9em;
  padding-top: 1.6em;
  border-top: 1px solid var(--rule);
  font-size: clamp(16.5px, 1.7vw, 18.5px);
  color: var(--ink-mid);
}
.article p.coda a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.article p.coda a:hover { border-bottom-color: var(--ink); }

.inner .footer {
  border-top: 0; justify-content: center; text-align: center;
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-light);
  gap: 6px 0; padding-top: 0;
}
.inner .footer span + span::before { content: "·"; color: var(--rule); margin: 0 14px; }
@media (max-width: 720px) {
  .inner .nav ul { gap: 14px 20px; max-width: 320px; margin: 0 auto; }
  .inner .nav li + li::before { content: none; }
  .inner .footer { flex-direction: column; align-items: center; }
  .inner .footer span + span::before { content: none; }
}
.article .epigraphe { margin: 0 0 clamp(48px, 7vh, 72px); text-align: center; }
.article .eyebrow + .rule:has(+ .epigraphe) { margin-bottom: clamp(36px, 5vh, 52px); }
.article .epigraphe blockquote { font-style: italic; font-size: clamp(17px, 1.8vw, 19px); color: var(--ink-mid); line-height: 1.5; }
.article .epigraphe figcaption { margin-top: 10px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-light); }

/* Texte courant : EB Garamond, justifié avec césure, corps plus fin */
:root { --text: 'EB Garamond', 'Cormorant Garamond', Georgia, serif; }
.article { max-width: 33em; }
.article p {
  font-family: var(--text);
  font-size: clamp(16.5px, 1.55vw, 18px);
  line-height: 1.68;
  text-align: justify;
  -webkit-hyphens: auto; hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
  font-variant-numeric: oldstyle-nums;
  font-kerning: normal;
}
.article p + p { margin-top: 0.95em; }
.article .sc { font-variant: small-caps; letter-spacing: 0.06em; }
.article p.cadence { text-align: left; font-size: clamp(16.5px, 1.55vw, 18px); margin-top: 1.7em; }
.article p.coda {
  border-top: 0; padding-top: 0;
  margin-top: 2.4em;
  font-size: clamp(15px, 1.4vw, 16.5px);
  text-align: justify;
}
.article p.coda::before {
  content: ""; display: block; width: 56px; height: 1px; background: var(--accent); opacity: .6;
  margin: 0 auto 2em;
}
.article .epigraphe blockquote { font-size: clamp(16px, 1.6vw, 17.5px); }
@media (max-width: 520px) { .article p { text-align: left; } }
.article p.cadence { hyphens: manual; -webkit-hyphens: manual; }
/* Encre de texte plus légère, plus diaphane */
:root { --ink-text: #3d362e; }
.article p { color: var(--ink-text); }
.article p.cadence, .article p.coda { color: var(--ink-mid); }
.article p.coda a { color: var(--ink-text); }
/* Lettrine (essai) */
.article p.incipit::first-letter {
  float: left;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 3.55em;
  line-height: 0.82;
  margin: 0.07em 0.09em 0 -0.02em;
  color: var(--accent);
  font-variant: normal;
  letter-spacing: 0;
}
/* Plus d'air autour du filet de la coda */
.article p.coda { margin-top: 3.6em; }
.article p.coda::before { margin-bottom: 3.2em; }
/* La phrase de cadence : romain, en retrait, plutôt qu'italique */
.article p.cadence {
  font-style: normal;
  margin: 2.2em 2.4em 0;
  text-align: center;
  line-height: 1.75;
  color: var(--ink-mid);
  text-wrap: balance;
}
@media (max-width: 520px) { .article p.cadence { margin-left: 0.8em; margin-right: 0.8em; } }

/* Un lieu pour dire */
.poeme p.envoi { margin: 1.4em 2.4em 0; text-align: center; color: var(--ink-text); text-wrap: balance; hyphens: manual; -webkit-hyphens: manual; }
.poeme p.cadence { margin-top: 2.6em; }
.poeme .paraphe-fin { display: block; width: clamp(108px, 10vw, 128px); height: auto; margin: 2.6em auto 0; transform: translateX(-8%); }
@media (max-width: 520px) { .poeme p.envoi { margin-left: .8em; margin-right: .8em; } }
/* Fin du texte : plus de silence entre la cadence, l'envoi et le paraphe */
.poeme p.cadence { margin-top: 3.6em; }
.poeme p.envoi { margin-top: 2.6em; }
.poeme .paraphe-fin { margin-top: 3.4em; }

/* Consulter */
.consulter p.cadence { margin-top: 3.2em; }
.consulter .seuil-contact { text-align: center !important; margin-top: 1.4em; }
.consulter .seuil-contact a {
  font-family: var(--serif);
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--accent); padding-bottom: 4px;
  transition: color .25s;
}
.consulter .seuil-contact a:hover { color: var(--accent); }
.consulter p.adresse {
  margin-top: 4.2em; text-align: center; hyphens: manual;
  font-size: 13px; line-height: 1.8; letter-spacing: 0.04em; color: var(--ink-light);
}
/* Le miroir */
.consulter p.intro-miroir { margin-top: 2.6em; text-align: center; color: var(--ink-mid); hyphens: manual; }
.consulter .miroir {
  list-style: none; margin: 2em auto 0; padding: 0;
  display: flex; flex-direction: column; gap: 1.05em;
  text-align: center;
  font-family: var(--text);
  font-size: clamp(16.5px, 1.6vw, 18.5px);
  color: var(--ink-mid);
}
.consulter .miroir li::before { content: "«\00A0"; color: var(--rule); }
.consulter .miroir li::after { content: "\00A0»"; color: var(--rule); }
.consulter p.apres-miroir { margin: 2.6em 0 2.4em; text-align: center; hyphens: manual; text-wrap: balance; }
.consulter .miroir + p { }

/* Écrits */
.ecrits h2.section {
  margin: 0 0 1.6em; text-align: center;
  font-family: var(--serif); font-weight: 500;
  font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-light);
}
.ecrits h2.section ~ h2.section { margin-top: 4.4em; }
.ecrits .oeuvres { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2.4em; }
.ecrits .oeuvres a { display: block; text-align: center; text-decoration: none; color: inherit; }
.ecrits .oeuvres .t { display: block; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 27px); color: var(--ink); transition: color .25s; }
.ecrits .oeuvres .s { display: block; margin-top: 6px; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); opacity: .8; }
.ecrits .oeuvres .l { display: block; margin: 12px auto 0; max-width: 28em; font-family: var(--text); font-size: clamp(15.5px, 1.5vw, 17px); line-height: 1.6; color: var(--ink-mid); text-wrap: balance; }
.ecrits .oeuvres a:hover .t { color: var(--accent); }

/* Texte en vers */
.vers .retour { text-align: center !important; margin: 0 0 3em; }
.vers .retour a { font-family: var(--serif); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-light); text-decoration: none; }
.vers .retour a:hover { color: var(--ink); }
.vers p { text-align: left; hyphens: manual; -webkit-hyphens: manual; line-height: 1.85; }
.vers p + p { margin-top: 1.9em; }
.vers p.incipit::first-letter { font-size: 3.1em; }
.vers p.derniere { margin-top: 2.6em; }
.vers .paraphe-fin { display: block; width: clamp(108px, 10vw, 128px); height: auto; margin: 3.4em auto 0; transform: translateX(-8%); }
/* En vers : pas de lettrine, seulement le premier vers en petites capitales */
.vers p.incipit::first-letter { float: none; font-size: inherit; line-height: inherit; margin: 0; color: inherit; font-family: inherit; }
/* Accueil : paraphe un peu plus bas et plus affirmé */
.home .whisper figcaption { margin-top: 32px; }
.home .paraphe { width: clamp(124px, 12.5vw, 152px); filter: saturate(1.15) brightness(0.9); }
.paraphe-fin { filter: saturate(1.15) brightness(0.9); }
/* Miroir regroupé : un seul bloc encadré de silence */
.consulter p.intro-miroir { margin-top: 3.2em; }
.consulter .miroir { margin-top: 1.25em; gap: 0.7em; }
.consulter p.apres-miroir { margin: 1.5em 0 3.2em; }
/* Écrits : intertitres plus affirmés, encadrés de filets */
.ecrits h2.section {
  display: flex; align-items: center; gap: 18px;
  font-size: 12.5px; letter-spacing: 0.32em; color: var(--ink);
  margin-bottom: 2.4em;
}
.ecrits h2.section::before, .ecrits h2.section::after {
  content: ""; flex: 1; height: 1px; background: var(--rule);
}
.ecrits h2.section ~ h2.section { margin-top: 5em; }
/* Intertitres : filets terracotta discrets, texte à l'encre */
.ecrits h2.section::before, .ecrits h2.section::after { background: var(--accent); opacity: .45; }
/* Références savantes */
.ecrits .references { gap: 2em; }
.ecrits .references li { text-align: center; }
.ecrits .references .t { display: block; font-family: var(--serif); font-size: clamp(19px, 2.1vw, 22px); line-height: 1.35; color: var(--ink); max-width: 26em; margin: 0 auto; text-wrap: balance; }
.ecrits .references .r { display: block; margin: 10px auto 0; max-width: 30em; font-family: var(--text); font-size: clamp(14.5px, 1.4vw, 16px); line-height: 1.6; color: var(--ink-mid); text-wrap: balance; }
/* Intertitres : filets courts, plus de silence entre les sections */
.ecrits h2.section { justify-content: center; gap: 16px; margin-bottom: 2.8em; }
.ecrits h2.section::before, .ecrits h2.section::after { flex: 0 0 34px; opacity: .55; }
.ecrits h2.section ~ h2.section { margin-top: 6.8em; }
.ecrits .references .t { font-size: clamp(18px, 1.95vw, 20.5px); }
.ecrits .references a { display: block; text-decoration: none; color: inherit; }
.ecrits .references a .t { transition: color .25s; }
.ecrits .references a:hover .t { color: var(--accent); }

/* Références dépliables */
.ecrits details { text-align: center; }
.ecrits summary { list-style: none; cursor: pointer; display: block; }
.ecrits summary::-webkit-details-marker { display: none; }
.ecrits summary .plus {
  display: inline-block; margin-top: 12px;
  font-family: var(--serif); font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ink-light); border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.ecrits summary .plus::after { content: " +"; letter-spacing: 0; color: var(--accent); }
.ecrits details[open] summary .plus::after { content: " –"; }
.ecrits summary:hover .t { color: var(--accent); }
.ecrits summary:hover .plus { color: var(--ink); }
.ecrits summary .t { transition: color .25s; }
.ecrits .resume { max-width: 31em; margin: 18px auto 6px; animation: deplier .5s ease; }
.ecrits .resume p { font-family: var(--text); font-size: clamp(15px, 1.45vw, 16.5px); line-height: 1.7; color: var(--ink-text); text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.ecrits .consulter-lien {
  display: inline-block; margin-top: 16px;
  font-family: var(--serif); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 3px;
}
.ecrits .consulter-lien:hover { color: var(--accent); }
@keyframes deplier { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.ecrits p.academia { margin-top: 5.5em; text-align: center; }
.ecrits p.academia a { font-family: var(--serif); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-light); text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 3px; }
.ecrits p.academia a:hover { color: var(--ink); }
.ecrits .oeuvres .resume a.consulter-lien { display: inline-block; color: var(--ink); }
.ecrits .oeuvres .resume a.consulter-lien:hover { color: var(--accent); }
.consulter p.intro-miroir { margin-top: 2em; }
.consulter p.apres-miroir { margin-bottom: 2.1em; }

/* ================= CONTACT ================= */
.contact .intro-contact { text-align: center; color: var(--ink-mid); hyphens: manual; text-wrap: balance; max-width: 28em; margin: 0 auto; }
.lettre { margin: 3.4em auto 0; max-width: 30em; display: flex; flex-direction: column; gap: 1.9em; }
.lettre .champ { display: flex; flex-direction: column; gap: 8px; }
.lettre label {
  font-family: var(--serif); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-mid);
}
.lettre .facultatif { letter-spacing: 0.12em; text-transform: none; font-style: italic; font-size: 13px; color: var(--ink-light); margin-left: 6px; }
.lettre input, .lettre textarea {
  font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--ink-text);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0;
  padding: 6px 2px; outline: none; width: 100%;
  transition: border-color .25s;
}
.lettre textarea { resize: vertical; min-height: 7.5em; border: 1px solid var(--rule); padding: 12px 14px; background: rgba(255,255,255,0.18); }
.lettre input:focus, .lettre textarea:focus { border-color: var(--accent); }
.lettre .piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lettre .note { font-family: var(--text); font-size: 14.5px !important; line-height: 1.65; color: var(--ink-light) !important; text-align: left !important; hyphens: manual; }
.lettre .note a { color: var(--ink-mid); text-decoration: none; border-bottom: 1px solid var(--rule); }
.lettre .note a:hover { color: var(--ink); }
.lettre .envoyer {
  align-self: center; margin-top: 0.4em;
  font-family: var(--serif); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--accent);
  padding: 4px 2px; cursor: pointer; transition: color .25s;
}
.lettre .envoyer:hover { color: var(--accent); }
.contact .etat { margin: 2.6em auto 0; max-width: 30em; text-align: center; font-family: var(--text); font-size: 17px; color: var(--ink-text); }
.contact .etat.erreur { color: var(--accent); }
.contact p.urgence { margin: 4em auto 0; max-width: 30em; text-align: center !important; font-size: 14.5px; line-height: 1.65; color: var(--ink-light); hyphens: manual; text-wrap: balance; }
.contact p.adresse { margin-top: 3.2em; text-align: center !important; hyphens: manual; font-size: 13px; line-height: 1.8; letter-spacing: 0.04em; color: var(--ink-light); }

/* Confidentialité */
.confidentialite h2 { margin: 2.4em 0 0.8em; font-family: var(--serif); font-weight: 500; font-size: 11.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink); text-align: center; }
.confidentialite p.maj { margin-top: 3em; text-align: center; font-size: 13px; color: var(--ink-light); }
.confidentialite a { color: var(--ink-text); text-decoration: none; border-bottom: 1px solid var(--rule); }
.footer a.conf { color: inherit; text-decoration: none; transition: color .25s; }
.footer a.conf:hover { color: var(--ink); }
/* Anglais */
.consulter .miroir.en li::before { content: "“"; }
.consulter .miroir.en li::after { content: "”"; }
.ecrits p.langue-note { text-align: center; margin: -1.4em 0 3.2em; font-family: var(--text); font-style: italic; font-size: 15px; color: var(--ink-light); hyphens: manual; }
.poeme p.cadence { margin-top: 2.5em; }
.consulter p.cadence { margin-top: 2.2em; }
/* Essai : compensation optique de la colonne (Devenir sujet) */
@media (min-width: 721px) { .article.vers { transform: translateX(12px); } }
@media (min-width: 721px) { .article.vers { transform: translateX(28px); } }
/* Compensation optique : seuls les vers se décalent ; titre, filet et paraphe restent centrés */
@media (min-width: 721px) {
  .article.vers { transform: none; }
  .article.vers p:not(.retour) { transform: translateX(44px); }
}
/* Devenir sujet : bloc de vers centré sur sa propre largeur, sans décalage artificiel */
.article.vers p:not(.retour) { transform: none !important; }
.vers .strophes { width: fit-content; max-width: 100%; margin: 0 auto; }
@media (min-width: 721px) { .vers .strophes { transform: translateX(60px); } }
@media (min-width: 721px) { .vers .strophes { transform: translateX(11px); } }
@media (min-width: 721px) { .vers .paraphe-fin { transform: translateX(calc(-8% - 20px)); } }
@media (min-width: 721px) { html[lang="en"] .vers .strophes { transform: translateX(44px); } }
.home .whisper p { line-height: 1.6; }
