/* FE-220 — site vitrine Synthetic. Jetons repris du design system
   (.claude/skills/synthetic-design/colors_and_type.css) : pas de dégradé,
   cartes blanches à anneau de 1px, fond slate-50, Trust Blue pour l'action. */

@font-face { font-family: 'Cabinet Grotesk'; src: url('assets/fonts/CabinetGrotesk-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('assets/fonts/CabinetGrotesk-Extrabold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('assets/fonts/Satoshi-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('assets/fonts/Satoshi-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('assets/fonts/Satoshi-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --blue: #3366FF;
  --blue-2: #2952D9;
  --teal: #0D9488;
  --teal-bg: #F0FDFA;
  --ring: inset 0 0 0 1px rgb(30 41 59 / 0.10);
  --font-display: 'Cabinet Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Satoshi', ui-sans-serif, system-ui, sans-serif;
}

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

body {
  margin: 0;
  background: var(--slate-50);
  color: var(--slate-800);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0; }
p { margin: 0; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* ─── En-tête ─────────────────────────────────────────── */
.header { border-bottom: 1px solid var(--slate-200); background: #FFFFFF; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.header__logo img { display: block; height: 36px; width: auto; }
.header__nav { display: flex; align-items: center; gap: 24px; }
.header__nav a:not(.btn) { color: var(--slate-600); text-decoration: none; font-weight: 500; }
.header__nav a:not(.btn):hover { color: var(--slate-900); }

/* ─── Boutons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px; border: 0;
  font: 500 1rem var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 120ms, color 120ms;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #FFFFFF; }
.btn--primary:hover { background: var(--blue-2); }
.btn--outline { background: #FFFFFF; color: var(--slate-800); box-shadow: var(--ring); }
.btn--outline:hover { background: var(--slate-100); }

/* ─── Sections ────────────────────────────────────────── */
.section { padding: 72px 0; }
.eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate-500); margin-bottom: 12px;
}
.section__title { font-size: 2.25rem; font-weight: 800; color: var(--slate-900); max-width: 720px; }
.section__lead { margin-top: 16px; font-size: 1.125rem; color: var(--slate-600); max-width: 680px; }

.hero { padding: 88px 0 72px; }
.hero h1 { font-size: 3rem; font-weight: 800; color: var(--slate-900); max-width: 820px; }
.hero__lead { margin-top: 20px; font-size: 1.25rem; color: var(--slate-600); max-width: 680px; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ─── Cartes ──────────────────────────────────────────── */
.grid { margin-top: 40px; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.card { background: #FFFFFF; border-radius: 12px; box-shadow: var(--ring); padding: 24px; }
.card__icon {
  width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center;
  background: #EEF2FF; color: var(--blue); margin-bottom: 16px;
}
.card__icon svg { width: 20px; height: 20px; }
.card--ai .card__icon { background: var(--teal-bg); color: var(--teal); }
.card h3 { font-size: 1.25rem; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.card p { color: var(--slate-600); }
.card__note { margin-top: 12px; font-size: 0.875rem; color: var(--slate-500); }

.steps { margin-top: 40px; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); counter-reset: etape; }
.step { counter-increment: etape; }
.step::before {
  content: counter(etape);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--slate-900); color: #FFFFFF; font: 700 1rem var(--font-display); margin-bottom: 12px;
}
.step h3 { font-size: 1.125rem; font-weight: 700; color: var(--slate-900); margin-bottom: 6px; }
.step p { color: var(--slate-600); }

/* ─── Formulaire de contact ───────────────────────────── */
.contact { background: var(--slate-900); color: var(--slate-300); }
.contact .section__title { color: #FFFFFF; }
.contact .section__lead { color: var(--slate-300); }
.contact .eyebrow { color: var(--slate-400); }
.form {
  margin-top: 32px; max-width: 640px; background: #FFFFFF; color: var(--slate-800);
  border-radius: 12px; padding: 24px; display: grid; gap: 16px; grid-template-columns: 1fr 1fr;
}
.form__field { display: grid; gap: 6px; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-weight: 500; font-size: 0.875rem; }
.form input, .form textarea {
  font: 400 1rem var(--font-body); color: var(--slate-800);
  border: 1px solid var(--slate-200); border-radius: 6px; padding: 10px 12px; width: 100%;
}
.form textarea { min-height: 96px; resize: vertical; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--slate-500); }
.form .btn { justify-self: start; }

/* ─── Pied de page ────────────────────────────────────── */
.footer { border-top: 1px solid var(--slate-200); background: #FFFFFF; padding: 32px 0; font-size: 0.875rem; color: var(--slate-500); }
.footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer a { color: var(--slate-600); }

/* ─── Pages de texte (mentions légales, merci) ────────── */
.prose { max-width: 760px; padding: 56px 16px 72px; margin: 0 auto; }
.prose h1 { font-size: 2.25rem; font-weight: 800; color: var(--slate-900); margin-bottom: 24px; }
.prose h2 { font-size: 1.375rem; font-weight: 700; color: var(--slate-900); margin: 32px 0 8px; }
.prose p, .prose ul { margin: 0 0 12px; color: var(--slate-600); }

@media (max-width: 860px) {
  .grid, .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.25rem; }
  .section__title { font-size: 1.75rem; }
  .header__nav a:not(.btn) { display: none; }
  .form { grid-template-columns: 1fr; }
}
