/* Import de la police Alexandria depuis Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Application de la police Alexandria à TOUT le site - SAUF les icônes */
* :not(.fa):not(.fas):not(.far):not(.fal):not(.fab):not(.flaticon):not(.tk):not([class*="icon-"]):not([class*="thim-ekits"]):not([class*="fa-"]) {
    font-family: 'Alexandria', sans-serif !important;
}

/* Body et éléments principaux */
body, html {
    font-family: 'Alexandria', sans-serif !important;
}

/* Titres */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Alexandria', sans-serif !important;
}

/* Textes de navigation */
nav, .nav, .menu, .navigation,
.navbar, .navbar-nav, .nav-menu {
    font-family: 'Alexandria', sans-serif !important;
}

/* Boutons */
button, .button, .btn,
input[type="submit"], input[type="button"] {
    font-family: 'Alexandria', sans-serif !important;
}

/* Formulaires */
input, textarea, select, option {
    font-family: 'Alexandria', sans-serif !important;
}

/* Liens */
a, .link {
    font-family: 'Alexandria', sans-serif !important;
}

/* Paragraphes et textes */
p, span, div, li, td, th {
    font-family: 'Alexandria', sans-serif !important;
}

/* Widgets */
.widget, .widget-title, .widget-content {
    font-family: 'Alexandria', sans-serif !important;
}

/* Header et toolbar */
#masthead, #toolbar, .header, .site-header {
    font-family: 'Alexandria', sans-serif !important;
}

/* Footer */
#colophon, .footer, .site-footer {
    font-family: 'Alexandria', sans-serif !important;
}

/* Contenu principal */
#main, .main-content, .content, .site-content {
    font-family: 'Alexandria', sans-serif !important;
}

/* Sidebar */
.sidebar, .widget-area {
    font-family: 'Alexandria', sans-serif !important;
}

/* LearnPress - éléments spécifiques */
.learn-press, .lp-content-area, .course-item,
.lesson-content, .quiz-content, .course-curriculum {
    font-family: 'Alexandria', sans-serif !important;
}

/* Thème Eduma - classes spécifiques */
.thim-widget, .thim-course, .thim-event,
.course-meta, .course-price, .course-instructor {
    font-family: 'Alexandria', sans-serif !important;
}

/* Popup et modales */
.popup, .modal, .overlay, .lightbox {
    font-family: 'Alexandria', sans-serif !important;
}

/* Tableaux */
table, .table {
    font-family: 'Alexandria', sans-serif !important;
}

/* Classes de typographie communes */
.text, .content, .description, .excerpt,
.title, .subtitle, .caption {
    font-family: 'Alexandria', sans-serif !important;
}

/* PRESERVATION DES ICÔNES - NE PAS APPLIQUER ALEXANDRIA */
.fa, .fas, .far, .fal, .fab,
.flaticon, .tk, .thim-ekits,
[class*="icon-"], [class*="fa-"],
.fontawesome-i2svg-active .fa,
.fontawesome-i2svg-active .fas,
.fontawesome-i2svg-active .far,
.fontawesome-i2svg-active .fal,
.fontawesome-i2svg-active .fab {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'Font Awesome 5 Free', 'Font Awesome 5 Pro', 'FontAwesome', 'thim-ekits', 'Flaticon', inherit !important;
}

/* Classes WooCommerce si présent */
.woocommerce, .wc-block, .product {
    font-family: 'Alexandria', sans-serif !important;
}

/* Classes Elementor si présent */
.elementor, .elementor-widget, .elementor-element {
    font-family: 'Alexandria', sans-serif !important;
}

/* Breadcrumbs */
.breadcrumb, .breadcrumbs {
    font-family: 'Alexandria', sans-serif !important;
}

/* Pagination */
.pagination, .page-numbers {
    font-family: 'Alexandria', sans-serif !important;
}

/* Messages et notifications */
.notice, .message, .alert, .notification {
    font-family: 'Alexandria', sans-serif !important;
}
