/* ============================================================
   lequeux-thomas.com : la feuille de style commune
   ------------------------------------------------------------
   Décidée une fois, partagée par toutes les pages du site.
   L'en-tête (.sh-*) et le pied de page (.sf-*) sont injectés par
   scripts/tlc-gabarit.mjs : ne jamais les recopier à la main.

   Les classes sont préfixées pour cohabiter avec les styles en
   ligne des pages plus anciennes (accueil, contact) tant qu'elles
   ne sont pas refondues.
   ============================================================ */

:root {
  --night-900: #0e0a1f;
  --night-800: #15102e;
  --night-700: #1c1640;
  --plum-500:  #4b3580;
  --plum-400:  #6a4eb3;
  --gold-700:  #b88528;
  --gold-500:  #e6b04a;
  --gold-400:  #f1c875;
  --gold-300:  #f7daa1;
  --paper:     #faf6ee;
  --ink-300:   #b8b0c0;
  --ink-500:   #8a8096;
  --line:        rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.18);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Manrope', 'Helvetica Neue', system-ui, sans-serif;

  --wrap:  1180px;
  --read:  760px;
  --r-md:  12px;
  --r-lg:  18px;
}

/* ============ Base, pour les pages construites sur ce gabarit ============ */
.tlc *, .tlc *::before, .tlc *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.tlc {
  font-family: var(--font-body);
  background: var(--night-900);
  color: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.tlc::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(at 18% 0%, rgba(106,78,179,.28) 0%, transparent 45%),
    radial-gradient(at 92% 28%, rgba(230,176,74,.09) 0%, transparent 50%),
    radial-gradient(at 8% 92%, rgba(75,53,128,.22) 0%, transparent 50%);
}
.tlc a { color: inherit; text-decoration: none; }
.tlc img { max-width: 100%; display: block; }
.tlc :focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.read { max-width: var(--read); margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) { .wrap, .read { padding: 0 16px; } }

/* ============================================================
   EN-TÊTE
   ============================================================ */
.sh {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14,10,31,.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
}
.sh-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.sh-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.sh-brand img { height: 44px; width: auto; display: block; }
.sh-nav { display: flex; align-items: center; gap: 2px; }
.sh-nav a {
  padding: 8px 12px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-300);
  text-decoration: none; white-space: nowrap;
  transition: color .2s, background .2s;
}
.sh-nav a:hover { color: var(--paper); background: rgba(255,255,255,.06); }
.sh-nav a[aria-current="page"] { color: var(--paper); background: rgba(255,255,255,.08); }
.sh-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lang-lien {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink-300);
  text-decoration: none;
}
.lang-lien:hover { color: var(--paper); border-color: var(--gold-500); }
.sh-cta {
  display: inline-flex; align-items: center;
  padding: 9px 18px; border-radius: 999px;
  background: var(--gold-500); color: var(--night-900) !important;
  font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .2s;
}
.sh-cta:hover { background: var(--gold-400); transform: translateY(-1px); }

/* Le menu mobile : un <details>, donc de vrais liens, sans JavaScript. */
.sh-menu { display: none; position: relative; }
.sh-menu summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px; font-weight: 600; color: var(--paper);
}
.sh-menu summary::-webkit-details-marker { display: none; }
.sh-menu summary svg { width: 16px; height: 16px; }
.sh-menu[open] summary { border-color: var(--gold-500); }
.sh-menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 250px; padding: 10px;
  background: var(--night-800);
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  display: grid; gap: 2px;
}
.sh-menu-panel a {
  padding: 11px 14px; border-radius: 8px;
  font-size: 15px; color: var(--ink-300); text-decoration: none;
}
.sh-menu-panel a:hover, .sh-menu-panel a[aria-current="page"] { color: var(--paper); background: rgba(255,255,255,.06); }
.sh-menu-panel .sh-cta { justify-content: center; margin-top: 8px; }

@media (max-width: 1080px) {
  .sh-nav { display: none; }
  .sh-menu { display: block; }
  .sh-actions > .sh-cta { display: none; }
}
@media (max-width: 420px) {
  .sh-brand img { height: 36px; }
  .sh-inner { padding: 10px 16px; gap: 10px; }
}

