/* =============================================
   IDOBCLUB — feuille de style
   ============================================= */

/* Polices hébergées sur le site (aucun appel à Google Fonts) — licence SIL Open Font License */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0f1215;
  --ink-2: #4a5057;
  --ink-3: #6b7279;
  --paper: #ffffff;
  --paper-2: #f4f4f1;
  --line: #e4e4df;
  --line-strong: #c9c9c2;

  --dark: #0b0d11;
  --dark-line: rgba(255, 255, 255, 0.14);
  --on-dark: rgba(255, 255, 255, 0.9);
  --on-dark-2: rgba(255, 255, 255, 0.64);
  --on-dark-3: rgba(255, 255, 255, 0.46);

  --accent: #4ade80;
  --accent-ink: #15803d;
  --accent-soft: rgba(74, 222, 128, 0.22);
  --ok-text: #166534;
  --wait-bg: rgba(245, 158, 11, 0.18);
  --wait-text: #92400e;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --section-py: 96px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-hover: 0 18px 40px -18px rgba(15, 18, 21, 0.28);
}

/* ---- BASE ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
mark { background: none; color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.arrow { display: inline-block; transition: transform 0.25s var(--ease); }

/* ---- EN-TÊTES DE SECTION ---- */
.sec-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.sec-label::after { content: ''; flex: 1; height: 1px; background: var(--line-strong); }

.sec-head { margin-bottom: 48px; }

.sec-head-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 16px 64px;
  align-items: end;
}

.sec-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.sec-intro { font-size: 1.02rem; color: var(--ink-2); max-width: 42ch; }

/* ---- APPARITION AU SCROLL ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---- BOUTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover .arrow { transform: translateX(3px); }

.btn-dark { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-dark:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn-dark:disabled { cursor: progress; opacity: 0.85; }

.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---- MARQUE ---- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-name span { color: var(--accent-ink); }

.club-mark {
  --club-word: var(--accent-ink);
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  height: 34px;
  aspect-ratio: 383 / 240;
}
.club-mark::before,
.club-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.club-mark::before {
  background-color: currentColor;
  -webkit-mask-image: url("img/club-mark-id.png");
  mask-image: url("img/club-mark-id.png");
}
.club-mark::after {
  background-color: var(--club-word);
  -webkit-mask-image: url("img/club-mark-word.png");
  mask-image: url("img/club-mark-word.png");
}

.logo-glyph {
  display: inline-block;
  flex-shrink: 0;
  height: 22px;
  aspect-ratio: 383 / 240;
  background-color: currentColor;
  -webkit-mask: url("img/logo-glyph.png") center / contain no-repeat;
  mask: url("img/logo-glyph.png") center / contain no-repeat;
}

/* =======================================
   EN-TÊTE
   ======================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.header.scrolled,
.header:has(.nav-links.open) {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

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

.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--ink); }

.nav-cta {
  margin-left: 12px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.2s;
}
.nav-cta:hover { background: var(--accent-ink); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; margin-right: -10px; }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

/* =======================================
   ACCUEIL
   ======================================= */
.hero { padding-top: calc(var(--header-h) + 64px); background: var(--paper); }

.hero-eyebrow { margin-bottom: 24px; font-size: 0.95rem; font-weight: 500; color: var(--ink-2); }

.hero-title {
  max-width: 12.5ch;
  font-size: clamp(2.8rem, 7.6vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  animation: rise 0.8s var(--ease) both;
}

.hero-mark {
  display: inline-block;
  padding: 0 0.1em 0.04em;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat left center / 0% 100%;
  transform: rotate(-1.5deg);
  animation: markIn 0.6s var(--ease) 0.6s forwards;
}

@keyframes rise { from { opacity: 0; transform: translateY(0.2em); } to { opacity: 1; transform: none; } }
@keyframes markIn { to { background-size: 100% 100%; } }

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: end;
  margin-top: 36px;
}
.hero-sub { max-width: 46ch; font-size: 1.15rem; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stage {
  margin-top: 64px;
  background: linear-gradient(var(--paper) 55%, var(--dark) 55%);
}

/* ---- Maquette d'écran ---- */
.app {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 40px 80px -40px rgba(15, 18, 21, 0.45);
  font-size: 0.9rem;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}
.app-logo { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.02em; }
.app-logo span { color: var(--accent-ink); }
.app-search {
  flex: 1;
  max-width: 340px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  font-size: 0.85rem;
  color: var(--ink-3);
}
.app-user { margin-left: auto; font-size: 0.85rem; font-weight: 500; color: var(--ink-2); }

.app-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); }

