/* ==================================================================
   L'Atelier Kundxa : feuille de style commune aux quatre pages.
   Tokens repris de kundxa-site/app/globals.css (Brand Book v1.0).

   Composition : ~60 % midnight + dusk, ~30 % blanc, ~10 % doré.
   Doré uniquement sur midnight ou dusk. Sur blanc, l'accent est dusk.
   Texte sur doré : toujours midnight.

   Polices auto-hébergées (assets/fonts), aucune requête vers un tiers.
   ================================================================== */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-italic-latin.woff2") format("woff2");
}
/* Plex Sans est servi en police variable : un seul fichier pour 400 à 600. */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/plex-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/plex-mono-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/plex-mono-500-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;

  --midnight: #16253d;
  --dusk: #002c54;
  --deep: #0f1c31;
  --panel: #13213a;
  --gold: #efb509;
  --gold-hover: #f6c635;
  --paper: #ffffff;
  --raised: #f5f6f8;
  --ink: #16253d;
  --ink-muted: #5a6270;
  --line-light: #e3e6eb;
  --muted: #a9b4c4;
  --border: rgba(255, 255, 255, 0.12);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --text-display: clamp(2.6rem, 1.55rem + 4.4vw, 4.625rem);
  --text-h1: clamp(2.4rem, 1.65rem + 3.2vw, 4rem);
  --text-h2: clamp(2rem, 1.45rem + 2.3vw, 3.375rem);
  --text-h3: clamp(1.3rem, 1.18rem + 0.5vw, 1.625rem);
  --text-quote: clamp(1.6rem, 1.25rem + 1.5vw, 2.5rem);
  --text-lead: clamp(1.075rem, 1rem + 0.35vw, 1.25rem);

  --section-py: clamp(5rem, 9vw, 8.5rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 5rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--midnight);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

::selection {
  background: var(--gold);
  color: var(--midnight);
}

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

/* L'attribut hidden doit gagner sur les display: flex/grid des composants. */
[hidden] {
  display: none !important;
}

.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;
}

/* ---------------------------------------------------------- mise en page */

.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow {
  max-width: 48rem;
}

.section {
  position: relative;
  padding: var(--section-py) 0;
}
.tone-deep {
  background: var(--deep);
}
.tone-light {
  background: var(--paper);
  color: var(--ink);
}
.tone-raised {
  background: var(--raised);
  color: var(--ink);
}

