/* ==========================================================================
   SetupAI — feuille de style du site
   Sommaire :
   1. Polices        2. Variables       3. Base           4. Utilitaires
   5. Boutons        6. Logo            7. En-tête        8. Accueil (hero)
   9. Bandeau       10. Offre          11. Cas d'usage   12. Clients
   13. À propos     14. FAQ            15. Appel à l'action
   16. Pied de page 17. Pages internes (légal, 404)
   ========================================================================== */

/* 1. Polices (hébergées sur le site, aucun appel à un service tiers) ------ */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* 2. Variables -------------------------------------------------------- */

:root {
  --ink: #160a33;
  --paper: #faf8ff;
  --white: #ffffff;
  --violet: #7b2fff;
  --violet-dark: #4a1bb0;
  --lime: #cbf542;
  --lavender: #efeafc;
  --lavender-mid: #e6e0f5;
  --tile-dark: #2e1c55;
  --text: #463d5e;
  --text-muted: #5e5577;
  --text-on-ink: #cfc7e6;
  --logo-word-on-ink: #faf8ff; /* « setup » sur fond sombre, cf. marque/logo/logo-fond-sombre.svg */
  --text-on-ink-soft: #dcd3f0;
  --text-footer: #9c92b8;
  --border: #e6e0f5;

  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-title: "Schibsted Grotesk", var(--font-body);

  --radius-card: 28px;
  --radius-tile: 14px;
  --radius-pill: 999px;
  --content: 1232px; /* largeur du contenu, comme dans la maquette à 1440 px */
  --gutter: clamp(24px, 6vw, 104px); /* marges latérales qui grandissent avec l'écran */
  --section-space: 112px;
  --ease: 0.25s ease;
}

/* 3. Base ------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  font-weight: 800;
}

a {
  color: inherit;
}

a:hover {
  color: var(--violet-dark);
}

img,
svg {
  display: block;
}

button {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* 4. Utilitaires ------------------------------------------------------- */

.container {
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
  color: var(--white);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--violet);
  font-size: 15px;
  font-weight: 600;
}

.section-title {
  max-width: 760px;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
}

.section-head p {
  max-width: 440px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
}

.icon {
  flex: none;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 5. Boutons ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 17px 28px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background var(--ease), color var(--ease);
}

.btn .icon {
  font-size: 18px;
}

.btn--primary {
  background: var(--violet);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--violet-dark);
  color: var(--white);
}

.btn--outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--lime {
  background: var(--lime);
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.btn--lime:hover {
  background: var(--white);
  color: var(--ink);
}

.btn--small {
  padding: 14px 24px;
  font-size: 15px;
}

/* Interrupteur (accueil et cas d'usage) */

.switch {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: none;
  width: 76px;
  height: 44px;
  padding: 5px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--violet);
  cursor: pointer;
  transition: background var(--ease);
}

.switch__knob {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  transition: background var(--ease);
}

/* Éclat HDR à l'allumage (réglage "hdr.flash" de site.config.json) */
.switch__knob {
  position: relative;
  overflow: hidden;
}

.switch__flash {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

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

/* 2 s : plein éclat dès le clic, tenu un instant, puis lente descente vers le lime normal */
.switch__flash.is-flashing {
  animation: hdr-flash 2s linear;
}

@keyframes hdr-flash {
  0% { opacity: 1; }
  25% { opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); }
  100% { opacity: 0; }
}

.switch[aria-pressed="false"],
.switch.is-off {
  justify-content: flex-start;
  background: var(--lavender-mid);
}

.switch[aria-pressed="false"] .switch__knob,
.switch.is-off .switch__knob {
  background: var(--white);
}

.switch--small {
  width: 64px;
  height: 36px;
  padding: 4px;
}

.switch--small .switch__knob {
  width: 28px;
  height: 28px;
}

/* 6. Logo -------------------------------------------------------------
   Le logo suit l'interrupteur de l'accueil :
   allumé  = « AI » à gauche, bouton lime à droite
   éteint  = bouton blanc à gauche, « AI » à droite (déclinaison E6)      */

.logo {
  display: inline-flex;
  color: var(--ink);
  text-decoration: none;
}

.logo svg {
  width: auto;
  height: 34px;
  overflow: visible;
}

.logo__word {
  fill: currentColor;
}

