/* ============================================================
   1CLUSIF — design tokens (thème clair)
   Duality: coeur (humanisme) × code (technique)
   ============================================================ */
:root {
  /* palette dérivée du logo 1Clusif : marine #45415A + chartreuse #E1F800 */
  --bg: #f6f4ef;
  --bg-raised: #ffffff;
  --bg-raised-2: #eae7ef;
  --bg-dark: #211f2c;
  --text: #3a3650;
  --text-muted: #625d78;
  --on-dark: #ece9e0;
  --on-dark-muted: #a29fb0;
  --on-accent: #211f2c;
  --coral: #c3da00;
  --coral-hover: #a8bc00;
  --teal: #5b5578;
  --line: rgba(58, 54, 80, 0.18);
  --line-strong: rgba(58, 54, 80, 0.3);

  /* accents pictogrammes — dérivés de la marine/chartreuse, contraste renforcé */
  --badge-marine: #3a3650;
  --badge-blue: #3a56c4;
  --badge-violet: #7550c9;
  --badge-chartreuse: #687200;
  --badge-pink: #b8447d;

  --font-display: "Roboto", -apple-system, sans-serif;
  --font-body: "Roboto", -apple-system, sans-serif;
  --font-slab: "Roboto Slab", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --max: 1180px;
  --measure: 68ch;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* homepage uniquement — typographie plus contemporaine, façon blackswift.fr */
body.is-home {
  --font-display: "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
}
body.is-home h2,
body.is-home h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
}
/* titre hero — serif éditorial, façon blackswift.fr */
body.is-home .hero h1 {
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  letter-spacing: 0;
}

/* mots mis en avant — accent chartreuse contrasté, homepage et citations */
.hl {
  color: var(--badge-chartreuse);
}
.hl-blue {
  color: var(--badge-blue);
}
.hl-violet {
  color: var(--badge-violet);
}
.hl-em {
  font-style: italic;
}

/* ============================================================
   Reset
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 640px) {
  body {
    font-size: 1.15rem;
  }
}
body.nav-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
}
p {
  margin: 0 0 1.1em;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--coral);
  color: var(--on-accent);
  padding: 0.75em 1.25em;
  z-index: 200;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 1.4em;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

/* ============================================================
   Nav
   ============================================================ */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition:
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  background: rgba(246, 243, 234, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
}
.wordmark-logo {
  height: 80px;
  width: auto;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list li {
  position: relative;
}
.nav-list a {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--text);
}
.nav-list > li > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4em;
  height: 2px;
  background: var(--coral);
}

/* Dropdown chevron */
.nav-list .chevron {
  width: 0.5em;
  height: 0.5em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-15%);
  opacity: 0.65;
  flex: none;
}
.nav-list li.has-children:hover > a .chevron,
.nav-list li.has-children:focus-within > a .chevron {
  opacity: 1;
}

/* Dropdown panels (desktop) */
.nav-list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  max-width: 380px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 48px rgba(33, 31, 44, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease),
    visibility 0.2s;
  z-index: 200;
}
.nav-list li.has-children:hover > .sub-menu,
.nav-list li.has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-list .sub-menu li {
  position: relative;
}
.nav-list .sub-menu a {
  display: flex;
  justify-content: space-between;
  gap: 0.6em;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  font-family: var(--font-display);
  color: var(--text);
  padding: 0.5em 0.6em;
  border-radius: 6px;
  line-height: 1.35;
}
.nav-list .sub-menu a:hover {
  background: var(--bg-raised-2);
  color: var(--text);
}

/* Nested levels inside a desktop dropdown panel use an inline accordion
   instead of a side flyout, so the panel can safely scroll (overflow-y)
   without clipping anything positioned outside its box. */