/* ============================================================
   PIED DE PAGE
   ============================================================ */
.sf {
  margin-top: 0;
  background: rgba(0,0,0,.38);
  border-top: 1px solid var(--line);
  padding: 56px 0 26px;
  font-family: var(--font-body);
  color: var(--ink-300);
}
.sf-grid {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
}
@media (max-width: 960px) { .sf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sf-grid { grid-template-columns: 1fr; gap: 30px; padding: 0 16px; } }
.sf-name {
  font-family: var(--font-display); font-weight: 400;
  font-size: 24px; color: var(--paper); margin-bottom: 6px;
}
.sf-tag {
  font-size: 11px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--gold-400); margin-bottom: 14px;
}
.sf-brand p { font-size: 14px; line-height: 1.7; max-width: 38ch; }
.sf-col h2 {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--gold-400); margin-bottom: 14px;
}
.sf-col ul { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.sf-col a { font-size: 14px; color: var(--ink-300); text-decoration: none; }
.sf-col a:hover { color: var(--paper); }
.sf-base {
  max-width: var(--wrap); margin: 40px auto 0; padding: 22px 24px 0;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px;
}
.sf-base a { color: var(--ink-300); }
.sf-base a:hover { color: var(--paper); }

/* ============================================================
   COMPOSANTS DES PAGES DE CONTENU
   ============================================================ */

/* Fil d'Ariane */
.crumbs { font-size: 13px; color: var(--ink-500); margin-bottom: 22px; }
.crumbs a { color: var(--ink-300); }
.crumbs a:hover { color: var(--gold-400); }

/* Tête de page */
.page-head { padding: clamp(48px, 8vw, 92px) 0 clamp(28px, 4vw, 44px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-400); margin-bottom: 24px;
}
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--gold-500); }
.page-head h1, .home-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-size: clamp(34px, 5.6vw, 60px); line-height: 1.06; letter-spacing: -.018em;
  color: var(--paper); margin-bottom: 24px; max-width: 20ch;
}
.page-head h1 em, .home-hero h1 em { font-style: italic; color: var(--gold-400); font-variation-settings: 'opsz' 144, 'SOFT' 100; }
.lede { font-size: clamp(16.5px, 1.8vw, 19px); color: var(--ink-300); line-height: 1.7; max-width: 62ch; }
.lede strong { color: var(--paper); font-weight: 600; }
.head-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 14px; height: 14px; }
.btn-gold { background: var(--gold-500); color: var(--night-900) !important; border: 1px solid var(--gold-700); }
.btn-gold:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(230,176,74,.5); }
.btn-line { border: 1px solid var(--line-strong); color: var(--paper); font-weight: 600; }
.btn-line:hover { border-color: var(--gold-400); background: rgba(255,255,255,.05); }

/* Sections */
.sec { padding: clamp(44px, 7vw, 84px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-num {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 14px;
}
.sec h2 {
  font-family: var(--font-display); font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  font-size: clamp(27px, 3.8vw, 40px); line-height: 1.14; letter-spacing: -.012em;
  color: var(--paper); margin-bottom: 20px;
}
.sec h2 em { font-style: italic; color: var(--gold-400); }
.sec h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(19px, 2.3vw, 22px); line-height: 1.25; color: var(--paper);
  margin: 0 0 10px;
}
.prose { color: var(--ink-300); font-size: 16.5px; }
.prose p { margin-bottom: 1.05em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--paper); font-weight: 600; }
.prose a, a.inline { color: var(--gold-400); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover, a.inline:hover { color: var(--gold-300); }
.prose ul { margin: .6em 0 1.1em 1.2em; }
.prose li { margin-bottom: .45em; }

/* Deux colonnes : titre à gauche, texte à droite, sur grand écran */
.split { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 960px) {
  .split { grid-template-columns: 5fr 7fr; gap: 64px; }
  .split > header { position: sticky; top: 100px; align-self: start; }
}

/* Blocs d'offre */
.offers { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
@media (min-width: 760px) { .offers { grid-template-columns: repeat(2, 1fr); } }
.offer {
  padding: 28px 26px;
  border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(106,78,179,.16), rgba(14,10,31,.45));
}
.offer.wide { grid-column: 1 / -1; background: linear-gradient(160deg, rgba(230,176,74,.12), rgba(75,53,128,.16) 60%, rgba(14,10,31,.45)); border-color: rgba(230,176,74,.32); }
.offer-kicker {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-400); margin-bottom: 10px;
}
.offer p { font-size: 15px; color: var(--ink-300); line-height: 1.7; }
.offer p + p { margin-top: .7em; }
.offer strong { color: var(--paper); font-weight: 600; }

