/* ============================================
   SYSTÈME DE DESIGN
   Palette : bleu nuit "encre", laiton chaud, papier
   Display : Fraunces (empattement, registre institutionnel)
   Corps   : Inter (grotesque neutre, lisible)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Couleurs */
  --ink: #11212d;          /* bleu nuit profond, fond et texte fort */
  --ink-soft: #1c3243;     /* bleu ardoise */
  --paper: #f6f3ec;        /* papier chaud */
  --paper-pure: #fbfaf6;
  --brass: #b07d3c;        /* laiton / cuivre chaud, accent */
  --brass-bright: #c8954f;
  --muted: #5d6b75;        /* gris-bleu pour texte secondaire */
  --line: #d9d3c6;         /* filets fins */
  --line-dark: #2b3f4f;

  /* Typo */
  --display: 'Playfair Display', Georgia, serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Mesures */
  --maxw: 1140px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Conteneur */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Eyebrow : petit label de section avec repère */
.eyebrow {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper-pure);
}
.btn-primary:hover { background: var(--brass); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper-pure); }

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-top: 1rem;
  max-width: 18ch;
}
.section-lede {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 56ch;
  margin-top: 1.2rem;
}

/* Filet de mesure : élément signature */
.rule {
  height: 1px;
  background: var(--line);
  position: relative;
}
.rule::before, .rule::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 1px;
  height: 7px;
  background: var(--brass);
}
.rule::before { left: 0; }
.rule::after { right: 0; }

/* Accessibilité : focus visible */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* Utilitaires d'apparition au scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* Responsive de base */
@media (max-width: 720px) {
  body { font-size: 16px; }
}
