/*
Theme Name:  MFR de Morestel
Theme URI:   https://www.mfr-vignieu.org
Description: Thème enfant Hello Elementor — MFR de Morestel
Author:      MFR de Morestel
Template:    hello-elementor
Version:     1.0.0
Text Domain: mfr-morestel-child
*/

/* ════════════════════════════════════════════
   VARIABLES GLOBALES
   ════════════════════════════════════════════ */
:root {
  --red:    #8B1F24;
  --gold:   #B8963E;
  --cream:  #F5F0E8;
  --dark:   #1A1A1A;
  --grey:   #6B6B6B;
  --white:  #FFFFFF;

  /* Typographie */
  --font-body:    'Roboto', sans-serif;
  --font-heading: 'Roboto Slab', serif;
  --font-script:  'Knewave', cursive;

  /* Espacements — multiples de 4 */
  --space-4:   4px;
  --space-8:   8px;
  --space-12:  12px;
  --space-16:  16px;
  --space-20:  20px;
  --space-24:  24px;
  --space-28:  28px;
  --space-32:  32px;
  --space-40:  40px;
  --space-48:  48px;
  --space-60:  60px;
  --space-72:  72px;
  --space-88:  88px;

  /* Layout */
  --container: 1160px;
}

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
  font-family: var(--font-heading);
}

/* Classe accent manuscrit */
.script,
.knewave {
  font-family: var(--font-script);
}

/* ════════════════════════════════════════════
   COULEURS ELEMENTOR — surcharges globales
   ════════════════════════════════════════════ */

/* Permet d'utiliser les couleurs via Elementor Global Colors */
.e-global-color-rouge   { color: var(--red); }
.e-global-color-or      { color: var(--gold); }
.e-global-color-creme   { color: var(--cream); }

/* ════════════════════════════════════════════
   BOUTONS GLOBAUX
   ════════════════════════════════════════════ */
.elementor-button,
.wp-block-button__link {
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 8px;
  transition: all .2s;
}

/* ════════════════════════════════════════════
   LIENS
   ════════════════════════════════════════════ */
a {
  color: var(--red);
  text-decoration: none;
  transition: color .2s;
}
a:hover {
  color: var(--gold);
}

/* ════════════════════════════════════════════
   IMAGES
   ════════════════════════════════════════════ */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
