/* --- Variables & Reset --- */
:root {
    --color-primary: #6C4019; /* Brun Terre */
    --color-accent: #C5A059; /* Or Sablé */
    --color-bg: #FAF9F6; /* Blanc Albâtre */
    --color-text: #4A2B11; /* Brun Sombre */
    --color-white: #FFFFFF;
    
    /* Font Families - "Spa Minimaliste" Duo */
    --font-titles: 'Jost', sans-serif;
    letter-spacing: 0.05em;
    --font-text: 'DM Sans', sans-serif;
    --font-accent: var(--font-accent), serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Lissage des polices pour rendu luxe */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--color-bg);
    color: var(--color-text);
}

/* --- HERO SECTION CONTAINER --- */
.hero-section {
    position: relative;
    width: 100%;
    /* Full Viewport Height */
    height: 100vh;
    min-height: 600px;
    background-image: url('images/sonhara-hero-section.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
}

/* Overlay léger pour la lisibilité (linear gradient) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.45) 0%, 
        rgba(0, 0, 0, 0.3) 50%, 
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

/* Content Wrapper pour alignement et marges généreuses ("Le Silence") */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 3.5rem 5rem; /* Marges très généreuses */
}

/* --- HEADER (TOP) --- */
.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Aligne le menu et contact en haut */
    width: 100%;
    position: relative; /* Contexte pour le logo absolu */
}

/* Menu Hamburger (très fin, 1px) */
.menu-icon {
    width: 32px;
    height: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 10;
}

.menu-icon .line {
    display: block;
    width: 100%;
    height: 1px; /* Ligne fine 1px comme demandé */
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

.menu-icon:hover .line {
    background-color: var(--color-accent);
}

/* Logo */
.brand-logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: none; /* Empêche le grand logo de bloquer les clics en dessous si besoin */
}

.brand-logo img {
    height: 400px; /* Taille Desktop demandée par le client */
    width: auto;
    object-fit: contain;
}

/* Lien de contact */
.contact-link {
    z-index: 10;
}

.nav-link {
    font-family: var(--font-text), sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); /* Ombre douce pour la lisibilité */
    /* fallback */
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
}

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

/* --- MAIN CONTENT (CENTER) --- */
.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-grow: 1;
    margin: 2rem 0; /* Space to keep it from feeling squished */
}

/* Titre principal H1 */
h1 {
    font-family: var(--font-titles), 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-white); /* Lisibilité sur photo de fond */
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.15em; /* Luxe & Airy feel */
    font-weight: 300;
    /* Pour compenser la finesse, une taille généreuse */
    font-size: 5rem; 
    margin-bottom: 2rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.45); /* Plus d'ombre pour le contraste sur l'image Hero */
}

/* Sous-titre émotionnel H2 */
.hero-subtitle {
    font-family: var(--font-accent), serif;
    color: var(--color-white);
    font-style: italic;
    font-weight: 500;
    font-size: 1.3rem;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); /* Protection du sous-titre sur fond clair */
}

/* --- FOOTER HERO (BOTTOM) --- */
.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

/* Découvrir notre univers */
.discover-link {
    flex: 1;
}

.cta-minimal {
    font-family: var(--font-text), sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    color: var(--color-white);
    text-decoration: none;
    /* Souligné d'un filet de 1px */
    border-bottom: 1px solid var(--color-white);
    padding-bottom: 4px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
}

.cta-minimal:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Social links */
.social-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}

.social-icon {
    color: var(--color-white);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    /* Outline très fin */
    stroke-width: 1px; 
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); /* Ombre portée sur icône SVG */
}

.social-icon:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* ========================================= */
/* --- SECTION 2 : LE MARCHÉ --- */
/* ========================================= */

.section-market {
    background-color: var(--color-bg);
    padding: 8rem 5rem; /* Marges généreuses (Negative Space) */
    width: 100%;
}

/* --- En-tête de Section --- */
.market-header {
    text-align: center;
    margin-bottom: 6rem; /* Beaucoup d'air avant le bloc asymétrique */
}

