/* CaleDoHub Charte graphique unifiée v3.27
   Injectée sur les 13 sites pour garantir uniformité totale.
   - Polices Outfit + Righteous chargées dynamiquement si absentes
   - Variables CSS communes pour tous les sites
   - Couleurs par défaut, espacements, ombres, rayons cohérents
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Righteous&display=swap');

:root {
  /* Couleurs primaires hub */
  --ch-navy:    #1a2744;
  --ch-teal:    #2EC4B6;
  --ch-coral:   #FF6B35;
  --ch-gold:    #FFD166;
  --ch-purple:  #8B5CF6;
  --ch-pink:    #EC4899;
  /* Couleurs sémantiques */
  --ch-green:   #10b981;
  --ch-red:     #DC2626;
  --ch-orange:  #f59e0b;
  --ch-blue:    #0d6efd;
  /* Greys */
  --ch-gray-50:  #f9fafb;
  --ch-gray-100: #f3f4f6;
  --ch-gray-200: #e5e7eb;
  --ch-gray-300: #d1d5db;
  --ch-gray-500: #6b7280;
  --ch-gray-700: #374151;
  --ch-gray-900: #111827;
  /* Aliases (compatibilité ascendante) */
  --navy: var(--ch-navy);
  --teal: var(--ch-teal);
  --coral: var(--ch-coral);
  --gold: var(--ch-gold);
  --gray: var(--ch-gray-500);
  --lg: var(--ch-gray-100);
  --green: var(--ch-green);
  --red: var(--ch-red);
  /* Typographie */
  --ch-font-body: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ch-font-display: 'Righteous', cursive, 'Outfit';
  /* Espacements */
  --ch-radius-sm: 6px;
  --ch-radius-md: 10px;
  --ch-radius-lg: 14px;
  --ch-radius-xl: 18px;
  /* Ombres */
  --ch-shadow-sm: 0 1px 3px rgba(0,0,0,.05);
  --ch-shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --ch-shadow-lg: 0 8px 24px rgba(0,0,0,.12);
  /* Transitions */
  --ch-transition: .18s ease;
}

/* Force la police globale si pas définie ailleurs */
body:not([class*="ch-no-charte"]) {
  font-family: var(--ch-font-body);
}

/* Uniformisation de h1/h2 si pas overridées */
h1, h2 {
  font-family: var(--ch-font-display);
}

/* Boutons : transition uniforme */
button:not([disabled]) { cursor: pointer; transition: var(--ch-transition); }

/* Liens : couleur teal par défaut */
a:not([class]):not([style*="color"]) { color: var(--ch-teal); }

/* Liste cohérente */
input, select, textarea {
  font-family: var(--ch-font-body);
}

/* Boutons WhatsApp share : uniformément masqués (prefer SMS/Email/Copier lien) */
.share-btn.wa, button.share-mini.wa,
[onclick*="shareSite('wa')"], [onclick*="shareAnnonce('wa'"] {
  display: none !important;
}
