/* ============================================================
   emmanueldonati.com — v1
   Design system : voir src/design/design-system.md
   ============================================================ */

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; background: none; border: none; cursor: pointer; padding: 0; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ---------- Tokens ---------- */
:root {
  /* Couleurs */
  --paper: #F7F4EC;
  --ink: #0F1E35;
  --muted: #5C6372;
  --brique: #B84828;
  --brique-dark: #9A3C21;
  --deep: #0B1729;
  --clay: #EFE9DB;
  --rule: #D9D2C3;
  --wash: #F3E8DF;

  /* Typographie */
  --ff-serif: 'Source Serif 4', 'Georgia', 'Times New Roman', serif;
  --ff-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-xs: 13px;
  --fs-sm: 15px;
  --fs-base: 18px;
  --fs-md: 22px;
  --fs-lg: 28px;
  --fs-xl: 38px;
  --fs-2xl: 54px;
  --fs-3xl: 72px;

  --lh-tight: 1.15;
  --lh-snug: 1.40;
  --lh-body: 1.55;

  /* Espacements */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Largeurs */
  --w-prose: 680px;
  --w-content: 880px;
  --w-wide: 1120px;
}

@media (max-width: 640px) {
  :root {
    --fs-base: 17px;
    --fs-md: 20px;
    --fs-lg: 24px;
    --fs-xl: 30px;
    --fs-2xl: 38px;
    --fs-3xl: 48px;
  }
}

/* ---------- Base ---------- */
body {
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

p { max-width: 65ch; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brique);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* ---------- Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--w-wide);
  margin: 0 auto;
  padding-left: var(--sp-5);
  padding-right: var(--sp-5);
}

.container--prose {
  max-width: var(--w-prose);
}

.container--content {
  max-width: var(--w-content);
}

@media (min-width: 640px) {
  .container { padding-left: var(--sp-6); padding-right: var(--sp-6); }
}

@media (min-width: 960px) {
  .container { padding-left: var(--sp-7); padding-right: var(--sp-7); }
}

.section {
  padding-top: var(--sp-9);
  padding-bottom: var(--sp-9);
}

.section--narrow {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-8);
}

.section--clay {
  background-color: var(--clay);
}

.section--deep {
  background-color: var(--deep);
  color: var(--paper);
}

.section--deep h1,
.section--deep h2,
.section--deep h3,
.section--deep h4 {
  color: var(--paper);
}

/* ---------- Kicker (sur-titre) ---------- */
.kicker {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brique);
  margin-bottom: var(--sp-3);
}

.section--deep .kicker {
  color: #E58B6A;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 24px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--brique);
  color: var(--paper);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--brique-dark);
}

.btn--secondary {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--ink);
  padding: 13px 23px;
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background-color: var(--ink);
  color: var(--paper);
}

.section--deep .btn--secondary {
  color: var(--paper);
  border-color: var(--paper);
}

.section--deep .btn--secondary:hover {
  background-color: var(--paper);
  color: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(247, 244, 236, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  padding-bottom: 6px;
  gap: var(--sp-5);
}

.site-header__brand {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-nav {
  display: none;
}

.site-nav ul {
  display: flex;
  gap: var(--sp-6);
}

.site-nav a {
  font-size: var(--fs-sm);
  color: var(--ink);
  position: relative;
  padding: var(--sp-2) 0;
}

.site-nav a:hover {
  color: var(--brique);
}

.site-header__cta .btn {
  padding: 10px 18px;
  font-size: var(--fs-xs);
}

@media (min-width: 960px) {
  .site-nav { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: var(--sp-9);
  padding-bottom: var(--sp-9);
  border-bottom: 1px solid var(--rule);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: stretch;
}

.hero__title {
  font-size: var(--fs-2xl);
  letter-spacing: -0.025em;
  max-width: 14ch;
  font-weight: 700;
}

.hero__subtitle {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-style: italic;
  font-size: var(--fs-xl);
  color: var(--ink);
  margin-top: var(--sp-3);
  letter-spacing: -0.015em;
  line-height: var(--lh-tight);
}

.hero__lead {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: var(--lh-body);
  margin-top: var(--sp-6);
  max-width: 58ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
}

.hero__portrait {
  background-color: var(--deep);
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  overflow: hidden;
}

@media (min-width: 960px) {
  .hero__portrait {
    aspect-ratio: auto;
    height: 100%;
  }
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.4fr 1fr;
    gap: var(--sp-9);
  }
}

/* ---------- Proof bar ---------- */
.proof {
  background-color: var(--clay);
  padding: var(--sp-7) 0;
  border-bottom: 1px solid var(--rule);
}

.proof__label {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--sp-7);
  text-align: center;
}

.proof__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--sp-5) var(--sp-8);
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.proof__list li {
  position: relative;
}

