.description-section {
    max-width: 640px;
    margin-left: 60px;
    margin-top: -80px; /* réduit l'espace gauche */
}
/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #C4A775;
    --dark-gold: #A68B5B;
    --light-gold: #E6D7C3;
    --black: #2c2c2c;
    --white: #ffffff;
    --light-gray: #f7f5f3;
    --medium-gray: #757575;
    --dark-gray: #4a4a4a;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-gold);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-gold);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: none;
}

.nav-cta {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid var(--primary-gold);
    border-radius: 30px;
    color: var(--black);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.nav-cta:hover {
    background: var(--primary-gold);
    color: var(--white);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--black);
    transition: var(--transition);
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Section Héro */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    padding-top: 80px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}


.hero-rail {
    position: absolute;
    left: 34px;
    top: 190px;
    bottom: 190px;
    display: none;
    width: auto;
    color: var(--medium-gray);
    z-index: 3;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

}

.rail-line {
    display: block;
    width: 1px;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
}

.hero-rail::before { display: none; }

.rail-label,
.rail-year {
    letter-spacing: 1px;
    font-size: 0.78rem;
    color: var(--medium-gray);
    white-space: nowrap;
    transform: rotate(-90deg);
}

.rail-label { text-transform: lowercase;
    margin-bottom: 60px;  }

.rail-year { opacity: 0.6; }



.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
    position: relative;
    z-index: 2;
    min-height: 80vh;
}

.hero-content {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    color: var(--medium-gray);
}

.stat .value {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--black);
}

.stat .label {
    font-size: 0.9rem;
}

/* Photo de profil moderne style split-screen */
.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    position: relative;
    height: 100%;
}

.image-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.image-background {
    display: none;
}

.image-border {
    display: none;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
    transition: var(--transition);
    filter: grayscale(20%);
}

.profile-image:hover {
    transform: scale(1.02);
    filter: grayscale(0%);
}

.image-decoration {
    display: none;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 400;
    color: var(--black);
    margin: 0 0 2rem 0;
    line-height: 1.2;
    margin-left: -44px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.scroll-cue {
    display: none;
    margin-top: 2rem;
    color: var(--medium-gray);
    gap: 0.5rem;
    align-items: center;
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    min-width: 200px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--white);
    transform: translateY(-2px);
}

/* Sections */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--black);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
}

.section-subtitle {
    text-align: center;
    color: var(--medium-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Section Services */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-gold);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Section Avantages */
.advantages {
    padding: 100px 0;
    background: var(--light-gray);
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-gold);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-card h3 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.advantage-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Section À Propos */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text h2::after {
    left: 0;
    transform: none;
}

.about-text p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.skills {
    margin-top: 2rem;
}

.skills h3 {
    color: var(--black);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-item span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--black);
}

.skill-bar {
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    border-radius: 4px;
    transition: width 2s ease-in-out;
    width: 0;
}

/* Section Contact */
.contact {
    padding: 150px 0 100px 0;
    background: var(--light-gray);
    margin-top: 50px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-info h2::after {
    left: 0;
    transform: none;
}

.contact-info p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h4 {
    color: var(--black);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--medium-gray);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--white);
    transform: translateY(-3px);
}

/* Formulaire de contact */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    color: var(--medium-gray);
}

.footer-portfolio {
    color: var(--primary-gold);
    text-decoration: none;
}
.footer-portfolio:hover {
    text-decoration: underline;
}

/* Footer credit link */
.footer-credit {
    color: var(--medium-gray);
    text-decoration: none;
    font-weight: 600;
}
.footer-credit:visited { color: var(--medium-gray); text-decoration: none; }
.footer-credit:hover,
.footer-credit:focus,
.footer-credit:active { 
    color: var(--primary-gold);
    text-decoration: none; 
}

/* Swiper styles for testimonials */
.testimonials-carousel.swiper { padding-bottom: 8px; }
.testimonials-carousel .swiper-slide { padding: 0 20px; }
.testimonials-carousel .testimonial-content i { font-size: 1.5rem; color: var(--primary-gold); margin-bottom: 1rem; display: block; }
.testimonials-carousel .testimonial-content p { font-size: 1.1rem; color: var(--dark-gray); margin-bottom: 1.5rem; line-height: 1.6; }
.testimonials-carousel .testimonial-author h4 { font-size: 1.2rem; font-weight: 600; color: var(--primary-gold); margin-bottom: 0.2rem; font-family: 'Playfair Display', serif; }
.testimonials-carousel .testimonial-author span { font-size: 0.95rem; color: var(--medium-gray); font-style: italic; }
.testimonials-carousel .swiper-button-next,
.testimonials-carousel .swiper-button-prev { color: var(--primary-gold); }
.testimonials-carousel .swiper-pagination-bullet { background: var(--primary-gold); }

/* Réduire encore l'espace sous la section témoignages */
.portfolio { padding-bottom: 12px; margin-bottom: 0; }
.portfolio .container { padding-bottom: 0; }


/* Liens - neutraliser le bleu/souligné et conserver la police */
.nav-link:visited { color: var(--black); }
.nav-cta:visited { color: var(--black); text-decoration: none; }
.contact-link {
    color: var(--medium-gray);
    text-decoration: none;
    font: inherit;            /* conserve la même police/poids/taille */
}
.contact-link:visited { color: var(--medium-gray); }
.contact-link:hover {
    color: var(--primary-gold);
    text-decoration: none;
}