.app-side { display: flex; flex-direction: column; gap: 2px; padding: 16px 12px; border-right: 1px solid var(--line); }
.app-side span { padding: 8px 12px; border-radius: var(--radius-sm); color: var(--ink-2); }
.app-side .is-active { background: var(--paper-2); color: var(--ink); font-weight: 600; }

.app-main { padding: 22px 26px 12px; }

.app-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.app-head strong { font-family: var(--font-display); font-size: 1.2rem; }
.app-btn { padding: 7px 12px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 600; }

.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.app-stats div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.app-stats span { display: block; font-size: 0.78rem; color: var(--ink-3); }
.app-stats strong { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; }

.app-table { width: 100%; border-collapse: collapse; }
.app-table th {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
  color: var(--ink-3);
}
.app-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); }
.app-table tr:last-child td { border-bottom: none; }

.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.pill-ok { background: var(--accent-soft); color: var(--ok-text); }
.pill-wait { background: var(--wait-bg); color: var(--wait-text); }

.pill-flip { display: inline-grid; }
.pill-flip > .pill { grid-area: 1 / 1; justify-self: start; }
.pill-flip > .pill-ok { opacity: 0; }
.app.revealed .pill-flip > .pill-wait { animation: fadeOut 0.3s ease 2.1s forwards; }
.app.revealed .pill-flip > .pill-ok { animation: popIn 0.35s var(--ease) 2.2s forwards; }

.check {
  position: relative;
  display: inline-block;
  width: 20px; height: 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  vertical-align: middle;
}
.check::after {
  content: '';
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
}
.app.revealed .check:not(.check-off) { animation: checkBox 0.3s ease var(--d, 0.5s) forwards; }
.app.revealed .check:not(.check-off)::after { animation: checkMark 0.3s var(--ease) var(--d, 0.5s) forwards; }

@keyframes checkBox { to { background: var(--accent); border-color: var(--accent); } }
@keyframes checkMark { to { transform: rotate(45deg) scale(1); } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: none; } }

/* =======================================
   FINI LA PAPERASSE (sombre)
   ======================================= */
.pains { padding: 88px 0 var(--section-py); background: var(--dark); color: #fff; }

.pains-text {
  max-width: 28ch;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.strike {
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 58% / 0% 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: color 0.4s;
}
.revealed .strike { animation: strike 0.6s var(--ease) forwards; }
.revealed .strike:nth-of-type(1) { animation-delay: 0.3s; }
.revealed .strike:nth-of-type(2) { animation-delay: 0.75s; }
.revealed .strike:nth-of-type(3) { animation-delay: 1.2s; }

@keyframes strike { to { background-size: 100% 0.08em; color: var(--on-dark-3); } }

.pains-answer { display: block; margin-top: 28px; color: var(--accent); }

/* =======================================
   FONCTIONNALITÉS
   ======================================= */
.features { padding: var(--section-py) 0; background: var(--paper); }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.feat {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 24px;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
}
.feat h3 { margin: 22px 6px 6px; font-size: 1.25rem; letter-spacing: -0.02em; }
.feat p { margin: 0 6px; font-size: 0.96rem; color: var(--ink-2); }

.feat-demo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 136px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 0.86rem;
}

.mini-row { display: flex; align-items: center; gap: 10px; }
.mini-row em { margin-left: auto; font-style: normal; font-size: 0.78rem; color: var(--ink-3); }
.mini-av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--paper-2);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-2);
}

