/* ==========================================================================
   Notre Histoire Page Styles
   ========================================================================== */

.notre-histoire-page {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: #fcfcfc;
}

.nh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.nh-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
    line-height: 1.2;
}

.nh-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1a1a1a;
    line-height: 1.3;
}

.nh-text {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 20px;
}

/* Scrollbar personnalisé pour un rendu premium */
.nh-text::-webkit-scrollbar {
    width: 6px;
}
.nh-text::-webkit-scrollbar-track {
    background: #fdfbf9;
    border-radius: 4px;
}
.nh-text::-webkit-scrollbar-thumb {
    background: #8c6b4a;
    border-radius: 4px;
}
.nh-text::-webkit-scrollbar-thumb:hover {
    background: #6a4f35;
}

.nh-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.nh-text .nh-highlight {
    font-weight: 600;
    color: #8c6b4a; /* Earthy leather tone */
    font-size: 1.2rem;
    margin-top: 30px;
    border-left: 4px solid #8c6b4a;
    padding-left: 20px;
}

/* Hero Section */
.nh-about-section {
    padding: 100px 0;
    background-color: #fdfbf9; /* very light warm tone */
    position: relative;
}

.nh-about-content {
    flex: 1;
    z-index: 2;
}

.nh-about-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.nh-about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.nh-image-accent {
    position: absolute;
    top: 40px;
    right: -40px;
    width: 100%;
    height: 100%;
    background-color: #e8ded3;
    border-radius: 8px;
    z-index: 1;
}

/* Founder Section */
.nh-founder-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.nh-founder-content {
    flex: 1;
    z-index: 2;
}

.nh-founder-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.nh-founder-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.nh-image-accent-left {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 100%;
    height: 100%;
    background-color: #f3f0ec;
    border-radius: 8px;
    z-index: 1;
}

/* Animations */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nh-about-content {
    animation: fadeInLeft 1s ease-out forwards;
}

.nh-about-image {
    animation: fadeInRight 1s ease-out forwards;
}

.nh-founder-content {
    animation: fadeInRight 1s ease-out forwards;
}

.nh-founder-image {
    animation: fadeInLeft 1s ease-out forwards;
}

/* Responsive */
@media (max-width: 991px) {
    .nh-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .nh-founder-section .nh-container {
        flex-direction: column-reverse;
    }

    .nh-title {
        font-size: 2.5rem;
    }

    .nh-subtitle {
        font-size: 2.2rem;
    }

    .nh-image-accent, .nh-image-accent-left {
        display: none;
    }
    
    .nh-about-section, .nh-founder-section {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .nh-title {
        font-size: 2rem;
    }
    .nh-subtitle {
        font-size: 1.8rem;
    }
    .nh-text p {
        font-size: 1rem;
    }
    .nh-text .nh-highlight {
        font-size: 1.1rem;
    }
}
