/* Définition des variables pour la nouvelle DA (Bronze Mât) */
:root {
    --color-primary: #1A2E44; /* Bleu Marine Profond (Confiance) */
    --color-secondary: #F0F4F8; /* Gris Très Clair (Fond des sections) */
    --color-accent: #C28B5C; /* NOUVELLE COULEUR: Bronze Mât / Cuivre Foncé */
    --color-text: #333333; /* Texte principal */
    --color-light-text: #666666; /* Texte secondaire */
    --color-white: #FFFFFF;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --max-width: 1200px;
    --section-padding: 100px 40px; 
}

html { scroll-behavior: smooth; }

/* -------------------- RESET & BASICS -------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s;
}

a:hover {
    color: var(--color-accent);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 600; text-align: center; margin-bottom: 40px; }
h3 { font-size: 1.5rem; font-weight: 600; }

.section-padding {
    padding: var(--section-padding);
    max-width: var(--max-width);
    margin: 0 auto;
}

/* -------------------- BOUTONS (CTA) -------------------- */
.cta-primary {
    display: inline-block;
    background-color: var(--color-accent); /* Couleur premium BRONZE */
    color: var(--color-white);
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, transform 0.2s;
    border: 2px solid var(--color-accent);
}

.cta-primary:hover {
    background-color: var(--color-white);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.cta-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--color-primary);
    padding: 14px 30px;
    border: 2px solid var(--color-primary);
    border-radius: 5px;
    font-weight: 600;
    margin-left: 20px;
}

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

.btn-text-link {
    font-weight: 500;
    color: var(--color-primary);
    margin-top: 15px;
    display: inline-block;
}

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

/* -------------------- HEADER & NAVIGATION (VERSION BLEUE AVEC LOGO) -------------------- */
.main-header {
    background-color: var(--color-primary); /* Bleu Marine Profond */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
    position: sticky; 
    top: 0;
    z-index: 1000;
}

/* 1. LIEN GLOBAL DU LOGO (Conteneur Image + Texte) */
.logo-link {
    display: flex; /* Permet d'aligner l'image et le texte */
    align-items: center; /* Centre verticalement */
    gap: 10px; /* Espace entre le logo et le texte */

    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white); /* Texte BibiClean en blanc */
    transition: color 0.3s;
}

/* 2. Style de l'icône B */
.logo-icon {
    height: 35px; /* Taille de l'icône B */
    width: auto;
    /* IMPORTANT : Si votre fichier .png d'origine est noir, cette ligne le rend blanc pour le fond bleu */
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}

/* 3. Style du texte et de l'icône au survol */
.logo-link:hover .logo-text {
    color: var(--color-accent); /* Le texte BibiClean passe au Bronze Mât */
}

/* 4. Liens de navigation (restent blancs) */
.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-weight: 500;
    color: var(--color-white); /* Blanc pour la lisibilité */
    transition: color 0.3s;
}

.main-nav ul li a:hover {
    color: var(--color-accent); /* Le Bronze au survol */
}