.mini-dots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.mini-dots i { aspect-ratio: 1; border-radius: 6px; background: var(--paper-2); border: 1px solid var(--line); }
.mini-dots i.on { background: var(--accent); border-color: var(--accent); }

.mini-note { font-size: 0.8rem; color: var(--ink-3); }

.mini-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mini-line strong { font-family: var(--font-display); font-size: 1.15rem; }
.mini-muted { color: var(--ink-3); }

.mini-bar { height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.mini-bar span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }

.feat-cta {
  justify-content: flex-end;
  gap: 4px;
  min-height: 260px;
  padding: 26px;
  background: var(--dark);
  color: #fff;
  transition: background-color 0.3s;
}
.feat-cta h3 { margin: 0; font-size: 1.6rem; }
.feat-cta p { margin: 0 0 18px; color: var(--on-dark-2); }
.feat-more { font-weight: 600; color: var(--accent); }
.feat-cta:hover .arrow { transform: translateX(4px); }

/* =======================================
   SUR MESURE (sombre)
   ======================================= */
.custom { padding: var(--section-py) 0; background: var(--dark); color: #fff; }
.custom .sec-label { color: var(--on-dark-2); }
.custom .sec-label::after { background: var(--dark-line); }
.custom .sec-intro { color: var(--on-dark-2); }

.custom-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.custom-col { padding-top: 20px; border-top: 1px solid var(--dark-line); }
.custom-col h3 { margin-bottom: 8px; font-size: 1.3rem; }
.custom-col p { color: var(--on-dark-2); }

/* =======================================
   DONNÉES
   ======================================= */
.data { padding: var(--section-py) 0; background: var(--paper); }

.data-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
}

.data-text p { font-size: 1.05rem; color: var(--ink-2); }
.data-text .data-strong {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.circled { position: relative; white-space: nowrap; }
.circled svg {
  position: absolute;
  left: -0.26em;
  top: 0.1em;
  width: calc(100% + 0.52em);
  height: calc(100% + 0.04em);
  overflow: visible;
  pointer-events: none;
}
.circled path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
}
.revealed .circled path { animation: draw 1.1s var(--ease) 0.4s forwards; }

@keyframes draw { to { stroke-dashoffset: 0; } }

/* =======================================
   DÉCOUVRIR
   ======================================= */
.discover { padding: var(--section-py) 0; background: var(--paper-2); }

.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s, opacity 0.7s var(--ease);
}
.option h3 { font-size: 1.6rem; letter-spacing: -0.03em; }
.option p { flex: 1; color: var(--ink-2); }
.option-more { font-weight: 600; }
.option:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-hover); }
.option:hover .arrow { transform: translateX(4px); }

.option-dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.option-dark p { color: var(--on-dark-2); }
.option-dark .option-more { color: var(--accent); }
.option-dark:hover { border-color: var(--dark); }

.option-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
}

/* =======================================
   CONTACT (sombre)
   ======================================= */
.contact { padding: var(--section-py) 0; background: var(--dark); color: #fff; }
.contact .sec-label { color: var(--on-dark-2); }
.contact .sec-label::after { background: var(--dark-line); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

.contact-title {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}
.contact-intro { max-width: 34ch; margin-bottom: 36px; font-size: 1.08rem; color: var(--on-dark-2); }

.contact-details { display: flex; flex-direction: column; font-style: normal; border-top: 1px solid var(--dark-line); }
.contact-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--dark-line);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.contact-line span { font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; letter-spacing: 0; color: var(--on-dark-3); }
.contact-line:hover { color: var(--accent); }

.form-wrap { border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); }

