#bloc_et .bandeau_sous_titre
{
    font-size: 27px;
}
#bloc_et 
{
    box-shadow: 0px 55px 40px -27px rgba(70,80,85,0.58);
}
.gallery 
{
    text-align: center;
    margin-top: 10vh;
}

/* RESPONSIVE */
@media screen and (max-width: 1023px)
{
   #page_espace .texte_fin, #page_espace .rubrique_texte
   {
        line-height: 24px;
        font-size: 12px;
        margin-top: 40px;
        padding-top: 20px;
        border-top: 1px solid #ddd;
   }
   .point_bleu
   {
        margin-top: 9px !important;
        margin-bottom: 9px !important;
        width: 25px;
        height: 22px;
        padding-top: 2px;
   }
}

@media screen and (max-width: 978px)
{
    #page_espace .rubrique_image
    {
        display: none;
    }
    
    #page_espace .rubrique_texte
    {
        margin-bottom: 55px;
    }
    
    #page_espace .bandeau_sous_titre
    {
        width: 100%;
    }
    
    .bandeau_sous_titre {
        font-size: 13px !important;
    }
    
    /* Améliorer l'affichage du H1 sur mobile */
    #page_espace h1 {
        font-size: 24px;
        margin: 30px 0 40px 0;
        text-align: center;
        color: #1D3557;
        padding-bottom: 20px;
        border-bottom: 1px solid #ddd;
    }
    
    .gallery {
        margin-top: 20px;
    }
    
    .gallery img {
        width: 100%;
        height: auto;
        margin: 10px 0;
    }
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

html, body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Structure principale */
main {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* Contenu principal */
.contenu {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

/* Sections */
section {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

/* Flex container */
.flex {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    padding: 20px 0;
    background: white;
}

/* Header */
header {
    width: 100%;
    position: relative;
    background: white;
}

.bandeau_menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

.logo img {
    width: 50px;
    height: auto;
}

.titre-page {
    flex: 1;
    padding-left: 10px;
}

/* Menu */
.menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu a {
    color: #1E2528;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.menu a:hover {
    background-color: #1D3557;
    color: white;
}

/* Responsive Header */
@media screen and (max-width: 768px) {
    .bandeau_menu {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    
    .logo {
        width: 100%;
        text-align: center;
    }
    
    .logo img {
        width: 60px;
        margin: 0 auto;
    }
    
    .titre-page {
        width: 100%;
        text-align: center;
        padding: 0;
    }
    
    .menu {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .menu a {
        padding: 5px 15px;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 480px) {
    .titre-page h1 {
        font-size: 1.2rem;
        line-height: 1.4;
    }
    
    .sous-titre {
        font-size: 0.9rem;
    }
    
    .menu {
        gap: 3px;
    }
    
    .menu a {
        padding: 3px 8px;
        font-size: 0.7rem;
    }
}

/* Footer */
footer {
    width: 100%;
    background: #1e2528;
    color: white;
    padding: 40px 0;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

.logo img {
    width: 75px;
    height: auto;
}

.titre-page {
    flex: 1;
    padding-left: 20px;
}

/* Titres */
h1 {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    color: #1D3557;
}

.sous-titre {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

/* Section présentation */
#presentation {
    padding: 40px 0;
    width: 100%;
    background: #f8f9fa;
}

.contenu-section {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.flex {
    display: flex;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.rubrique-image {
    flex: 0 0 50%;
    max-width: 600px;
}

.rubrique-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.rubrique-image img:hover {
    transform: scale(1.05);
}

.rubrique-texte {
    flex: 0 0 50%;
    max-width: 600px;
    padding: 20px;
}

/* Texte */
.description {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
    color: #333;
}

.avantage {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
    color: #1D3557;
}

/* Texte */
.description {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.avantage {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    main {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .flex {
        flex-direction: column;
        gap: 20px;
    }
    
    .rubrique-image {
        order: 1;
        width: 100%;
    }
    
    .rubrique-texte {
        order: 2;
        width: 100%;
        padding: 0 15px;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .sous-titre {
        font-size: 1.1rem;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .rubrique-image img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .sous-titre {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .rubrique-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .rubrique-texte {
        padding: 15px;
    }
    
    .description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .avantage {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}