/* --- General Styles --- */
:root {
    --bg-cream: #FDF2DB;
    --navbar-bg: #FDECCE;
    --card-bg: #FDECCE;
    --text-dark: #333333;
    --text-light: #ffffff;
    --primary-accent: #D43829; 
    --highlight-color: #D43829;

    /* Card Colors */
    --card-color-1: #D43829; /* Terracotta Red */
    --card-color-2: #FDECCE; /* Light cream */
    --card-color-3: #FDECCE; /* Light cream */
    --card-color-4: #FDECCE; /* Light cream */
    --card-color-5: #FDECCE; /* Light cream */
    --card-color-6: #FDECCE; /* Light cream */
    --card-color-7: #FDECCE; /* Light cream */

    /* Fonts */
    --font-main: 'Poppins', sans-serif;
    --font-menu: 'Thasadith', sans-serif;
    --font-hero: 'Poiret One', sans-serif;
    
    /* Navbar Height Variable */
    --navbar-height: 80px;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    padding-top: var(--navbar-height); 
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: visible; 
    padding: 0 2rem;
}

a {
    color: var(--primary-accent);
    text-decoration: none;
}

ul {
    list-style: none;
}

h1, h2, h3 {
    font-family: var(--font-menu);
    font-weight: 700;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

h4 {
    font-family: var(--font-main);
    font-weight: 700;
    color: var(--text-dark);
}

p {
    line-height: 1.6;
    color: var(--text-dark);
}

.btn {
    display: inline-block;
    background: var(--text-dark);
    color: var(--text-light);
    padding: 0.8rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: var(--primary-accent);
}

.content-section {
    padding: 2rem 0;
}

#bienvenue {
    padding: 0;
    margin-bottom: 120px; /* Increased margin to compensate for overlap */
    margin-top: 2rem; /* Ajout d'une marge entre la navbar et l'image */
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.content-section > .container {
    padding: 2rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    color: var(--text-dark);
    margin: 0 auto;
}

/* Card background colors */
#bienvenue .container { background-color: var(--card-color-1);}
#de-nous .container { background-color: var(--card-color-2);}
#a-vous .container { background-color: var(--card-color-3);}
#medias .container { background-color: var(--card-color-4);}
#spectacle .container { background-color: var(--card-color-5);}
#references .container { background-color: var(--card-color-6);}
#concerts .container { background-color: var(--card-color-7);}
#contact .container { background-color: var(--card-color-2);}

/* Typography inside cards */
.content-section h1, .content-section h2, .content-section h3, .content-section h4, .content-section p, .content-section li, .content-section strong {
    color: var(--text-dark);
}

/* Spécial pour les cartes avec fond terracotta */
#bienvenue .container h1, #bienvenue .container h2, #bienvenue .container h3, #bienvenue .container h4, #bienvenue .container p, #bienvenue .container li, #bienvenue .container strong {
    color: var(--text-light);
}

.content-section a {
    color: var(--text-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Spécial pour les cartes avec fond terracotta */
#bienvenue .container a {
    color: var(--text-dark);
}

.content-section a:hover {
    text-decoration: none;
}


.row {
    display: flex;
    flex-wrap: wrap;
}

.col-md-6 {
    width: 100%; /*50% si cote a cote formulaire*/
    padding: 0 1rem;
}

.text-primary {
    color: var(--highlight-color) !important; /* Ensure highlight color is applied */
}


/* --- Header & Navbar --- */
#header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: var(--navbar-bg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    height: var(--navbar-height);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.nav-item {
    margin: 0 1rem;
}

.nav-link {
    font-family: var(--font-menu);
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-accent);
    background-color: transparent;
}

.social-icons-header a {
    color: var(--text-dark);
    margin-left: 1rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons-header a:hover {
    color: var(--primary-accent);
}

.nav-social-links {
    display: none;
}


.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    background: none;
    border: none;
    outline: none;
}

.hamburger:focus {
    outline: none;
}

.hamburger:focus-visible {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-dark);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: auto; 
    display: block;
    padding: 0 2rem; 
}

.hero-image {
    position: static; 
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
    border-radius: 20px; /* Coins arrondis */
}

.hero-section .container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 90%;
    max-width: 1100px;
    margin: 0;
    z-index: 2;
}

.hero-text {
    z-index: 1;
    text-align: center;
}

.hero-text h1 {
    font-family: var(--font-hero);
    font-size: 2.5rem;
    text-shadow: none;
    color: #fff;
    text-align: center;
    margin: 0;
}

/* --- Section Specific Styles --- */

