.presentation-right h2 {
    margin-bottom: 2.2rem;
}
/* Bouton mail home positionnement */
.btn-mail-home {
    display: block;
    margin-top: 2.2rem;
    margin-bottom: 0.5rem;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    text-align: center;
}

@media (max-width: 768px) {
    .btn-mail-home {
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        min-width: 180px;
        max-width: 350px;
        display: block;
    }
}
body {
    display: block;
    color: #1a1a1a;
    /* CORRECTION : On supprime les lignes background ici aussi.
       C'est le fichier styles.css principal qui va gérer le fond papier correctement partout. */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-toggle {
    position: fixed;
    top: 2rem;
    left: 2rem;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: transparent;
    z-index: 1000;
    transition: left 0.3s ease;
    padding: 5rem 2rem 2rem;
}

.sidebar.active {
    left: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 1.5rem;
}

.sidebar a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 400;
    transition: color 0.2s ease;
    display: block;
}

.sidebar a:hover {
    color: #666;
}

.header {
    position: fixed;
    top: -1rem;
    left: 0;
    width: 100%;
    padding: 1rem;
    z-index: 100;
    display: flex;
    justify-content: center;
}

.header-logo {
    width: 180px;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -ms-interpolation-mode: nearest-neighbor;
}

.gauffre-left {
    position: fixed;
    left: 7rem;
    top: 58%;
    transform: translateY(-50%);
    width: 35%;
    max-width: 450px;
}

.gauffre-left img,
.gauffre-left video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.presentation-right {
    position: fixed;
    right: 8rem;
    top: 55%;
    transform: translateY(-50%);
    width: 40%;
    max-width: 500px;
}

.presentation-right h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.presentation-right p {
    font-size: 0.8rem;
    line-height: 1.8;
    color: #1a1a1a;
    font-weight: 300;
    transition: opacity 0.3s ease;
}

@media (max-width: 1024px) {
    .gauffre-left {
        width: 40%;
        left: 3rem;
    }
    
    .presentation-right {
        width: 45%;
        right: 3rem;
    }
}

@media (max-width: 768px) {
    .header-logo {
        width: 120px;
    }
    
    .menu-toggle {
        top: 1.5rem;
        left: 1.5rem;
    }
    
    .gauffre-left {
        position: static;
        transform: none;
        width: 85%;
        max-width: 100%;
        margin: 10rem auto 2rem;
    }
    
    .gauffre-left video {
        border-radius: 8px;
    }
    
    .presentation-right {
        position: static;
        transform: none;
        width: 85%;
        max-width: 100%;
        margin: 2rem auto;
        text-align: center;
    }
    
    .presentation-right h2 {
        font-size: 1.5rem;
    }
    
    .presentation-right p {
        font-size: 0.75rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .header-logo {
        width: 100px;
    }
    
    .sidebar {
        width: 250px;
    }
    
    .gauffre-left {
        margin-top: 6rem;
    }
}

/* Footer Mentions Légales */
.legal-footer {
    position: fixed;
    bottom: 1rem;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 100;
}

.legal-footer a {
    font-size: 0.7rem;
    color: #1a1a1a;
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}