/* Tableau */
.tbl-wrap { overflow-x: auto; margin: 26px 0 6px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 14px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-400); }
.tbl td:first-child { color: var(--paper); font-weight: 600; white-space: nowrap; padding-right: 22px; }
.tbl td { color: var(--ink-300); }
@media (max-width: 620px) {
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; }
  .tbl thead { display: none; }
  .tbl tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .tbl td { border: 0; padding: 2px 0; white-space: normal; }
}

/* Étapes numérotées */
.steps { list-style: none; counter-reset: st; display: grid; gap: 12px; margin: 28px 0 0; padding: 0; }
.steps li {
  counter-increment: st; position: relative;
  padding: 18px 20px 18px 64px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.03);
  color: var(--ink-300); font-size: 15px; line-height: 1.65;
}
.steps li::before {
  content: counter(st, decimal-leading-zero);
  position: absolute; left: 20px; top: 17px;
  font-family: var(--font-display); font-size: 17px; color: var(--gold-400);
}
.steps li strong { display: block; color: var(--paper); font-weight: 700; margin-bottom: 2px; }

/* Les cinq exigences */
.trust { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
.trust-row {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025);
}
.trust-letter {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-content: center;
  font-family: var(--font-display); font-size: 26px; color: var(--gold-400);
  background: rgba(230,176,74,.10); border: 1px solid rgba(230,176,74,.3);
}
.trust-row strong { display: block; color: var(--paper); font-size: 15.5px; margin-bottom: 2px; }
.trust-row span { color: var(--ink-300); font-size: 14.5px; line-height: 1.6; }

/* Encadré */
.callout {
  margin: 28px 0; padding: 24px 26px;
  border: 1px solid var(--line-strong); border-left: 3px solid var(--gold-500); border-radius: 16px;
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(14,10,31,.35));
}
.callout p { color: var(--ink-300); font-size: 15.5px; }
.callout p + p { margin-top: .6em; }
.callout strong { color: var(--paper); }
.callout .quote {
  font-family: var(--font-display); font-style: italic; font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.5; color: var(--paper);
}

/* Faits chiffrés du parcours */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 30px 0 8px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: var(--night-900); padding: 20px 18px; }
.fact b {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: 30px; line-height: 1.1; color: var(--gold-400); margin-bottom: 6px;
}
.fact span { font-size: 12.5px; color: var(--ink-300); line-height: 1.45; display: block; }

/* Appel final */
.cta-end { padding: clamp(60px, 9vw, 110px) 0; text-align: center; border-top: 1px solid var(--line); }
.cta-end h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 4.6vw, 50px); line-height: 1.1; letter-spacing: -.015em;
  color: var(--paper); max-width: 22ch; margin: 0 auto 18px;
}
.cta-end h2 em { font-style: italic; color: var(--gold-400); }
.cta-end p { color: var(--ink-300); font-size: 16.5px; max-width: 54ch; margin: 0 auto 30px; }
.cta-end .head-ctas { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tlc *, .tlc *::before, .tlc *::after { transition-duration: .01ms !important; }
}

/* ============================================================
   PARCOURS ET ÉVÉNEMENTS
   ============================================================ */
