/* ===================================================================
   BRAND.CSS — Design System de l'agence
   Style éditorial premium : papier · encre · lime · Fraunces × Space Grotesk
   Importe ce fichier EN PREMIER dans chaque projet, puis ajoute le <link> Google Fonts.
   Doc complète : IDENTITE-VISUELLE.md
   =================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,900;1,9..144,500&family=Space+Grotesk:wght@400;500;600;700&display=swap");

/* ---------- TOKENS ---------- */
:root {
  /* Couleurs */
  --paper: #f3efe6;
  --paper-2: #ebe5d8;
  --card: #fbf9f4;
  --ink: #15160f;
  --ink-2: #1c1d15;
  --ink-soft: #3c3d33;
  --muted: #74756a;
  --line: #ddd6c6;
  --line-ink: #34352b;
  --accent: #38b6ff;       /* bleu ciel — aplats (boutons, badges) */
  --accent-deep: #1268ad;  /* bleu profond — texte accent sur fond clair */
  --hot: #2fae6a;
  --warm: #e0922a;
  --danger: #b03636;

  /* Typo */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;

  /* Rayons & ombres */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 70px rgba(20, 20, 10, 0.16);
  --shadow-sm: 0 10px 30px rgba(20, 20, 10, 0.08);

  /* Espacement de section */
  --section-y: 92px;
}

/* ---------- BASE ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.3rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.3rem; }
em { font-style: italic; color: var(--accent-deep); }

/* ---------- LAYOUT HELPERS ---------- */
.container { width: min(1160px, 92%); margin: 0 auto; }
.container--narrow { width: min(780px, 92%); }
.section { padding: var(--section-y) 0; }
.section--paper2 { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink em { color: var(--accent); }
.section--ink .muted { color: #b9b6a6; }

.kicker { display: block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 16px; }
.kicker--light { color: var(--accent); }
.muted { color: var(--muted); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform 0.14s ease, box-shadow 0.2s ease, background 0.18s, color 0.18s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--ink); box-shadow: 0 8px 24px rgba(56, 182, 255, 0.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(56, 182, 255, 0.45); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 9px 18px; font-size: 0.9rem; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* ---------- CARDS ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform 0.18s, box-shadow 0.2s; }
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.card__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--accent); margin-bottom: 20px; }
.card__ic svg { width: 24px; height: 24px; }

/* ---------- TAGS / BADGES ---------- */
.tag { display: inline-block; font-size: 0.76rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.tag--hot { color: #0f5c34; background: rgba(47, 174, 106, 0.18); }
.tag--warm { color: #8a5408; background: rgba(224, 146, 42, 0.18); }
.tag--ink { color: var(--paper); background: var(--ink); }

/* ---------- FORM FIELDS ---------- */
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-size: 0.9rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; font-size: 1rem; font-family: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input::placeholder, .field textarea::placeholder { color: #a39d8c; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.22);
}
.field textarea { resize: vertical; }

/* ---------- CHECK LIST ---------- */
.checks { list-style: none; display: grid; gap: 15px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 10px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}

/* ---------- MARQUEE ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: brand-scroll 26s linear infinite; }
.marquee span { display: inline-flex; align-items: center; white-space: nowrap; padding: 9px 0; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.marquee i { color: var(--accent); margin: 0 22px; font-style: normal; }
@keyframes brand-scroll { to { transform: translateX(-50%); } }

/* ---------- DOTS ---------- */
.dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--hot); animation: brand-pulse 2s infinite; }
@keyframes brand-pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 174, 106, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(47, 174, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 174, 106, 0); }
}

/* ---------- WORDMARK ---------- */
.wordmark { font-family: var(--font-display); font-weight: 900; letter-spacing: -0.02em; }
.wordmark span { color: var(--accent-deep); }
