/* ---- RESET ---- */
body, h1, h2, h3, p, a { margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif; }
body { background: #f5f7fa; color: #333; line-height: 1.6; }

/* ---- HEADER ---- */
.header {
    background: #ffffff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #003366;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-zone { display: flex; align-items: center; }
.logo { height: 60px; margin-right: 15px; }

.site-title h1 { font-size: 22px; color: #003366; }
.site-title h2 { font-size: 14px; color: #666; }

/* ---- NAV ---- */
.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #003366;
    font-weight: bold;
}
.nav a:hover { text-decoration: underline; }

.login-btn {
    background: #003366;
    color: white !important;
    padding: 8px 14px;
    border-radius: 4px;
}
.login-btn:hover { background: #002244; }

/* ---- HERO ---- */
.hero {
    background: linear-gradient(to bottom right, #004080, #336699);
    color: white;
    padding: 90px 30px;
    text-align: center;
}

.hero h1 {
    font-size: 34px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 25px auto;
}

.hero-btn {
    display: inline-block;
    background: #ffffff;
    color: #004080;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
}
.hero-btn:hover { background: #e6e6e6; }

/* ---- FEATURES ---- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    padding: 40px;
}

.feature-block {
    background: white;
    border-radius: 6px;
    padding: 20px;
    border-left: 5px solid #003366;
}

.feature-block h3 {
    color: #003366;
    margin-bottom: 10px;
}

.feature-block p {
    margin-bottom: 12px;
    color: #444;
}

.feature-block a {
    text-decoration: none;
    font-weight: bold;
    color: #004080;
}
.feature-block a:hover { text-decoration: underline; }

/* ---- FOOTER ---- */
.footer {
    text-align: center;
    padding: 20px;
    background: #003366;
    color: white;
    margin-top: 40px;
}

/* ---- SUBHERO ---- */
.subhero {
    padding: 60px 20px;
    background: linear-gradient(to bottom right, #004080, #336699);
}

/* ---- CONTENT ---- */
.content {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 26px;
    font-weight: bold;
    color: #003366;
    margin: 40px 0 20px;
}

/* ---- GRID ---- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    background: white;
    padding: 20px;
    border-left: 5px solid #003366;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.info-card h3 {
    color: #003366;
    margin-bottom: 10px;
}

.list {
    margin: 15px 0 25px 20px;
}

/* ---- CTA ---- */
.cta {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 18px;
    text-decoration: none;
    background: #003366;
    color: white;
    font-weight: bold;
    border-radius: 4px;
}

.cta:hover {
    background: #002244;
}

/* Navigation interne */
.topic-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.topic-nav a {
    padding: 6px 12px;
    background: #e6edf5;
    border-radius: 4px;
    text-decoration: none;
    color: #003366;
    font-weight: 600;
}
.topic-nav a:hover {
    background: #d8e2ee;
}

/* Sections */
.info-section {
    margin-bottom: 45px;
}
.info-section h2 {
    margin-bottom: 12px;
}

/* Texte principal */
.lead {
    font-size: 17px;
    margin-bottom: 18px;
}

/* Mise en colonnes */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Listes */
.bullet li {
    margin-bottom: 8px;
}

/* Encadré */
.highlight {
    background: #f2f6fb;
    border-left: 4px solid #003366;
    padding: 15px;
    border-radius: 4px;
}

/* Cartes */
.cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.card {
    background: #fff;
    border-left: 4px solid #003366;
    padding: 18px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Bouton */
.cta {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 16px;
    background: #003366;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}
.cta:hover {
    background: #002244;
}

/* Grille des cartes */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

/* Carte image */
.card {
    background: #fff;
    border-left: 4px solid #003366;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-body {
    padding: 12px 10px;
}

.cta-small {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: #003366;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}
.cta-small:hover {
    background: #002244;
}