/* ============================================================
   FEUILLE DE STYLE DIPLOMATIQUE - MAEC NIGER
   Style institutionnel épuré, professionnel
   ============================================================ */

:root {
    --niger-orange: #E65100;
    --niger-orange-light: #FF6D00;
    --niger-green: #1B5E20;
    --niger-green-dark: #0D3B0F;
    --niger-green-light: #2E7D32;
    --niger-white: #FFFFFF;
    --text-dark: #1a1a1a;
    --text-body: #333333;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --bg-body: #f8f9fa;
    --bg-card: #ffffff;
    --bg-light: #f1f3f4;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --error: #dc2626;
    --success: #16a34a;
    --warning: #d97706;
    --info: #2563eb;
    --radius: 6px;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow: 0 1px 3px 0 rgba(0,0,0,0.08), 0 1px 2px -1px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.04);
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --transition: all 0.25s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.accessible {
    font-size: 1.15rem;
}
body.accessible .form-control,
body.accessible .btn {
    font-size: 1.1rem;
    padding: 14px 20px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--niger-green); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--niger-orange); }

/* === SÉLECTEUR DE LANGUE === */
.lang-selector {
    position: relative;
}
.lang-btn {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}
.lang-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    min-width: 140px;
    z-index: 2000;
    overflow: hidden;
    margin-top: 4px;
}
.lang-menu.active { display: block; }
.lang-menu a {
    display: block;
    padding: 9px 14px;
    color: var(--text-body);
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
}
.lang-menu a:hover { background: var(--bg-light); color: var(--niger-green); padding-left: 18px; }
.lang-menu a.active { background: var(--niger-green); color: #fff; }
.lang-menu a:last-child { border-bottom: none; }

/* === BOUTON RETOUR EN HAUT === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--niger-green);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--niger-orange);
    transform: translateY(-3px);
}

/* === BARRE SUPÉRIEURE === */
.top-bar {
    background: var(--niger-green-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 7px 0;
}
.top-bar .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-left a {
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
    text-decoration: none;
    transition: var(--transition);
}
.top-bar-left a i { margin-right: 5px; font-size: 0.7rem; }
.top-bar-left a:hover { color: #fff; }
.top-bar-right { display: flex; gap: 10px; align-items: center; }
.btn-accessible {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--transition);
}
.btn-accessible:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-inscrire-top {
    background: var(--niger-orange);
    color: #fff;
    padding: 5px 14px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.btn-inscrire-top:hover { background: var(--niger-orange-light); color: #fff; }

/* === EN-TÊTE === */
.site-header {
    background: var(--niger-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    text-decoration: none;
}

.header-flag {
    width: 48px;
    height: 34px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.header-titles h1 {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.header-titles span {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
    margin-top: 1px;
    font-weight: 400;
}

/* === NAVIGATION COMPACTE === */
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
    display: block;
    padding: 8px 14px;
    color: var(--text-body);
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.main-nav a i { margin-right: 4px; }
.main-nav a:hover, .main-nav a.active {
    background: var(--niger-green);
    color: #fff;
}
.main-nav a.btn-accent {
    background: var(--niger-orange);
    color: #fff;
    margin-left: 8px;
}
.main-nav a.btn-accent:hover { background: var(--niger-orange-light); }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--niger-green);
    cursor: pointer;
    padding: 6px;
}

/* === SLIDER HERO === */
.hero-slider {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: var(--text-dark);
}
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.5;
}
.hero-slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(13,59,15,0.92) 0%, rgba(13,59,15,0.75) 45%, rgba(13,59,15,0.3) 100%);
}
.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.hero-slide-tag {
    display: inline-block;
    background: var(--niger-orange);
    color: #fff;
    padding: 4px 14px;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    margin-bottom: 16px;
}
.hero-slide-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    max-width: 650px;
    margin-bottom: 14px;
}
.hero-slide-excerpt {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    max-width: 550px;
    line-height: 1.6;
    margin-bottom: 24px;
}
.hero-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--niger-orange);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    width: fit-content;
    text-decoration: none;
    transition: var(--transition);
}
.hero-slide-btn:hover { background: var(--niger-orange-light); color: #fff; transform: translateY(-2px); }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.slider-dot.active { background: var(--niger-orange); }
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}
.slider-arrow:hover { background: rgba(255,255,255,0.3); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* === WRAP === */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === PAGE TITLE === */
.page-title-section {
    background: var(--niger-green);
    color: #fff;
    padding: 45px 0;
}
.page-title-section h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.page-title-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

/* === CONTENT === */
.page-content { padding: 45px 0; flex: 1; }

/* === CARDS === */
.card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.card-header h2 {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 600;
}
.card-header h2 i { color: var(--niger-orange); margin-right: 10px; }

/* === GRID === */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* === NEWS CARDS === */
.news-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-date {
    color: var(--niger-orange);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.news-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 10px 0;
}
.news-card-title a { color: inherit; text-decoration: none; }
.news-card-title a:hover { color: var(--niger-green); }
.news-card-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}
.news-card-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}
.read-more {
    color: var(--niger-green);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}
