/* ==========================================================================
   PAGES ACTIVITÉS (HOSPITALITÉ, GASTRONOMIE, JOAILLERIE)
   ========================================================================== */

.overflow-hidden { overflow: hidden; position: relative; }
.max-w-1600 { max-width: 1600px; margin: 0 auto; }
.z-2 { position: relative; z-index: 2; }

/* --- 1. HERO --- */
.act-hero {
    position: relative; width: 100%; 
    height: 75vh;       
    min-height: 500px;  
    display: flex; align-items: center; justify-content: center;
    text-align: center; margin-top: 120px;
}

.act-parallax-bg {
    position: absolute; top: -10%; left: 0; width: 100%; height: 120%;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    z-index: 0; will-change: transform;
}
.act-overlay {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.1); 
    pointer-events: none; z-index: 1;
}
.act-hero-content {
    position: relative; z-index: 2; color: #fff;
    padding: 0 20px; text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.act-hero-title {
    font-family: var(--font-serif);
    font-size: 4rem; 
    font-weight: 700; 
    letter-spacing: 6px;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
}

.act-hero-subtitle {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* --- 2 & 3. SECTIONS ÉDITORIALES --- */
.act-editorial-section {
    padding: 100px 0; /* Un peu moins de padding vertical global */
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

/* Background Management */
.bg-image-section { position: relative; }
.section-bg-layer {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0.6; /* Transparence pour ne pas tuer le texte */
    z-index: 0;
}
/* Dégradé blanc pour lisibilité texte */
.bg-image-section::after {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.5) 100%);
    z-index: 1; pointer-events: none;
}

.text-col { padding: 40px 60px; }
.img-col { padding: 0 30px; }

.act-text-wrapper {
    max-width: 650px;
    margin: 0 auto;
}
.padding-left-lg { margin-left: 0; margin-right: auto; } 

.act-text {
    font-family: var(--font-avenir);
    font-size: 1.35rem; 
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text-main);
    margin-bottom: 0;
}

/* HIGHLIGHT (Gras Italique Plus Gros) */
.act-highlight {
    font-family: var(--font-serif);
    font-size: 1.8rem; 
    font-weight: 700;  
    font-style: italic;
    color: #000;
    vertical-align: baseline;
    line-height: 1.2;
}

/* IMAGES REDUITES */
.act-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 80%; /* CORRECTION : Réduit la largeur pour réduire la hauteur de section */
    margin: 0 auto; /* Centre l'image */
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); /* Petite ombre pour détacher du fond */
}

.act-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.2s ease;
}
.act-editorial-section:hover .act-img { transform: scale(1.03); }

/* --- 4. NAVIGATION INTER-ACTIVITÉS (PREMIUM) --- */
.activities-nav-section {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.activities-nav-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.activity-link {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: #ccc; 
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    position: relative;
    padding: 10px 0;
    transition: all 0.5s ease;
}

.link-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translateX(-50%);
}

.activity-link:hover {
    color: #000;
}
.activity-link:hover .link-line {
    width: 100%;
}

.activity-link.active {
    color: #000;
    cursor: default;
    font-weight: 700;
}
.activity-link.active .link-line {
    width: 40px; 
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .act-hero { height: 60vh; }
    .act-hero-title { font-size: 2.5rem; letter-spacing: 3px; }
    .act-hero-subtitle { font-size: 1.2rem; }

    .act-editorial-section { padding: 60px 0; }
    
    /* Sur mobile, on remet l'image en pleine largeur du conteneur pour éviter qu'elle soit minuscule */
    .act-img-wrapper { max-width: 100%; box-shadow: none; margin-bottom: 30px; }
    
    .text-col { padding: 0 20px; order: 2 !important; text-align: left; }
    .img-col { padding: 0 20px; order: 1 !important; }
    
    .act-text { font-size: 1.05rem; }
    .act-highlight { font-size: 1.3rem; }
    
    .activities-nav-wrapper { gap: 30px; flex-direction: column; }
    .activity-link { font-size: 1.2rem; }
}