.market-title {
    font-family: var(--font-titles), 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.market-subtitle {
    font-family: var(--font-accent), serif;
    color: var(--color-primary);
    font-style: italic;
    font-size: 1.3rem;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Bloc Asymétrique --- */
.market-split-layout {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertical Align: Middle */
    gap: 120px; /* Espace très luxueux */
    max-width: 980px;
    margin: 0 auto;
}

/* Côté Gauche : Texte */
.market-content-left {
    flex: 0 0 320px; /* Colonne très étroite luxe */
    max-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.market-surtitle {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-accent); /* Or Sablé */
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: block;
}

.market-heading {
    font-family: var(--font-accent), serif;
    color: var(--color-primary);
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 500px;
}

.market-paragraph {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 3rem;
    max-width: 500px;
}

.market-paragraph strong {
    font-weight: 500;
}

.market-cta {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent; /* Prépare la transition */
    padding-bottom: 4px;
    transition: all 0.3s ease;
    align-self: flex-start; /* Ne prend que la largeur nécessaire */
}

.market-cta:hover {
    color: var(--color-accent);
    border-color: var(--color-accent); /* Filet or au survol */
}

/* Côté Droite : Image */
.market-image-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    /* Maintient des proportions aérées si besoin, selon le format de l'image */
    width: 100%;
    max-width: 600px;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Légère profondeur optionnelle pour le luxe */
}

/* ========================================= */
/* --- SECTION 3 : BÉNÉFICES BUSINESS --- */
/* ========================================= */

.section-business {
    background-color: var(--color-bg);
    padding: 8rem 5rem; /* Marges généreuses */
    width: 100%;
}

/* --- Bloc Asymétrique (Image Gauche / Texte Droite) --- */
.business-split-layout {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertical Align: Middle */
    gap: 120px;
    max-width: 980px; /* Consistance avec Section 2 */
    margin: 0 auto;
}

/* Côté Gauche : Image */
.business-image-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.business-image-left .image-wrapper {
    width: 100%;
    max-width: 450px;
}

.business-image-left img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* Format carré demandé par l'utilisateur */
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Douce profondeur */
}

/* Côté Droite : Texte */
.business-content-right {
    flex: 0 0 320px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.business-surtitle {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: block;
}

.business-heading {
    font-family: var(--font-accent), serif;
    color: var(--color-primary);
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 2rem;
}

.business-paragraph {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 25px;
}

.business-paragraph strong {
    font-weight: 500;
}

.business-cta {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    font-weight: 600; /* Plus gras pour business */
    text-decoration: none;
    border-bottom: 1px solid var(--color-accent); /* Filet or de base */
    padding-bottom: 4px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.business-cta:hover {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary); /* S'épaissit et devient brun */
}

/* ========================================= */
/* --- SECTION 4 : INGÉNIERIE DU SOIN --- */
/* ========================================= */

.section-engineering {
    background: radial-gradient(circle at 50% 0%, #FDF7E5 0%, #F4EBD0 70%); /* Effet de lumière subtil conservé */
    background-color: #F4EBD0; /* Fallback Champagne Rosé */
    color: var(--color-primary); /* Brun Terre pour le contraste */
    padding: 8rem 5rem;
    width: 100%;
}


.engineering-header {
    text-align: center;
    margin-bottom: 5rem;
}

.engineering-title {
    font-family: var(--font-titles), 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
}

.engineering-subtitle {
    font-family: var(--font-accent), serif;
    color: var(--color-primary);
    font-style: italic;
    font-size: 1.3rem;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
}

/* Grille 3 Colonnes */
.engineering-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.engineering-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.editorial-image-wrapper {
    width: 100%;
    margin-bottom: 40px; /* Plus grand pour faire respirer la maquette */
    overflow: hidden;
}

.editorial-image-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4; /* Format portrait étroit / éditorial */
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Légère ombre pour détacher l'image du fond sombre */
}

.column-heading {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-primary); /* Brun Terre */
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.column-paragraph {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-primary); /* Brun Terre */
    font-size: 0.95rem;
    line-height: 1.6; /* Ajusté pour un meilleur confort de lecture */
}

