/* ==========================================================================
   Sync — feuille de style principale
   --------------------------------------------------------------------------
   Thème unique : fond en dégradé violet de gauche à droite (tiré de l'icône).
   Le hero et les téléphones reposent directement sur ce fond ; la liste
   d'attente et les messages sont des encadrés en verre dépoli violet clair
   à bordure blanche.

   Sommaire
     1. Polices
     2. Variables (palette, verre, typo, rayons, espacements)
     3. Base et fond
     4. Verre dépoli (encadrés)
     5. Utilitaires et mise en page
     6. Boutons
     7. En-tête
     8. Hero
     9. Titres de section
    10. Fonctionnalités (cadre téléphone + vidéos)
    11. Disponibilités en temps réel (captures)
    12. Vision
    13. Liste d'attente (formulaire)
    14. Pied de page
    15. Pages secondaires (FAQ, confidentialité, 404)
    16. Apparition au défilement et mouvement réduit
   ========================================================================== */


/* 1. Polices ---------------------------------------------------------------
   Hébergées localement (assets/fonts) : plus rapide, fonctionne hors ligne
   et n'envoie aucune donnée de visiteur à un service tiers. Licence OFL.
   Bricolage Grotesque (titres) est réduite à la seule graisse 800, avec la
   taille optique variable : 37 Ko au lieu de 75.                           */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("../assets/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}


/* 2. Variables -------------------------------------------------------------
   L'icône (assets/icon.png) contient un indigo nuit #201433 (teinte 263°)
   et du blanc. Le dégradé et le verre sont des variations de ce même
   violet. Contrastes vérifiés (WCAG AA) sur toute la largeur du dégradé,
   y compris sur le verre du côté le plus clair (pire cas : 5,0:1).         */

:root {
  color-scheme: dark;

  /* Couleurs de marque (icône) */
  --color-primary: #201433;          /* indigo nuit, fond de l'icône          */
  --color-secondary: #473465;        /* indigo moyen                          */
  --color-accent-strong: #603b9b;    /* violet de la case à cocher            */

  /* Page : dégradé violet de gauche (foncé) à droite (plus clair) */
  --color-bg: #2a1748;               /* couleur du milieu, sert de repli      */
  --bg-gradient: linear-gradient(90deg, #190d2c 0%, #2a1748 50%, #3f2470 100%);

  /* Texte */
  --color-text: #ffffff;             /* 12,4:1 minimum sur le fond            */
  --color-text-muted: #cfc6e0;       /* 7,5:1 sur le fond, 6,1:1 sur verre    */
  --color-accent: #c9b8f0;           /* surtitres, liens : 5,5:1 sur verre    */
  --color-line: rgba(255, 255, 255, 0.16);   /* séparateurs                  */
  --color-chip: rgba(186, 160, 238, 0.14);   /* pastilles d'icônes           */
  --color-hover: rgba(255, 255, 255, 0.1);   /* survol des liens             */
  --color-light-hover: #e8e0fa;      /* survol des boutons blancs             */
  --color-phone: #0e0a16;            /* contour du téléphone                  */
  --color-error: #ffb4ab;            /* messages d'erreur : 6,2:1 sur verre   */

  /* Verre dépoli : violet clair translucide, bordure blanche */
  --glass-bg: rgba(186, 160, 238, 0.12);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-blur: 20px;
  --glass-shadow:
    0 24px 48px -24px rgba(8, 3, 20, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  /* Typographie */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rayons (cohérents partout) */
  --radius-sm: 12px;   /* champs, petits éléments */
  --radius-md: 20px;   /* encadrés                */
  --radius-lg: 28px;   /* grands panneaux         */
  --radius-pill: 999px;

  /* Espacements et dimensions */
  --gutter: 16px;
  --container: 1160px;
  --header-h: 64px;
  --section-space: clamp(4.5rem, 10vw, 8rem);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-phone: 0 32px 64px -24px rgba(5, 2, 12, 0.7);
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --header-h: 72px;
  }
}

/* Navigateurs sans flou d'arrière-plan : verre plus opaque, toujours lisible */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root {
    --glass-bg: rgba(64, 44, 102, 0.92);
  }
}


/* 3. Base et fond ---------------------------------------------------------- */

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

html {
  background-color: var(--color-bg);
  background-image: var(--bg-gradient);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Les ancres ne passent pas sous l'en-tête collant */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem);
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

[hidden] {
  display: none !important;
}

::selection {
  background: var(--color-accent);
  color: var(--color-primary);
}


/* 4. Verre dépoli -----------------------------------------------------------
   Les encadrés (liste d'attente, messages du formulaire, avis) partagent le
   même style : violet clair translucide, flou de l'arrière-plan et bordure
   blanche. Le hero et les téléphones n'ont pas d'encadré.                  */

.waitlist,
.form-success,
.form__status.is-error,
.notice,
.team-member {
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
}


/* 5. Utilitaires et mise en page ------------------------------------------- */

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

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

.section--tight-top {
  padding-top: 0;
}

/* Lien d'évitement : visible seulement au clavier */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* Icône de l'app dans un conteneur rond, cerclé de blanc */
.logo-round {
  --logo-size: 40px;
  display: inline-block;
  flex: none;
  width: var(--logo-size);
  height: var(--logo-size);
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45);
}

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

/* Halo plus large pour les grands logos */
.logo-round--on-dark {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 0 8px rgba(255, 255, 255, 0.06);
}

.caps {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}


/* 6. Boutons ----------------------------------------------------------------
   Boutons pleins blancs (texte indigo, 17,4:1) et bouton fantôme à bordure
   blanche.                                                                  */

.btn {
  --btn-bg: #ffffff;
  --btn-fg: var(--color-primary);
  --btn-bg-hover: var(--color-light-hover);
  --btn-border: transparent;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.375rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 200ms var(--ease),
    border-color 200ms var(--ease),
    color 200ms var(--ease),
    transform 200ms var(--ease);
}

.btn:hover {
  background: var(--btn-bg-hover);
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  min-height: 44px;
  padding: 0 1.125rem;
  font-size: 0.9375rem;
}

.btn--lg {
  min-height: 56px;
  padding: 0 1.75rem;
  font-size: 1.0625rem;
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--color-text);
  --btn-bg-hover: var(--color-hover);
  --btn-border: rgba(255, 255, 255, 0.55);
}

