/* Police Inter - Police officielle de Bitget */

/* Import Google Fonts Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* Configuration globale de la police */
:root {
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    --font-family-mono: 'Inter', 'SF Mono', Monaco, Inconsolata, 'Fira Code', 'Courier New', monospace;
}

/* Application de la police aux éléments textuels SAUF les icônes */
body,
html {
    font-family: var(--font-family-primary);
}

/* Réinitialisation pour tous les éléments textuels */
h1, h2, h3, h4, h5, h6,
p, 
span:not([class*="fa"]):not([class*="icon"]),
div:not([class*="fa"]):not([class*="icon"]),
button,
input, select, textarea,
label,
td, th,
li, ul, ol,
nav,
header, footer,
section, article,
aside, main {
    font-family: var(--font-family-primary);
}

/* Préserver Font Awesome pour les icônes */
.fa, .fas, .far, .fab, .fal, .fad,
i[class*="fa-"] {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'Font Awesome 6 Pro' !important;
}

/* Poids de police spécifiques pour les titres */
h1, h2, h3 {
    font-weight: 600;
}

h4, h5, h6 {
    font-weight: 500;
}

/* Corps de texte */
body {
    font-weight: 400;
    letter-spacing: -0.011em;
    font-feature-settings: 'ss01' on, 'ss02' on, 'cv01' on, 'cv03' on, 'cv04' on, 'cv06' on, 'cv09' on, 'cv10' on, 'cv11' on;
}

/* Boutons */
button, .btn {
    font-family: var(--font-family-primary);
    font-weight: 500;
    letter-spacing: -0.006em;
}

/* Liens */
a:not([class*="fa"]) {
    font-family: var(--font-family-primary);
    font-weight: 400;
}

/* Inputs et formulaires */
input, select, textarea {
    font-family: var(--font-family-primary);
    font-weight: 400;
}

/* Tables */
table, td, th {
    font-family: var(--font-family-primary);
    font-weight: 400;
}

/* Navigation */
nav, .nav-link, .menu-item {
    font-family: var(--font-family-primary);
    font-weight: 500;
}

/* Labels et petits textes */
label, small, .small-text {
    font-family: var(--font-family-primary);
    font-weight: 400;
    letter-spacing: -0.006em;
}

/* Code et éléments monospace */
code, pre, kbd, samp {
    font-family: var(--font-family-mono);
    font-weight: 400;
}

/* Classes utilitaires pour les poids */
.font-thin { font-weight: 100 !important; }
.font-extralight { font-weight: 200 !important; }
.font-light { font-weight: 300 !important; }
.font-regular { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.font-extrabold { font-weight: 800 !important; }
.font-black { font-weight: 900 !important; }

/* Amélioration du rendu des polices */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Ajustements pour les chiffres */
.number, .price, .stat-value, .solde-amount {
    font-feature-settings: 'tnum' on, 'lnum' on;
    font-variant-numeric: tabular-nums lining-nums;
}