/* Frise chronologique */
.timeline { list-style: none; margin: 26px 0 0; padding: 0; border-left: 1px solid var(--line-strong); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ''; position: absolute; left: -5px; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--night-900); border: 2px solid var(--gold-500);
}
.timeline li.now::before { background: var(--gold-500); box-shadow: 0 0 0 4px rgba(230,176,74,.2); }
.tl-when { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 4px; }
.tl-what { display: block; font-family: var(--font-display); font-size: 19px; color: var(--paper); line-height: 1.3; }
.tl-where { display: block; font-size: 13.5px; color: var(--ink-500); margin: 2px 0 6px; }
.timeline p { font-size: 15px; color: var(--ink-300); line-height: 1.65; }

/* Portrait */
.portrait { border-radius: 6px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px var(--line-strong); max-width: 360px; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.head-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: end; }
@media (min-width: 960px) { .head-grid { grid-template-columns: 1.5fr 1fr; gap: 72px; } }

/* Liste simple à puces discrètes */
.list-clean { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.list-clean li { position: relative; padding-left: 20px; color: var(--ink-300); font-size: 15.5px; line-height: 1.6; }
.list-clean li::before { content: '◆'; position: absolute; left: 0; top: 3px; font-size: 9px; color: var(--gold-500); }
.list-clean li strong { color: var(--paper); font-weight: 600; }

/* Carte d'événement */
.event {
  margin-top: 30px; padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(230,176,74,.32); border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(230,176,74,.12), rgba(75,53,128,.18) 60%, rgba(14,10,31,.45));
}
.event.past { border-color: var(--line-strong); background: linear-gradient(165deg, rgba(106,78,179,.14), rgba(14,10,31,.45)); }
.event-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-400); border: 1px solid rgba(230,176,74,.4); border-radius: 999px; padding: 5px 12px; margin-bottom: 16px;
}
.event h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.2; color: var(--paper); margin-bottom: 12px; }
.event h3 em { font-style: italic; color: var(--gold-400); }
.event p { color: var(--ink-300); font-size: 15.5px; line-height: 1.7; max-width: 64ch; }
.event p + p { margin-top: .6em; }
.event-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 20px 0 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.event-meta div { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-500); }
.event-meta b { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--paper); }
.offer h3 a { color: var(--paper); text-decoration: none; }
.offer h3 a:hover { color: var(--gold-400); }
.offer h3 a::after { content: ' →'; color: var(--gold-400); }

/* ============================================================
   ACCUEIL
   ============================================================ */
.home-hero { padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 70px); }
.home-hero h1 { font-size: clamp(36px, 5.4vw, 62px); max-width: 18ch; }
.portrait-caption {
  margin-top: 16px; padding-left: 14px; border-left: 2px solid var(--gold-500);
  font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--ink-300); max-width: 360px;
}
.terrains {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.22); padding: 18px 0;
}
.terrains ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 34px; margin: 0; padding: 0; }
.terrains li { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--ink-300); }
.doors { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
@media (min-width: 900px) { .doors { grid-template-columns: repeat(3, 1fr); } }
.door {
  display: flex; flex-direction: column;
  padding: 30px 26px; border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, rgba(106,78,179,.18), rgba(14,10,31,.45));
  transition: border-color .2s, transform .2s;
}
.door:hover { border-color: var(--gold-500); transform: translateY(-3px); }
.door.main { background: linear-gradient(160deg, rgba(230,176,74,.14), rgba(75,53,128,.18) 60%, rgba(14,10,31,.45)); border-color: rgba(230,176,74,.35); }
.door h3 { font-family: var(--font-display); font-weight: 500; font-size: 23px; color: var(--paper); margin-bottom: 10px; line-height: 1.2; }
.door p { color: var(--ink-300); font-size: 15px; line-height: 1.65; flex: 1; }
.door .more { margin-top: 18px; font-size: 13.5px; font-weight: 700; color: var(--gold-400); }
.articles { list-style: none; display: grid; gap: 0; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.articles li { border-bottom: 1px solid var(--line); }
.articles a { display: flex; justify-content: space-between; gap: 18px; padding: 16px 2px; color: var(--paper); font-size: 16px; }
.articles a:hover { color: var(--gold-400); }
.articles a span { color: var(--gold-400); }
