/* --- IMPORTATION DES POLICES --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@800;900&display=swap');

/* --- VARIABLES DE DESIGN SYSTÈME --- */
:root {
    --katalog-bordeaux: #902135;
    --primary-blue: #235a81;
    --text-dark: #111827;
    --text-muted: #4b5563;
    --katalog-orange: #E27708;
    --gray-light: #f9fafb;
    --border-color: #e5e7eb;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- BASE & LISSAGE --- */
.pres-container {
    font-family: 'Montserrat', -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--gray-bg);
    -webkit-font-smoothing: antialiased;
    /* Rend la police plus fine et élégante */
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    /* Largeur réduite pour éviter l'aspect "étalé" */
    margin: 0 auto;
    padding: 0 15px;

}

/* --- HEADER ÉLÉGANT --- */
.page-header {

    text-align: center;

    background: linear-gradient(135deg, rgba(35, 90, 129, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 40px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    color: #1f2937;
    font-weight: 800;
    margin: 0;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* --- MAP TRACK (FIL CONDUCTEUR DISCRET) --- */
.map-track {
    position: relative;
    padding-left: 60px;
}

.map-track::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 1.5px;
    /* Plus fin pour moins de lourdeur */
    background: linear-gradient(to bottom, var(--katalog-bordeaux), var(--katalog-orange));
    opacity: 0.25;
}

.section-wrapper {
    padding: 60px 0;
    position: relative;
}

/* Point de liaison */
.section-wrapper::after {
    content: '';
    position: absolute;
    left: -48.5px;
    /* Aligné sur la ligne verticale de 1.5px */
    top: 76px;
    width: 14px;
    height: 14px;
    background: white;
    border: 2.5px solid var(--katalog-bordeaux);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 6px #fff;
    transition: var(--transition-smooth);
}

.section-wrapper:hover::after {
    background: var(--katalog-bordeaux);
    transform: scale(1.25);
    box-shadow: 0 0 15px rgba(144, 33, 53, 0.3);
}

/* --- TITRES DE SECTION --- */
.section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.section-title i {
    font-size: 1.4rem;
    color: var(--katalog-bordeaux);
}

.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

/* --- CARTES MODERNES (WHITE SPACE) --- */
.card-modern {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
}

.bg-image-section {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.bg-image-section::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Remplace top/left/right/bottom: 0 */
    background: rgba(255, 255, 255, 0.95);
    z-index: -1;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* --- DOMAINES (STYLE ÉPURÉ) --- */
.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px;
}

.domain-card {
    text-align: center;
    padding: 30px 15px;
    background: var(--gray-light);
    border-radius: 18px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.domain-card i {
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: block;
    color: var(--katalog-bordeaux);
}

.domain-card:hover {
    background: white;
    border-color: var(--katalog-bordeaux);
    color: var(--katalog-bordeaux);
    box-shadow: 0 10px 15px -3px rgba(144, 33, 53, 0.1);
}

/* --- TAGS (PILLULES) --- */
.resource-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.resource-tag {
    background: #f3f4f6;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #374151;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.resource-tag:hover {
    background: var(--katalog-bordeaux);
    color: white;
    cursor: default;
}

/* --- VISION BOX (MODERNE) --- */
.vision-box {
    background: var(--text-dark);
    color: #fff;
    padding: 70px 40px;
    border-radius: 32px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.vision-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 24px;
    background: linear-gradient(to right, #ffffff, #9ca3af);
    /* Compatibilité Standard & Webkit */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* --- CHECKLIST --- */
.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.list-icon {
    color: #10b981;
    /* Vert émeraude pour le "check" positif */
    font-size: 1.1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .map-track {
        padding-left: 40px;
    }

    .map-track::before {
        left: 15px;
    }

    .section-wrapper::after {
        left: -31px;
    }

    .card-modern {
        padding: 25px;
    }
}