.proof__list li::after {
  content: '';
  position: absolute;
  right: calc(var(--sp-8) * -0.5);
  top: 50%;
  width: 4px;
  height: 4px;
  background-color: var(--rule);
  border-radius: 50%;
  transform: translateY(-50%);
}

.proof__list li:last-child::after { display: none; }

@media (max-width: 640px) {
  .proof__list li::after { display: none; }
}

/* ---------- Section: What I do ---------- */
.what__intro {
  max-width: var(--w-prose);
  margin-bottom: var(--sp-8);
}

.what__title {
  font-size: var(--fs-xl);
  max-width: 24ch;
  margin-bottom: var(--sp-4);
}

.what__lead {
  font-size: var(--fs-md);
  color: var(--muted);
  line-height: var(--lh-snug);
}

.what__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 640px) {
  .what__grid { grid-template-columns: repeat(3, 1fr); }
}

.what__card {
  background-color: var(--paper);
  border: 1px solid var(--rule);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: border-color 200ms ease;
}

.what__card:hover {
  border-color: var(--ink);
}

.what__card-num {
  font-family: var(--ff-serif);
  font-size: var(--fs-sm);
  color: var(--brique);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.what__card-title {
  font-size: var(--fs-lg);
}

.what__card-sub {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: calc(var(--sp-3) * -1);
}

.what__card-body {
  color: var(--muted);
  line-height: var(--lh-body);
  flex-grow: 1;
}

.what__footer {
  margin-top: var(--sp-7);
}

.what__link {
  font-size: var(--fs-sm);
  color: var(--brique);
  font-weight: 500;
  border-bottom: 1px solid var(--brique);
  padding-bottom: 2px;
  display: inline-block;
}

.what__link:hover {
  color: var(--brique-dark);
  border-color: var(--brique-dark);
}

/* ---------- Section: Why me ---------- */
.why__title {
  font-size: var(--fs-xl);
  max-width: 20ch;
  margin-bottom: var(--sp-8);
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
}

@media (min-width: 640px) {
  .why__grid { grid-template-columns: repeat(3, 1fr); }
}

.why__item h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-4);
}

.why__item p {
  color: var(--muted);
  line-height: var(--lh-body);
}

/* ---------- Section: Newsletter ---------- */
.nl {
  background-color: var(--deep);
  color: var(--paper);
}

.nl__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: center;
}

.nl__title {
  font-size: var(--fs-xl);
  color: var(--paper);
  max-width: 20ch;
}

.nl__body {
  color: #CDD2DB;
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  margin-top: var(--sp-4);
  max-width: 56ch;
}

.nl__cta {
  margin-top: var(--sp-6);
}

@media (min-width: 960px) {
  .nl__inner {
    grid-template-columns: 2fr 1fr;
    gap: var(--sp-9);
  }
  .nl__cta { margin-top: 0; justify-self: end; }
}

/* ---------- Section: Book ---------- */
.book {
  border-top: 1px solid var(--rule);
}

.book__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: center;
}

.book__title {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.book__body {
  color: var(--muted);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  max-width: 58ch;
  margin-top: var(--sp-3);
}

@media (min-width: 960px) {
  .book__inner {
    grid-template-columns: 1.6fr 1fr;
    gap: var(--sp-9);
  }
  .book__cta { justify-self: end; }
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--deep);
  color: #CDD2DB;
  padding-top: var(--sp-9);
  padding-bottom: var(--sp-7);
}

