﻿/* --- CONFIGURATION RACINE --- */
:root {
    --emerald: #0a241a;
    --gold: #c5a059;
    --bg-dark: #121212;
    --bg-section: #1e1e1e;
    --text-main: #ffffff;
}

html, body {
    background-color: var(--bg-dark) !important;
    margin: 0;
    padding: 0;
    color: var(--text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* --- EN-TÊTE & NAVIGATION --- */
.top-banner { background: var(--emerald); text-align: center; padding: 15px 0; }
.top-banner img { max-width: 1000px; width: 90%; height: auto; }

.sticky-nav {
    position: sticky;
    top: 0;
    background: var(--emerald);
    padding: 12px 0;
    z-index: 2000;
    border-top: 1px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}

.nav-container { max-width: 1000px; margin: 0 auto; display: flex; justify-content: center; gap: 10px; }
.nav-container a { color: white; text-decoration: none; padding: 5px 15px; font-weight: bold; text-transform: uppercase; font-size: 0.9em; }

/* --- STRUCTURE GÉNÉRALE --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px; /* Espace équilibré pour le haut de page */
}

section {
    background: var(--bg-section);
    padding: 35px;
    margin-bottom: 30px; /* Espace entre les blocs */
    border-radius: 4px;
    border-top: 4px solid #ffffff;
}

/* --- ACCUEIL SPECIFIQUE --- */
.hero-home {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(rgba(10, 36, 26, 0.8), rgba(10, 36, 26, 0.8)), url('banniere.png'); /* Optionnel : fond léger */
    background-size: cover;
    border-radius: 4px;
    margin-bottom: 40px;
}

.hero-home h1 {
    font-size: 2.8em;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-home .subtitle {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto;
    color: #cccccc;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .hero-home h1 { font-size: 1.8em; }
    .hero-home .subtitle { font-size: 1.1em; }
}


/* --- OPTIMISATION TITRE / TRAIT --- */
h2, h3 {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 4px;   /* Trait collé au titre (au lieu de 15px) */
    margin-top: 0;
    margin-bottom: 15px;  /* Espace réduit après le trait (au lieu de 30px) */
    text-transform: uppercase;
}

/* --- OPTIMISATION BLOC CONFIDENTIALITÉ --- */
.confidentiality-notice {
    background: rgba(10, 36, 26, 0.5);
    border: 1px solid #444;
    padding: 15px;
    margin-top: -5px;     /* Remonte vers le titre */
    margin-bottom: 20px;  /* Espace raisonnable avant la suite */
    border-radius: 4px;
    font-size: 0.9em;
}

/* --- EXPERTISE & PDF --- */
.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pdf-card {
    display: flex;
    align-items: center;
    background: #252525;
    padding: 20px;
    text-decoration: none;
    color: #ffffff;
    border-left: 6px solid #ffffff;
    border-radius: 5px;
    font-weight: bold;
}

.pdf-icon { font-size: 2.2em; margin-right: 20px; color: #ffffff; }

/* --- FORMULAIRES --- */
.form-group { margin-bottom: 15px; }

input, select, textarea {
    padding: 12px;
    background: #2d2d2d;
    color: white;
    border: 1px solid #444;
    width: 100%;
    box-sizing: border-box;
}

.btn-send {
    background: var(--emerald);
    color: white;
    border: none;
    padding: 18px;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 4px solid #ffffff;
    text-transform: uppercase;
    margin-top: 10px;
}

/* --- FOOTER --- */
.site-footer {
    background: var(--emerald);
    padding: 30px 0;
    margin-top: 50px;
    border-top: 2px solid #ffffff;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.footer-container a { color: white; text-decoration: none; font-weight: bold; }

@media (max-width: 768px) {
    .nav-container { justify-content: flex-start; padding: 0 10px; overflow-x: auto; }
    .footer-container { flex-direction: column; gap: 20px; }
}