/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --green: #009688; --green-dark: #00796b;
    --yellow: #fbc02d; --yellow-dark: #f57f17;
    --red: #d32f2f; --red-dark: #b71c1c;
    --dark: #1a1a1a; --gray: #f4f6f9; --white: #ffffff;
    --shadow: 0 15px 30px rgba(0,0,0,0.05);
    --transition-fast: all 0.2s ease;
    --transition-pro: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Animation fluide professionnelle */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; color: var(--dark); background-color: var(--white); overflow-x: hidden; width: 100%; height: 100%; }
h1, h2, h3, h4, .footer-logo { font-family: 'Oswald', sans-serif; text-transform: uppercase; }
a { text-decoration: none; transition: var(--transition-fast); }
ul { list-style: none; }



/* =========================================
   NOUVELLE SPLASH SCREEN (ANIMATION D'INTRO)
   ========================================= */
#splash-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: #ffffff; z-index: 10000; overflow: hidden;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}
#splash-screen.fade-out { opacity: 0; visibility: hidden; }

/* --- FUMÉE 3D (vert / jaune / rouge mélangés) --- */
.smoke-3d { position: absolute; inset: 0; z-index: 0; filter: blur(60px) saturate(1.4); overflow: hidden; }
.smoke { position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%; opacity: 0.55; mix-blend-mode: multiply; will-change: transform; }
.smoke-green  { background: radial-gradient(circle at 35% 35%, rgba(0,150,136,0.9), rgba(0,150,136,0) 70%); top: -12%; left: -8%;  animation: smokeMove1 9s ease-in-out infinite; }
.smoke-yellow { background: radial-gradient(circle at 50% 50%, rgba(251,192,45,0.9), rgba(251,192,45,0) 70%); top: 5%;   right: -12%; animation: smokeMove2 11s ease-in-out infinite; }
.smoke-red    { background: radial-gradient(circle at 60% 40%, rgba(211,47,47,0.85), rgba(211,47,47,0) 70%); bottom: -18%; left: 20%; animation: smokeMove3 10s ease-in-out infinite; }
@keyframes smokeMove1 { 0%,100% { transform: translate(0,0) scale(1) rotate(0deg); } 50% { transform: translate(18vw,10vh) scale(1.25) rotate(40deg); } }
@keyframes smokeMove2 { 0%,100% { transform: translate(0,0) scale(1.1) rotate(0deg); } 50% { transform: translate(-16vw,14vh) scale(0.85) rotate(-35deg); } }
@keyframes smokeMove3 { 0%,100% { transform: translate(0,0) scale(1) rotate(0deg); } 50% { transform: translate(8vw,-16vh) scale(1.3) rotate(30deg); } }

.splash-content { position: relative; z-index: 2; text-align: center; padding: 0 20px; }
.splash-brand { display: inline-block; }

/* PREVENTIVE */
.brand-top {
    font-family: 'Oswald', sans-serif; font-weight: 500;
    font-size: clamp(2rem, 7vw, 4.4rem); letter-spacing: clamp(4px, 1.4vw, 14px);
    color: var(--dark); line-height: 1; padding-left: clamp(4px, 1.4vw, 14px);
}
.letter { display: inline-block; opacity: 0; transform: translateY(22px); animation: letterFadeInUp 0.5s forwards; }
@keyframes letterFadeInUp { to { opacity: 1; transform: translateY(0); } }

/* trait vert · HOLDING · trait jaune */
.brand-mid { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 22px); margin-top: 14px; }
.brand-line { display: block; height: 4px; width: clamp(40px, 9vw, 95px); border-radius: 4px; transform: scaleX(0); opacity: 0; }
.line-green  { background: var(--green);  transform-origin: right center; animation: lineGrow 0.6s ease forwards 0.75s; }
.line-yellow { background: var(--yellow); transform-origin: left center;  animation: lineGrow 0.6s ease forwards 0.75s; }
@keyframes lineGrow { to { transform: scaleX(1); opacity: 1; } }
.brand-holding {
    font-family: 'Oswald', sans-serif; font-weight: 700; color: var(--red);
    font-size: clamp(1.5rem, 4.5vw, 2.8rem); letter-spacing: clamp(3px, 1vw, 9px);
    opacity: 0; transform: translateY(10px); animation: holdingIn 0.6s ease forwards 0.95s;
}
@keyframes holdingIn { to { opacity: 1; transform: translateY(0); } }