.btn--ghost-light:hover {
  --btn-border: #ffffff;
}

.btn[disabled] {
  cursor: progress;
  opacity: 0.85;
}


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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(31, 17, 52, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: border-color 200ms var(--ease);
}

/* Fine bordure dès qu'on a défilé (classe ajoutée par main.js) */
.site-header.is-scrolled {
  border-bottom-color: var(--color-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--color-text);
  text-decoration: none;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav-component {
  display: flex;
  align-items: center;
}

.site-nav__list {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 200ms var(--ease);
}

.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] {
  background: var(--color-hover);
}

/* Mobile : seulement l'icône, la FAQ et le bouton */
.site-nav__item--wide {
  display: none;
}

@media (max-width: 359px) {
  .site-nav__item--faq {
    display: none;
  }
}

@media (min-width: 768px) {
  .site-nav {
    gap: 12px;
  }

  .site-nav__item--wide {
    display: block;
  }
}


/* 8. Hero ------------------------------------------------------------------- */

.hero {
  padding-top: 8px;
}

/* Pas d'encadré : le titre repose directement sur le dégradé */
.hero__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding:
    clamp(2.5rem, 8vw, 6rem)
    0
    clamp(4.5rem, 12vw, 9rem);
  text-align: center;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
  margin-inline: auto;
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.hero__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero__title {
  font-size: clamp(2.5rem, 1.5rem + 5vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.hero__lead {
  max-width: 36rem;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-text-muted);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: clamp(2rem, 5vw, 2.75rem);
}

@media (min-width: 560px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }
}

/* Motif : l'anneau et le point de l'icône, en grand, qui affleurent en bas.
   Le masque fait disparaître l'arc en douceur vers les bords. */
.hero__rings {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 70% at 50% 100%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 70% at 50% 100%, #000 45%, transparent 100%);
}

.hero__rings::before,
.hero__rings::after {
  content: "";
  position: absolute;
  left: 50%;
  border-radius: 50%;
  transform: translateX(-50%);
}

.hero__rings::before {
  top: calc(100% - clamp(48px, 9vw, 96px));
  width: max(900px, 120%);
  aspect-ratio: 1;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
}

.hero__rings::after {
  top: calc(100% - clamp(48px, 9vw, 96px) - 5px);
  width: 10px;
  height: 10px;
  background: #ffffff;
}


/* 9. Titres de section ------------------------------------------------------ */

