/*
Theme Name: BeLight
Theme URI: https://belight.sn
Author: BeLight Sénégal
Author URI: https://belight.sn
Description: Thème personnalisé moderne pour BeLight Sénégal - Solutions cloud ERP, Paie, Comptabilité et Retail. Design responsive avec TailwindCSS.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: belight
Tags: custom, business, modern, responsive, tailwindcss

BeLight WordPress Theme, Copyright 2024 BeLight Sénégal
BeLight is distributed under the terms of the GNU GPL
*/

/* TailwindCSS compilé - Import déplacé après le header pour éviter les erreurs */
/* Si dist/style.css n'existe pas, le thème sera quand même détecté par WordPress */

/* Police Bricolage Grotesque appliquée globalement - Force style normal et weight 500 */
* {
	font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
	font-style: normal !important;
	font-variant: normal !important;
	text-transform: none !important;
	font-synthesis: none !important;
	-webkit-font-smoothing: antialiased !important;
	-moz-osx-font-smoothing: grayscale !important;
}

html {
	font-weight: 500 !important;
	font-style: normal !important;
	font-variant: normal !important;
}

body {
	font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
	font-weight: 500 !important;
	font-style: normal !important;
	font-variant: normal !important;
	text-transform: none !important;
	font-synthesis: none !important;
	-webkit-font-feature-settings: normal !important;
	font-feature-settings: normal !important;
}

/* Textes normaux - font-weight 500 - FORCE style normal et non-italic */
p, span, a, li, div, button, input, textarea, select, label,
td, th, dd, dt, em, i,
.wp-block-paragraph,
.wp-block-paragraph *,
.wp-block-paragraph p,
.wp-block-list,
.wp-block-list *,
.wp-block-list li,
.wp-block-quote,
.wp-block-quote *,
.wp-block-quote p,
.wp-block-table,
.wp-block-table *,
.wp-block-table td,
.wp-block-table th,
.wp-block-column,
.wp-block-column *,
.wp-block-column p,
.wp-block-group,
.wp-block-group *,
.wp-block-group p,
.site-header,
.site-header *,
.site-header p,
.site-header span,
.site-header a,
.site-footer,
.site-footer *,
.site-footer p,
.site-footer span,
.site-footer a,
.site-footer li,
.widget,
.widget *,
.widget p,
.menu,
.menu *,
.menu li,
.menu a,
.nav-menu,
.nav-menu *,
.nav-menu li,
.nav-menu a,
.entry-content,
.entry-content *,
.entry-content p,
article p,
article span,
section p,
section span,
.hero-section p,
.hero-section span {
	font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
	font-weight: 500 !important;
	font-style: normal !important;
	font-variant: normal !important;
	text-transform: none !important;
	font-synthesis: none !important;
	-webkit-font-feature-settings: normal !important;
	font-feature-settings: normal !important;
	/* Force le rendu normal, pas light, pas italic */
	font-stretch: normal !important;
}

/* Titres - font-weight bold */
h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.wp-block-heading *,
h1 *, h2 *, h3 *, h4 *, h5 *, h6 * {
	font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
	font-weight: 700 !important;
	font-style: normal !important;
	font-variant: normal !important;
	text-transform: none !important;
}

/* Éléments en gras */
strong, b, .font-bold, .font-semibold, .font-medium,
.wp-block-button,
.wp-block-button *,
button[class*="font-"],
strong *, b * {
	font-weight: 700 !important;
	font-style: normal !important;
	font-variant: normal !important;
	text-transform: none !important;
}

/* Force tous les éléments em et i à être en style normal (pas italique) */
em, i, .italic, [class*="italic"], cite, dfn {
	font-style: normal !important;
	font-weight: 500 !important;
	font-synthesis: none !important;
}

/* Exception : si vraiment besoin d'italique, utiliser une classe spécifique */
.force-italic {
	font-style: italic !important;
}

/* Règle globale pour éviter l'italique synthétique et forcer weight 400 */
html, body, body * {
	font-synthesis: none !important;
	-webkit-font-smoothing: antialiased !important;
	-moz-osx-font-smoothing: grayscale !important;
}

/* Force spécifiquement tous les textes à être en weight 500 et style normal */
body, p, span, div, a, li, td, th, label, input, textarea, select, button {
	font-weight: 500 !important;
	font-style: normal !important;
	font-synthesis: none !important;
}

/* Sauf les titres et éléments en gras */
h1, h2, h3, h4, h5, h6, strong, b, .font-bold, .font-semibold {
	font-weight: 700 !important;
	font-style: normal !important;
}

/* Border-radius de 40px pour tous les boutons */
button,
input[type="submit"],
input[type="button"],
a[class*="bg-"]:not([class*="rounded-full"]),
a[class*="px-"]:not([class*="rounded-full"]),
.wp-block-button__link,
.wp-block-button a {
	border-radius: 40px !important;
}