/* Sur fond sombre, « setup » vaut #faf8ff dans la charte, et non la couleur du
   texte courant : sans cette règle il héritait de --text-on-ink et paraissait
   terne à côté du « AI » en blanc pur du même logo. On fixe « fill » plutôt que
   « color », sinon .site-footer a:hover le repasserait en blanc au survol. */
.site-footer .logo__word {
  fill: var(--logo-word-on-ink);
}

.logo__pill {
  fill: var(--violet);
}

.logo__ai {
  fill: var(--white);
}

.logo__knob {
  fill: var(--lime);
}

.logo__ai,
.logo__knob {
  transition: transform 0.35s ease, fill var(--ease);
}

[data-ai="off"] .logo__ai {
  transform: translateX(81px);
}

[data-ai="off"] .logo__knob {
  transform: translateX(-104.76px);
  fill: var(--white);
}

.logo--light {
  color: var(--paper);
}

/* Lueur HDR du logo (réglages "hdr.logo" et "hdr.logoParts" de site.config.json).
   L'image recouvre exactement la pastille ; le mot « setup » n'est jamais recouvert. */
.logo {
  position: relative;
  width: fit-content; /* le lien épouse le logo, même dans une colonne flex (pied de page) */
}

/* Aucune opacité ici, jamais : une opacité non pleine, ou une animation
   d'opacité, fait composer l'image sur une couche transparente et le navigateur
   ramène alors la carte de gain en SDR, et la pastille ne brille plus. On
   l'affiche donc avec « visibility », qui ne crée aucune transparence. */
.logo__hdr {
  position: absolute;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  left: 59.59%;   /* 316,7 / 531,46 */
  top: 8.333%;    /* 11 / 132 */
  width: 40.41%;  /* 214,76 / 531,46 */
  height: 83.33%; /* 110 / 132 */
  border-radius: 999px;
}

.logo__hdr img {
  display: block;
  width: 100%;
  height: 100%;
}

/* La pastille passe en HDR au survol, et à la mise au point pour le clavier. */
.logo:hover .logo__hdr,
.logo:focus-visible .logo__hdr {
  visibility: visible;
}

/* Logo éteint par l'interrupteur de l'accueil. « display: none » et non
   « visibility: hidden » : cette règle et celle du survol ont la même
   spécificité, donc seul l'ordre les sépare. En agissant sur une autre
   propriété, l'extinction gagne quoi qu'il arrive. */
[data-ai="off"] .logo__hdr {
  display: none;
}

/* 7. En-tête ----------------------------------------------------------- */

.site-header {
  padding-block: 20px;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
}

.lang {
  position: relative;
  margin-left: 4px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.lang summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.lang summary .icon {
  font-size: 14px;
  stroke-width: 2.4;
  transition: transform 0.2s;
}

.lang[open] summary .icon {
  transform: rotate(180deg);
}

.lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-width: 168px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-tile);
  background: var(--white);
  box-shadow: 0 16px 40px -20px rgba(22, 10, 51, 0.4);
}

.lang__menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
}

.lang__menu a[aria-current] {
  background: var(--lavender);
  font-weight: 600;
}

.lang__menu .icon {
  font-size: 14px;
  color: var(--violet);
  stroke-width: 3;
}

.header-mobile {
  display: none;
  align-items: center;
  gap: 6px;
}

.lang-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle .icon {
  font-size: 20px;
  stroke-width: 2;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav .mobile-nav__lang {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .header-mobile {
    display: flex;
  }
}

@media (min-width: 861px) {
  .mobile-nav {
    display: none !important;
  }
}

/* 8. Accueil (hero) ---------------------------------------------------- */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-top: 64px;
  padding-bottom: 96px;
}

.hero__text {
  flex: 999 1 560px;
  min-width: 0;
}