.nav-list .sub-menu details {
  border-radius: 6px;
}
.nav-list .sub-menu summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  font-size: 0.85rem;
  font-family: var(--font-display);
  color: var(--text);
  padding: 0.5em 0.6em;
  border-radius: 6px;
  line-height: 1.35;
  list-style: none;
}
.nav-list .sub-menu summary::-webkit-details-marker {
  display: none;
}
.nav-list .sub-menu summary:hover {
  background: var(--bg-raised-2);
}
.nav-list .sub-menu details .chevron {
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.nav-list .sub-menu details[open] > summary .chevron {
  transform: rotate(-135deg);
}
.nav-list .sub-menu details ul {
  list-style: none;
  margin: 0 0 0.3rem;
  padding-left: 0.85rem;
  border-left: 1px solid var(--line);
}
.nav-list .sub-menu details ul a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--on-accent);
  background: var(--coral);
  padding: 0.6em 1.2em;
  border-radius: 999px;
  white-space: nowrap;
  transition:
    background-color 0.25s,
    transform 0.25s;
}
.nav-cta:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 2.2rem;
  height: 2.2rem;
  position: relative;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  position: absolute;
  left: 0.3rem;
  right: 0.3rem;
  height: 1.5px;
  background: var(--text);
  transition:
    transform 0.35s var(--ease),
    opacity 0.35s var(--ease),
    top 0.35s var(--ease);
}
.nav-open .nav-toggle span {
  background: var(--on-dark);
}
.nav-toggle span:nth-child(1) {
  top: 0.8rem;
}
.nav-toggle span:nth-child(2) {
  top: 1.1rem;
}
.nav-toggle span:nth-child(3) {
  top: 1.4rem;
}
.nav-open .nav-toggle span:nth-child(1) {
  top: 1.1rem;
  transform: rotate(45deg);
}
.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.nav-open .nav-toggle span:nth-child(3) {
  top: 1.1rem;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 105;
  display: flex;
  flex-direction: column;
  padding: 6.5rem 1.75rem 2rem;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s;
}
.nav-open .mobile-menu {
  opacity: 1;
  visibility: visible;
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
}
.mobile-nav-list {
  gap: 0.4rem;
}
.mobile-menu a {
  text-decoration: none;
  color: var(--on-dark);
  font-family: var(--font-display);
  font-weight: 500;
  padding: 0.5em 0;
  display: block;
  transition: color 0.25s;
}
.mobile-nav-list > li > a,
.mobile-nav-list > li > details > summary {
  font-size: clamp(1.15rem, 5vw, 1.5rem);
}
.mobile-menu a:hover {
  color: var(--coral);
}
.mobile-menu .mobile-contact {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}

/* Nested accordion (details/summary) */
.mobile-drop summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  color: var(--on-dark);
  font-family: var(--font-display);
  font-weight: 500;
  padding: 0.5em 0;
  list-style: none;
}
.mobile-drop summary::-webkit-details-marker {
  display: none;
}
.mobile-drop .chevron {
  width: 0.5em;
  height: 0.5em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
  transition: transform 0.2s var(--ease);
  flex: none;
}
.mobile-drop[open] > summary .chevron {
  transform: rotate(-135deg);
}
.mobile-drop ul {
  padding-left: 1rem;
  border-left: 1px solid rgba(236, 233, 224, 0.16);
  margin: 0.15rem 0 0.5rem;
}
.mobile-drop ul a,
.mobile-drop ul summary {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--on-dark-muted);
}

@media (max-width: 860px) {
  .nav-list,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}

/* ============================================================
   Waveform signature
   ============================================================ */
.waveform {
  width: 100%;
  height: auto;
  display: block;
  color: var(--coral);
}
.waveform path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.waveform.animated path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 2.4s var(--ease) forwards 0.2s;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.divider {
  max-width: 220px;
  margin: 0 auto;
  opacity: 0.9;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero > .wrap {
  position: relative;
  z-index: 1;
}
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  opacity: 0.9;
  z-index: 0;
}
.hero-wave .waveform {
  height: 90px;
  color: var(--badge-chartreuse);
}
.hero-wave .waveform path {
  stroke-width: 2;
}
.hero-eyebrow {
  margin-bottom: 1.6rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 1.9rem + 3vw, 4.6rem);
  max-width: 20ch;
  letter-spacing: -0.01em;
}
.hero .lede {
  margin-top: 1.6rem;
  max-width: 44ch;
  font-size: 1.2rem;
  color: var(--text-muted);
}
.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.25s;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--coral);
  color: var(--on-accent);
}
.btn-primary:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.btn-on-dark {
  border-color: rgba(239, 233, 216, 0.3);
  color: var(--on-dark);
}
.btn-on-dark:hover {
  border-color: var(--coral);
  color: var(--coral);
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: 6rem 0;
  border-top: 1px solid var(--line);
}
.section-head {
  max-width: 52ch;
  margin-bottom: 3rem;
}
.section-head h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem);
}
.section-head .lede {
  color: var(--text-muted);
  margin-top: 1rem;
  font-size: 1.08rem;
  max-width: 56ch;
}

/* deux questions */
.questions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.question {
  background: var(--bg-raised);
  padding: 2.6rem;
}
.question h3 {
  font-family: "Libre Baskerville", serif;
  font-size: 1.4rem;
  font-weight: 700;
}
.question p {
  margin-top: 0.9rem;
  color: var(--text-muted);
}
@media (max-width: 720px) {
  .questions {
    grid-template-columns: 1fr;
  }
}