.site-footer a {
  color: #CDD2DB;
  transition: color 200ms ease;
}

.site-footer a:hover {
  color: var(--paper);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .site-footer__grid { grid-template-columns: repeat(3, 1fr); }
}

.site-footer__col h4 {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--paper);
  margin-bottom: var(--sp-4);
  font-weight: 500;
}

.site-footer__col ul li {
  margin-bottom: var(--sp-3);
  font-size: var(--fs-sm);
}

.site-footer__bottom {
  padding-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: var(--fs-xs);
  color: #8A92A1;
}

.site-footer__bottom a:hover {
  color: var(--paper);
}

/* ---------- Accessibilité : skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  top: var(--sp-4);
  left: var(--sp-4);
  width: auto;
  height: auto;
  padding: var(--sp-3) var(--sp-4);
  background-color: var(--brique);
  color: var(--paper);
  z-index: 999;
  font-size: var(--fs-sm);
  border-radius: 2px;
}

/* ============================================================
   Composants v2 — ajoutés le 20 août 2026
   La charte (couleurs/typo) reste pilotée par les tokens :root.
   Décision charte de vendredi = modifier uniquement les tokens.
   ============================================================ */

/* ---------- Bloc preuve (chiffres) ---------- */
.stats {
  border-bottom: 1px solid var(--rule);
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
}

@media (min-width: 640px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
}

.stats__num {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.stats__label {
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-snug);
  margin-top: var(--sp-2);
  max-width: 34ch;
}

.stats__note {
  color: var(--muted);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  margin-top: var(--sp-7);
  max-width: 62ch;
}

/* ---------- Bloc deux portes ---------- */
.doors__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 800px) {
  .doors__grid { grid-template-columns: 1fr 1fr; }
}

.door {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  background-color: var(--paper);
  border: 1px solid var(--rule);
  padding: var(--sp-7) var(--sp-6);
  transition: border-color 200ms ease;
}

.door:hover { border-color: var(--ink); }

.door__eyebrow {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.door__title {
  font-size: var(--fs-lg);
  max-width: 20ch;
}

.door__body {
  color: var(--muted);
  line-height: var(--lh-body);
  flex-grow: 1;
}

.door__link {
  font-size: var(--fs-sm);
  color: var(--brique);
  font-weight: 500;
  border-bottom: 1px solid var(--brique);
  padding-bottom: 2px;
  align-self: flex-start;
}

.door__link:hover {
  color: var(--brique-dark);
  border-color: var(--brique-dark);
}

/* ---------- CTA final ---------- */
.cta-band {
  border-top: 1px solid var(--rule);
  text-align: center;
}

.cta-band__title {
  font-size: var(--fs-xl);
  max-width: 24ch;
  margin: 0 auto var(--sp-6);
}

/* ---------- Page hero (pages intérieures) ---------- */
.page-hero {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--rule);
}

.page-hero__title {
  font-size: var(--fs-xl);
  max-width: 22ch;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-hero__lead {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: var(--lh-body);
  margin-top: var(--sp-5);
  max-width: 58ch;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

/* ---------- Escalier d'offres / étapes ---------- */
.steps {
  display: grid;
  gap: var(--sp-5);
  counter-reset: step;
}

.step {
  border: 1px solid var(--rule);
  background-color: var(--paper);
  padding: var(--sp-6);
  display: grid;
  gap: var(--sp-3);
}

.step__num {
  font-family: var(--ff-serif);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brique);
}

.step__title { font-size: var(--fs-lg); }

.step__sub {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.step__body {
  color: var(--muted);
  line-height: var(--lh-body);
  max-width: 62ch;
}

.step__meta {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Programme (semaines) ---------- */
.program {
  display: grid;
  gap: var(--sp-4);
}

.program__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 640px) {
  .program__row { grid-template-columns: 200px 1fr; gap: var(--sp-6); }
}

.program__when {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brique);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.program__what h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }

.program__what p { color: var(--muted); line-height: var(--lh-body); }

/* ---------- Témoignages ---------- */
.quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 800px) {
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .quotes--two { grid-template-columns: repeat(2, 1fr); }
}