.section-head {
  max-width: 760px;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-head__lead {
  max-width: 40rem;
  margin-top: 1.25rem;
  color: var(--color-text-muted);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
}


/* 10. Fonctionnalités ------------------------------------------------------- */

.features {
  display: grid;
  gap: clamp(4rem, 10vw, 8rem);
}

.feature {
  display: grid;
  align-items: center;
  gap: 2rem;
}

/* Ordinateur : deux colonnes, vidéo à gauche puis à droite en alternance */
@media (min-width: 900px) {
  .feature {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(3rem, 7vw, 6.5rem);
  }

  .feature:nth-child(even) .feature__media {
    order: 2;
  }
}

/* Pas d'encadré : le téléphone repose directement sur le dégradé.
   Le bloc épouse la largeur du téléphone pour y accrocher le bouton pause. */
.feature__media {
  position: relative;
  justify-self: center;
  width: fit-content;
}

.feature__text h3 {
  font-size: clamp(1.75rem, 1.15rem + 2.4vw, 2.75rem);
}

.feature__text p:not(.eyebrow) {
  max-width: 30rem;
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
}

/* Cadre de téléphone en CSS */
.phone {
  width: clamp(220px, 64vw, 300px);
  padding: 9px;
  border-radius: 46px;
  background: var(--color-phone);
  box-shadow:
    var(--shadow-phone),
    inset 0 0 0 1.5px #2c2340;
}

.phone__screen {
  position: relative;
  isolation: isolate;          /* garde les coins arrondis pendant la lecture (Safari) */
  overflow: hidden;
  aspect-ratio: 720 / 1480;   /* format des vidéos */
  border-radius: 37px;
  background: var(--color-phone);
}

.phone__video {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  cursor: pointer;
}

/* Grand symbole « lecture » si la lecture automatique est bloquée */
.phone__play-hint {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  pointer-events: none;
}

.phone__play-hint svg {
  width: 64px;
  height: 64px;
  padding: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  fill: var(--color-primary);
  box-shadow: 0 8px 24px rgba(14, 10, 22, 0.35);
}

.is-blocked:not(.is-playing) .phone__play-hint {
  display: grid;
}

/* Bouton pause / lecture : pastille blanche accrochée au bas du téléphone */
.video-toggle {
  position: absolute;
  right: -18px;
  bottom: 40px;
  box-shadow: 0 8px 20px -6px rgba(5, 2, 12, 0.6);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffffff;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-primary);
  cursor: pointer;
  transition: background-color 200ms var(--ease);
}

.video-toggle:hover {
  background: var(--color-light-hover);
}

.video-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.video-toggle .icon-pause,
.is-playing .video-toggle .icon-play {
  display: none;
}

.is-playing .video-toggle .icon-pause {
  display: block;
}


/* 11. Disponibilités en temps réel ------------------------------------------
   Deux captures de l'app côte à côte, chacune dans un cadre de téléphone.   */

.realtime {
  display: grid;
  gap: clamp(3.5rem, 8vw, 4rem);
}

@media (min-width: 820px) {
  .realtime {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }
}

/* Pas d'encadré : téléphone puis texte, centrés */
.realtime__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.realtime__media {
  display: grid;
  place-items: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.25rem);
}

.realtime__text {
  max-width: 30rem;
}

.realtime__text h3 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}

.realtime__text p:not(.eyebrow) {
  margin-top: 0.75rem;
  color: var(--color-text-muted);
}

/* Cadre de téléphone plus petit pour les captures */
.phone--small {
  width: clamp(200px, 56vw, 250px);
}

.phone__screen picture {
  display: block;
  height: 100%;
}

.phone__img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: top;
}


/* 12. Vision ---------------------------------------------------------------- */

.vision {
  display: grid;
  gap: 3rem;
}

@media (min-width: 960px) {
  .vision {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: 5rem;
  }
}

.pillars {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding: 1.75rem 0;
  border-top: 1px solid var(--color-line);
}

.pillar:last-child {
  border-bottom: 1px solid var(--color-line);
}

/* Pastille ronde violet clair à bordure blanche */
.pillar__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: var(--color-chip);
  color: var(--color-text);
}

.pillar__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar h3 {
  font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.4375rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.pillar p {
  margin-top: 0.375rem;
  color: var(--color-text-muted);
}


/* 13. Liste d'attente -------------------------------------------------------- */

.waitlist {
  display: grid;
  gap: 2.5rem;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.25rem, 5vw, 5rem);
  border-radius: var(--radius-lg);
}

@media (min-width: 900px) {
  .waitlist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 4rem;
  }
}

.waitlist__intro h2 {
  margin-top: 1.5rem;
}

.waitlist__intro p {
  max-width: 28rem;
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
}

.form {
  display: grid;
  gap: 1.25rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 600;
}

.field__optional {
  color: var(--color-text-muted);
  font-weight: 400;
}