/* manifeste — bloc de prose */
.manifesto {
  max-width: var(--measure);
}
.manifesto p {
  color: var(--text);
}

/* valeurs — cartes à pictogrammes */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.value-card {
  padding: 1.8rem;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 1rem;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(33, 31, 44, 0.1);
  border-color: var(--line-strong);
}
.value-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  color: #fff;
  margin-bottom: 1.1rem;
}
.value-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.badge-marine { background: var(--badge-marine); }
.badge-blue { background: var(--badge-blue); }
.badge-violet { background: var(--badge-violet); }
.badge-chartreuse { background: var(--badge-chartreuse); }
.badge-pink { background: var(--badge-pink); }

.value-card .v-name {
  display: block;
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.value-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
@media (max-width: 860px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* méthode — timeline reliée par le waveform */
.method-timeline {
  position: relative;
  padding-left: 2.6rem;
}
.method-timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    var(--coral) 0,
    var(--coral) 4px,
    transparent 4px,
    transparent 9px
  );
}
.method-step {
  position: relative;
  padding-bottom: 1.6rem;
}
.method-step:last-child {
  padding-bottom: 0;
}
.method-step::before {
  content: "";
  position: absolute;
  left: -2.6rem;
  top: 0.35rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--coral);
}
.method-step p {
  color: var(--text);
  margin: 0;
  max-width: 60ch;
  font-size: 1.06rem;
}

/* actions */
.actions-list {
  display: grid;
  gap: 1.4rem;
}
.action-row {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.6rem 1.8rem;
  background: var(--bg-raised);
  border-radius: 0.4rem;
  border: 1px solid var(--line);
}
.action-row .value-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}
.action-row p {
  margin: 0;
  color: var(--text);
}
@media (max-width: 560px) {
  .action-row {
    flex-direction: column;
  }
}

/* CTA band — moment sombre, volontairement contrasté */
.cta-band {
  text-align: center;
  padding: 7rem 0;
  background: var(--bg-dark);
  color: var(--on-dark);
}
.cta-band .section-head h2 {
  color: var(--on-dark);
}
.cta-band ul {
  list-style: none;
  max-width: 46ch;
  margin: 2rem auto;
  text-align: left;
  display: grid;
  gap: 0.9rem;
}
.cta-band li {
  color: var(--on-dark-muted);
  padding-left: 1.4em;
  position: relative;
}
.cta-band li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.5em;
  height: 1px;
  background: var(--coral);
}
.cta-band blockquote {
  margin: 0 auto 2rem;
  max-width: 24ch;
  font-family: var(--font-slab);
  font-size: clamp(1.5rem, 1.15rem + 1.8vw, 2.6rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--on-dark);
}
.cta-band blockquote span {
  color: var(--coral);
}

/* ============================================================
   Article (single) pages
   ============================================================ */
.page-header {
  padding: 9rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
}
.page-header h1 {
  font-size: clamp(2.1rem, 1.6rem + 2.6vw, 3.6rem);
  margin-top: 0.8rem;
  max-width: 22ch;
}
.page-header .dek {
  margin-top: 1.2rem;
  color: var(--text-muted);
  max-width: 50ch;
  font-size: 1.1rem;
}

.cover-figure {
  margin: 0;
}
.cover-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 520px;
}
.cover-figure figcaption {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.6rem 1.75rem;
  max-width: var(--max);
  margin: 0 auto;
}

.podcast-embed {
  margin: 2rem auto 0;
  max-width: var(--measure);
}
.podcast-embed iframe {
  display: block;
  border-radius: 0.5rem;
}

.podcast-header-row {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.podcast-avatar {
  flex-shrink: 0;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-raised-2);
}
.podcast-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.podcast-header-text h1 {
  margin-top: 0.4rem;
}
@media (max-width: 560px) {
  .podcast-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .podcast-avatar {
    width: 84px;
    height: 84px;
  }
}

.founder-portrait {
  float: right;
  width: 260px;
  margin: 0 0 1.5rem 2.5rem;
  border-radius: 0.3rem;
}
@media (max-width: 720px) {
  .founder-portrait {
    float: none;
    width: 200px;
    margin: 0 auto 2rem;
  }
}