/* tagline ÉCOUTER • CONSEILLER • ASSISTER */
.brand-tag {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: clamp(8px, 1.6vw, 16px); margin-top: 16px;
    font-family: 'Montserrat', sans-serif; font-weight: 600;
    letter-spacing: clamp(2px, 0.8vw, 6px); color: #555;
    font-size: clamp(0.7rem, 1.6vw, 1rem);
    opacity: 0; animation: tagIn 0.7s ease forwards 1.35s;
}
@keyframes tagIn { to { opacity: 1; } }
.tag-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; transform: scale(0); }
.dot-green  { background: var(--green);  animation: dotPop 0.4s ease forwards 1.55s; }
.dot-yellow { background: var(--yellow); animation: dotPop 0.4s ease forwards 1.7s; }
@keyframes dotPop { 60% { transform: scale(1.4); } 100% { transform: scale(1); } }

.splash-loader {
    width: 70px; height: 3px; background: rgba(0,0,0,0.08);
    margin: 34px auto 0; position: relative; overflow: hidden; border-radius: 3px;
}
.splash-loader::after {
    content: ''; position: absolute; left: -100%; top: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
    animation: splashLoaderBar 1.5s infinite 1s;
}
@keyframes splashLoaderBar { 100% { left: 100%; } }

@media (max-width: 900px) {
    .brand-tag { letter-spacing: 2px; }
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
header { position: fixed; top: 0; width: 100%; padding: 15px 4%; display: flex; justify-content: space-between; align-items: center; z-index: 1000; background: transparent; transition: var(--transition-pro); gap: 20px; }
header.scrolled { background: rgba(255, 255, 255, 0.95); padding: 10px 4%; box-shadow: 0 5px 20px rgba(0,0,0,0.05); backdrop-filter: blur(10px); }
.logo { display: inline-flex; align-items: center; background: #fff; padding: 6px 14px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,0.12); flex-shrink: 0; }
.logo img { max-height: 46px; width: auto; object-fit: contain; display: block; }
header.scrolled .logo { box-shadow: none; padding: 4px 10px; }
nav ul { display: flex; gap: 22px; }
nav a { color: var(--dark); font-weight: 600; font-size: 0.88rem; position: relative; white-space: nowrap; }
nav a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--red)); transition: var(--transition-pro); }
nav a:hover::after { width: 100%; }
/* Header transparent (au-dessus de la vidéo) : liens clairs et lisibles */
#header:not(.scrolled) nav a { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.55); }
.btn-header { padding: 10px 25px; border-radius: 50px; font-weight: 700; font-size: 0.9rem; background: var(--dark); color: var(--white); box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: var(--transition-pro); flex-shrink: 0; }
.btn-header:hover { background: var(--green); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,150,136,0.3); }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* =========================================
   HERO CAROUSEL
   ========================================= */
.hero { position: relative; height: 100vh; width: 100%; overflow: hidden; background: #0d0d0d; }

/* --- FOND DU HERO (CARROUSEL : images + vidéos) --- */
.hero-video-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transition: opacity 1.4s ease-in-out;
}
.hero-media.active { opacity: 1; }