.hero__eyebrow {
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(50px, 7vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.typed {
  color: var(--violet);
}

.caret {
  display: inline-block;
  width: 0.07em;
  height: 0.82em;
  margin-left: 0.05em;
  vertical-align: -0.04em;
  background: var(--violet);
  animation: caret-blink 1s steps(1) infinite;
}

@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.compare {
  display: flex;
  flex-direction: column;
  flex: 1 1 420px;
  gap: 20px;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: 0 24px 60px -32px rgba(74, 27, 176, 0.35);
}

.compare__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.compare__title {
  font-family: var(--font-title);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.compare__caption {
  color: var(--text-muted);
  font-size: 14px;
}

.compare__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.compare__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-tile);
  background: var(--lavender);
  font-size: 15px;
  font-weight: 600;
}

.chip {
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  font-size: 13px;
  text-align: right;
}

[data-ai="off"] .chip {
  background: var(--white);
  color: var(--text);
}

/* Textes affichés selon l'état de l'interrupteur */
[data-ai="off"] .when-on,
:root:not([data-ai="off"]) .when-off {
  display: none;
}

@media (max-width: 560px) {
  .hero__title {
    font-size: clamp(34px, 10vw, 50px);
  }
}

/* 9. Bandeau (approche) ------------------------------------------------ */

.band {
  background: var(--ink);
  color: var(--paper);
}

.band .container {
  padding-block: 96px;
}

.band__title {
  max-width: 1000px;
  font-size: clamp(36px, 4.8vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.band__title em,
.band__point--accent h3 {
  color: var(--lime);
  font-style: normal;
}

.band__points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 32px;
  margin-top: 56px;
}

.band__point {
  padding-top: 22px;
  border-top: 1px solid rgba(250, 248, 255, 0.2);
}

.band__point--accent {
  border-top-color: var(--lime);
}

.band__point h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.band__point p {
  color: var(--text-on-ink);
  line-height: 1.55;
}

/* 10. Offre ------------------------------------------------------------ */

.offer {
  padding-block: var(--section-space);
}

.offer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 16px;
}

.step {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
}

.step__badge {
  justify-self: start;
  align-self: start;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--violet);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.step h3 {
  font-size: 28px;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.step > p {
  color: var(--text);
  line-height: 1.6;
}

.step__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-tile);
  background: var(--lavender);
  font-size: 15px;
  font-weight: 600;
}

.check__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--violet);
  color: var(--white);
}

.check__mark .icon {
  font-size: 12px;
  stroke-width: 3;
}

.training {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: var(--radius-tile);
  background: var(--lime);
  font-size: 14px;
  line-height: 1.4;
}

.training strong {
  font-size: 13px;
}

/* Étape 03, mise en avant */
.step--accent {
  border: none;
  background: var(--violet);
  color: var(--white);
}

.step--accent .step__badge {
  background: var(--lime);
  color: var(--ink);
}

.step--accent > p {
  color: var(--lavender);
}

.mode {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border-radius: var(--radius-tile);
  background: var(--white);
  color: var(--ink);
}

.mode__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mode p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

/* 11. Cas d'usage ------------------------------------------------------ */

.uses {
  padding-block: var(--section-space);
  border-block: 1px solid var(--border);
  background: var(--white);
}

.uses__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.use {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--paper);
  transition: background var(--ease), color var(--ease);
}

.use[open] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.use summary {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 18px 24px;
  list-style: none;
  cursor: pointer;
}

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

.use__num {
  flex: none;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--violet);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.use[open] .use__num {
  background: var(--lime);
  color: var(--ink);
}

