/* Azdine Sensei : thème custom, converti depuis la maquette Claude Design (extraction 02/09/2026).
   Charte : Space Grotesk (titres), BDO Grotesk (texte), IBM Plex Mono (accents //),
   texte #141414, accent #2f5fd0, boutons radius 11px. */

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; }

/* Lissage des polices sur tous les éléments, champs de formulaire compris (effet visible sur Mac uniquement). */
*, *::before, *::after { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  margin: 0;
  font-family: "BDO Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  color: #141414;
  background: #ffffff;
  line-height: 1.6;
}

/* Titrage (décision Azdine 18/09/2026) : Space Grotesk plafonne à la graisse 700 ;
   épaississement par contour synthétique + chasse resserrée d'un cran. */
h1, h2, h3, h4 { font-family: "Space Grotesk", system-ui, sans-serif; }

a { color: inherit; text-decoration: none; }
a:hover { color: #2f5fd0; }

img { max-width: 100%; display: block; }

::selection { background: rgba(47, 95, 208, .18); }

.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }

.wrap { max-width: 1080px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }

/* ---------- Fond : halo respirant ---------- */

.page { position: relative; min-height: 100vh; background: #ffffff; }

.halo {
  position: fixed; inset: -8%; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 50% 40%, transparent 36%, #ffffff 86%),
    radial-gradient(circle, rgba(47, 95, 208, .16) 1.2px, transparent 1.2px);
  background-size: 100% 100%, 22px 22px;
  transform-origin: 50% 40%;
  animation: haloBreathe 11s ease-in-out infinite;
}

.page-content { position: relative; z-index: 1; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid rgba(34, 31, 28, .08);
}

.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 24px; padding-top: 16px; padding-bottom: 16px;
}