/* Style du bouton CTA dans le Header (BRONZE) */
.cta-button { 
    display: inline-block;
    background-color: var(--color-accent); /* Fond Bronze Mât */
    color: var(--color-white); /* Texte Blanc */
    
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    
    border: 2px solid var(--color-accent); /* Bordure Bronze */
    border-radius: 5px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.cta-button:hover {
    /* Au survol, on inverse les couleurs pour un effet premium */
    background-color: var(--color-primary); /* Fond devient Bleu Marine du header */
    color: var(--color-accent); /* Texte passe au Bronze Mât */
    border-color: var(--color-accent); /* Bordure reste Bronze */
    transform: translateY(-1px);
}


/* -------------------- HERO SECTION -------------------- */
.hero-section {
    position: relative;
    height: 80vh; 
    background: url('assets/hero-background.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.hero-section::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    z-index: 10;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    color: var(--color-white);
    margin-bottom: 15px;
}

.hero-content .subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* -------------------- SECTION PREUVE SOCIALE -------------------- */
.social-proof-section {
    padding: 40px 0;
    text-align: center;
    background-color: var(--color-secondary);
}

.proof-title {
    font-size: 1rem;
    color: var(--color-light-text);
    margin-bottom: 20px;
}

.logo-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo-list img {
    height: 50px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: opacity 0.3s, filter 0.3s;
}

.logo-list img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* -------------------- SECTION ENGAGEMENTS CLÉS (4 PILIERS) -------------------- */
.commitment-section {
    background-color: var(--color-white);
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}
.service-overview h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.service-overview p {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
    color: var(--color-light-text);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Grid des cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Style des cards */
.service-cards .service-card {
    background-color: var(--color-white);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-cards .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.service-cards .service-card i {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 15px;
}

.service-cards .service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.service-cards .service-card p {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.6;
}


.pillar-card {
    padding: 30px 20px;
    border: 1px solid var(--color-secondary);
    border-radius: 8px;
    transition: background-color 0.3s;
}

.pillar-card:hover {
    background-color: var(--color-secondary);
}

.pillar-card i.icon-accent {
    font-size: 3rem;
    margin-bottom: 15px;
}

.pillar-card h3 {
    font-size: 1.3rem;
}


/* -------------------- SECTION QUI SOMMES-NOUS & GÉNERAL -------------------- */
.about-summary-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-summary-section .text-content {
    flex: 1;
}

.about-summary-section .image-placeholder {
    flex: 1;
    min-height: 400px;
    background-color: var(--color-secondary); 
    border-radius: 8px;
}

/* -------------------- SECTION SERVICES -------------------- */
.services-section {
    background-color: var(--color-secondary);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.icon-accent {
    color: var(--color-accent); /* Icône en couleur BRONZE */
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-top: 0;
}

/* ============================================== */
/* NOUVEAU STYLE : SECTION RUPTURE (CTA intermédiaire) */
/* ============================================== */
.next-step-cta {
    background-color: var(--color-primary); /* Fond Bleu Marine */
    padding: 60px 40px; 
    text-align: center;
}

.next-step-cta .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.next-step-cta h3 {
    color: var(--color-white); /* Titre en Blanc */
    font-size: 2rem;
    margin-bottom: 15px;
}

.next-step-cta p {
    color: rgba(255, 255, 255, 0.8); /* Texte secondaire clair */
    margin-bottom: 30px;
}

/* -------------------- SECTION CONTACT IMMERSIVE -------------------- */
.contact-immersive-section {
    background-color: var(--color-secondary);
    padding: var(--section-padding);
}

.contact-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; 
    gap: 80px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-text-area h2 {
    text-align: left;
    margin-bottom: 25px;
}

.contact-info {
    margin: 30px 0;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.contact-info i.icon-accent {
    margin-right: 10px;
}

.small-note {
    font-size: 0.9rem;
    color: var(--color-light-text);
}

/* Style du Formulaire */
.contact-form {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .big-cta {
    width: 100%;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    margin-bottom: 20px;
}

.calendly-placeholder {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--color-secondary);
    font-style: italic;
    color: var(--color-light-text);
}

/* -------------------- FOOTER -------------------- */
.main-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 60px 40px 20px;
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-grid h3, .footer-grid h4 {
    color: var(--color-accent); /* Titres en BRONZE */
    margin-bottom: 20px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 10px;
}

.footer-grid a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-bottom a {
    color: var(--color-white);
}

/* -------------------- RESPONSIVE BASIQUE -------------------- */
@media (max-width: 900px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .main-header {
        padding: 15px 20px;
    }
    
    .main-nav {
        display: none; 
    }

    .footer-grid, 
    .about-summary-section,
    .contact-content-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }
    
    .about-summary-section .image-placeholder {
        order: -1; 
    }
    
    .contact-text-area h2 {
        text-align: center;
    }

    .hero-section {
        height: 60vh;
    }
}
/* Style du conteneur de l'icône */
.service-icon {
    margin-bottom: 20px;
    /* ... autres styles ... */
}

.service-icon i {
    font-size: 2.8rem; /* NOUVEAU: Taille légèrement réduite */
    color: var(--color-accent); /* NOUVEAU: Couleur Bronze */
    display: block;
}
/* ======== PAGE DEVIS ======== */
.form-container {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-container h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.form-intro {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #00b894;
  box-shadow: 0 0 0 3px rgba(0,184,148,0.1);
  outline: none;
}

.form-group.form-full {
  grid-column: 1 / 3;
}

button.cta-primary {
  width: fit-content;
  align-self: center;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

button.cta-primary:hover {
  transform: scale(1.05);
}

/* HERO SECTION DEVIS */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem;
  color: #fff;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-section .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.1rem;
  color: #eaeaea;
}
/* ======== PAGE DEVIS ======== */
.form-container {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-container h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.form-intro {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #00b894;
  box-shadow: 0 0 0 3px rgba(0,184,148,0.1);
  outline: none;
}

.form-group.form-full {
  grid-column: 1 / 3;
}

button.cta-primary {
  width: fit-content;
  align-self: center;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

button.cta-primary:hover {
  transform: scale(1.05);
}

/* HERO SECTION DEVIS */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem;
  color: #fff;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-section .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.1rem;
  color: #eaeaea;
}
/* ====== BUREAUX — Blocs additionnels ====== */
.section-intro{
  max-width: 800px; margin: 0 auto 30px; text-align: center; color: var(--color-light-text);
}

/* Prestations par zone */
.features-zones .features-grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 24px;
}
.features-zones .feature{
  background:#fff; border-radius:10px; padding:26px; text-align:center;
  box-shadow:0 8px 20px rgba(0,0,0,.06); transition:.25s;
}
.features-zones .feature:hover{ transform: translateY(-4px); box-shadow:0 14px 28px rgba(0,0,0,.09); }
.features-zones i{ font-size:2rem; color:var(--color-accent); margin-bottom:12px; }

/* Programmes & fréquences */
.programs-grid{
  display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap:24px;
}
.program-card{
  background:#fff; border-left:4px solid var(--color-accent); border-radius:10px;
  padding:22px; box-shadow:0 6px 18px rgba(0,0,0,.06);
}
.program-card h3{ margin-bottom:10px; color:var(--color-primary); }
.program-card ul{ padding-left:18px; color:var(--color-text); }

/* Méthode & KPI */
.methode-qualite .steps{
  display:grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap:16px; margin-bottom:26px;
}
.methode-qualite .step{
  background:#fff; border-radius:10px; padding:18px; display:flex; gap:12px; align-items:center;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}
.methode-qualite .step span{
  display:inline-grid; place-items:center; width:32px;height:32px; border-radius:50%;
  background:var(--color-accent); color:#fff; font-weight:700;
}
.methode-qualite .kpis{ display:flex; gap:20px; justify-content:center; flex-wrap:wrap; }
.methode-qualite .kpi{
  background:#fff; border-radius:12px; padding:16px 20px; text-align:center; min-width:160px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}
.methode-qualite .kpi strong{ font-size:1.4rem; color:var(--color-primary); display:block; }
.methode-qualite .kpi span{ color:var(--color-light-text); }

/* Témoignage */
.temoignage blockquote{
  max-width:800px; margin:0 auto 8px; text-align:center; font-style:italic;
  color:var(--color-primary);
}
.temoignage .author{ text-align:center; color:var(--color-light-text); }

/* FAQ */
.faq details{
  max-width:900px; margin:0 auto 12px; background:#fff; border-radius:10px; padding:14px 18px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}
.faq summary{ cursor:pointer; font-weight:600; color:var(--color-primary); }
.faq p{ margin-top:10px; color:var(--color-text); }
/* ===== Avant / Après - Bureaux ===== */
.before-after-section {
  text-align: center;
  padding: 90px 20px;
  background: #f8f9fb;
}

.before-after-section h2 { margin-bottom: 8px; }
.before-after-sub { color: #5b6b7f; margin-bottom: 24px; }

.before-after-container {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
  width: 100%;
}

.before-after-wrapper {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,.15);
  background: #000;
}

.before-after-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.after-image {
  clip-path: inset(0 0 0 0);
}

.before-image {
  clip-path: inset(0 50% 0 0);
  filter: brightness(.96) saturate(.96);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
  background: rgba(255,255,255,.9);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
}

.ba-handle .ba-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--color-accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(255,255,255,.7), 0 0 18px rgba(194,139,92,.45);
}

.ba-slider {
  position: relative;
  width: 100%;
  margin-top: 16px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  cursor: pointer;
}

.ba-slider::-webkit-slider-thumb,
.ba-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
/* ===== AVANT / APRÈS — CARROUSEL ===== */
.before-after-section { text-align:center; padding:90px 20px; background:#f8f9fb; }
.before-after-section h2 { margin-bottom:8px; }
.before-after-sub { color:#5b6b7f; margin-bottom:24px; }

.ba-carousel {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
}

.ba-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;      /* responsive, peut être 4/3 si tu préfères */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,.15);
  background: #000;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}

.ba-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.ba-after { clip-path: inset(0 0 0 0); }          /* visible entièrement */
.ba-before { clip-path: inset(0 50% 0 0); }        /* révélé par le trait */

.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: calc(50% - 1px);
  width: 2px; background: rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
  pointer-events: none;
}
.ba-handle .ba-dot {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 16px; height:16px; border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255,255,255,.75), 0 0 18px rgba(194,139,92,.45);
}

/* Flèches nav */
.ba-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(26,46,68,.85); color: #fff;
  border: none; display: grid; place-items: center;
  cursor: pointer; transition: .2s; z-index: 5;
}
.ba-nav:hover { background: rgba(26,46,68,1); }
.ba-prev { left: -16px; }
.ba-next { right: -16px; }
.ba-nav i { font-size: 16px; }

/* Points (facultatif) */
.ba-dots { display:flex; gap:8px; justify-content:center; margin-top:14px; }
.ba-dots button {
  width:8px; height:8px; border-radius:50%; border:none; background:#cfd8e3; cursor:pointer;
}
.ba-dots button.active { background: var(--color-accent); }

/* Mobile petits écrans */
@media (max-width: 520px){
  .ba-prev { left: 6px; }
  .ba-next { right: 6px; }
}
