/* ==========================================================================
   Région Réunion — base.css
   Design tokens : couleurs, typographie, espacements, rayons, ombres.
   Charte fournie par Andy (brief "REFONTE COMPLÈTE") — version modernisée.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:wght@500;600;700;800&family=Inter:wght@400;500;600;700;800&family=Caveat:wght@600;700&display=swap');

:root {
  /* Couleurs institutionnelles */
  --rr-blue: #1D71B8;
  --rr-yellow: #FFCD1C;
  --rr-green: #3FA535;
  --rr-purple: #7A5C9E;
  --rr-navy: #062B46;
  --rr-blue-dark: #073A61;
  --rr-blue-secondary: #2F86C9;
  --rr-turquoise: #21A7C7;
  --rr-orange: #F59E42;

  /* Fonds de section — variations par univers, charte graphique */
  --rr-bg-blue: #EAF4FB;
  --rr-bg-yellow: #FFF4BF;
  --rr-bg-green: #EAF6E7;
  --rr-bg-turquoise: #E4F5F8;
  --rr-bg-orange: #FDEEE0;
  --rr-bg-purple: #F1ECF7;

  /* Dégradés — charte graphique */
  --gradient-hero: linear-gradient(135deg, #1D71BB, #2F86C9);
  --gradient-nature: linear-gradient(135deg, #3FA535, #6CC24A);
  --gradient-institution: linear-gradient(135deg, #062B46, #1D71B8);

  /* Fonds */
  --rr-bg: #F4F8FB;
  --rr-bg-soft: #EDF4F9;
  --rr-white: #FFFFFF;

  /* Textes */
  --rr-text: #092C4C;
  --rr-text-secondary: #52697D;

  /* Bordures & états */
  --rr-border: #DCE7EF;
  --rr-success: #36A852;
  --rr-warning: #F8B400;
  --rr-error: #E44B3F;

  /* Rayons */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Ombres — profondeur douce, moderne */
  --shadow-sm: 0 2px 8px rgba(9,44,76,0.06);
  --shadow-md: 0 10px 30px rgba(9,44,76,0.10);
  --shadow-lg: 0 22px 50px rgba(9,44,76,0.16);
  --shadow-glow: 0 1px 0 rgba(255,255,255,0.14) inset, 0 24px 60px rgba(3,20,36,0.45);

  /* Easing */
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Grille & espacements */
  --container: 1440px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 88px;
}

/* Remarque pour Andy : Acumin Variable Concept est une police Adobe non
   disponible librement (ni sur Google Fonts, ni en licence libre). En
   attendant un fichier de police fourni séparément, le corps de texte
   utilise Inter (fallback que tu as toi-même indiqué). Les titres utilisent
   Advent Pro (Google Fonts), conforme à ta spec. */

* { box-sizing: border-box; }

html.region-reunion-html { scroll-behavior: smooth; }

body.region-reunion {
  margin: 0;
  background: var(--rr-bg);
  color: var(--rr-text);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.region-reunion h1,
.region-reunion h2,
.region-reunion h3 {
  font-family: 'Advent Pro', 'Inter', Arial, sans-serif;
  font-weight: 700;
  color: var(--rr-navy);
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.region-reunion h1 { font-size: clamp(3rem, 5vw, 5rem); line-height: 1.03; letter-spacing: -0.02em; }
.region-reunion h2 { font-size: clamp(2rem, 3vw, 3rem); line-height: 1.12; }
.region-reunion h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.25; }

.region-reunion a { color: var(--rr-blue); text-decoration: none; transition: color .2s var(--ease), background-color .2s var(--ease), opacity .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.region-reunion img { max-width: 100%; display: block; }
.region-reunion button { font-family: inherit; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), opacity .2s var(--ease); }

.region-reunion .rr-wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.region-reunion ::selection { background: var(--rr-blue); color: #fff; }