/* Centrage des conteneurs inline-block */
#de-nous .container,
#a-vous .container {
    text-align: center; /* Centre les éléments inline-block */
}

/* Reset du text-align pour le reste du contenu */
#de-nous .container > *:not(.animated-images),
#a-vous .container > *:not(.section-image-container) {
    text-align: left;
}

#de-nous .container h2,
#a-vous .container h2 {
    text-align: center !important;
}

#de-nous h3{
    margin-left:1rem;
    color: var(--highlight-color);
}

/* Section "A vous" - Image simple avec conteneur adaptatif */
.section-image-container {
    margin: 0rem auto 1.5rem auto; /* auto pour centrer horizontalement */
    border-radius: 20px;
    overflow: hidden;
    display: inline-block; /* Le conteneur s'adapte à son contenu */
    max-width: 100%;
    width: auto;
    height: auto;
}

.section-image-container img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    /* Taille maximale pour éviter que l'image soit trop grande sur PC */
    max-height: 400px;
    width: auto;
}

/* Section "De nous" - Images animées avec conteneur adaptatif */
.animated-images {
    position: relative;
    margin: 2rem auto; /* auto pour centrer horizontalement */
    border-radius: 20px;
    overflow: hidden;
    display: inline-block; /* Le conteneur s'adapte à son contenu */
    max-width: 100%;
}

.animated-images img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    /* Taille maximale pour éviter que l'image soit trop grande sur PC */
    max-height: 400px;
    width: auto;
    transition: opacity 0.3s ease-in-out;
}

.animated-images img:nth-child(1) {
    position: relative;
}

.animated-images img:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    /* S'assurer que la deuxième image a exactement la même taille que la première */
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.animated-images.fade-in img:nth-child(2) {
    opacity: 1;
}

#a-vous .formulas {
    list-style: disc;
    padding-left: 2rem;
    margin: 2rem 0;
}

#a-vous .formulas li {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

#medias .media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

#medias .media-item{
    text-align: center;
}

#medias h3 {
    color: var(--highlight-color);
}

#medias .media-item h4 {
    color: var(--highlight-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

#medias .media-item iframe {
    width: 100%;
    height: 315px;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 0;
}

/* --- Spectacle Section --- */
#spectacle .section-subtitle {
    text-align: center;
    color: var(--highlight-color);
}

#spectacle .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 2rem auto;
    border-radius: 10px;
}

#spectacle .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.flyer-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem auto;
}

.flyer-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
}

.flyer-carousel-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.flyer-slide {
    min-width: 100%;
    transition: opacity 0.5s ease;
    width: 500px;
    height: auto;
    object-fit: contain;
}

/* --- References & Testimonials Section --- */
.text-center {
    text-align: center;
}

#references h3{
    text-align: center;
    color: var(--highlight-color);
}

/* Generic Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--primary-accent);
}

/* Flyer Carousel Buttons */
.flyer-carousel-wrapper .carousel-btn {
    position: static;
    transform: none;
    flex-shrink: 0;
}

.references h3{
    text-align: center;
}

/* References Carousel */
.references-carousel-container {
    position: relative;
    margin-top: 1.5rem;
}

.references-slider-wrapper {
    overflow: hidden;
    margin: 0 50px; /* Space for arrows */
}

.references-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.reference-item {
    flex-shrink: 0;
    width: calc(100% / 3);
    padding: 1rem;
    box-sizing: border-box;
}

.reference-item img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    filter: grayscale(10%) brightness(1);
    transition: all 0.3s ease;
    background-color: var(--text-light);
    border-radius: 8px;
    padding: 10px;
}

.reference-item img:hover {
    filter: grayscale(0) brightness(1);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.references-carousel-container .prev-reference { left: 0; }
.references-carousel-container .next-reference { right: 0; }

/* Testimonial Carousel */
.testimonial-carousel-container {
    position: relative;
}

.testimonial-slider-wrapper {
    overflow: hidden;
    margin: 0 60px;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial {
    background: rgba(0, 0, 0, 0.15);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    margin: 0 1rem;
    width: calc(50% - 2rem);
}

.testimonial p {
    font-style: italic;
    flex-grow: 1;
    color: var(--text-dark);
}

.testimonial span {
    display: block;
    text-align: right;
    margin-top: 1rem;
    font-weight: bold;
    color: var(--highlight-color);
}

.testimonial-carousel-container .prev-testimonial { left: 10px; }
.testimonial-carousel-container .next-testimonial { right: 10px; }

.testimonial span.author-left {
    text-align: left !important;
}

/* --- Concerts Section --- */
#concerts h3{
    margin-top: 1rem;
    text-align: center;
}

#concerts .concert-list ul {
    list-style: none;
    padding: 0;
}