/* Taches difformes animées sur le fond (style des blobs du cercle) */
.hero-blob {
    position: absolute; z-index: 3; width: 340px; height: 340px; pointer-events: none;
    opacity: 0.32; filter: blur(6px); mix-blend-mode: screen;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blobFloat 9s ease-in-out infinite;
}
.hero-blob-1 { top: 10%; right: 5%;  background: var(--green);  animation-delay: -1.5s; }
.hero-blob-2 { bottom: 6%; left: 3%;  background: var(--red);    animation-delay: -4.5s; }
@media (max-width: 900px) {
    .hero-blob { width: 200px; height: 200px; opacity: 0.25; }
}
/* Voile léger uniquement à gauche (lisibilité du texte). La vidéo garde ses couleurs naturelles à droite. */
.hero-video-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(90deg, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0.22) 35%, rgba(0,0,0,0) 62%);
}
@media (max-width: 900px) {
    .hero-video-overlay { background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.45) 100%); }
}

/* Texte du hero lisible sur la vidéo */
.hero .hero-text h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.hero .hero-text p { color: #e8e8e8; text-shadow: 0 1px 10px rgba(0,0,0,0.5); }

/* Animations de droite (cercle + icône) en version verre translucide sur la vidéo */
.hero .visual-circle {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.hero .visual-blob { opacity: 0.35; }
.hero .visual-circle i { filter: drop-shadow(0 4px 15px rgba(0,0,0,0.4)); }
.bg-shape { position: absolute; opacity: 0.08; z-index: 1; animation: floatShape 10s ease-in-out infinite; border-radius: 50px; }
@keyframes floatShape { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-30px) rotate(5deg); } }
.shape-bar-lg { width: 500px; height: 80px; }
.shape-circle { width: 150px; height: 150px; border-radius: 50%; }
.pos-1 { top: 15%; left: -5%; }
.pos-2 { bottom: 20%; right: -5%; animation-delay: -2s; }

.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 10%; opacity: 0; pointer-events: none; z-index: 1; transition: opacity 1s ease-in-out; }
.slide.active { opacity: 1; pointer-events: auto; z-index: 10; }
.hero-text { max-width: 600px; z-index: 20; }
.pill { display: inline-block; padding: 6px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 20px; opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.hero-text h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 20px; opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.hero-text p { font-size: 1.1rem; color: #555; margin-bottom: 30px; line-height: 1.8; opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.hero-btns { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.btn-hero { padding: 15px 35px; border-radius: 50px; color: white; font-weight: 700; display: inline-block; box-shadow: var(--shadow); transition: var(--transition-pro); }
.btn-hero:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

.hero-visual { position: relative; width: 450px; height: 450px; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.85); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.4, 0, 0.2, 1); z-index: 20; }
.visual-circle { width: 100%; height: 100%; border-radius: 50%; background: white; box-shadow: 0 20px 60px rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: center; font-size: 8rem; position: relative; z-index: 2; }
.visual-blob { position: absolute; width: 120%; height: 120%; opacity: 0.1; z-index: 1; border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; animation: blobFloat 8s ease-in-out infinite; }
@keyframes blobFloat { 0%, 100% { border-radius: 40% 60% 70% 30%; transform: rotate(0deg); } 50% { border-radius: 70% 30% 50% 50%; } }