/* Champs blancs : lisibilité maximale (texte indigo, 17,4:1) */
.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 0 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--color-primary);
  font-family: inherit;
  font-size: 1rem;              /* 16 px minimum : évite le zoom sur iPhone */
  transition: border-color 200ms var(--ease);
}

.field input[aria-invalid="true"] {
  border-color: var(--color-error);
}

.field__error {
  color: var(--color-error);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* Case de consentement */
.field--check {
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

.field--check input {
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  accent-color: var(--color-accent-strong);
  color-scheme: light;          /* case blanche, bien visible sur le verre */
  cursor: pointer;
}

.field--check label {
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}

.field--check input[aria-invalid="true"] {
  outline: 2px solid var(--color-error);
  outline-offset: 2px;
}

.field__hint,
.field--check .field__error {
  grid-column: 2;
}

.field__hint {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.form__submit {
  width: 100%;
  margin-top: 0.25rem;
}

.form__status:empty {
  display: none;
}

/* Message d'erreur : encadré de verre, texte rosé */
.form__status.is-error {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--color-error);
  font-size: 0.9375rem;
}

/* Piège à robots, hors écran */
.form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Message de succès : encadré de verre */
.form-success {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-md);
}

.form-success:focus {
  outline: none;
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-primary);
}

.form-success__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h3 {
  margin-top: 1.25rem;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
}

.form-success p {
  margin-top: 0.5rem;
  color: var(--color-text-muted);
}


/* 14. Pied de page ----------------------------------------------------------- */

.site-footer {
  padding-block: 3.5rem 2rem;
  border-top: 1px solid var(--color-line);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer__brand p {
  margin-top: 0.5rem;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 28px;
  }
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Élément pas encore disponible (texte simple, non cliquable) */
.footer-links__soon {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-text-muted);
}

.site-footer__bottom {
  margin-top: 2.5rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}


/* 15. Pages secondaires ------------------------------------------------------ */

.page {
  padding-block: clamp(3rem, 8vw, 6rem) var(--section-space);
}

.page__head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.page__head h1 {
  font-size: clamp(2.25rem, 1.5rem + 3.5vw, 4rem);
  letter-spacing: -0.04em;
}

.page__head .section-head__lead {
  margin-top: 1rem;
}

/* Marqueur « À COMPLÉTER » */
.todo {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  border: 1.5px dashed var(--color-accent);
  border-radius: var(--radius-pill);
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

/* Encadré d'information : verre dépoli (section 4) */
.notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* Texte long (confidentialité) */
.prose {
  max-width: 720px;
}

.prose h2 {
  margin-top: 3rem;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  letter-spacing: -0.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose ul {
  margin-top: 1rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.5rem;
}

/* FAQ : accordéons natifs <details> */
.faq {
  max-width: 760px;
  border-top: 1px solid var(--color-line);
}

.faq-item {
  border-bottom: 1px solid var(--color-line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 1.375rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

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

/* Icône + / − dessinée en CSS, dans une pastille à bordure blanche */
.faq-item__icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: var(--color-chip);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text);
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__icon::after {
  display: none;
}

.faq-item__answer {
  padding-bottom: 1.5rem;
  color: var(--color-text-muted);
}

.faq-item__answer p + p {
  margin-top: 0.75rem;
}

.page__cta {
  margin-top: 3rem;
}

.team {
  max-width: 1000px;
}

.team .section-head {
  margin-bottom: 2rem;
}

.team .section-head h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.75rem, 1.4rem + 2vw, 2.5rem);
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.team-member {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height:auto;
  padding: 1rem;
  border-radius: var(--radius-md);
}

.team-member__photo {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  border: 1px dashed var(--glass-border);
  border-radius: var(--radius-sm);
  background: rgba(25, 13, 44, 0.28);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  text-align: center;
}

.team-member h3 {
  margin-top: 1rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  overflow-wrap: anywhere;
}

.team-member__role {
  margin-top: 0.375rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.team-member__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: auto;
  padding-top: 1rem;
}

.team-member__links a {
  color: var(--color-accent);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.team-member__links a:hover {
  text-decoration: underline;
}

@media (min-width: 560px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 960px) {
  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* 16. Apparition au défilement ----------------------------------------------
   La classe .has-reveal est ajoutée par main.js seulement si le mouvement
   est permis : sans JavaScript, tout reste visible.                         */

@media (prefers-reduced-motion: no-preference) {
  .has-reveal .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 400ms var(--ease),
      transform 400ms var(--ease);
  }

  .has-reveal .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Mouvement réduit : aucune animation ni transition */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