#concerts .concert-list li {
    background: rgba(0, 0, 0, 0.15);
    margin-bottom: 0.5rem;
    padding: 1rem;
    border-radius: 5px;
    color: var(--text-dark);
}

#concerts .concert-list li strong {
    color: var(--text-dark);
    margin-right: 1rem;
}

#concerts .concert-list h3 {
    color: var(--highlight-color);
}

/* --- Contact Section --- */
#contact h3{
    font-size:1.6rem;
    margin-top: 1rem;
    color: var(--highlight-color);
}

#contact .row {
    align-items: center;
    text-align: center;
}

#contact address{
    font-style: normal;
}

.social-icons-footer {
    margin-top: 2rem; 
    display: flex;
    justify-content: center;
    gap: 1.5rem; 
}

.social-icons-footer a {
    color: var(--text-dark);
    font-size: 1.8rem; 
    transition: all 0.3s ease;
    padding: 0.5rem; 
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.social-icons-footer a:hover {
    color: var(--primary-accent);
    background: rgba(212, 56, 41, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#contact address {
    font-style: normal;
    margin-bottom: 1rem; 
}

#contact address p {
    margin-bottom: 0.8rem; 
    font-size: 1.1rem;
}

.newsletter-form {
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    font-size: 16px;
    width:250px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-accent);
}

.newsletter-form .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.newsletter-form .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Messages de la newsletter */
.newsletter-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    padding: 10px;
}

.newsletter-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 10px;
}

/* Consentement RGPD */
.newsletter-consent {
    margin: 15px 0;
}

.consent-checkbox {
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.consent-checkbox input[type="checkbox"] {
    margin: 0;
    padding: 0;
    width: auto;
    flex-shrink: 0;
}

.consent-checkbox a {
    color: var(--primary-accent);
    text-decoration: underline;
}

.consent-checkbox a:hover {
    text-decoration: none;
}

/* Informations RGPD */
.newsletter-info {
    margin-top: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    text-align: center;
}

.newsletter-info small {
    color: #666;
    font-size: 0.8rem;
}

.newsletter-info a {
    color: var(--primary-accent);
    text-decoration: none;
}

.newsletter-info a:hover {
    text-decoration: underline;
}

/* --- Footer --- */
#footer {
    text-align: center;
    padding: 2rem;
    background: transparent;
    color: var(--text-dark);
}

/* Tooltip Style */
#logo-tooltip {
    display: none;
    position: absolute;
    padding: 8px 12px;
    background-color: var(--text-dark);
    border: 1px solid var(--primary-accent);
    color: var(--text-light);
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    z-index: 9999;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}