.slide-green .pill { background: rgba(0,150,136,0.1); color: var(--green); border: 1px solid var(--green); }
.slide-green h1 span, .slide-green .visual-circle i { color: var(--green); }
.slide-green .btn-hero, .slide-green .visual-blob, .slide-green .bg-shape { background: var(--green); }
.slide-yellow .pill { background: rgba(251,192,45,0.1); color: var(--yellow-dark); border: 1px solid var(--yellow); }
.slide-yellow h1 span, .slide-yellow .visual-circle i { color: var(--yellow); }
.slide-yellow .btn-hero { background: var(--yellow); color: #333; }
.slide-yellow .visual-blob, .slide-yellow .bg-shape { background: var(--yellow); }
.slide-red .pill { background: rgba(211,47,47,0.1); color: var(--red); border: 1px solid var(--red); }
.slide-red h1 span, .slide-red .visual-circle i { color: var(--red); }
.slide-red .btn-hero, .slide-red .visual-blob, .slide-red .bg-shape { background: var(--red); }

.carousel-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 15px; z-index: 100; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #ccc; cursor: pointer; transition: 0.3s; }
.dot.active { transform: scale(1.4); }
.dot-green.active { background: var(--green); }
.dot-yellow.active { background: var(--yellow); }
.dot-red.active { background: var(--red); }

/* =========================================
   CARDS & SECTIONS (EFFETS PRO ADDED)
   ========================================= */
.section { padding: 100px 10%; position: relative; width: 100%; }
.bg-light { background: var(--gray); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; }
.separator { width: 60px; height: 5px; background: var(--dark); margin: 20px auto; border-radius: 5px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.card { background: white; padding: 40px 30px; border-radius: 20px; box-shadow: var(--shadow); border-top: 5px solid transparent; position: relative; overflow: hidden; }

/* CLASSE HOVER-PRO (NOUVEAU) */
.card.hover-pro { transition: var(--transition-pro); }
.card.hover-pro:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.card.hover-pro::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0;
    opacity: 0.03; transition: var(--transition-pro); z-index: 1;
}
.card.card-green.hover-pro::after { background: var(--green); }
.card.card-yellow.hover-pro::after { background: var(--yellow); }
.card.card-red.hover-pro::after { background: var(--red); }
.card.hover-pro:hover::after { height: 100%; }

.card-icon { font-size: 2.5rem; margin-bottom: 25px; transition: var(--transition-pro); position: relative; z-index: 2; }
.card.hover-pro:hover .card-icon { transform: scale(1.1) rotate(5deg); }

.card h3 { position: relative; z-index: 2; }
.card-list { text-align: left; margin-top: 15px; position: relative; z-index: 2; }
.card-list li { margin-bottom: 8px; font-size: 0.9rem; color: #555; position: relative; padding-left: 15px; }
.card-list li::before { content: '✓'; position: absolute; left: 0; color: #888; font-weight: bold; }
.card-green .card-list li::before { color: var(--green); }
.card-yellow .card-list li::before { color: var(--yellow-dark); }
.card-red .card-list li::before { color: var(--red); }

/* =========================================
   PRICING TABLE (EFFETS PRO ADDED)
   ========================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.price-card { background: white; padding: 40px 20px; border-radius: 20px; text-align: center; box-shadow: var(--shadow); position: relative; border: 1px solid #eee; }
.price-card.featured { border: 2px solid var(--green); transform: scale(1.05); z-index: 2; }
.price-card.featured.hover-pro:hover { transform: translateY(-12px) scale(1.07); } /* Ajustement pour la carte mise en avant */
.price-card.retain-card { border: 2px solid var(--dark); background: #fafafa; }

.popular-tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--green); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }
.price { font-size: 1.8rem; font-weight: 700; margin: 15px 0; color: var(--dark); transition: var(--transition-pro); }
.price-card.hover-pro:hover .price { color: var(--green); transform: scale(1.1); }
.price-card.card-yellow.hover-pro:hover .price { color: var(--yellow-dark); }
.price-card.card-red.hover-pro:hover .price { color: var(--red); }

.price span { font-size: 0.9rem; color: #777; }
.price-list { margin: 20px 0; padding: 0; text-align: left; }
.price-list li { margin-bottom: 10px; font-size: 0.85rem; color: #555; border-bottom: 1px solid #f1f1f1; padding-bottom: 5px; }

/* =========================================
   GALERIE & MODAL
   ========================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }
.gallery-item { position: relative; border-radius: 15px; overflow: hidden; height: 250px; cursor: pointer; transition: var(--transition-pro); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.15); }
.gallery-item .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); opacity: 0; display: flex; align-items: center; justify-content: center; transition: var(--transition-pro); backdrop-filter: blur(3px); }
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay i { color: white; font-size: 2rem; transform: scale(0.5); transition: var(--transition-pro); }
.gallery-item:hover .overlay i { transform: scale(1); }

.gallery-modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); justify-content: center; align-items: center; opacity: 0; transition: var(--transition-pro); }
.gallery-modal.active { display: flex; opacity: 1; }
.close-modal { position: absolute; top: 20px; right: 35px; color: white; font-size: 40px; cursor: pointer; z-index: 10001; transition: var(--transition-fast); }
.close-modal:hover { color: var(--red); transform: rotate(90deg); }
.swiper { width: 85%; height: 80%; }
.swiper-slide img { max-width: 100%; max-height: 100%; border-radius: 10px; object-fit: contain; margin: 0 auto; display: block; }
.swiper-button-next, .swiper-button-prev { color: var(--green); transition: var(--transition-fast); }
.swiper-button-next:hover, .swiper-button-prev:hover { transform: scale(1.2); }
.swiper-pagination-bullet-active { background: var(--green); }

/* =========================================
   STATS & FOOTER
   ========================================= */
.stats-section { background: var(--dark); color: white; text-align: center; padding: 80px 10%; background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjMWExYTFhIiAvPgo8cmVjdCB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSIjMzMzIiAvPgo8L3N2Zz4='); }
.stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 40px; }
.stat-item h3 { font-size: 3.5rem; color: var(--yellow); margin-bottom: 10px; }
.stat-item p { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 2px; color: #aaa; }

footer { background: #111; color: #888; padding: 60px 10% 20px; width: 100%; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-logo { color: white; font-size: 1.5rem; margin-bottom: 20px; display: block; }
.socials a { display: inline-flex; width: 40px; height: 40px; background: #222; color: white; border-radius: 50%; align-items: center; justify-content: center; margin-right: 10px; transition: var(--transition-pro); }
.socials a:hover { background: var(--green); transform: translateY(-5px) rotate(360deg); }
.copyright { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #222; }

/* =========================================
   SECTION VIDÉO (ACCUEIL)
   ========================================= */
.video-section { background: var(--dark); color: var(--white); }
.video-section .section-header h2 { color: var(--white); }
.video-section .section-header p { color: #bbb; max-width: 700px; margin: 15px auto 0; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; max-width: 1100px; margin: 0 auto; }
.video-card { background: #111; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.4); border-top: 5px solid var(--red); }
.video-card video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.video-caption { padding: 18px 22px; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: 1rem; color: var(--white); display: flex; align-items: center; gap: 10px; }
.video-caption i { color: var(--red); }

/* =========================================
   FOOTER LINKS & BACK TO TOP
   ========================================= */
.footer-col h4 { color: var(--white); margin-bottom: 20px; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-col ul li i { color: var(--green); width: 18px; }
.footer-col ul li a { color: #888; transition: var(--transition-fast); }
.footer-col ul li a:hover { color: var(--green); padding-left: 4px; }

.back-to-top {
    position: fixed; bottom: 25px; right: 25px; width: 50px; height: 50px;
    background: var(--green); color: var(--white); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(0,150,136,0.4); z-index: 900;
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: var(--transition-pro);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--green-dark); transform: translateY(-5px); }

/* =========================================
   PAGE GALERIE DÉDIÉE
   ========================================= */
.gallery-page-hero {
    min-height: 45vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 140px 5% 60px; color: var(--white);
    background: linear-gradient(135deg, var(--green-dark), var(--dark) 60%, var(--red-dark));
    position: relative; overflow: hidden;
}
.gallery-page-hero h1 { font-size: 3.5rem; margin-bottom: 15px; letter-spacing: 2px; }
.gallery-page-hero p { max-width: 650px; color: #e0e0e0; font-size: 1.1rem; line-height: 1.7; }
.gallery-page-hero .pill { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); opacity: 1; transform: none; }

.gallery-carousel-section { padding: 80px 5% 40px; }
.main-carousel { width: 100%; max-width: 1000px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.main-carousel .swiper-slide { background: #111; display: flex; align-items: center; justify-content: center; }
.main-carousel .swiper-slide img { width: 100%; height: 60vh; max-height: 620px; object-fit: contain; display: block; cursor: zoom-in; }
.main-carousel .swiper-button-next, .main-carousel .swiper-button-prev { color: var(--white); background: rgba(0,0,0,0.35); width: 45px; height: 45px; border-radius: 50%; }
.main-carousel .swiper-button-next::after, .main-carousel .swiper-button-prev::after { font-size: 1.1rem; }
.main-carousel .swiper-pagination-bullet { background: var(--white); opacity: 0.6; }
.main-carousel .swiper-pagination-bullet-active { background: var(--green); opacity: 1; }

.main-carousel .swiper-slide { position: relative; }
.main-carousel .slide-cap { position: absolute; left: 0; bottom: 0; width: 100%; padding: 50px 30px 22px; color: #fff;
    font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1.2px; font-size: 1.1rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%); pointer-events: none; }
.thumbs-carousel { max-width: 1000px; margin: 20px auto 0; }
.thumbs-carousel .swiper-slide { width: 110px; height: 75px; border-radius: 10px; overflow: hidden; opacity: 0.5; cursor: pointer; transition: var(--transition-fast); border: 3px solid transparent; }
.thumbs-carousel .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.thumbs-carousel .swiper-slide-thumb-active { opacity: 1; border-color: var(--green); }

/* Grille galerie complète : MASONRY (images entières, aucun visage coupé) */
.gallery-full { display: block; column-count: 3; column-gap: 15px; }
.gallery-full .gallery-item { height: auto; margin: 0 0 15px; break-inside: avoid; display: block; }
.gallery-full .gallery-item img { width: 100%; height: auto; object-fit: fill; }
.gallery-full .gallery-item:hover img { transform: scale(1.05); }

@media (max-width: 900px) {
    .gallery-page-hero h1 { font-size: 2.2rem; }
    .main-carousel .swiper-slide img { height: 45vh; }
    .gallery-full { column-count: 2; }
}
@media (max-width: 560px) {
    .gallery-full { column-count: 1; }
}

/* Aperçu galerie sur l'accueil : garder les visages visibles (haut de l'image) */
#galerie .gallery-grid .gallery-item img { object-position: top center; }

/* ANIMATION UTILS (SCROLL REVEAL) */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* MOBILE RESPONSIVE AJUSTEMENTS */
@media (max-width: 900px) {
    .splash-logo { font-size: 2.5rem; letter-spacing: 5px; }
    .slide { flex-direction: column-reverse; text-align: center; padding-top: 100px; padding-left: 5%; padding-right: 5%; }
    h1 { font-size: 2.2rem; }
    .hero-visual { width: 250px; height: 250px; margin-bottom: 30px; }
    .visual-circle { font-size: 4rem; }
    nav { display: none; }
    nav.mobile-open {
        display: block; position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(255,255,255,0.98); backdrop-filter: blur(10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 20px 5%;
        animation: fadeInUp 0.3s forwards;
    }
    nav.mobile-open ul { flex-direction: column; gap: 0; }
    nav.mobile-open ul li { border-bottom: 1px solid #f1f1f1; }
    nav.mobile-open ul li a { display: block; padding: 15px 0; font-size: 1rem; }
    nav.mobile-open ul li a::after { display: none; }
    .mobile-toggle { display: block; color: var(--dark); z-index: 1001; }
    .video-grid { gap: 25px; }
    .footer-content { gap: 30px; }
    .services-grid { gap: 20px; }
    .section { padding: 60px 5%; }
    .pricing-grid { grid-template-columns: 1fr; gap: 30px; }
    .price-card.featured { transform: scale(1); }
    .price-card.featured.hover-pro:hover { transform: translateY(-10px) scale(1.02); }
}

/* =========================================
   SOUS-PAGES (Services / Savings / Logistic)
   ========================================= */
.subpage-hero {
    position: relative; min-height: 62vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    padding: 160px 5% 80px; color: #fff; overflow: hidden; background-size: cover; background-position: center;
}
.subpage-hero::before { content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.72) 100%); }
.subpage-hero > * { position: relative; z-index: 2; }
.subpage-hero .pill { opacity: 1; transform: none; background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.subpage-logo { background: #fff; padding: 16px 26px; border-radius: 16px; display: inline-block;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4); margin-bottom: 26px; animation: holdingIn 0.7s ease both; }
.subpage-logo img { max-width: 330px; width: 78vw; max-height: 120px; object-fit: contain; display: block; }
.subpage-hero h1 { font-size: clamp(2rem, 6vw, 3.8rem); line-height: 1.1; margin-bottom: 18px; letter-spacing: 1px; }
.subpage-hero h1 span { display: block; }
.subpage-hero p { max-width: 700px; margin: 0 auto; color: #e8e8e8; font-size: 1.1rem; line-height: 1.8; }
.subpage-hero .hero-btns { opacity: 1; transform: none; margin-top: 30px; }

/* Carrousel des pages */
.page-carousel-section { padding: 70px 5% 20px; }
.page-carousel { max-width: 1080px; margin: 0 auto; border-radius: 22px; overflow: hidden; box-shadow: 0 25px 55px rgba(0,0,0,0.12); }
.page-carousel .swiper-slide { position: relative; background: #0d0d0d; }
.page-carousel .swiper-slide img { width: 100%; height: 62vh; max-height: 620px; object-fit: cover; display: block; }
.page-carousel .slide-cap { position: absolute; left: 0; bottom: 0; width: 100%; padding: 55px 34px 24px; color: #fff;
    font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1.5px; font-size: 1.25rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 100%); }
.page-carousel .swiper-button-next, .page-carousel .swiper-button-prev { color: #fff; background: rgba(0,0,0,0.35);
    width: 46px; height: 46px; border-radius: 50%; }
.page-carousel .swiper-button-next::after, .page-carousel .swiper-button-prev::after { font-size: 1.1rem; }
.page-carousel .swiper-pagination-bullet { background: #fff; opacity: 0.6; }
.page-carousel .swiper-pagination-bullet-active { background: var(--green); opacity: 1; }

/* Bloc "pôle" en 2 colonnes (texte + points) */
.pole-block { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: center; max-width: 1150px; margin: 0 auto 20px; }
.pole-block.reverse .pole-visual { order: 2; }
.pole-visual { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); min-height: 340px; }
.pole-visual img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; transition: var(--transition-pro); }
.pole-visual:hover img { transform: scale(1.06); }
.pole-visual .pole-badge { position: absolute; top: 20px; left: 20px; background: #fff; color: var(--dark);
    font-family: 'Oswald', sans-serif; font-weight: 600; padding: 8px 16px; border-radius: 30px; font-size: 0.85rem; letter-spacing: 1px; }
.pole-text h3 { font-size: 1.9rem; margin-bottom: 8px; }
.pole-text .pole-sub { color: var(--green); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 18px; display: block; }
.pole-text p { color: #555; line-height: 1.8; margin-bottom: 20px; }
.pole-list { display: grid; gap: 12px; }
.pole-list li { position: relative; padding-left: 30px; color: #444; font-size: 0.95rem; }
.pole-list li i { position: absolute; left: 0; top: 3px; color: var(--green); }

/* Bandeau d'accroche coloré */
.cta-band { text-align: center; padding: 70px 5%; color: #fff; }
.cta-band h2 { font-size: 2.2rem; margin-bottom: 15px; color: #fff; }
.cta-band p { max-width: 640px; margin: 0 auto 28px; opacity: 0.92; line-height: 1.7; }
.cta-band .btn-hero { background: #fff; color: var(--dark); }

@media (max-width: 900px) {
    .pole-block { grid-template-columns: 1fr; gap: 25px; }
    .pole-block.reverse .pole-visual { order: 0; }
    .page-carousel .swiper-slide img { height: 44vh; }
    .subpage-hero { min-height: 55vh; padding: 130px 5% 60px; }
}