/* ==========================================================================
   OF⇄Transfer • Design System 1.0 — FOUNDATION (CLEAN)
   Rôle: tokens + reset + primitives UI
   ========================================================================== */

/* RESET & ACCESSIBILITÉ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, #163b75 0, #031525 32%, #020712 70%, #000 100%);
  color: #e6f1ff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */

:root {
  --c-bg-0: #000910;
  --c-bg-1: #021523;
  --c-bg-2: #031f33;

  --c-primary-1: #06c167;
  --c-primary-2: #10dd7d;

  --c-accent-1: #2f80ff;
  --c-accent-2: #71a7ff;

  --c-wa: #25d366;

  --c-text-1: #e6f1ff;
  --c-text-2: rgba(230,241,255,0.82);
  --c-text-muted: rgba(230,241,255,0.65);

  --c-border-light: rgba(255,255,255,0.18);
  --c-border-strong: rgba(255,255,255,0.26);
  --c-border-subtle: rgba(255,255,255,0.10);

  --c-glass-soft: rgba(255,255,255,0.05);
  --c-glass-strong: rgba(255,255,255,0.12);

  --shadow-soft: 0 3px 12px rgba(0,0,0,0.35);
  --shadow-medium: 0 10px 30px rgba(0,0,0,0.55);
  --shadow-strong: 0 18px 60px rgba(0,0,0,0.75);

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --r-card: 20px;
  --r-pill: 999px;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 28px;
  --sp-8: 32px;

  --fs-xs: 11px;
  --fs-sm: 13px;
  --fs-md: 14px;
  --fs-lg: 16px;
  --fs-xl: 20px;
  --fs-xxl: 28px;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --max-width-page: 1200px;
}

/* ==========================================================================
   LAYOUT GLOBAL (NEUTRE)
   ========================================================================== */

.page {
  max-width: var(--max-width-page);
  margin: 0 auto;
  padding: 32px 18px 90px;
}

.section {
  margin-top: 48px;
}

/* ==========================================================================
   INPUTS
   ========================================================================== */

.input,
select.input,
textarea.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: rgba(3,18,40,0.92);
  border: 1px solid rgba(184,210,255,0.7);
  color: #fff;
  font-size: var(--fs-md);
}

.input:focus {
  outline: none;
  border-color: var(--c-primary-1);
  box-shadow: 0 0 0 1px rgba(6,193,103,0.45);
}

/* ==========================================================================
   BUTTONS (GÉNÉRIQUES)
   ========================================================================== */

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: transform .18s var(--ease-spring), box-shadow .18s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-primary-1), var(--c-primary-2));
  color: #03120a;
}

.btn-secondary {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--c-border-light);
  color: var(--c-text-1);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.32);
  color: var(--c-text-1);
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

body.no-scroll {
  overflow: hidden;
}
body { padding-bottom: 72px; }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
}
/* === SVG ICON NORMALIZATION === */
..ico {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  color: currentColor;
  flex-shrink: 0;
}

.ico-sm { width: 16px; height: 16px; }
.ico-md { width: 20px; height: 20px; }
.ico-lg { width: 24px; height: 24px; }

.btn-ico {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-ico {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ico {
  display: inline-block;
  stroke: currentColor;
}

.ico-sm { width: 18px; height: 18px; }
.ico-xs { width: 14px; height: 14px; }
