/* Structure et couleurs principales */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f8fa;
    color: #222;
}
header {
    background: #14416b;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem;
}
.logo {
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 1px;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}
.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links li a:hover,
.nav-links li a:focus {
    color: #ffd700;
}
.section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(20,65,107,0.07);
}
.accueil {
    background: linear-gradient(90deg, #14416b 60%, #276fa1 100%);
    color: #fff;
    text-align: center;
    margin-top: 2rem;
}
.accueil h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.slogan {
    font-style: italic;
    font-size: 1.2rem;
}
h2 {
    color: #14416b;
    margin-top: 0;
}
.galerie-section {
    text-align: center;
}
.galerie-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
}
.galerie-thumb {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(20,65,107,0.09);
    transition: transform 0.15s, box-shadow 0.15s;
}
.galerie-thumb:focus {
    outline: 2px solid #14416b;
    outline-offset: 2px;
}
.galerie-thumb img {
    display: block;
    width: 160px;
    height: auto;
    max-height: 210px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.2s;
}
.galerie-thumb:hover img,
.galerie-thumb:focus img {
    transform: scale(1.06);
}
.modal {
    display: none;
    position: fixed;
    z-index: 30;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(20,65,107,0.85);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-content {
    background: #fff;
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: 0 8px 32px rgba(20,65,107,0.19);
    position: relative;
    max-width: 95vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-content img {
    max-width: 70vw;
    max-height: 70vh;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(20,65,107,0.13);
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #14416b;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 2;
}
.modal-close:hover,
.modal-close:focus {
    color: #e53935;
}
.citations-section blockquote {
    background: linear-gradient(90deg, #276fa1 0%, #14416b 100%);
    color: #fff;
    font-size: 1.15rem;
    font-style: italic;
    border-left: 5px solid #ffd700;
    margin: 1.5rem 0;
    padding: 1.2rem 1.5rem 1.2rem 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(20,65,107,0.09);
    transition: background 0.2s;
}
.citations-section blockquote:not(:last-child) {
    margin-bottom: 2rem;
}
.ressources-list {
    padding-left: 1.1em;
}
.ressources-list li {
    margin-bottom: 0.7em;
    line-height: 1.6;
}
footer {
    background: #14416b;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0 1rem 0;
    margin-top: 2.5rem;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .section {
        max-width: 98vw;
        padding: 1.5rem 0.4rem;
    }
    .galerie-grid {
        gap: 0.8rem;
    }
    .galerie-thumb img {
        width: 110px;
        max-height: 150px;
    }
}
@media (max-width: 650px) {
    .navbar {
        flex-wrap: wrap;
        padding: 1rem 0.7rem;
    }
    .logo {
        font-size: 1rem;
    }
    .nav-toggle {
        display: block;
        margin-left: auto;
    }
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #14416b;
        padding: 1.2rem 0 1rem 0;
        gap: 1rem;
        display: none;
        z-index: 20;
        box-shadow: 0 8px 24px rgba(20,65,107,0.17);
    }
    .nav-links.open {
        display: flex;
    }
    .section {
        padding: 1.1rem 0.2rem;
        margin: 2rem 0.5rem;
    }
    .accueil {
        margin-top: 1rem;
    }
}