.contact-form { display: flex; flex-direction: column; gap: 18px; padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 0.875rem; font-weight: 500; }
.optional { font-weight: 400; color: var(--ink-3); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-3); }
.form-field select {
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f1215' stroke-opacity='.7' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field .invalid { border-color: #b91c1c; }

.form-error { font-size: 0.875rem; color: #b91c1c; }

.btn-submit { align-self: flex-start; }
.form-note { font-size: 0.82rem; line-height: 1.6; color: var(--ink-3); }
.form-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.form-note a:hover { color: var(--ink); }
.data-link { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.data-link:hover { color: var(--accent-ink); }

/* =======================================
   PIED DE PAGE
   ======================================= */
.footer { padding: 48px 0 28px; background: var(--dark); color: #fff; border-top: 1px solid var(--dark-line); }

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--dark-line);
}

.brand-footer { color: #fff; }
.brand-footer .brand-name { font-size: 1.6rem; }
.brand-footer .brand-name span { color: var(--accent); }
.brand-footer .club-mark { --club-word: var(--accent); height: 46px; }
.footer-tag { margin-top: 6px; color: var(--on-dark-2); }

.footer-by {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--on-dark-2);
  transition: color 0.2s;
}
.footer-by strong { font-family: var(--font-display); letter-spacing: 0.04em; color: #fff; }
.footer-by .logo-glyph { color: #fff; }
.footer-by:hover strong { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.85rem;
  color: var(--on-dark-3);
}
.footer-bottom a { transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }

/* =======================================
   RESPONSIVE
   ======================================= */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }

  .sec-head-row { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .data-layout { grid-template-columns: 1fr; }
  .option-grid { grid-template-columns: 1fr 1fr; }
  .option-dark { grid-column: 1 / -1; min-height: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .app-body { grid-template-columns: 150px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-link { display: block; padding: 12px 8px; font-size: 1rem; }
  .nav-cta { display: block; margin: 8px 0 0; padding: 14px 18px; text-align: center; }

  .hero-bottom { grid-template-columns: 1fr; }
  .custom-cols { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  :root { --section-py: 64px; }

  .container { padding: 0 20px; }
  .sec-head { margin-bottom: 36px; }

  .nav .club-mark { height: 30px; }
  .nav .brand-name { font-size: 1.15rem; }

  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-sub { font-size: 1.05rem; }
  .hero-stage { margin-top: 44px; }

  .app { font-size: 0.82rem; }
  .app-body { grid-template-columns: 1fr; }
  .app-side, .app-search, .app-table th:nth-child(2), .app-table td:nth-child(2) { display: none; }
  .app-main { padding: 16px 14px 6px; }
  .app-stats { gap: 8px; }
  .app-stats div { padding: 10px; }
  .app-stats span { font-size: 0.68rem; }
  .app-stats strong { font-size: 1.15rem; }
  .app-table td, .app-table th { padding-left: 6px; padding-right: 6px; }

  .pains { padding-top: 64px; }

  .feat-grid, .option-grid { grid-template-columns: 1fr; }
  .option { min-height: 0; }
  .feat-cta { min-height: 0; }

  .contact-form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .btn-submit { align-self: stretch; }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
}

/* =======================================
   PAGES LÉGALES
   ======================================= */
.legal { padding: calc(var(--header-h) + 64px) 0 var(--section-py); }
.legal-head { max-width: 72ch; margin-bottom: 40px; }
.legal-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.05; }
.legal-date { margin-top: 14px; font-size: 0.92rem; color: var(--ink-3); }
.legal-body { max-width: 72ch; }
.legal-body section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-body h2 { margin-bottom: 12px; font-size: 1.3rem; letter-spacing: -0.02em; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body p + p, .legal-body ul + p { margin-top: 10px; }
.legal-body ul { margin-top: 10px; padding-left: 1.2em; list-style: disc; }
.legal-body li + li { margin-top: 6px; }
.legal-body strong { font-weight: 600; color: var(--ink); }
.legal-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--accent-ink); }
.nav .nav-cta-legal { display: inline-block; margin: 0; padding: 10px 16px; }
.footer-legal { padding: 0 0 28px; }

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