.read-more:hover { color: var(--niger-orange); }

/* === SECTION TITLE === */
.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}
.section-title h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
}
.section-title-line {
    flex: 1;
    height: 2px;
    background: var(--niger-green);
    opacity: 0.2;
}
.section-title-link {
    font-size: 0.85rem;
    color: var(--niger-green);
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
}
.section-title-link:hover { color: var(--niger-orange); }

/* === FEATURED NEWS === */
.featured-news {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    margin-bottom: 35px;
}
.featured-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
}
.featured-news-body {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-news-tag {
    display: inline-block;
    background: var(--niger-orange);
    color: #fff;
    padding: 4px 12px;
    border-radius: 2px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    margin-bottom: 14px;
}
.featured-news-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 12px;
}
.featured-news-title a { color: inherit; text-decoration: none; }
.featured-news-title a:hover { color: var(--niger-green); }
.featured-news-excerpt {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* === MINISTRE SECTION === */
.ministre-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}
.ministre-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
}
.ministre-body {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ministre-label {
    color: var(--niger-orange);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.ministre-nom {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.ministre-fonction {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
}
.ministre-quote {
    font-style: italic;
    color: var(--text-body);
    line-height: 1.8;
    border-left: 3px solid var(--niger-orange);
    padding-left: 18px;
    margin-bottom: 20px;
}
.ministre-text {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* === BOUTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.3;
}
.btn-primary { background: var(--niger-green); color: #fff; }
.btn-primary:hover { background: var(--niger-green-light); color: #fff; transform: translateY(-1px); }
.btn-accent { background: var(--niger-orange); color: #fff; }
.btn-accent:hover { background: var(--niger-orange-light); color: #fff; transform: translateY(-1px); }
.btn-outline {
    background: transparent;
    color: var(--niger-green);
    border: 1.5px solid var(--niger-green);
}
.btn-outline:hover { background: var(--niger-green); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

/* === FORMULAIRES === */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-size: 0.92rem;
}
.form-group label .required { color: var(--error); margin-left: 2px; }
.form-control {
    width: 100%;
    padding: 11px 14px;
    font-size: 1rem;
    font-family: var(--font-main);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    background: #fff;
    color: var(--text-body);
    line-height: 1.5;
}
.form-control:focus {
    border-color: var(--niger-green);
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1);
    outline: none;
}
.form-control::placeholder { color: var(--text-light); font-size: 0.92rem; }
select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-help {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* === ALERTES === */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 22px;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-left: 4px solid;
}
.alert i { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.alert-success { background: #f0fdf4; color: var(--success); border-left-color: var(--success); }
.alert-error { background: #fef2f2; color: var(--error); border-left-color: var(--error); }
.alert-warning { background: #fffbeb; color: var(--warning); border-left-color: var(--warning); }
.alert-info { background: #eff6ff; color: var(--info); border-left-color: var(--info); }

/* === STEPS BAR === */
.steps-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
    position: relative;
}
.steps-bar::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}
.step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}
.step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 auto 8px;
    border: 3px solid #fff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.step-active .step-num { background: var(--niger-green); color: #fff; }
.step-done .step-num { background: var(--success); color: #fff; }
.step-label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
.step-active .step-label { color: var(--niger-green); }

/* === DROP ZONE === */
.drop-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: var(--bg-light);
}
.drop-zone:hover { border-color: var(--niger-green); background: rgba(27,94,32,0.02); }
.drop-zone i { font-size: 2.2rem; color: var(--niger-green); margin-bottom: 10px; display: block; }
.drop-zone p { font-size: 1rem; color: var(--text-body); margin-bottom: 6px; }
.drop-zone span { font-size: 0.82rem; color: var(--text-muted); }

/* === TABLES === */
.table-wrap { overflow-x: auto; }
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.data-table thead th {
    background: var(--niger-green);
    color: #fff;
    padding: 13px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.data-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}
.data-table tbody tr:hover { background: var(--bg-light); }

/* === BADGES === */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-validated { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-processing { background: #dbeafe; color: #1e40af; }

/* === FOOTER === */
.site-footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 0;
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--niger-orange);
    margin-top: 8px;
}
.footer-col p, .footer-col a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    line-height: 1.8;
    text-decoration: none;
}
.footer-col a i { font-size: 0.65rem; margin-right: 6px; }
.footer-col a:hover { color: var(--niger-orange-light); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
}
.footer-social a:hover { background: var(--niger-orange); }
.footer-bottom {
    padding: 18px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}

/* === CTA BANNER === */
.cta-banner {
    background: var(--niger-green);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}
.cta-banner h2 { color: #fff; font-size: 1.6rem; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 25px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* === SECTORS === */
.sector-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.sector-card:hover { border-color: var(--niger-green); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sector-card i { font-size: 2rem; color: var(--niger-green); margin-bottom: 12px; }
.sector-card h3 { font-size: 1rem; color: var(--text-dark); margin-bottom: 6px; }
.sector-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* === FILTERS === */
.filters-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
    margin-bottom: 20px;
}
.filters-bar .form-group { margin-bottom: 0; flex: 1; min-width: 160px; }

/* === SKIP LINK === */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--niger-green);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
    font-size: 0.85rem;
}
.skip-link:focus { top: 0; }

/* === PAGE HEADER (nouvelles pages) === */
.page-header {
    background: linear-gradient(135deg, var(--niger-green) 0%, var(--niger-green-light) 100%);
    color: #fff;
    padding: 50px 0 45px;
    margin-bottom: 0;
}
.page-header h1 {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}
.page-header h1 i { margin-right: 12px; color: var(--niger-orange); }
.page-header .page-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    font-weight: 400;
}

/* === INTRO SECTION === */
.intro-section {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-body);
    margin: 0 0 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
}
.intro-section p {
    margin-bottom: 0;
    max-width: 900px;
}

/* === SERVICE / SECTOR / TOPIC CARDS === */
.service-card,
.sector-card,
.topic-card,
.benefit-card,
.step-card,
.past-event {
    transition: var(--transition);
}
.service-card:hover,
.topic-card:hover,
.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* === STATS BAR === */
.stat-card {
    transition: var(--transition);
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* === EVENT HIGHLIGHT === */
.event-highlight {
    transition: var(--transition);
}
.event-highlight:hover {
    box-shadow: var(--shadow-md);
}

/* === ORGANIGRAMME === */
.org-chart {
    transition: var(--transition);
}

/* === HIGHLIGHT SECTION === */
.highlight-section {
    overflow: hidden;
}

/* === OBTENTION STEPS === */
.obtention-step {
    transition: var(--transition);
}
.obtention-step:hover {
    box-shadow: var(--shadow-md);
}

/* === CONSULAT / PERM REP CARDS === */
.consulat-card,
.perm-rep {
    transition: var(--transition);
}
.consulat-card:hover,
.perm-rep:hover {
    box-shadow: var(--shadow-md);
}

/* === DIRECTION CARD === */
.direction-card {
    transition: var(--transition);
}
.direction-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* === PAST EVENTS === */
.past-event:hover {
    box-shadow: var(--shadow-md);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .featured-news { grid-template-columns: 1fr; }
    .ministre-card { grid-template-columns: 1fr; }
    .ministre-photo { min-height: 250px; }
    .ministre-body { padding: 25px; }
    .top-bar .wrap { flex-direction: column; gap: 6px; }
}
@media (max-width: 768px) {
    .top-bar-right { flex-wrap: wrap; justify-content: center; }
    .header-main { padding: 10px 16px; }
    .header-titles h1 { font-size: 0.7rem; }
    .mobile-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 10px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border);
    }
    .main-nav.active { display: flex; }
    .main-nav a { padding: 10px 14px; border-radius: 4px; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-slider { height: 340px; }
    .hero-slide-title { font-size: 1.5rem; }
    .slider-arrow { display: none; }
    .back-to-top { width: 40px; height: 40px; font-size: 1rem; bottom: 20px; right: 20px; }
}
@media print {
    .top-bar, .site-footer, .mobile-toggle, .slider-arrow, .slider-dots, .btn-accessible, .lang-selector, .back-to-top { display: none !important; }
    body { font-size: 11pt; background: white; }
    .card { box-shadow: none; border: 1px solid #ddd; }
}
