/* =============================================
   PRO MAX BAT — CSS GLOBAL HARMONISÉ
   Valable sur TOUTES les pages SAUF index.html
   ============================================= */

/* === RÉINITIALISATION — SUPPRIME TOUTE MARGE EN HAUT === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    overflow-x: hidden;
    min-height: 100vh;
}

/* === COULEURS & POLICES OFFICIELLES === */
body {
    font-family: 'Montserrat', sans-serif;
    color: #1A1A1A;
    background-color: #F5F6F8;
    line-height: 1.6;
}

h1, h2, h3, h4,
.titre-section {
    color: #23395D !important;
    font-weight: 600;
}

.titre-section {
    font-size: 1.8rem;
    text-align: center;
    text-transform: uppercase;
    margin: 1.5rem auto 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #C19A2E !important;
    display: table;
}

/* === BANDEAU DIAGONAL UNIFORME === */
.contenu-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.fond-diagonal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(110deg, rgba(35, 57, 93, 0.55) 50%, #F5F6F8 50%);
    pointer-events: none;
}

/* === CONTENEUR PRINCIPAL === */
.conteneur {
    width: 90%;
    max-width: 1050px;
    margin: 0 auto;
}

section {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 0 5rem 0;
}

section > .conteneur {
    text-align: left;
}

/* === EN-TÊTE & MENU — AUCUNE MARGE EN HAUT === */
header {
    background-color: #C19A2E;
    border-bottom: 3px solid #A68326;
    position: relative;
    z-index: 2;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

.identite h1 {
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 1.3;
    text-transform: uppercase;
    color: #FFFFFF !important;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0.1rem !important;
    flex-wrap: wrap;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.70rem !important;
    padding: 0.15rem 0.20rem !important;
}

nav a:hover,
nav a.actif {
    text-decoration: underline;
    font-weight: 600;
}

/* === ICÔNE CONTACT SVG — TAILLE 15px === */
nav .icone-contact-svg {
    width: 15px;
    height: 16px;
    display: block;
}

nav .icone-contact-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* === BOUTONS === */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primaire {
    background-color: #C19A2E;
    color: #FFFFFF;
}

.btn-primaire:hover {
    background-color: #A68326;
}

/* === PIED DE PAGE === */
.pied {
    background-color: #2C2F33 !important;
    color: #FFFFFF !important;
    border-top: 2px solid #44484C;
    border-bottom: 2px solid #44484C;
    padding: 2.2rem 0;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.pied p,
.pied img {
    color: #FFFFFF !important;
    background: transparent !important;
}

.logo-qualibat {
    height: 60px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* === TEXTE SUR FOND BLEU === */
.sur-bleu {
    color: #FFFFFF !important;
}

/* === EN-TÊTE HAUTEUR IDENTIQUE SUR TOUTES LES PAGES === */
header .header-inner {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* === RÉGLAGES MOBILE === */
@media (max-width: 992px) {
    .conteneur { padding: 0 1rem; width: 100% !important; max-width: 100% !important; }
    .header-inner { flex-wrap: nowrap !important; gap: 0.3rem !important; padding: 0.8rem 0; }
    .identite img { height: 55px !important; }
    .identite h1 { font-size: 1.1rem !important; }
    nav ul { flex-wrap: wrap !important; gap: 0.1rem !important; justify-content: center !important; }
    nav a { font-size: 0.70rem !important; padding: 0.15rem 0.20rem !important; }
    section { padding: 2rem 0 4rem 0 !important; }
    .titre-section { font-size: 1.4rem; }
}

@media (max-width: 576px) {
    nav ul { gap: 0.05rem !important; }
    nav a { font-size: 0.65rem !important; padding: 0.1rem !important; }
}