.use__label {
  flex: 1;
  font-family: var(--font-title);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.use:not([open]) .switch {
  justify-content: flex-start;
  background: var(--lavender-mid);
}

.use:not([open]) .switch__knob {
  background: var(--white);
}

.use__body {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0 24px 24px;
}

.use__intro {
  flex: 1 1 260px;
  color: var(--text-on-ink);
  font-size: 17px;
  line-height: 1.55;
}

.use__examples {
  display: grid;
  flex: 3 1 560px;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}

.example {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: var(--radius-tile);
  background: var(--tile-dark);
}

.example h3 {
  color: var(--lime);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.example p {
  color: var(--text-on-ink-soft);
  font-size: 14px;
  line-height: 1.45;
}

.example__value {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(250, 248, 255, 0.14);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.example__value .icon {
  margin-top: 2px;
  color: var(--lime);
  font-size: 16px;
  stroke-width: 2.4;
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 28px;
  padding: 18px 18px 18px 28px;
  border-radius: var(--radius-card);
  background: var(--lavender);
}

.cta-strip p {
  font-size: 17px;
  font-weight: 600;
}

/* 12. Clients ---------------------------------------------------------- */

.clients {
  padding-block: var(--section-space);
  border-block: 1px solid var(--border);
  background: var(--white);
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 72px;
  padding: 0 72px 0 0;
  margin: 0;
  list-style: none;
}

.marquee__group img {
  width: auto;
  height: 56px;
  filter: grayscale(1);
  opacity: 0.8;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* 13. À propos --------------------------------------------------------- */

.about {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: var(--section-space);
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
}

.about__main {
  display: flex;
  flex-wrap: wrap;
  flex: 999 1 560px;
  min-width: 0;
  overflow: hidden;
}

.about__portrait {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 220px;
  min-height: 280px;
  margin: 0;
  background: var(--lavender);
}

.about__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__portrait svg {
  width: 55%;
  max-width: 180px;
  height: auto;
}

.about__text,
.governance {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 36px;
}

.about__text {
  flex: 2 1 320px;
}

.about__text .eyebrow,
.governance .eyebrow {
  margin: 0;
}

.about__text h2 {
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.about__text p,
.governance p {
  color: var(--text);
  line-height: 1.6;
}

.about__text .founder {
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--ink);
  font-size: 15px;
}

.governance {
  flex: 1 1 320px;
  justify-content: flex-start;
  min-width: 0;
}

.governance h2 {
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.governance p {
  font-size: 15px;
}

/* 14. FAQ -------------------------------------------------------------- */

.faq {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-top: 96px;
}

.faq__title {
  flex: 1 1 280px;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.faq__list {
  flex: 999 1 560px;
  min-width: 0;
  border-bottom: 1px solid var(--border);
}

.faq__item {
  padding-block: 8px;
  border-top: 1px solid var(--border);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  font-size: 19px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

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

.faq__plus {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--violet);
  color: var(--white);
  transition: transform 0.2s;
}

.faq__plus .icon {
  font-size: 18px;
  stroke-width: 2.4;
}

.faq__item[open] .faq__plus {
  transform: rotate(45deg);
}

.faq__item p {
  max-width: 640px;
  margin-bottom: 20px;
  color: var(--text);
  line-height: 1.6;
}

/* 15. Appel à l'action ------------------------------------------------- */

.contact {
  padding-block: var(--section-space);
}

.contact__box {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(36px, 6vw, 84px);
  border-radius: var(--radius-card);
  background: var(--violet);
  color: var(--white);
}

.contact__text {
  flex: 999 1 560px;
  min-width: 0;
}

.contact__text h2 {
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.contact__text p {
  max-width: 500px;
  margin-top: 24px;
  color: var(--lavender);
  font-size: 19px;
}

.contact__actions {
  display: flex;
  flex: 1 1 280px;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}

.contact__actions .link {
  color: var(--white);
  font-weight: 600;
}

/* 16. Pied de page ----------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--text-on-ink);
  font-size: 14px;
}

.site-footer a {
  color: var(--text-on-ink);
}

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

.site-footer__main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-block: 64px 40px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 320px;
}

.site-footer__brand .logo svg {
  height: 36px;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: 44px;
  height: 44px;
  margin-left: -12px;
  border-radius: 50%;
}

.social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.offices {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}

.offices div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.offices strong {
  color: var(--lime);
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-bottom: 32px;
  color: var(--text-footer);
  font-size: 13px;
}

.site-footer__legal a {
  color: var(--text-footer);
}

/* 17. Pages internes --------------------------------------------------- */

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
}

.page-header__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: -12px; /* aligne le texte du dernier lien sur la marge */
  font-size: 15px;
  font-weight: 600;
}

.page-header__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  text-decoration: none;
}

.page-footer {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

.page-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 28px;
}

.page-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.page-footer a {
  color: var(--text-muted);
}

/* Rendez-vous */

.legal {
  max-width: 760px;
  padding-block: 56px 112px;
}

.legal h1 {
  margin-bottom: 12px;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.legal .updated {
  margin-bottom: 40px;
  color: var(--text-muted);
  font-size: 14px;
}

.legal h2 {
  margin: 44px 0 14px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: var(--text);
  line-height: 1.65;
}

.legal p + p {
  margin-top: 12px;
}

.legal ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
  padding-left: 22px;
}

.legal strong {
  color: var(--ink);
}

/* Les petits titres restent violets dans les blocs de texte */
.about__text .eyebrow,
.governance .eyebrow,
.legal .eyebrow,
.not-found .eyebrow {
  color: var(--violet);
}

/* 404 */

.not-found {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-block: 96px 140px;
}

.not-found h1 {
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.not-found p {
  max-width: 520px;
  color: var(--text);
  font-size: 18px;
}