.quote {
  background-color: var(--clay);
  border-left: 3px solid var(--brique);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.quote__text {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  line-height: var(--lh-snug);
  font-style: italic;
  color: var(--ink);
}

.quote__who {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* ---------- Tarif ---------- */
.pricing {
  border: 1px solid var(--ink);
  background-color: var(--paper);
  padding: var(--sp-7) var(--sp-6);
  max-width: 520px;
}

.pricing__price {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-weight: 700;
}

.pricing__detail {
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-body);
  margin-top: var(--sp-3);
}

.pricing .btn { margin-top: var(--sp-5); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; }

.faq details {
  border-bottom: 1px solid var(--rule);
  padding: var(--sp-5) 0;
}

.faq summary {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-4);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  font-family: var(--ff-sans);
  color: var(--brique);
  font-size: var(--fs-md);
  flex-shrink: 0;
}

.faq details[open] summary::after { content: '−'; }

.faq details p {
  color: var(--muted);
  line-height: var(--lh-body);
  margin-top: var(--sp-4);
  max-width: 62ch;
}

/* ---------- Références ---------- */
.refs__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 640px) {
  .refs__list { grid-template-columns: 1fr 1fr; }
}

.ref {
  border: 1px solid var(--rule);
  padding: var(--sp-5) var(--sp-6);
  background-color: var(--paper);
}

.ref h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }

.ref p { color: var(--muted); font-size: var(--fs-sm); line-height: var(--lh-body); }

/* ---------- Prose (pages de contenu long) ---------- */
.prose { max-width: var(--w-prose); }

.prose h2 {
  font-size: var(--fs-lg);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-4);
}

.prose p { margin-bottom: var(--sp-5); color: var(--ink); }

.prose p.muted { color: var(--muted); }

/* ---------- Calendly embed ---------- */
.calendly-wrap {
  border: 1px solid var(--rule);
  background-color: #fff;
  min-height: 700px;
}

/* ---------- Note discrète ---------- */
.smallnote {
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* ---------- Logos monochromes (proof bar) ----------
   Prêt pour l'intégration des logos des références.
   Technique : le logo (SVG ou PNG à fond transparent) sert de masque,
   la couleur affichée est celle du texte (var(--ink)), donc la charte
   de vendredi s'appliquera automatiquement.
   Usage : <li><span class="proof__logo" style="--logo: url('/assets/logos/fia.svg'); --logo-w: 72px;" role="img" aria-label="FIA"></span></li> */
.proof__logo {
  display: inline-block;
  width: var(--logo-w, 110px);
  height: 36px;
  background-color: var(--ink);
  -webkit-mask: var(--logo) no-repeat center / contain;
  mask: var(--logo) no-repeat center / contain;
  vertical-align: middle;
}


/* ---------- Logo de marque (header) ---------- */
.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  display: inline-block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background-color: var(--ink);
  -webkit-mask: var(--logo) no-repeat center / contain;
  mask: var(--logo) no-repeat center / contain;
}


/* ---------- Logos en images teintées (préviewables en local) ---------- */
.proof__img {
  height: 54px;
  width: auto;
  display: block;
}

.brand__img {
  height: 64px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* ---------- Page active dans le menu ---------- */
.site-nav a.active {
  color: var(--brique);
  font-weight: 600;
  border-bottom: 2px solid var(--brique);
  padding-bottom: calc(var(--sp-2) - 2px);
}


/* ---------- Bouton de remontée ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ink);
  color: var(--paper);
  border-radius: 2px;
  font-family: var(--ff-sans);
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms, background-color 200ms ease;
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background-color: var(--brique);
}


/* ---------- Correctif contraste : boutons sur bloc newsletter sombre ---------- */
.nl .btn--secondary {
  color: var(--paper);
  border-color: var(--paper);
}

.nl .btn--secondary:hover,
.nl .btn--secondary:focus-visible {
  background-color: var(--paper);
  color: var(--deep);
}
