/* AJUSTEMENT DU SCROLL */
html { scroll-behavior: smooth; scroll-padding-top: 230px; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; line-height: 1.6; color: #1a1a1a; }

:root {
    --navy: #1B4D70; --teal: #1C6685; --white: #ffffff;
    --light-blue: #a5d8ff; --light-bg: #f4f7f9;
}

/* HEADER : PADDING RÉDUIT & LOGO XXL */
header {
    background: var(--white); padding: 5px 10%; display: flex; 
    justify-content: space-between; align-items: center; 
    position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.header-logo-img { height: 200px !important; width: auto; display: block; }

nav ul { display: flex; list-style: none; gap: 20px; }
nav a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; }

/* HERO (BANDEAU BLEU) */
.hero { background: var(--navy); color: var(--white); padding: 60px 10%; text-align: center; }
.hero h1 { font-size: 2.5rem; margin-bottom: 15px; }
.hero .slogan { color: var(--light-blue); font-style: italic; font-size: 1.2rem; }
.btn-hero { background: var(--white); color: var(--navy); padding: 12px 25px; text-decoration: none; border-radius: 4px; font-weight: 700; display: inline-block; margin-top: 20px; transition: 0.3s;}

/* SECTIONS */
section { padding: 60px 10%; }
.section-light { background: var(--white); }
.section-dark { background: var(--light-bg); }
.container { max-width: 1200px; margin: 0 auto; }
h2 { color: var(--navy); font-size: 2rem; margin-bottom: 25px; }
.label { color: var(--teal); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; display: block; margin-bottom: 10px; }

.services-grid, .formation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.service-item, .form-box, .offer-card-main { background: var(--white); padding: 25px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-top: 5px solid var(--teal); }

/* FORMULAIRE & CORRECTION VISIBILITÉ SELECT */
.contact-card { background: var(--navy); color: var(--white); padding: 40px; border-radius: 15px; }
.form-group { display: flex; gap: 15px; margin-bottom: 15px; }

input, select, textarea { 
    width: 100%; padding: 12px; border-radius: 5px; border: 1px solid rgba(165, 216, 255, 0.4); 
    background: rgba(255, 255, 255, 0.08); color: var(--white) !important; font-family: inherit;
}

/* LA CORRECTION EST ICI */
select option {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
}

input::placeholder, textarea::placeholder { color: var(--light-blue) !important; }
.hp-field { display: none !important; }

.btn-reveal { background: var(--light-blue); border: none; color: var(--navy); padding: 3px 10px; border-radius: 4px; cursor: pointer; font-weight: 700; font-size: 0.7rem; }
.btn-submit {
    background-color: var(--navy) !important; color: var(--white) !important;
    padding: 18px 30px; border: 2px solid var(--white) !important;
    border-radius: 6px; font-weight: 700; text-transform: uppercase; width: 100%; cursor: pointer;
}

/* FOOTER */
footer { background: #051021; color: rgba(255, 255, 255, 0.7); padding: 50px 10% 25px; font-size: 0.85rem; }
.footer-grid { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }

@media (max-width: 768px) {
    header { flex-direction: column; padding: 10px; }
    .header-logo-img { height: 120px !important; }
    .form-group { flex-direction: column; }
    .footer-grid { flex-direction: column; text-align: center; gap: 20px; }
}