.brand { display: flex; align-items: center; gap: 11px; color: #141414; flex: 0 0 auto; white-space: nowrap; }
.brand:hover { color: #141414; }

.hanko {
  width: 30px; height: 30px; display: block; flex: 0 0 auto;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.brand-name { font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }

.site-nav { display: flex; align-items: center; justify-content: center; gap: 30px; white-space: nowrap; }
.nav-link {
  color: #44484f; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 4px;
  background: linear-gradient(rgba(47, 95, 208, .2), rgba(47, 95, 208, .2)) no-repeat 0 100% / 100% 0;
  transition: background-size .3s ease, color .2s ease;
}
.nav-link:hover, .nav-link:focus-visible { color: #2f5fd0; background-size: 100% 100%; }
@media (prefers-reduced-motion: reduce) { .nav-link { transition: none; } }
.nav-cta-slot { justify-self: end; }
.nav-icon { color: #44484f; display: inline-flex; align-items: center; font-size: 19px; }

.nav-cta {
  background: #2f5fd0; color: #ffffff; font-size: 14px; font-weight: 500;
  padding: 9px 16px; border-radius: 9px;
  display: inline-flex; align-items: center; gap: 7px;
}
.nav-cta:hover { color: #ffffff; background: #244aa6; }
.nav-cta .ph { font-size: 16px; }

/* ---------- Hero ---------- */

.hero {
  display: grid; grid-template-columns: 1.35fr .9fr; gap: 64px; align-items: center;
  padding-top: 96px;
}

.hero-kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px; color: #2f5fd0; letter-spacing: .02em; margin-bottom: 24px;
}

.blink-caret { display: inline-block; width: 8px; margin-left: 2px; color: #2f5fd0; animation: blink 1.1s step-end infinite; }

.hero-title {
  font-size: 78px; line-height: .98; font-weight: 700;
  margin: 0 0 26px; letter-spacing: -.045em;
}
.hero-avec { color: #2f5fd0; }
.hero-avec-ligne { white-space: nowrap; }
.hero-fleche { display: inline-block; width: 325px; height: 72px; margin-left: 18px; margin-right: -325px; vertical-align: -4px; color: #2f5fd0; }

.hero-lead { font-size: 19px; line-height: 1.6; color: #454952; margin: 0; max-width: 620px; }

.polaroid-slot { justify-self: center; position: relative; }

/* Bulle manga (décision Azdine 16/10/2026) : fond blanc, texte encre, contour main levée mais propre. */
.bulle {
  position: absolute; z-index: 2; top: -62px; left: -34px; width: 232px; margin: 0;
  background: #ffffff; color: #141414; padding: 13px 16px;
  border: 2.5px solid #141414;
  border-radius: 58% 42% 55% 45% / 46% 54% 44% 56%;
  font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 500; font-size: 15px; line-height: 1.4; text-align: center;
  transform: rotate(-2deg); box-shadow: 3px 4px 0 rgba(20, 20, 20, .12);
}
.bulle::after {
  content: ""; position: absolute; right: 44px; bottom: -22px; width: 30px; height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 26'%3E%3Cpath d='M2 1.5 C 9 4, 15 3.5, 22 1.5 C 20 9, 22 17, 27.5 24.5 C 17 20, 9 12, 2 1.5 Z' fill='%23ffffff' stroke='%23141414' stroke-width='2.4' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.polaroid-slot .polaroid { padding-bottom: 14px; }

.polaroid {
  transform: rotate(2.5deg); background: #ffffff; padding: 14px 14px 0;
  border-radius: 4px; box-shadow: 0 20px 44px -16px rgba(20, 20, 20, .32);
}
.polaroid img { width: 280px; height: 280px; object-fit: cover; }
.polaroid-caption {
  font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 500;
  font-size: 15px; color: #141414; text-align: center; padding: 14px 0 18px;
}

/* ---------- Formulaires newsletter ---------- */

.nl-inline { margin-top: 24px; }
.nl-inline-title {
  font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 600;
  font-size: 17px; color: #141414; margin-bottom: 14px;
}

.nl-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; }
.nl-form--center { max-width: 440px; margin: 0 auto; justify-content: center; }

.nl-input {
  flex: 1 1 0; min-width: 220px; padding: 14px 16px;
  border: 1px solid rgba(20, 20, 20, .16); border-radius: 11px;
  font-size: 15px; font-family: "BDO Grotesk", system-ui, sans-serif;
  background: #ffffff; outline: none;
}
.nl-input:focus { border-color: #2f5fd0; }
.nl-form--center .nl-input { border: none; }

.btn {
  border: none; padding: 14px 22px; border-radius: 11px;
  font-size: 15px; font-weight: 600; font-family: "BDO Grotesk", system-ui, sans-serif;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.btn--accent { background: #2f5fd0; color: #ffffff; }
.btn--accent:hover { background: #2650b0; }
.btn--dark { background: #141414; color: #ffffff; gap: 7px; padding: 14px 24px; animation: pulseb 2.2s ease-in-out infinite; }
.btn .ph { font-size: 17px; }
.btn--dark .ph { font-size: 16px; }

/* ---------- Sections ---------- */

.section-pad { padding-top: 56px; padding-bottom: 88px; }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 32px;
}

.section-title {
  font-family: "BDO Grotesk", system-ui, sans-serif;
  font-size: 15px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: #2f5fd0; margin: 0;
  display: flex; align-items: center; gap: 9px;
}
.section-title .ph { font-size: 18px; color: #2f5fd0; }

.link-more { font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }

/* ---------- Sentier des débutants ---------- */

.path-list { display: flex; flex-direction: column; }

.path-row {
  display: flex; align-items: baseline; gap: 18px; padding: 14px 0;
  color: #141414;
  transition: transform .18s;
}
.path-row:hover { color: #141414; }

.path-label {
  flex: 0 0 auto; width: 92px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px; color: #2f5fd0;
}

.path-main { flex: 1 1 0; }
.path-title { font-size: 20px; line-height: 1.25; font-weight: 600; margin: 0 0 4px; }
.path-desc { font-size: 14px; line-height: 1.5; color: #5a5f68; margin: 0; }

.path-meta {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px; color: #a2a6ad;
}

.row-arrow { font-size: 15px; color: #2f5fd0; opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
.path-row:hover .row-arrow, .guide-card:hover .row-arrow { opacity: 1; transform: none; }

/* ---------- Derniers guides + Expériences ---------- */

.home-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 64px; padding-top: 56px; padding-bottom: 48px; }
.home-grid + #newsletter { padding-top: 28px; }
.sentier { padding-bottom: 52px; }
.sentier > * { max-width: 720px; }

.guide-list { display: flex; flex-direction: column; }

.guide-card {
  display: flex; gap: 20px; padding: 28px 0;
  border-top: 1px solid rgba(34, 31, 28, .09); color: #141414;
  transition: transform .18s;
}
.guide-card:hover { color: #141414; }

.guide-thumb {
  flex: 0 0 auto; width: 112px; height: 78px; border-radius: 11px;
  overflow: hidden;
}
.guide-thumb img { width: 100%; height: 100%; object-fit: cover; }
.guide-thumb--vide {
  border: 1px dashed rgba(20, 20, 20, .22);
  display: grid; place-items: center;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px; color: #a2a6ad; background: rgba(20, 20, 20, .03);
}

.guide-main { flex: 1 1 0; }
.guide-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 7px; }

.badge {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12.5px; padding: 2px 9px; border-radius: 0;
}
.badge--debutant { background: rgba(47, 111, 79, .12); color: #2f6f4f; }
.badge--intermediaire { background: rgba(181, 137, 42, .14); color: #8a6516; }
.badge--avance { background: rgba(47, 95, 208, .12); color: #2f5fd0; }

.guide-date { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; color: #a2a6ad; }
.guide-title { font-size: 18px; line-height: 1.3; font-weight: 600; margin: 0 0 6px; }
.guide-desc { font-size: 14px; line-height: 1.5; color: #5a5f68; margin: 0; }

.xp-card { background: #141414; color: #f3ede6; border-radius: 18px; padding: 26px 24px; }
.xp-kicker { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; color: #a9c0f0; margin-bottom: 14px; }

.xp-item { display: block; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .12); color: #f3ede6; }
.xp-item:hover { color: #ffffff; }
.xp-title { font-size: 16px; line-height: 1.35; font-weight: 500; margin: 0 0 5px; font-family: "Space Grotesk", system-ui, sans-serif; }
.xp-date { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; color: #a89a8f; }

.xp-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 16px; font-size: 13.5px; font-weight: 500; color: #a9c0f0; }
.xp-more:hover { color: #ffffff; }

/* ---------- Bande newsletter ---------- */

.cta-card {
  background: linear-gradient(135deg, #3a68d8, #2f5fd0); color: #ffffff;
  border-radius: 22px; padding: 60px 40px; text-align: center;
  box-shadow: 0 34px 66px -20px rgba(47, 95, 208, .7);
  position: relative; overflow: hidden;
}
.cta-plane { position: absolute; right: 34px; top: 30px; font-size: 44px; color: rgba(255, 255, 255, .35); animation: floaty 3.5s ease-in-out infinite; }
.cta-kicker { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; color: #cfe0ff; margin-bottom: 14px; position: relative; }
.cta-title { font-size: 34px; font-weight: 700; margin: 0 0 14px; letter-spacing: -.02em; color: #ffffff; }
.cta-lead { font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .9); margin: 0 auto 30px; max-width: 520px; }

/* ---------- Footer ---------- */

.site-footer {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  padding-top: 64px; padding-bottom: 72px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .hanko { width: 28px; height: 28px; }
.hanko-svg { display: block; width: 100%; height: 100%; }
.footer-brand .brand-name { font-size: 15px; }
.footer-copy { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; color: #7c8089; }

/* ---------- Pages article et archives ---------- */

.article, .archive-head { max-width: 760px; }

.article-head { padding-top: 72px; }
.archive-head { padding-top: 72px; }

.article-kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px; color: #2f5fd0; letter-spacing: .02em; margin-bottom: 18px;
}

.article-title {
  font-size: 44px; line-height: 1.08; font-weight: 700;
  margin: 0 0 18px; letter-spacing: -.045em;
}

.archive-title {
  font-size: 54px; line-height: 1.02; font-weight: 700;
  margin: 0 0 18px; letter-spacing: -.045em;
}

.article-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.article-fraicheur {
  display: flex; align-items: baseline; gap: 8px;
  margin: 26px 0 0; padding: 12px 16px;
  background: rgba(47, 95, 208, .06); border-left: 3px solid #2f5fd0; border-radius: 0 8px 8px 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12.5px; line-height: 1.5; color: #454952;
}
.article-fraicheur .ph { color: #2f5fd0; font-size: 15px; }

/* Image de couverture de l'article (featured), sous le titre. */
.article-cover { margin: 30px 0 0; }
.article-cover img { width: 100%; border-radius: 14px; border: 1px solid #e3e6ec; }

/* TL;DR : encart au-dessus du texte ; barre latérale collante à gauche sur grand écran. */
.article-layout { position: relative; }
.article-tldr {
  background: #f7f8fb; border: 1.5px solid #e3e6ec; border-radius: 14px;
  padding: 20px 22px; margin: 40px 0 0;
  font-size: 15px; line-height: 1.65; color: #2c2f35;
}
.article-tldr .tldr-kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px; color: #2f5fd0; margin-bottom: 10px;
}
.article-tldr p { margin: 0 0 10px; }
.article-tldr ul { margin: 0; padding-left: 18px; }
.article-tldr li { margin-bottom: 9px; }
.article-tldr li:last-child { margin-bottom: 0; }

/* CTA contextuel dans l'article : la carte au sceau (décision 18/09/2026). */
.cta-carte {
  position: relative; border: 1.5px solid #141414; border-radius: 14px;
  background: #ffffff; padding: 28px 32px 26px; margin: 40px 0;
}
.cta-carte-sceau {
  position: absolute; top: -22px; right: 24px; width: 50px; height: 50px;
  background: #b3402e url(/img/sceau-glyphe.svg) center / 27px no-repeat; color: transparent; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: "Space Grotesk", system-ui, sans-serif; font-size: 26px; font-weight: 700;
  transform: rotate(-6deg); box-shadow: 0 2px 0 rgba(0, 0, 0, .12);
  transition: transform .25s ease;
}
.cta-carte:hover .cta-carte-sceau { transform: rotate(2deg); }
.cta-carte h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.025em; }
.cta-carte p { margin: 0 0 18px; color: #454952; }
.article-body .cta-carte a.btn { text-decoration: none; color: #ffffff; }
.article-tldr p:last-child { margin-bottom: 0; }
@media (min-width: 1280px) {
  .tldr-slot { position: absolute; left: -336px; top: 40px; bottom: 0; width: 288px; }
  .article-tldr { position: sticky; top: 96px; margin: 0; }
}

.article-body { padding-top: 40px; padding-bottom: 32px; font-size: 17px; line-height: 1.75; color: #2c2f35; }
.article-body h2 { font-size: 27px; letter-spacing: -.035em; margin: 44px 0 14px; }
.article-body h3 { font-size: 21px; letter-spacing: -.025em; margin: 34px 0 10px; }

/* Habillage des intertitres (décision Azdine 15/10/2026, proposition 06 « puce hanko ») :
   petit carré bleu pivoté à -6°, comme le sceau ; curseur clignotant en fin de H1 d'article. */
.article-body h2, .article-body h3 { display: flex; align-items: baseline; gap: 12px; }
.article-body h2::before, .article-body h3::before {
  content: ""; flex: 0 0 auto; width: 12px; height: 12px; border-radius: 3px;
  background: #2f5fd0; transform: rotate(-6deg) translateY(-1px);
}
.article-body h3::before { width: 10px; height: 10px; }
.article-title::after {
  content: ""; display: inline-block; width: 10px; height: .68em;
  background: #2f5fd0; margin-left: 9px;
  animation: blink 1.1s step-end infinite;
}
.article-body p { margin: 0 0 20px; }
.article-body img { max-width: 100%; max-height: 480px; width: auto; margin: 28px auto; border-radius: 10px; border: 1px solid #e3e6ec; }
/* Liens du corps (décision Azdine 22/09/2026, style « souligné qui s'affirme ») :
   souligné fin bleu pâle au repos, épais et accent au survol, foncé au clic. */
.article-body a {
  color: #2f5fd0;
  text-decoration: underline;
  text-decoration-color: #a9c0f0;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: text-decoration-color .18s, text-decoration-thickness .18s;
}
.article-body a:hover { color: #2f5fd0; text-decoration-color: #2f5fd0; text-decoration-thickness: 3px; }
.article-body a:active { color: #2650b0; text-decoration-color: #2650b0; }
.article-body a:focus-visible { outline: 2px solid #2f5fd0; outline-offset: 2px; border-radius: 3px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body img { border-radius: 11px; margin: 28px 0; }
/* Légende de capture : <p><img><br><em>…</em></p> (décision Azdine 15/10/2026) */
.article-body p:has(> img + br + em) img { margin-bottom: 4px; }
.article-body p > img + br:has(+ em) { display: none; }
.article-body p > img + br + em { display: block; font-size: .75em; line-height: 1.5; }
.article-body blockquote {
  margin: 28px 0; padding: 4px 0 4px 20px;
  border-left: 3px solid #2f5fd0; color: #454952; font-style: italic;
}
.article-body code {
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .88em;
  background: rgba(20, 20, 20, .05); padding: 2px 6px; border-radius: 6px;
}
.article-body pre {
  background: #141414; color: #f3ede6; border-radius: 11px;
  padding: 20px 22px; overflow-x: auto; margin: 28px 0;
}
.article-body pre code { background: none; padding: 0; color: inherit; }

/* Tableaux du corps (grille récapitulative). */
.article-body table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15.5px; line-height: 1.5; }
.article-body th {
  text-align: left; font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 500;
  font-size: 12.5px; letter-spacing: .02em; text-transform: lowercase; color: #2f5fd0;
  padding: 0 14px 10px 0; border-bottom: 1.5px solid #141414;
}
.article-body td { padding: 12px 14px 12px 0; border-bottom: 1px solid #e3e6ec; vertical-align: top; }
.article-body td:first-child { color: #141414; font-weight: 600; width: 50%; }
@media (max-width: 600px) { .article-body table { font-size: 14.5px; } }

/* Témoignages de tiers (pseudos masqués) et posts X reconstruits (décision Azdine 30/09/2026). */
.temoignages { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 28px 0; }
@media (max-width: 700px) { .temoignages { grid-template-columns: minmax(0, 1fr); } }
.temoignage { margin: 0; background: #ffffff; border: 1px solid #e3e6ec; border-radius: 14px; padding: 18px 20px 16px; }
.temoignage-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.temoignage-avatar { width: 30px; height: 30px; border-radius: 50%; background: #dfe3ea; flex: 0 0 30px; }
.temoignage-pseudo { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; color: #7c8089; letter-spacing: .08em; }
.temoignage-source { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; color: #2f5fd0; margin-left: auto; text-align: right; }
.article-body .temoignage blockquote { margin: 0; padding: 0; border: 0; font-style: normal; color: #2c2f35; font-size: 15.5px; line-height: 1.6; }
.temoignage figcaption { margin-top: 10px; font-size: 12.5px; color: #7c8089; }
.tweet-carte { margin: 28px 0; max-width: 560px; background: #ffffff; border: 1.5px solid #141414; border-radius: 16px; padding: 20px 22px 16px; }
.tweet-tete { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.article-body .tweet-tete img { width: 42px; height: 42px; border-radius: 50%; margin: 0; border: 0; max-height: none; }
.tweet-tete strong { display: block; color: #141414; font-size: 15.5px; line-height: 1.2; }
.tweet-tete span { font-size: 14px; color: #7c8089; }
.tweet-tete .tweet-x { margin-left: auto; font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; font-size: 20px; color: #141414; }
.article-body .tweet-carte p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: #141414; }
.article-body .tweet-carte a.tweet-date { font-size: 13px; color: #7c8089; text-decoration-color: #dfe3ea; }

/* Bouton d'intégration à la demande (X, Reddit) et zone du post original chargé. */
.embed-charger {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12.5px; color: #2f5fd0;
  background: #eef1f6; border: 1px solid #dfe3ea; border-radius: 999px; padding: 6px 12px; cursor: pointer;
}
.embed-charger:hover { background: #e3e9f7; border-color: #a9c0f0; }
.embed-charger:focus-visible { outline: 2px solid #2f5fd0; outline-offset: 2px; }
.embed-note { display: block; margin-top: 6px; font-size: 12px; color: #7c8089; }
.embed-original { margin: 28px 0; min-height: 120px; max-width: 100%; min-width: 0; }
.embed-original iframe, .embed-original .twitter-tweet { max-width: 100% !important; }
.temoignages .embed-original { margin: 0; grid-column: 1 / -1; }
.article-body .temoignages .embed-intro { grid-column: 1 / -1; margin: 8px 0 0; }

/* Bouton d'accord sur place dans une carte X ou Reddit (sans consentement). */
.embed-accord {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12.5px; color: #2f5fd0;
  background: #eef1f6; border: 1px solid #dfe3ea; border-radius: 999px; padding: 6px 12px; cursor: pointer;
  text-align: left;
}
.embed-accord:hover { background: #e3e9f7; border-color: #a9c0f0; }
.embed-accord:focus-visible { outline: 2px solid #2f5fd0; outline-offset: 2px; }
.footer-copy .gerer-cookies-lien, .footer-copy .gerer-cookies { color: inherit; text-decoration: underline; text-decoration-color: #c9ced6; text-underline-offset: 3px; }
.footer-copy .gerer-cookies-lien:hover, .footer-copy .gerer-cookies:hover { color: #2f5fd0; text-decoration-color: #2f5fd0; }

/* Habillage de la bannière tarteaucitron aux couleurs du site. */
#tarteaucitronRoot, #tarteaucitronRoot * { font-family: "BDO Grotesk", system-ui, sans-serif !important; }
#tarteaucitronRoot #tarteaucitronAlertBig {
  background: #ffffff !important; color: #141414 !important;
  border-top: 1.5px solid #141414 !important; box-shadow: 0 -12px 40px -24px rgba(20, 20, 20, .35) !important;
  padding: 18px 20px !important; font-size: 15px !important; line-height: 1.55 !important;
}
#tarteaucitronRoot #tarteaucitronDisclaimerAlert { color: #2c2f35 !important; font-size: 15px !important; }
#tarteaucitronRoot .tarteaucitronCTAButton {
  border-radius: 999px !important; padding: 9px 18px !important; font-size: 14px !important; font-weight: 600 !important;
  margin: 8px 6px 0 !important; min-width: 150px;
}
#tarteaucitronRoot #tarteaucitronPersonalize2 { background: #2f5fd0 !important; color: #ffffff !important; border: 1.5px solid #2f5fd0 !important; }
#tarteaucitronRoot #tarteaucitronAllDenied2 { background: #ffffff !important; color: #141414 !important; border: 1.5px solid #141414 !important; }
#tarteaucitronRoot #tarteaucitronCloseAlert { background: transparent !important; color: #2f5fd0 !important; border: 0 !important; text-decoration: underline !important; font-size: 14px !important; }
/* Survol des boutons de la bannière (02/10/2026). */
#tarteaucitronRoot .tarteaucitronCTAButton, #tarteaucitronRoot #tarteaucitronCloseAlert { cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
#tarteaucitronRoot #tarteaucitronPersonalize2:hover, #tarteaucitronRoot #tarteaucitronPersonalize2:focus-visible { background: #2650b0 !important; border-color: #2650b0 !important; }
#tarteaucitronRoot #tarteaucitronAllDenied2:hover, #tarteaucitronRoot #tarteaucitronAllDenied2:focus-visible { background: #141414 !important; color: #ffffff !important; }
#tarteaucitronRoot #tarteaucitronCloseAlert:hover, #tarteaucitronRoot #tarteaucitronCloseAlert:focus-visible { color: #141414 !important; text-decoration-thickness: 2px !important; }
#tarteaucitronRoot #tarteaucitronAlertBig { position: fixed; box-sizing: border-box !important; left: 0 !important; right: 0 !important; width: 100% !important; }
#tarteaucitronRoot #tarteaucitronCloseCross {
  position: absolute !important; top: 8px !important; right: 10px !important; left: auto !important; bottom: auto !important; margin: 0 !important;
  width: 32px; height: 32px; padding: 0 !important; border-radius: 50% !important;
  background: transparent !important; color: #454952 !important; border: 0 !important;
  font-size: 15px !important; line-height: 32px !important; cursor: pointer; transition: background-color .15s, color .15s;
}
#tarteaucitronRoot #tarteaucitronCloseCross:hover, #tarteaucitronRoot #tarteaucitronCloseCross:focus-visible { background: #eef2fb !important; color: #141414 !important; }
#tarteaucitronRoot #tarteaucitron #tarteaucitronServices .tarteaucitronMainLine,
#tarteaucitronRoot #tarteaucitron #tarteaucitronInfo,
#tarteaucitronRoot #tarteaucitron .tarteaucitronBorder > div:first-child { background: #141414 !important; border-color: #141414 !important; }
#tarteaucitronRoot #tarteaucitron #dialogTitle,
#tarteaucitronRoot #tarteaucitron #tarteaucitronInfo,
#tarteaucitronRoot #tarteaucitron .tarteaucitronMainLine .tarteaucitronH2,
#tarteaucitronRoot #tarteaucitron .tarteaucitronMainLine * { color: #ffffff !important; }
#tarteaucitronRoot #tarteaucitron #tarteaucitronPrivacyUrlDialog { background: #ffffff !important; color: #141414 !important; border-radius: 999px !important; padding: 6px 14px !important; }
#tarteaucitronRoot #tarteaucitron .tarteaucitronAllow,
#tarteaucitronRoot #tarteaucitron .tarteaucitronDeny,
#tarteaucitronRoot #tarteaucitron #tarteaucitronSaveButton {
  background: #eef1f6 !important; color: #141414 !important; border: 1.5px solid #dfe3ea !important;
  border-radius: 999px !important; padding: 6px 14px !important; font-weight: 600 !important;
}
#tarteaucitronRoot #tarteaucitron .tarteaucitronIsAllowed .tarteaucitronAllow,
#tarteaucitronRoot #tarteaucitron #tarteaucitronAllAllowed,
#tarteaucitronRoot #tarteaucitron #tarteaucitronSaveButton { background: #2f5fd0 !important; color: #ffffff !important; border-color: #2f5fd0 !important; }
#tarteaucitronRoot #tarteaucitron .tarteaucitronIsDenied .tarteaucitronDeny,
#tarteaucitronRoot #tarteaucitron #tarteaucitronAllDenied { background: #ffffff !important; color: #141414 !important; border-color: #141414 !important; }
#tarteaucitronRoot #tarteaucitronClosePanel { background: #ffffff !important; color: #141414 !important; border-radius: 8px 8px 0 0 !important; }

/* Formulaires newsletter branchés sur Listmonk (01/10/2026) : piège à robots invisible + mention RGPD. */
.nl-nonce { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.nl-mention { margin: 10px 0 0; font-size: 12.5px; color: #7c8089; }
.nl-mention a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cta-card .nl-mention { text-align: center; color: inherit; opacity: .75; }

/* FAQ en accordéon (décision Azdine 29/09/2026). */
.article-body details { border-bottom: 1px solid #e3e6ec; }
.article-body details:first-of-type { border-top: 1px solid #e3e6ec; }
.article-body summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 16px 40px 16px 0; font-weight: 600; color: #141414;
}
.article-body summary::-webkit-details-marker { display: none; }
.article-body summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 22px; font-weight: 400;
  color: #2f5fd0; transition: transform .2s ease;
}
.article-body details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.article-body summary:hover { color: #2f5fd0; }
.article-body summary:focus-visible { outline: 2px solid #2f5fd0; outline-offset: 2px; border-radius: 3px; }
.article-body details > p { margin: 0 0 18px; color: #454952; }

.archive-vide {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 14px; color: #7c8089; padding: 40px 0;
  border-top: 1px solid rgba(34, 31, 28, .12);
}

.pagination { display: flex; justify-content: space-between; gap: 16px; padding: 32px 0 0; }

@media (max-width: 640px) {
  .article-title { font-size: 32px; }
  .archive-title { font-size: 38px; }
  .article-head, .archive-head { padding-top: 44px; }
}

/* ---------- Animations ---------- */

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes haloBreathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.045); opacity: .82; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes revealUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(4deg); } }
@keyframes pulseb { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

[data-rise] { animation: riseIn .6s cubic-bezier(.22, .61, .36, 1) both; }

html.js [data-reveal] { opacity: 0; }
html.js [data-reveal].revealed { opacity: 1; animation: revealUp .7s cubic-bezier(.22, .61, .36, 1) both; }

@media (prefers-reduced-motion: reduce) {
  [data-rise], [data-reveal].revealed, .btn--dark, .cta-plane { animation: none; }
  [data-reveal] { opacity: 1; }
  .halo, .blink-caret, .article-title::after { animation: none; }
  .article-body a { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .hero-fleche { width: 270px; margin-left: 12px; margin-right: -270px; }
}

@media (max-width: 1000px) {
  .hero-fleche { width: 185px; margin-right: -185px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 56px; }
  .hero-title { font-size: 52px; }
  .polaroid-slot { justify-self: start; margin-top: 56px; }
  .bulle { left: 0; }
  .home-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-fleche { display: none; }
}

@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .header-inner { display: flex; flex-wrap: wrap; gap: 12px; }
  .site-nav { justify-content: flex-start; }
  .site-nav { gap: 16px; flex-wrap: wrap; }
  .hero-title { font-size: 42px; }
  .hero-lead { font-size: 17px; }
  .path-row { flex-wrap: wrap; }
  .path-label { width: 100%; }
  .guide-card { flex-direction: column; }
  .cta-card { padding: 44px 22px; }
  .cta-title { font-size: 27px; }
  .site-footer { justify-content: center; text-align: center; }
}

/* Portrait des pages autonomes (À propos, 02/10/2026). */
.article-body .page-portrait { float: right; margin: 4px 0 20px 32px; }
.article-body .page-portrait img { width: 200px; height: 200px; object-fit: cover; border-radius: 0; }
.article-body .page-portrait .polaroid-caption { font-size: 13px; padding: 10px 0 14px; }
@media (max-width: 640px) {
  .article-body .page-portrait { float: none; display: table; margin: 0 auto 24px; }
}

/* Encadré auteur en fin d'article (06/10/2026). */
/* Encadré auteur, proposition 04 « sceau en coin » (décision Azdine 16/10/2026) : filet bleu en haut, sceau 師 posé de travers sur le coin. */
.author-box { position: relative; display: flex; gap: 20px; align-items: flex-start; margin: 48px 0 0; padding: 26px 24px 24px; background: #ffffff; border-top: 4px solid #2f5fd0; }
.author-sceau { position: absolute; right: 18px; top: -18px; width: 40px; height: 40px; transform: rotate(-8deg); }
.author-sceau svg { width: 100%; height: 100%; display: block; }
.author-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: #f3efe6; }
.author-text { min-width: 0; }
.author-kicker { margin: 0 0 2px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; color: #2f5fd0; }
.author-name { margin: 0 0 6px; font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; font-size: 20px; color: #141414; }
.author-bio { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: #454952; }
.author-bio strong { color: #141414; }
.author-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.author-links a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 1.5px solid #141414; border-radius: 999px; font-size: 18px; font-weight: 500; color: #141414; text-decoration: none; transition: background-color .15s, color .15s; }
.author-links a:hover, .author-links a:focus-visible { background: #2f5fd0; border-color: #2f5fd0; color: #ffffff; }
@media (max-width: 560px) { .author-box { flex-direction: column; } }

/* Mur des numéros de la newsletter : texte masqué tant que le navigateur n'est pas marqué abonné. */
html:not(.abonne) .article-body--mur > *:not(:first-child):not(.mur) { display: none; }
html:not(.abonne) .article-body--mur > :first-child { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.mur { margin: 28px 0 8px; padding: 28px; border: 1.5px solid #141414; border-radius: 14px; background: #f3f5fa; }
.abonne .mur:not(.mur--ok) { display: none; }
.mur-kicker { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 13px; color: #2f5fd0; margin: 0 0 6px; }
.mur-title { font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.25; color: #141414; margin: 0 0 8px; text-wrap: balance; }
.mur-lead { font-size: 16px; line-height: 1.6; margin: 0 0 18px; }
.mur .nl-form { max-width: none; }
.mur-ok { margin: 12px 0 0; font-weight: 600; color: #2f5fd0; }
.mur--ok form, .mur--ok .nl-mention { display: none; }
@media (max-width: 560px) { .mur { padding: 22px 18px; } .mur .nl-input { min-width: 0; flex-basis: 100%; } .mur .btn { width: 100%; justify-content: center; } }