/* --- RESPONSIVITÉ SECTIONS 2, 3 & 4 --- */
@media screen and (max-width: 1024px) {
    .section-market,
    .section-business,
    .section-engineering {
        padding: 5rem 3rem;
    }
    
    .market-split-layout,
    .business-split-layout {
        gap: 3rem;
    }

    .engineering-grid {
        gap: 2rem;
    }
    
    .engineering-column {
        padding: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .section-market,
    .section-business,
    .section-engineering {
        padding: 4rem 1.5rem;
    }

    .market-header,
    .engineering-header {
        margin-bottom: 4rem;
    }

    .market-title,
    .engineering-title {
        font-size: 2.2rem;
    }

    .market-subtitle,
    .engineering-subtitle {
        font-size: 1.2rem;
    }

    .market-split-layout {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }

    .business-split-layout {
        flex-direction: column; /* Laisse l'image en premier par defaut */
        text-align: center;
        gap: 4rem;
    }

    .market-content-left,
    .business-content-right {
        align-items: center;
    }

    .market-heading,
    .business-heading {
        font-size: 2.2rem;
    }

    .engineering-grid {
        grid-template-columns: 1fr; /* Stack colonnes verticales en mobile */
        gap: 3rem;
    }
}

/* ========================================= */
/* --- SECTION 5 : L'OFFRE SUR-MESURE --- */
/* ========================================= */

.section-formats {
    background-color: #FAF9F6; /* Clair pour faire respirer */
    padding: 12rem 5rem; /* Respiration maximum (min 120px) */
    color: #4A2B11;
}

.formats-header {
    text-align: center;
    margin-bottom: 6rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.formats-title {
    font-family: var(--font-titles), 'Helvetica Neue', Arial, sans-serif;
    color: #6C4019;
    letter-spacing: 0.15em;
    font-size: 2.5rem;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.formats-subtitle {
    font-family: var(--font-accent), serif;
    color: #6C4019;
    font-style: italic;
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.formats-intro {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4A2B11;
    font-weight: 300;
}

/* Le "Menu" des prestations */
.formats-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-top: 1px solid rgba(197, 160, 89, 0.4); /* Séparateur Or fin */
}

.format-item {
    display: flex;
    flex-direction: row;
    align-items: baseline; /* Aligne le haut du texte */
    padding: 4rem 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.4);
    margin: 0;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
}

/* L'effet "Waouh" au survol */
.format-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5rem; /* Dépasse dans le padding */
    width: calc(100% + 10rem);
    height: 100%;
    background: radial-gradient(circle at center, rgba(197, 160, 89, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.format-item:hover {
    transform: translateX(10px);
}

.format-item:hover::before {
    opacity: 1;
}

.format-item:hover .format-title {
    color: #C5A059; /* Or Sablé au survol */
}

/* Colonnes Menu */
.format-item-left {
    flex: 0 0 40%;
    padding-right: 4rem;
}

.format-title {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    font-size: 1.15rem;
    color: #6C4019;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
    transition: color 0.4s ease;
}

.format-item-right {
    flex: 1;
}

.format-description {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4A2B11;
    font-weight: 300;
    margin: 0;
}

/* CTA Bouton Central */
.formats-cta-container {
    text-align: center;
    margin-top: 6rem;
}

.btn-gold {
    display: inline-block;
    background-color: #C5A059;
    color: #FAF9F6;
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1.2rem 3rem;
    transition: background-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-gold:hover {
    background-color: #A98547;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

/* ========================================= */
/* --- SECTION 6 : LA PREUVE SOCIALE --- */
/* ========================================= */

.section-social-proof {
    background-color: #F4EBD0; /* Champagne Rosé */
    padding: 10rem 5rem;
    color: #4A2B11;
}

.social-proof-split {
    display: flex;
    align-items: center;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.social-proof-text-col {
    flex: 1;
    max-width: 500px;
}

.social-proof-header {
    margin-bottom: 3rem;
}

.social-proof-surtitle {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: #6C4019;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.social-proof-title {
    font-family: var(--font-titles), 'Helvetica Neue', Arial, sans-serif;
    font-size: 2.5rem;
    color: #6C4019;
    letter-spacing: 0.15em;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.social-proof-subtitle {
    font-family: var(--font-accent), serif;
    font-style: italic;
    font-size: 1.6rem;
    color: #6C4019;
    line-height: 1.3;
}

.social-proof-paragraph {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #4A2B11;
    font-weight: 300;
}

.prestige-italic {
    font-family: var(--font-accent), serif;
    font-style: italic;
    font-size: 1.25rem;
    color: #6C4019;
}

/* La Galerie 3-Photos (Asymétrique) */
.social-proof-gallery {
    flex: 1.2;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    grid-template-rows: auto auto;
    gap: 3rem;
    align-items: stretch;
}

.gallery-item {
    margin: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(108, 64, 25, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.05); /* Zoom très lent et luxueux */
}

.item-main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;

}

.item-sub1 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    aspect-ratio: 1 / 1;
}

.item-sub2 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    aspect-ratio: 4 / 3;
}

/* --- ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

h1.fade-in {
    transition-delay: 0.2s;
}

.delay-1 {
    transition-delay: 0.7s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media screen and (max-width: 1024px) {
    .hero-content-wrapper {
        padding: 5vh 5vw;
    }
    
    .brand-logo img {
        height: 180px; /* Plus dominant sur tablette */
    }

    h1 {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-content-wrapper {
        padding: 3rem 1.5rem;
    }
    
    .brand-logo {
        top: -10px; /* Ajuste pour être bien visible */
    }

    .brand-logo img {
        height: 130px; /* Plus grand pour l'impact visuel "Luxe" */
    }
    
    .contact-link {
        display: none; /* Cache le lien contact sur mobile pour épurer l'en-tête */
    }

    .menu-icon {
        flex: unset;
        width: 28px;
    }

    h1 {
        font-size: 2.8rem;
        letter-spacing: 0.15em;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-bottom {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .discover-link, .social-links {
        flex: unset;
        justify-content: center;
    }

    /* Section Formats Responsive */
    .section-formats {
        padding: 6rem 2rem; /* Réduire padding mobile */
    }

    .format-item {
        flex-direction: column;
        padding: 2.5rem 0;
    }

    .format-item:hover {
        transform: none; /* Désactiver le décalage sur mobile */
    }

    .format-item-left {
        width: 100%;
        padding-right: 0;
        margin-bottom: 1.5rem;
    }

    .format-title {
        font-size: 1.1rem;
    }

    .formats-title {
        font-size: 2rem;
    }

    .formats-cta-container {
        margin-top: 4rem;
    }

    /* Section Preuve Sociale Responsive */
    .section-social-proof {
        padding: 6rem 2rem;
    }

    .social-proof-split {
        flex-direction: column;
        gap: 4rem;
    }

    .social-proof-text-col {
        max-width: 100%;
        text-align: center;
    }

    .social-proof-gallery {
        width: 100%;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        flex: 1;
    }

    .item-main {
        grid-column: 1 / -1;
        grid-row: 1 / 2;
        aspect-ratio: 4 / 3;
    }

    .item-sub1 {
        grid-column: 1 / -1;
        grid-row: 2 / 3;
        aspect-ratio: 4 / 3;
    }

    .item-sub2 {
        grid-column: 1 / -1;
        grid-row: 3 / 4;
        aspect-ratio: 4 / 3;
    }
}

/* ========================================= */
/* --- SECTION 7 : CONTACT & PARTENARIAT --- */
/* ========================================= */

.section-contact {
    background-color: #FAF9F6;
    padding: 0; /* Split layout prend tout l'espace */
    width: 100%;
    overflow: hidden;
}

.contact-split {
    display: flex;
    flex-direction: row;
    min-height: 80vh;
}

.contact-image-col {
    flex: 1;
    height: 80vh;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) sepia(0.1); /* Effet vintage/luxe léger */
}

.contact-text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem;
    background-color: #FAF9F6;
}

.contact-surtitle {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 2rem;
    display: block;
}

.contact-title {
    font-family: var(--font-titles), 'Helvetica Neue', Arial, sans-serif;
    color: #6C4019;
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 300;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.contact-paragraph {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    color: #4A2B11;
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 4rem;
    max-width: 500px;
    font-weight: 300;
}

.cta-luxury {
    display: inline-block;
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    color: #FAF9F6;
    background-color: #6C4019;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    padding: 1.5rem 4rem;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    border: 1px solid #6C4019;
}

.cta-luxury:hover {
    background-color: transparent;
    color: #6C4019;
    letter-spacing: 0.25em;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(108, 64, 25, 0.1);
}

/* --- FOOTER --- */
.main-footer {
    background-color: #1A1A1A; /* Fond sombre pour assoir la fin de page */
    color: #FFFFFF;
    padding: 5rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
    margin-bottom: 3rem;
}

.footer-logo-img {
    height: 60px;
}

.footer-nav {
    display: flex;
    gap: 3rem;
}

.footer-link {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
}

.footer-disclaimer {
    font-family: var(--font-text), sans-serif;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    text-align: center;
    font-weight: 300;
}

.copyright {
    font-family: var(--font-text), 'Helvetica Neue', Arial, sans-serif;
    color: rgba(255, 255, 255, 0.3);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* --- RESPONSIVITÉ SECTION 7 --- */
@media screen and (max-width: 1024px) {
    .contact-split {
        flex-direction: column;
    }
    .contact-image-col {
        height: 50vh;
    }
    .contact-text-col {
        padding: 5rem 3rem;
        text-align: center;
        align-items: center;
    }
    .contact-title {
        font-size: 2.8rem;
    }
    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }
    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}

/* --- MODAL STYLES --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 5, 2, 0.85);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    background-color: var(--color-bg);
    width: 90%;
    max-width: 750px;
    max-height: 85vh;
    padding: 6rem 4rem;
    overflow-y: auto;
    z-index: 2;
    transform: translateY(30px);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    
    /* Cacher la barre de scroll */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Edge/IE */
}

.modal-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.modal.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-surtitle {
    display: block;
    font-family: var(--font-text), sans-serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.modal-title {
    font-family: var(--font-titles), sans-serif;
    font-size: 2.2rem;
    font-weight: 300;
    line-height: 1.1;
    color: var(--color-primary);
    margin-bottom: 3rem;
    letter-spacing: 0.15em;
    word-wrap: break-word; /* Safety for long words */
}

.modal-body p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.modal-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.modal-list li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text);
}

.modal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 30px;
    height: 1px;
    background-color: var(--color-accent);
}

.modal-list li strong {
    font-family: var(--font-accent), serif;
    font-style: italic;
    font-weight: 500;
    color: var(--color-primary);
    font-size: 1.25rem;
    display: block;
    margin-bottom: 0.5rem;
}

.modal-conclusion {
    border-top: 1px solid rgba(108, 64, 25, 0.1);
    padding-top: 2rem;
    font-style: italic;
    font-size: 14px;
    color: var(--color-primary) !important;
}

@media screen and (max-width: 768px) {
    .modal-container {
        padding: 4rem 2rem;
        width: 92%;
        max-width: 500px;
    }
    .modal-title {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    .modal-container {
        padding: 3rem 1.5rem;
        width: 95%;
        max-height: 80vh;
    }
    .modal-title {
        font-size: 1.5rem;
    }
    .modal-surtitle {
        font-size: 10px;
        margin-bottom: 1rem;
    }
    .modal-list li {
        padding-left: 2rem;
        font-size: 13px;
    }
    .modal-list li::before {
        width: 20px;
    }
}

/* ========================================= */
/* --- PREMIUM UI & ANIMATIONS (ADDITION) --- */
/* ========================================= */

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#preloader.fade-out {
    opacity: 0;
}

.loader-line {
    width: 150px;
    height: 1px;
    background-color: rgba(197, 160, 89, 0.2);
    position: relative;
    overflow: hidden;
}

.loader-line::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    animation: loading 1.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes loading {
    to { left: 100%; }
}

/* Body state for smooth entry */
body {
    overflow-x: hidden;
}

body.loaded {
    overflow-y: initial;
}

/* --- Scroll Animations (Reveal) --- */
.reveal-up, .reveal-down, .reveal-left, .reveal-right, .reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up { transform: translateY(30px); }
.reveal-down { transform: translateY(-30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

.reveal-up.active, 
.reveal-down.active, 
.reveal-left.active, 
.reveal-right.active, 
.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered delays for a premium feel */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* --- Image Transitions --- */
img {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

img.img-loaded {
    opacity: 1;
}

/* Special case for hero background which is a CSS bg or already visible */
.hero-section img {
    opacity: 1;
}

/* Hover effects for premium images */
.image-wrapper {
    overflow: hidden;
}

.image-wrapper img {
    transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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


/* --- MOBILE TUNING (LUXURY FIXES) --- */
@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
        font-weight: 400; /* Plus de présence sur petit écran */
        letter-spacing: 0.1em;
    }
    .market-title, .engineering-title, .formats-title, .social-proof-title, .contact-title {
        font-size: 2rem;
        font-weight: 400;
        letter-spacing: 0.1em;
    }
}
