/* BASE.CSS - Source: index.css.bak (Massive Restore) */

/* Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Reset Number Inputs (Spinners removal) */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--brand-neutral);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
}

[id] {
    scroll-margin-top: 110px; /* Offset pour éviter que le header sticky ne masque le contenu (flags, titres) */
}

/* Reading Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--brand-primary);
    width: 0%;
    z-index: 10001;
    /* Above Header */
    transition: width 0.1s linear;
}

h1,
h2,
h3 {
    font-family: var(--font-headings);
    font-weight: 800;
    color: var(--brand-neutral);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.25rem;
    border-bottom: 2px solid var(--brand-primary);
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-top: 4rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    color: var(--brand-primary);
}

.cat-h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    border-bottom: 2px solid var(--surface-2);
    padding-bottom: 0.5rem;
    color: var(--brand-primary) !important;
    /* Couleur synchronisée avec l'icône Expert */
    font-size: 1.6rem;
    /* Légèrement boosté pour l'impact */
}

.h3-icon {
    width: 22px;
    height: 22px;
    stroke: var(--brand-primary);
    opacity: 0.9;
    flex-shrink: 0;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Listes & Alignment */
ul,
ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.expert-list {
    list-style-type: disc;
    margin: 1.5rem 0;
}

.expert-list li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.6;
}

.expert-list li strong {
    color: var(--brand-neutral);
}