/* Menu Mobile */
.nav-menu.active {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    width: 100%;
    max-width: none;
    margin: 0;
    background: var(--white, #ffffff);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2.25rem;
    padding: calc(env(safe-area-inset-top) + 16px) 24px calc(env(safe-area-inset-bottom) + 16px);
    z-index: 9999;
    animation: fadeIn 0.25s ease;
    box-shadow: none;
    /* overflow handled per breakpoint */
}

/* Bouton fermeture du menu */
.nav-close {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--black);
    cursor: pointer;
    z-index: 10001;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
}

.nav-menu.active .nav-close {
    display: block;
}

/* Taille des liens dans le menu overlay */
.nav-menu.active .nav-link {
    font-size: 1.5rem;
    text-align: center;
    display: block;
}

/* Empêcher le scroll du body quand le menu est ouvert */
body.menu-open {
    overflow: hidden;
}

/* Overlay blanc pour le menu mobile */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 999; /* sous la navbar (1000) et le menu (9999), au-dessus du contenu */
    display: none;
}
.menu-overlay.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-content { position: relative; z-index: 3; }
    .hero-image { position: relative; z-index: 1; }
    .description-section {
        max-width: 760px;
        transform: translateX(40px); /* empiète sur la photo mais réduit l'espace gauche */
    }
    .hero::before { display: none; }
    .hero-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 0;
        align-items: stretch;
        min-height: 90vh;
    }
    
    .hero-content {
        text-align: left;
        order: 1;
        padding: 4rem;
        background: var(--white);
    }
    
    .hero-rail { display: flex; }
    .scroll-cue {
        position: absolute;
        left: 100px;
        bottom: 40px;
        display: inline-flex;
    }
    .nav-actions {
        display: block;
    }
    
    .hero-image {
        order: 2;
        height: 100%;
    }
    
    .image-container {
        height: 90vh;
        min-height: 80vh;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .hero-title {
        font-size: 8rem;
        padding-left: 80px; /* décale le titre pour libérer la barre */
    }
    
    .nav-menu {
        display: flex !important;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
        flex-direction: row;
    }
    .nav-close { display: none !important; }
    
    .nav-toggle {
        display: none;
    }
}

@media (max-width: 767px) {
    .image-container {
        height: 420px;
    }
    
    .hero-content {
        padding: 2.25rem 2rem; /* remonte le bloc texte */
    }
    .hero-title { 
        margin-left: 0 !important; 
        text-align: center; 
        margin-top: 8px; /* abaisse légèrement le titre */
    }

    /* Réduire l'espace entre Héro et Services */
    .hero { padding-bottom: 0; }
    .services { padding-top: 32px; padding-bottom: 48px; }

    /* Menu mobile: centrage parfait au milieu de l'écran */
    .nav-menu.active {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        padding: 56px 20px 24px; /* espace pour la croix en haut */
        min-height: 100vh;
        overflow: auto;
    }
    .nav-menu.active::before,
    .nav-menu.active::after { content: none; display: none; }
    .nav-menu.active .nav-link { font-size: 1.25rem; line-height: 1.2; }

    /* Mobile only: masquer rail et description du héro */
    .hero-rail { display: none !important; }
    .hero-description { display: none !important; }
    .hero-buttons { 
        display: flex !important; 
        flex-direction: row; 
        justify-content: center; 
        align-items: center; 
        gap: 0.75rem;
        margin-top: 0; /* ne pousse pas la photo */
        transform: translateY(379px); /* descend davantage les boutons sur la photo */
    }

    /* Mobile only: superposer légèrement le titre sur la photo */
    .hero-content {
        background: transparent !important;
        position: relative;
        z-index: 3;
        margin-bottom: -56px; /* chevauche un peu plus */
    }
    .image-container {
        margin-top: -10px; /* baisse légèrement la photo */
    }
    .hero-image { position: relative; z-index: 1; }

    /* Réafficher la description sur mobile, en plus petit */
    .hero-description {
        display: block !important;
        font-size: 0.95rem;
        line-height: 1.5;
        margin-top: 10px;  /* descend le paragraphe */
        margin-bottom: 0.5rem;
        color: var(--medium-gray);
    }
    .hero-title { margin-bottom: 0.5rem; }

    /* Donner davantage de largeur au bloc de description sur mobile */
    .description-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: none !important;
    }
    .hero-description {
        width: 100%;
    }

    /* Mobile: n'afficher que le texte en <strong> dans la description */
    .hero-description { font-size: 0 !important; }
    .hero-description strong {
        display: inline-block;
        font-size: 1rem;
        line-height: 1.5;
        color: var(--medium-gray);
    }
    /* Boutons adaptés au mobile côte à côte */
    .btn { 
        min-width: auto; 
        padding: 12px 18px; 
        font-size: 0.95rem; 
    }

    /* Réduire l'espace entre Services et À Propos */
    .about { padding-top: 48px; }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .hero-title {
        font-size: 12rem;
    }
    
    .container {
        padding: 0 40px;
    }
}

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

.animate-on-scroll {
    animation: fadeInUp 0.8s ease-out;
}

/* Scroll smooth */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-gold);
} 

/* Force fond blanc opaque pour le menu overlay, priorité maximale */
.nav-menu.active {
    background-color: #ffffff !important;
}