.article {
  padding: 4rem 0 6rem;
}
.article .wrap {
  max-width: calc(var(--measure) + 3.5rem);
}
.article h2 {
  font-size: 1.7rem;
  margin: 2.6em 0 0.7em;
  font-weight: 500;
  clear: both;
}
.article h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--teal);
  margin: 1.8em 0 0.5em;
}
.article p,
.article li {
  color: var(--text);
}
.article p {
  max-width: var(--measure);
}
.article ul,
.article ol {
  max-width: var(--measure);
  margin: 1em 0 1.4em 1.3em;
}
.article li {
  margin-bottom: 0.4em;
}
.article strong {
  color: var(--text);
}
.article a {
  color: var(--teal);
  text-decoration-color: var(--line-strong);
}
.article blockquote {
  margin: 2.2em 0;
  padding-left: 1.4em;
  border-left: 2px solid var(--coral);
  font-family: var(--font-slab);
  font-size: 1.2rem;
  color: var(--text);
  max-width: 34ch;
}
.article .byline {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.share-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
}
.share-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-right: 0.2rem;
}
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text);
  background: none;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.share-btn svg {
  width: 1.05rem;
  height: 1.05rem;
}
.share-btn:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--on-accent);
}
.article table {
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.92rem;
}
.article th,
.article td {
  border: 1px solid var(--line);
  padding: 0.6em 0.9em;
  text-align: left;
}
.article th {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal);
}

/* legal variant — sobre, sans fioritures */
.legal .page-header {
  padding: 8rem 0 2.5rem;
}
.legal .page-header h1 {
  font-size: clamp(1.8rem, 1.5rem + 1.5vw, 2.6rem);
}
.legal .article {
  padding-top: 2.5rem;
}
.legal .article h2 {
  font-size: 1.25rem;
  color: var(--text);
  margin-top: 2.2em;
}
.legal .article h3 {
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
}
.legal .article p,
.legal .article li {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2.5rem;
  background: var(--bg-raised-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 1rem;
}
.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-grid a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-grid a:hover {
  color: var(--text);
}
.footer-link-button {
  font-family: inherit;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.footer-link-button:hover {
  color: var(--text);
}
.footer-tagline {
  color: var(--text-muted);
  max-width: 34ch;
  font-size: 0.95rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}
@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================================
   Extras — newsletter, catégories, articles récents
   ============================================================ */
.extras-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
}
.extras-grid h2 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}
.extras-grid h5 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  font-weight: 500;
  margin: 0 0 1.2rem;
}
.newsletter-block h2 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.newsletter-iframe {
  border: none;
  width: 100%;
  max-width: 640px;
  height: 700px;
  background: var(--bg-raised);
  border-radius: 0.4rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.tag-list a {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 0.4em 0.9em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.tag-list a:hover {
  color: var(--text);
  border-color: var(--teal);
}

.recent-list {
  display: grid;
  gap: 0.9rem;
  list-style: none;
}
.recent-list li {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.recent-list li:last-child {
  border-bottom: none;
}
.recent-list a {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.3;
  text-decoration: none;
}
.recent-list a:hover {
  color: var(--teal);
}

/* pages de catégorie — liste avec vignettes */
.category-subnav {
  margin-bottom: 2.5rem;
}
.category-count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.category-empty {
  color: var(--text-muted);
}
.category-list {
  display: flex;
  flex-direction: column;
}
.category-row {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: opacity 0.2s;
}
.category-row:hover {
  opacity: 0.75;
}
.category-row-thumb {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--bg-raised-2);
}
.category-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.category-row-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.category-row-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--badge-chartreuse);
}
.category-row-body h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
}
.category-row-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 560px) {
  .category-row {
    gap: 1rem;
    padding: 1rem 0;
  }
  .category-row-thumb {
    width: 64px;
    height: 64px;
  }
  .category-row-body p {
    display: none;
  }
}

@media (max-width: 860px) {
  .extras-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* bandeau de consentement cookies */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 24px rgba(33, 31, 44, 0.12);
}
.cookie-consent[hidden] {
  display: none;
}
.cookie-consent-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.cookie-consent-text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.cookie-consent-text a {
  color: var(--text);
  text-decoration: underline;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cookie-consent-actions .btn {
  padding: 0.6em 1.2em;
}
.cookie-consent-panel {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.cookie-consent-panel[hidden] {
  display: none;
}
.cookie-consent-toggle {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.9rem;
  color: var(--text);
}
@media (max-width: 640px) {
  .cookie-consent-inner {
    padding: 1rem;
  }
  .cookie-consent-actions {
    width: 100%;
  }
  .cookie-consent-actions .btn {
    flex: 1;
    justify-content: center;
  }
}