/* --- Responsive Styles --- */
@media (max-width: 1340px) {   
    #header {
        background: var(--navbar-bg) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
     
    .hamburger {
        display: block;
    }

    .hamburger.active .bar {
        background-color: var(--text-dark); /* Hamburger color change */
    }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .social-icons-header {
        display: none;
    }

    .nav-menu {
        position: fixed;
        right: -100%; /* Start off-screen */
        top: 0;
        width: 100%; height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: var(--navbar-bg);
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .nav-menu.active {
        right: 0; /* Slide in */
    }
    
    .nav-item {
        padding: 0;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        font-family: var(--font-menu);
        font-size: 2rem;
        font-weight: 700;
        color: var(--text-dark);
        text-transform: uppercase;
        padding: 0.4rem 0;
        display: inline-block;
        position: relative;
        transition: color 0.3s ease;
    }
    
    .nav-link:hover {
        color: var(--primary-accent);
    }

    .nav-menu .nav-link.active {
        color: var(--primary-accent);
    }

    .nav-social-links {
        display: block;
        position: absolute;
        bottom: 10%;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-social-links a {
        color: var(--text-dark);
        font-size: 1.5rem;
        margin: 0 1rem;
        transition: color 0.3s ease;
    }
    .nav-social-links a:hover {
        color: var(--primary-accent);
    }
    
    .col-md-6 {
        width: 100%;
        padding: 0;
    }
    
    .hero-text h1 {
        font-size: 2.0rem;
    }
    
    #de-nous .section-image,
    #a-vous .section-image {
        height: 30vh;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .reference-item {
        width: calc(100% / 2);
    }
    #de-nous .section-subtitle {
        margin-left: 0rem; /* Même alignement que le texte */
    }
}

@media (max-width: 1130px) {
    #de-nous .container { background-color: var(--card-color-2); margin-left: 20px; margin-right: 20px; }
    #a-vous .container { background-color: var(--card-color-3); margin-left: 20px; margin-right: 20px; }
    #medias .container { background-color: var(--card-color-4); margin-left: 20px; margin-right: 20px; }
    #spectacle .container { background-color: var(--card-color-5); margin-left: 20px; margin-right: 20px; }
    #references .container { background-color: var(--card-color-6); margin-left: 20px; margin-right: 20px; }
    #concerts .container { background-color: var(--card-color-7); margin-left: 20px; margin-right: 20px; }
    #contact .container { background-color: var(--card-color-2); margin-left: 20px; margin-right: 20px; }
}

@media (max-width: 768px) {
    #bienvenue.hero-section {
        padding: 0; 
        margin-bottom: 2rem; 
        margin-top: 0; /* Suppression de la marge pour mobile */
    }

    .hero-image {
        position: static; 
        max-width: 100%;
        /*height: auto;*/
        height: calc(100vh - var(--navbar-height) - 30px);
        height: calc(100svh - var(--navbar-height) - 30px); /* Fallback pour les navigateurs modernes */
        object-fit: cover;
        display: block;
        z-index: 1;
        border-radius: 0px; /* Coins arrondis */
    }
    
    .hero-section .container {
        position: relative;
        transform: none;
        width: 90%;
        margin: -25px auto 0 auto;
        border-radius: 20px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        white-space: nowrap;
    }

    .hero-section .container {
        left: 0px;
        padding: 1rem 1rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 0.7rem;
    }

    h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    } 
    
    .carousel-btn{
        width:30px;
        height:30px;
    }

    .testimonial-carousel-container {
        position: relative;
    }
    
    .testimonial-slider-wrapper {
        overflow: visible;
        margin: 0;
    }
    
    .testimonial-slider {
        display: block !important;
        transform: none !important;
        transition: none !important;
    }
    
    .testimonial-mobile {
        width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
        flex-shrink: initial !important;
    }
    
    /* Masquer les boutons de navigation sur mobile */
    .testimonial-carousel-container .prev-testimonial,
    .testimonial-carousel-container .next-testimonial {
        display: none !important;
    }

    .references-slider-wrapper {
        margin: 0 45px;
    }
    .nav-link {
        font-size: 1.5rem;
    }
    
    .nav-logo img {
        height: 40px;
        width: auto;
    }
    
    #de-nous .section-subtitle {
        margin-left: 0; /* Pas de marge supplémentaire sur mobile */
    }

    .section-image-container img,
    .animated-images img {
        max-height: 250px; /* Plus petit sur mobile */
    }

    .flyer-carousel-wrapper {
                gap: 0.5rem;
    }
    
    .flyer-carousel-container {
        max-width: 280px;
    }

    #contact h3{
        font-size: 1.2rem;
    }

    #contact .row{
        text-align: center;
    }

    .social-icons-footer {
        margin-top: 1.5rem;
        gap: 1rem; 
    }
    
    .social-icons-footer a {
        font-size: 1.5rem; 
        width: 45px;
        height: 45px;
    }
    
    #contact address p {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-form input {
        margin-bottom: 0.5rem;
        width:95%
    }

    .consent-checkbox {
        font-size: 0.85rem;
    }
    
    .newsletter-info small {
        font-size: 0.75rem;
    }
}


@media (max-width: 576px) {
    :root {
        --navbar-height: 70px;
    }

    .navbar {
        height: var(--navbar-height);
    }
    .nav-menu {
        top: 0;
        height: 100%;
    }

    .content-section > .container {
        padding: 1.5rem 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-text h1 {
        font-size: 0.8rem;
    }
    
    .hero-section .container {
        left: 0px;
        padding: 1rem 1rem;
    }

    .reference-item {
        width: 100%;
    }

    .references-slider-wrapper {
        margin: 0 45px;
    }
    
    .nav-logo img {
        height: 35px;
        width: auto;
    }
    
    #bienvenue.hero-section {
        padding: 0; 
        margin-bottom: 2rem; 
        margin-top: 0; /* Suppression de la marge pour mobile */
    }

    .section-image-container img,
    .animated-images img {
        max-height: 200px; /* Encore plus petit sur très petit écran */
    }
    
    .flyer-carousel-container {
        max-width: 250px;
    }

    .social-icons-footer {
        margin-top: 1rem;
        gap: 0.8rem;
    }
    
    .social-icons-footer a {
        font-size: 1.3rem;
        width: 40px;
        height: 40px;
    }

    /* masquage des labels pour SEO*/
    .sr-only {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }
}