/*
Theme Name: IME Dakar
Theme URI: https://ime.sn
Author: Institut des Métiers de l'Entreprise (IME)
Author URI: https://ime.sn
Description: Thème WordPress de l'Institut des Métiers de l'Entreprise (IME), campus VDN Dakar et Rufisque. Compatible Elementor (widget « Section IME », en-tête et pied de page remplaçables avec Elementor Pro). Catalogue des filières, simulateur d'orientation, pré-inscription en ligne et suivi des candidatures dans l'administration.
Version: 3.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ime-dakar
Tags: education, custom-colors, custom-menu, featured-images, translation-ready, full-width-template
*/

:root {
  --ime-primary: #f59e0b;
  --ime-primary-hover: #d97706;
  --ime-primary-light: #fef3c7;
  --ime-dark: #0f172a;
  --ime-dark-secondary: #1e293b;
  --ime-slate-900: #0f172a;
  --ime-slate-800: #1e293b;
  --ime-slate-700: #334155;
  --ime-slate-600: #475569;
  --ime-slate-200: #e2e8f0;
  --ime-slate-100: #f1f5f9;
  --ime-slate-50: #f8fafc;
  --ime-emerald: #059669;
  --ime-blue: #1754b5;
}

/* Base typography reset & smooth scrolling */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--ime-slate-900);
  background-color: #ffffff;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

/* Adjust fixed header if WordPress Admin Bar is visible */
body.admin-bar .ime-sticky-header {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar .ime-sticky-header {
    top: 46px !important;
  }
}

/* Base layout & box sizing */
*, ::before, ::after {
  box-sizing: border-box;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}


/* ==========================================================================
   Compatibilité Elementor
   Le reset Tailwind retire les puces et marges par défaut : on les rétablit
   dans les contenus saisis avec Elementor.
   ========================================================================== */
.ime-elementor-main {
  width: 100%;
}
.elementor-widget-text-editor ul { list-style: disc; padding-left: 1.5em; margin: 0 0 1em; }
.elementor-widget-text-editor ol { list-style: decimal; padding-left: 1.5em; margin: 0 0 1em; }
.elementor-widget-text-editor p { margin: 0 0 1em; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor img { max-width: 100%; height: auto; }
