:root {
  color-scheme: dark;
  --fdl-navy: #0c1425;
  --fdl-ink: #fcfaf5;
  --fdl-text: #b9c0cf;
  --fdl-muted: #6c7488;
  --fdl-gold: #f0bb00;
  --fdl-gold-soft: #d9a126;
  --fdl-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fdl-serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { background: var(--fdl-navy); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--fdl-navy); color: var(--fdl-text); font-family: var(--fdl-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--fdl-text); }
a:hover { color: #f2ddae; }
::selection { color: var(--fdl-navy); background: var(--fdl-gold-soft); }
input, button { font-family: var(--fdl-sans); }
:focus-visible { outline: 2px solid var(--fdl-gold-soft); outline-offset: 3px; }
input::placeholder { color: var(--fdl-muted); }

.fdl-page { min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.fdl-gridbg { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.022) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(ellipse 90% 80% at 65% 45%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 90% 80% at 65% 45%, #000 30%, transparent 100%); pointer-events: none; }
.fdl-header { position: relative; max-width: 1280px; width: 100%; margin: 0 auto; padding: 34px 32px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.fdl-wordmark { color: #f7f4ee; font-family: var(--fdl-serif); font-size: 29px; font-weight: 600; letter-spacing: .005em; text-decoration: none; }
.fdl-wordmark em { font-weight: inherit; }
.fdl-wordmark span { color: var(--fdl-gold); }
.fdl-pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: 999px; background: #f7f4ee; color: #111c35; font-size: 11.5px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.fdl-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fdl-gold-soft); }

.fdl-main { position: relative; flex: 1; display: flex; align-items: center; max-width: 1280px; width: 100%; margin: 0 auto; padding: clamp(28px, 4vw, 56px) 32px; }
.fdl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); gap: clamp(40px, 6vw, 96px); align-items: center; width: 100%; }
.fdl-left { max-width: 600px; }
.fdl-badge-wrap { margin-bottom: 30px; animation-delay: .05s; }
.fdl-badge { display: inline-block; padding: 8px 20px; border: 1px solid rgba(217,161,38,.28); border-radius: 999px; color: #e8dcc0; font-size: 11.5px; font-weight: 500; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase; }
.fdl-h1 { margin: 0 0 24px; color: var(--fdl-ink); font-family: var(--fdl-serif); font-size: clamp(32px, 4.2vw, 50px); font-weight: 500; line-height: 1.18; letter-spacing: .002em; text-wrap: balance; animation-delay: .12s; }
.fdl-h1 .gold { color: var(--fdl-gold); }
.fdl-accent { width: 30px; height: 2px; margin: 0 0 30px; background: var(--fdl-gold-soft); animation-delay: .2s; }
.fdl-para { max-width: 500px; margin: 0 0 40px; color: #c9ceda; font-size: clamp(15.5px, 1.8vw, 17px); line-height: 1.75; text-wrap: pretty; animation-delay: .26s; }

.fdl-form { max-width: 560px; animation-delay: .34s; }
.fdl-formrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 7px 7px 7px 12px; border: 1px solid rgba(255,255,255,.10); border-radius: 12px; background: rgba(255,255,255,.03); }
.fdl-formrow input { flex: 1; min-width: 210px; padding: 12px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--fdl-ink); font-size: 15px; outline-offset: -2px; }
.fdl-btn { padding: 12px 22px; border: 0; border-radius: 9px; background: var(--fdl-gold); color: #111c35; cursor: pointer; font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: background .2s ease-out; }
.fdl-btn:hover { background: #e3b000; }
.fdl-btn:disabled, .fdl-formrow input:disabled { cursor: wait; opacity: .65; }
.fdl-consent { display: grid; grid-template-columns: 17px 1fr; gap: 10px; align-items: start; margin-top: 14px; color: #7f889c; font-size: 11.5px; line-height: 1.55; }
.fdl-consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--fdl-gold); }
.fdl-consent label { cursor: pointer; }
.fdl-consent a { color: #abb3c3; }
.fdl-turnstile { min-height: 65px; margin-top: 14px; }
.fdl-error { margin: 9px 0 0; color: #efa79b; font-size: 13px; }
.fdl-status { min-height: 18px; margin: 8px 0 0; color: #f2ddae; font-size: 12.5px; line-height: 1.5; }
.success-panel { max-width: 560px; padding: 22px 26px; border: 1px solid rgba(217,161,38,.35); border-radius: 12px; background: rgba(217,161,38,.08); }
.success-panel strong { display: block; margin-bottom: 5px; color: var(--fdl-ink); font-size: 15.5px; font-weight: 600; }
.success-panel p { margin: 0; color: var(--fdl-text); font-size: 14px; line-height: 1.65; }
.success-panel b { color: #f2ddae; }

.fdl-att-visual { min-width: 0; align-self: center; margin-top: clamp(24px, 5vw, 72px); animation-delay: .45s; }
.fdl-card { max-width: 440px; margin-left: auto; padding: 30px 32px 26px; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); box-shadow: 0 20px 60px rgba(0,0,0,.20); opacity: .92; }
.fdl-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.fdl-card-ref { color: #8b93a6; font-size: 11px; font-weight: 500; letter-spacing: .11em; text-transform: uppercase; }
.fdl-card-status { display: inline-flex; align-items: center; gap: 7px; color: #a8977a; font-size: 10.5px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.fdl-card-status span { width: 5px; height: 5px; border-radius: 50%; background: rgba(217,161,38,.65); }
.fdl-docs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 26px; padding: 0; list-style: none; }
.fdl-doc { padding: 5px 11px; border: 1px solid rgba(255,255,255,.07); border-radius: 5px; background: rgba(255,255,255,.04); color: #9ba3b5; font-size: 11.5px; }
.fdl-timeline { display: grid; grid-template-columns: 12px 1fr; column-gap: 15px; }
.fdl-rail { display: flex; flex-direction: column; align-items: center; }
.fdl-rail .line { flex: 1; width: 1px; background: rgba(255,255,255,.07); }
.fdl-dot { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: #39415a; animation: fdlDotOnce 1.1s ease-out forwards; }
.fdl-dot.gold { animation-name: fdlDotOnceGold; }
.delay-1 { animation-delay: .9s; }
.delay-2 { animation-delay: 1.7s; }
.delay-3 { animation-delay: 2.5s; }
.delay-4 { animation-delay: 3.3s; }
.fdl-step { padding-bottom: 19px; opacity: .22; animation: fdlStepOnce .7s ease-out forwards; }
.fdl-step.last { padding-bottom: 22px; }
.fdl-step .t { color: #d5d9e2; font-size: 13.5px; font-weight: 600; }
.fdl-step .d { margin-top: 3px; color: #767e92; font-size: 12px; }
.fdl-step.vigilance .t { color: #e3d3ac; }
.fdl-step.vigilance .d { color: #b8a276; }
.fdl-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.07); }
.fdl-card-foot .t { color: #d5d9e2; font-size: 13px; font-weight: 600; }
.fdl-card-foot .d { margin-top: 2px; color: #767e92; font-size: 11.5px; }
.fdl-ghost { padding: 8px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; color: #c9ceda; font-size: 12.5px; font-weight: 500; white-space: nowrap; }

.fdl-footer, .site-footer { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1280px; width: 100%; margin: 0 auto; padding: 22px 32px 28px; border-top: 1px solid rgba(255,255,255,.06); color: var(--fdl-muted); font-size: 12.5px; }
.fdl-footer nav, .site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.fdl-footer a, .site-footer a { display: inline-flex; align-items: center; min-height: 24px; color: var(--fdl-muted); text-decoration: none; }
.fdl-footer a:hover, .site-footer a:hover { color: #f2ddae; }
.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; }

@keyframes fdlRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fdlStepOnce { from { opacity: .22; } to { opacity: 1; } }
@keyframes fdlDotOnce { 0% { background: #39415a; box-shadow: none; } 45% { background: var(--fdl-gold); box-shadow: 0 0 0 4px rgba(240,187,0,.14); } 100% { background: #39415a; box-shadow: none; } }
@keyframes fdlDotOnceGold { 0% { background: #39415a; box-shadow: none; } 45% { background: var(--fdl-gold); box-shadow: 0 0 0 4px rgba(240,187,0,.14); } 100% { background: rgba(199,158,63,.75); box-shadow: 0 0 0 3px rgba(199,158,63,.10); } }
.fdl-rise { opacity: 0; animation: fdlRise .8s cubic-bezier(.22,1,.36,1) forwards; }

/* Pages légales, avec la même typographie que la landing page. */
.legal-body { position: relative; min-height: 100vh; }
.legal-body::before { content: ""; position: fixed; inset: 0; z-index: -1; background-image: linear-gradient(to right, rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.022) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: linear-gradient(#000, transparent 85%); mask-image: linear-gradient(#000, transparent 85%); pointer-events: none; }
.legal-header { width: min(880px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 20px; }
.legal-header .wordmark { color: #f7f4ee; font-family: var(--fdl-serif); font-size: 29px; font-weight: 600; letter-spacing: .005em; text-decoration: none; }
.legal-header .wordmark span { font-style: italic; }
.legal-header .wordmark b { color: var(--fdl-gold); }
.legal-main { width: min(880px, calc(100% - 40px)); margin: 38px auto 80px; }
.legal-main h1 { margin: 0; color: var(--fdl-ink); font-family: var(--fdl-serif); font-size: clamp(36px, 6vw, 54px); font-weight: 500; line-height: 1.1; }
.legal-main .updated { margin: 14px 0 36px; color: var(--fdl-muted); font-size: 13px; }
.legal-section { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.075); }
.legal-section h2 { margin: 0 0 15px; color: var(--fdl-ink); font-family: var(--fdl-serif); font-size: 24px; font-weight: 500; line-height: 1.2; }
.legal-section h3 { margin: 24px 0 8px; color: #d5d9e2; font-size: 16px; }
.legal-section p, .legal-section li, .legal-section dd { color: #abb3c3; font-size: 14px; line-height: 1.75; }
.legal-section ul { padding-left: 20px; }
.legal-section dl { display: grid; grid-template-columns: minmax(160px, .4fr) 1fr; gap: 10px 24px; }
.legal-section dt { color: #d5d9e2; font-size: 13px; font-weight: 600; }
.legal-section dd { margin: 0; }

@media (max-width: 1099px) {
  .fdl-att-visual { display: none; }
  .fdl-grid { grid-template-columns: 1fr; }
  .fdl-left { width: 100%; max-width: 620px; margin: 0 auto; }
}
@media (max-width: 719px) {
  .fdl-header { padding: 22px 20px 0; }
  .fdl-pill { gap: 7px; padding: 7px 12px; font-size: 10px; letter-spacing: .09em; }
  .fdl-badge { padding: 7px 14px; font-size: 10px; line-height: 1.6; letter-spacing: .09em; }
  .fdl-h1 { font-size: clamp(30px, 8.4vw, 38px); }
  .fdl-main { padding: 28px 20px 36px; }
  .fdl-formrow { flex-direction: column; align-items: stretch; padding: 10px; }
  .fdl-formrow input { width: 100%; min-width: 0; }
  .fdl-btn { width: 100%; }
  .fdl-footer, .site-footer { flex-direction: column; gap: 8px; padding: 16px 20px 24px; }
  .fdl-footer nav, .site-footer nav { flex-direction: column; gap: 8px; }
  .legal-section dl { grid-template-columns: 1fr; gap: 3px; }
  .legal-section dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fdl-rise, .fdl-step { opacity: 1; }
}