.bg-hero {
  background:
    radial-gradient(70% 60% at 78% 38%, rgba(239, 181, 9, 0.13), transparent 60%),
    linear-gradient(170deg, #0f1c31 0%, #002c54 100%);
}
.bg-cta {
  background:
    radial-gradient(60% 70% at 18% 28%, rgba(239, 181, 9, 0.12), transparent 60%),
    linear-gradient(160deg, #16253d 0%, #002c54 100%);
}
.bg-night {
  background: linear-gradient(160deg, #16253d 0%, #002c54 100%);
}

.glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* ------------------------------------------------------------ typographie */

.kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.tone-light .kicker,
.tone-raised .kicker {
  color: var(--dusk);
}

.display,
.h1,
.h2,
.h3,
.quote {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.display {
  font-size: var(--text-display);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.h1 {
  font-size: var(--text-h1);
  line-height: 1.06;
  letter-spacing: -0.022em;
}
.h2 {
  font-size: var(--text-h2);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.h3 {
  font-size: var(--text-h3);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.quote {
  font-size: var(--text-quote);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 400;
}

/* Un titre de marque : exactement un mot en italique, doré sur fond sombre. */
em.accent {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
}
.tone-light em.accent,
.tone-raised em.accent {
  color: var(--dusk);
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.6;
  color: var(--muted);
}
.tone-light .lead,
.tone-raised .lead {
  color: var(--ink-muted);
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.9375rem;
  line-height: 1.55;
}
.caption {
  font-size: 0.875rem;
  line-height: 1.5;
}

.micro {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.micro::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------------------------------------------------------------- boutons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.5rem;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 0.15s ease-out,
    background-color 0.15s ease-out,
    border-color 0.15s ease-out,
    transform 0.15s ease-out;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-sm {
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
}
.btn-lg {
  padding: 1rem 1.75rem;
}
.btn-primary {
  background: var(--gold);
  color: var(--midnight);
}
.btn-primary:hover:not(:disabled) {
  background: var(--gold-hover);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(1px);
}
.btn-primary:focus-visible {
  outline-color: var(--paper);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--paper);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn svg {
  width: 1.1em;
  height: 1.1em;
}

/* Icônes au trait (2 px, caps arrondis), comme sur kundxa.com. */
svg.line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----------------------------------------------------------------- header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}
.site-header.condense {
  background: rgba(15, 28, 49, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}
.site-header .logo {
  display: flex;
  flex: none;
  border-radius: var(--radius-sm);
}
.site-header .logo img {
  height: 2rem;
  width: auto;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-link {
  font-size: 0.9375rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-link:hover {
  color: var(--paper);
}
.nav-link svg {
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.25em;
  vertical-align: -0.05em;
}

/* ------------------------------------------------------------------- hero */

.hero .container {
  display: grid;
  align-items: center;
  gap: 3.5rem;
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 5rem;
}
.hero-copy > * + * {
  margin-top: 1.75rem;
}
.hero-copy .display {
  margin-top: 1.5rem;
}
.hero-copy .lead {
  max-width: 36rem;
}

/* ---------------------------------------------------- carte d'inscription */

.signup-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.signup-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gold);
}
.signup-card .h3 {
  margin-top: 0.75rem;
}
.signup-card .card-sub {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}
.bonus {
  margin-top: 1.25rem;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(239, 181, 9, 0.35);
  border-radius: var(--radius-md);
  background: rgba(239, 181, 9, 0.06);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}
.bonus strong {
  color: var(--gold);
  font-weight: 600;
}

.signup-form,
.stack-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.field label,
.lbl {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.field label .opt {
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.8rem 1rem;
  font-family: var(--sans);
  font-size: 1.0625rem;
  color: var(--paper);
  transition: border-color 0.15s;
}
.input::placeholder {
  color: rgba(169, 180, 196, 0.7);
}
.input:focus-visible {
  border-color: var(--gold);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Piège à robots : hors écran et hors du parcours clavier. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.15rem 0 0;
  accent-color: var(--gold);
  cursor: pointer;
}
.consent a {
  color: var(--muted);
  text-underline-offset: 3px;
}
.consent a:hover {
  color: var(--paper);
}

.form-msg {
  min-height: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}
/* Vide : n'ajoute pas l'écart du flex sous le bouton (la région reste dans le DOM pour aria-live). */
.form-msg:empty {
  min-height: 0;
  margin-top: -1rem;
}
.form-msg.error {
  color: #ffb4a8;
}
.form-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: rgba(169, 180, 196, 0.85);
}

.success-state {
  display: none;
  padding: 0.75rem 0 0.25rem;
}
.success-state.show {
  display: block;
  animation: monte 0.6s var(--ease) both;
}
.success-ico {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}
.success-ico svg {
  width: 1.5rem;
  height: 1.5rem;
}
.success-state .h3 {
  margin-top: 1.25rem;
}
.success-state p {
  margin-top: 0.75rem;
  color: var(--muted);
}

/* ---------------------------------------------------------- bandeau outils */

.stackbar {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--deep);
  padding: 1.5rem 0;
}
.stackbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem clamp(1.25rem, 4vw, 3rem);
}
.stackbar .kicker {
  flex-basis: 100%;
  text-align: center;
  color: var(--muted);
}
.stackbar span.tool {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--paper);
}
.stackbar span.tool::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ------------------------------------------------------------- sections */

.section-head {
  max-width: 44rem;
}
.section-head .h2 {
  margin-top: 1.25rem;
}
.section-head .lead {
  margin-top: 1.25rem;
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 3.5rem;
}
.card {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.card-ico {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(239, 181, 9, 0.35);
  border-radius: var(--radius-md);
  background: rgba(239, 181, 9, 0.08);
  color: var(--gold);
}
.card-ico svg {
  width: 1.3rem;
  height: 1.3rem;
}
.card .h3 {
  margin-top: 1.25rem;
}
.card p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Pour qui : section claire, accents dusk. */
.forwho {
  display: grid;
  gap: 1rem;
  margin-top: 3.5rem;
}
.forwho .col {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--paper);
  padding: 1.75rem;
}
.forwho .col.yes {
  border-color: rgba(0, 44, 84, 0.35);
}
.forwho .col h3 {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.forwho .col.yes h3 {
  color: var(--dusk);
}
.forwho .col.no h3 {
  color: var(--ink-muted);
}
.forwho ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}
.forwho li {
  display: flex;
  gap: 0.75rem;
  color: var(--ink);
}
.forwho .col.no li {
  color: var(--ink-muted);
}
.forwho li svg {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.3rem;
}
.forwho .col.yes li svg {
  color: var(--dusk);
}

/* Qui vous écrit */
.founder {
  display: grid;
  align-items: center;
  gap: 3rem;
}
.founder .photo {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 26rem;
  aspect-ratio: 4 / 5;
  border-radius: 1.375rem;
}
.founder .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.founder .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 44, 84, 0.9));
}
.founder .quote {
  margin-top: 1.5rem;
}
.founder .who {
  margin-top: 1.75rem;
  color: var(--muted);
}
.founder .who strong {
  color: var(--paper);
  font-weight: 600;
}
.founder .closer {
  margin-top: 1.25rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--paper);
}
.founder .sign {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Appel final */
.final {
  text-align: center;
}
.final .h2 {
  margin-top: 1.25rem;
}
.final .lead {
  max-width: 34rem;
  margin: 1.25rem auto 0;
}
.final .signup-form {
  max-width: 32rem;
  margin: 2.25rem auto 0;
  text-align: left;
}
.final .inline {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.final .success-state {
  max-width: 32rem;
  margin: 2.25rem auto 0;
}
.final .success-ico {
  margin: 0 auto;
}

/* ----------------------------------------------------- pages simples */

.page-main {
  min-height: calc(100svh - 12rem);
  padding: calc(var(--header-h) + 4rem) 0 6rem;
}
.state-card {
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 5vw, 3.5rem);
}
.state-card .h1 {
  margin-top: 1.25rem;
}
.state-card .lead {
  margin-top: 1.25rem;
}
.state-card .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.state {
  display: none;
}
.state.show {
  display: block;
  animation: monte 0.6s var(--ease) both;
}
.state-ico {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.75rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}
.state-ico.err {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--muted);
}
.state-ico svg {
  width: 1.5rem;
  height: 1.5rem;
}
.text-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link:hover {
  opacity: 0.8;
}

/* Pages légales */
.legal {
  color: var(--muted);
}
.legal .h1 {
  margin-top: 1.25rem;
  color: var(--paper);
}
.legal .updated {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
}
.legal .intro {
  margin-top: 2rem;
}
.legal section {
  margin-top: 3rem;
}
.legal h2 {
  font-size: var(--text-h3);
  line-height: 1.25;
  color: var(--paper);
}
.legal h2 .num {
  margin-right: 0.5rem;
  font-family: var(--mono);
  font-size: 0.85em;
  color: var(--gold);
}
.legal p,
.legal ul {
  margin-top: 1rem;
}
.legal ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1.25rem;
  list-style: disc;
}
.legal li::marker {
  color: var(--gold);
}
.legal strong {
  color: var(--paper);
  font-weight: 600;
}
.legal a {
  color: var(--gold);
  text-underline-offset: 3px;
}
.legal dl {
  margin: 1rem 0 0;
  border-block: 1px solid var(--border);
}
.legal dl > div {
  display: grid;
  gap: 0.25rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
}
.legal dl > div:last-child {
  border-bottom: 0;
}
.legal dt {
  color: var(--paper);
  font-weight: 600;
}
.legal dd {
  margin: 0;
}
.table-wrap {
  margin-top: 1.25rem;
  overflow-x: auto;
}
.legal table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}
.legal th {
  padding: 0.75rem 1.25rem 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.legal td {
  padding: 0.875rem 1.25rem 0.875rem 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal td:first-child {
  color: var(--paper);
  font-weight: 600;
}

/* ----------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--deep);
  padding: 4.5rem 0 2.5rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 1.5rem;
}
.foot-grid > :first-child {
  grid-column: 1 / -1;
}
.foot-logo {
  height: 2rem;
  width: auto;
}
.foot-sign {
  margin-top: 1.25rem;
  font-family: var(--serif);
  font-size: var(--text-h3);
  font-style: italic;
  line-height: 1.25;
}
.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}
.socials a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.15s,
    background-color 0.15s;
}
.socials a:hover {
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.08);
}
.socials svg {
  width: 18px;
  height: 18px;
}
.foot-col .kicker {
  margin-bottom: 1.25rem;
}
.foot-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9375rem;
}
.foot-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.foot-link:hover {
  color: var(--paper);
}
.foot-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: var(--muted);
}
.foot-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

/* ------------------------------------------------------------ animations */

@keyframes monte {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* L'état initial n'est appliqué que si le JS a pris la main : sans JS, tout reste visible. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
}
[data-reveal] {
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------- responsive */

@media (min-width: 640px) {
  .final .inline {
    flex-direction: row;
  }
  .final .inline .input {
    flex: 1;
  }
  .final .inline .btn {
    flex: none;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .legal dl > div {
    grid-template-columns: 11rem 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .forwho {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-grid {
    grid-template-columns: 1.3fr 0.6fr 0.6fr;
  }
  .foot-grid > :first-child {
    grid-column: auto;
  }
  .stackbar .kicker {
    flex-basis: auto;
  }
  .foot-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hero .container {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    min-height: min(100svh, 56rem);
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 4rem;
  }
  .founder {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
  }
}

@media (max-width: 639px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js-reveal [data-reveal],
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
