/*
Theme Name: Verdoreille V4
Description: Child theme Verdoreille — V4 design system. Contrat JSX↔PHP strict. BEM v3-[page]-[bloc]__[element]. Tous les templates générés depuis les wireframes V4.
Template: verdoreille-theme
Version: 4.0.14
Text Domain: verdoreille-v4
*/

/* ══════════════════════════════════════════════════════════════════════
   ARCHITECTURE CSS
   - Ce fichier : tokens + reset minimal
   - assets/css/main.css : toutes les classes BEM v3-[page]-[bloc]__[element]
   - Les classes BEM sont les sources de vérité du rendu (pas d'inline styles)
   ══════════════════════════════════════════════════════════════════════ */

/* ── Google Fonts — chargées via wp_enqueue_style + preconnect (functions.php) ── */

/* ── Tokens brand.json ───────────────────────────────────────────── */
:root {
  /* Couleurs */
  --teal:          #0D3040;
  --teal-deep:     #0A2535;
  --azur:          #1A7AB0;
  --azur-dark:     #0D4E74;
  --ciel:          #EBF4FC;
  --ciel-border:   #C5DDF0;
  --feu:           #FF6B35;
  --orange:        #E8580A;
  --white:         #FFFFFF;
  --extra-bg:      #071820;

  /* Palette light (défaut) */
  --surface:       var(--white);
  --surface-alt:   var(--ciel);
  --on-surface:    var(--teal);
  --link:          var(--azur);
  --border:        var(--ciel-border);

  /* Typographie */
  --font-display:    'Figtree', sans-serif;
  --font-editorial:  'Spectral', serif;
  --font-interface:  'Outfit', sans-serif;

  /* Grid */
  --grid-gap:        8px;
  --margin-desktop:  120px;
  --margin-mobile:   24px;
  --margin-section:  clamp(24px, 6vw, 120px);
}

/* Palette dark */
[data-theme="dark"] {
  --surface:     #0D3040;
  --surface-alt: #0A2535;
  --on-surface:  #EBF4FC;
  --link:        #5BB3E0;
  --border:      rgba(255,255,255,0.10);
}

/* ── Reset minimal ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-interface);
  background: var(--surface);
  color: var(--on-surface);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Utilitaires globaux ─────────────────────────────────────────── */
.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;
}

/* Classes BEM → assets/css/main.css */
