/* HERO SECTION Identité */
.identite-hero-bg {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: url('../img/bruno_walter_finance_sa_cover.jpg') center center/cover no-repeat;
    overflow: hidden;
    border-top: 9px solid #f8f6f2;
    border-bottom: 9px solid #f8f6f2;
    border-left: 9px solid #f8f6f2 ;
    border-right: 9px solid #f8f6f2 ;
}

.hero-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 28px 42px 0 42px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 10;
}

.bwf-logo {
    width: auto;
    height: 80px;
}

.header-icons {
    display: flex;
    gap: 20px;
}

.identite-hero-content {
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translate(-50%,-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #f8f6f2;
    font-family: 'Playfair Display', serif;
    text-align: center;
    border-radius: 18px;
    padding: 40px 65px 32px 65px;
}

.identite-hero-txt {
    font-size: clamp(26px, 4vw, 44px);
    font-weight: bold;
    text-shadow: 0 2px 20px rgba(0,0,0,0.50);
    margin-bottom: 16px;
    line-height: 1.13;
}

.identite-hero-subtxt {
    font-size: 1.9rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    display: block;
    margin-top: 10px;
}

.identite-discover-btn {
    font-size: 1.15rem;
    padding: 15px 38px;
    border-radius: 25px;
    background: var(--hero-btn, #5d7390e6);
    color: var(--ivory, #f8f6f2);
    border: none;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 3px 18px rgba(0,0,0,0.13);
    margin-top: 25px;
    transition: background 0.14s;
}



@media (max-width: 700px) {
    .identite-hero-bg {
        background: url('../img/bruno_walter_finance_sa_cover_mobil.jpg') center center/cover no-repeat !important;
    }

    .identite-hero-content {
        padding: 18px 4vw 16px 4vw;
        left: 50%; /* centre en mobile */
        top: 57vw; /* remonte un poil en mobile (ajuste si besoin) */
        transform: translate(-50%, -50%);
        max-width: 96vw;
    }
    .identite-hero-txt {
        font-size: clamp(18px, 5vw, 25px);
        margin-bottom: 9px;
        line-height: 1.18;
        word-break: break-word;
    }
    .identite-hero-subtxt {
        font-size: 1.05rem;
        margin-top: 7px;
    }
    .identite-discover-btn {
        font-size: 0.98rem;
        padding: 10px 0;
        margin-top: 15px;
        min-width: 70vw;
        border-radius: 20px;
    }
    .bwf-logo {
    width: auto;
    height: 60px;
}
}


/* ==== TEAM SECTION ==== */
.team-section {
    background: #f8f6f2;
    padding: 70px 0 40px 0;
    width: 100%;
}
.team-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 38px;
    max-width: 1240px;
    margin: 0 auto 52px auto;
    padding: 0 4vw;
}
.team-row.reverse {
    flex-direction: row-reverse;
}
.team-img-col {
    min-width: 260px;
    max-width: 290px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 7px;
}
.team-img {
    width: 100%;
    max-width: 250px;
    min-width: 160px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.09);
    background: #f5f5f5;
}
.team-name {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1.45rem;
    margin: 14px 0 0 0;
    color: #232323;
    line-height: 1.25;
    letter-spacing: 0.2px;
}
.team-bio-col {
    flex: 1 1 0;
    min-width: 0;
    max-width: 830px;
    display: flex;
    align-items: center;
}
.team-bio {
    font-family: 'Playfair Display';
    font-size: 15.5px;
    color: #232323;
    line-height: 1.6;
    padding: 14px 0;
    background: none;
}

/* Responsive team */
@media (max-width: 1050px) {
    .team-section { padding-top: 38px; }
    .team-row { flex-direction: column !important; align-items: flex-start; gap: 17px; margin-bottom: 48px; }
    .team-img-col { max-width: 300px; margin: 0 auto; align-items: center; }
    .team-name { text-align: center; }
    .team-bio-col { max-width: 98vw; }
}
@media (max-width: 700px) {
    .team-section { padding: 19px 0 10px 0; }
    .team-img-col { max-width: 220px; }
    .team-img { max-width: 160px; }
    .team-bio { font-size: 0.98rem; padding: 8px 0; }
}

/* ==== DISTINCTIONS SECTION ==== */
.distinctions-section {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    background: none;
    border-top: 9px solid #f8f6f2;
    border-bottom: 9px solid #f8f6f2;
    border-left: 9px solid #f8f6f2 ;
    border-right: 9px solid #f8f6f2 ;
}

/* --- Le flou derrière, sur desktop seulement --- */
.distinctions-bg-blur {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: url('../img/O.W-PRICED.jpg') center center/cover no-repeat;
    filter: blur(9px) brightness(0.5);
    z-index: 1;
}

/* --- L’image nette, centrée et contain, par-dessus --- */
.distinctions-bg-contain {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: url('../img/O.W-PRICED.jpg') center center/contain no-repeat;
    z-index: 2;
    pointer-events: none;
}

.distinctions-content {
    position: absolute;
    top: 0; left: 0; width: 100vw; height: 100vh;
    display: flex;
    align-items: center;           /* centrage vertical */
    justify-content: flex-start;   /* start pour rester à gauche */
    z-index: 4;
    pointer-events: none;
}

.distinctions-block {
    /* on enlève margin-top */
    margin-left: 18vw; /* Mets entre 10vw (plus à gauche) et 18vw (plus vers le centre) selon ton goût */
    background: rgba(25, 25, 25, 0.85);
    border-radius: 24px;
    color: #f8f6f2;
    font-family: 'Playfair Display', serif;
    font-size: 1.22rem;
    line-height: 1.52;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 36px 40px 30px 38px;
    max-width: 410px;
    min-width: 270px;
    pointer-events: auto;
}
@media (min-width: 2200px) {
  .distinctions-block {
    margin-left: 25vw; /* ou même 30vw selon le rendu, à ajuster à ton goût */
  }
}
@media (min-width: 3000px) {
  .distinctions-block {
    margin-left: 29vw; /* Là, tu forces à gauche même sur du 3440p */
  }
}

/* Responsive pour écran moyen */
@media (max-width: 1200px) {
  .distinctions-block { margin-left: 7vw; }
}
/* Responsive mobile */
@media (max-width: 700px) {
  .distinctions-content {
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    height: 100vh;
  }
  .distinctions-block {
    margin: 24vw 0 0 0;
    max-width: 94vw;
    min-width: unset;
    padding: 18px 7vw 18px 7vw;
    font-size: 1rem;
    border-radius: 15px;
    background: rgba(24, 24, 24, 0.92);
  }
}


@media (max-width: 900px) {
  .distinctions-block {
    margin-left: 5vw;
    margin-top: 40px;
    max-width: 95vw;
    padding: 16px 6vw;
  }
}
@media (max-width: 600px) {
  .distinctions-block {
    margin-left: 0;
    margin-top: 24vw;
    max-width: 98vw;
    border-radius: 15px;
    padding: 12px 3vw;
    font-size: 1rem;
    background: rgba(24, 24, 24, 0.95);
  }
}

/* Responsive pour mobile : bloc centré, moins large */
@media (max-width: 700px) {
  .distinctions-content {
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    height: 100vh;
  }
  .distinctions-block {
    margin: 24vw 0 0 0;
    max-width: 94vw;
    min-width: unset;
    padding: 18px 7vw 18px 7vw;
    font-size: 1rem;
    border-radius: 15px;
    background: rgba(24, 24, 24, 0.92);
  }
}

/* --- Bloc texte et footer au-dessus --- */
.distinctions-content,
.footer-mentions {
    position: relative;
    z-index: 4;
}

/* Footer bas droite, pas sur le flou */
.footer-mentions {
    position: absolute;
    right: 0;
    bottom: 0;
    font-family: 'Clear Sans', Arial, sans-serif;
    font-size: 12px;
    color: #f8f6f2;
    background: rgba(10,10,10,0.23);
    padding: 3px 12px;
    border-radius: 8px 0 0 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    max-width: 98vw;
    opacity: 0.96;
    text-align: right;
}

/* --- Mobile : plus de flou, image seule en cover --- */
@media (max-width: 1023px) {
    .distinctions-bg-blur,
    .distinctions-bg-contain {
        display: none !important;
    }
    .distinctions-section {
        /* Image spéciale mobile */
        background: url('../img/BWF-PRICED.jpg') center center/cover no-repeat !important;
}


  
  .footer-mentions {
    position: static;
    margin: 18px auto 0 auto;
    display: block;
    text-align: center;
    background: rgba(20,20,20,0.22);
    border-radius: 8px 8px 0 0;
    max-width: 98vw;
    }
}


/* === Responsive Desktop >= 1024px === */
@media (min-width: 1024px) {
  .distinctions-content {
    justify-content: center; /* bloc centré */
    align-items: flex-start; /* pas au centre verticalement */
    padding: 8vh 0; /* espace en haut/bas */
  }
  .distinctions-block {
    margin: 0 auto;
    max-width: 900px; /* largeur max */
    width: 80vw; /* adaptatif */
    padding: 4vh 4vw;
    font-size: 1.15rem;
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.6); /* plus léger */
    border-radius: 20px;
    text-align: justify;
  }
  .distinctions-block ul {
    margin-left: 1.5em;
  }
}

/* === Responsive Mobile <= 1023px (tu avais déjà la base) === */
@media (max-width: 1023px) {
  .distinctions-bg-blur,
  .distinctions-bg-contain {
    display: none !important;
  }
  .distinctions-section {
    background: url('../img/fondspreis-bg.png') center center/cover no-repeat !important;
  }
  .distinctions-content {
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    height: 100vh;
  }
  .distinctions-block {
    margin: 24vw 0 0 0;
    max-width: 94vw;
    padding: 18px 7vw;
    font-size: 1rem;
    border-radius: 15px;
    background: rgba(24, 24, 24, 0.92);
  }
  .footer-mentions {
    position: static;
    margin: 18px auto 0 auto;
    display: block;
    text-align: center;
    background: rgba(20,20,20,0.22);
    border-radius: 8px 8px 0 0;
    max-width: 98vw;
  }
}



/* === Responsive Desktop >= 1024px === */
@media (min-width: 1024px) {
  .distinctions-content {
    justify-content: center !important; /* bloc centré */
    align-items: flex-start !important; /* pas au centre verticalement */
    padding: 8vh 0 !important; /* espace en haut/bas */
  }
  .distinctions-block {
    margin: 0 auto !important;
    max-width: 900px !important; /* largeur max */
    width: 80vw !important; /* adaptatif */
    padding: 4vh 4vw !important;
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
    background: rgba(0, 0, 0, 0.6) !important; /* plus léger */
    border-radius: 20px !important;
    text-align: justify !important;
  }
  .distinctions-block ul {
    margin-left: 1.5em !important;
  }
}

/* === Responsive Mobile <= 1023px === */
@media (max-width: 1023px) {
  .distinctions-bg-blur,
  .distinctions-bg-contain {
    display: none !important;
  }

  .distinctions-section {
    background: url('../img/fondspreis-bg.png') center center/cover no-repeat !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* footer reste en bas */
    min-height: 100vh;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .distinctions-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1; /* prend toute la hauteur dispo avant le footer */
    padding: 20px 0;
    box-sizing: border-box;
    width: 100%;
  }

  .distinctions-block {
    max-width: 70vw !important; /* centré avec marge latérale */
    width: 100%;
    padding: 18px 20px !important;
    font-size: 0.9rem !important; /* texte réduit */
    line-height: 1.45;
    background: rgba(25, 25, 25, 0.8) !important;
    border-radius: 18px;
    text-align: left;
  }

  .distinctions-block ul {
    margin-left: 1.2em;
  }

  .footer-mentions {
    position: relative; /* en bas du flex */
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    background: rgba(20,20,20,0.22);
    border-radius: 8px 8px 0 0;
    padding: 6px 10px;
    max-width: 100%;
  }
}



/* === Responsive Desktop >= 1024px === */
@media (min-width: 1024px) {
  .distinctions-content {
    justify-content: flex-start !important; /* reste à gauche */
    align-items: center !important; /* centré verticalement */
    padding: 0 !important;
  }
  .distinctions-block {
    margin-left: 12vw !important; /* garde le positionnement gauche */
    max-width: 420px !important; /* largeur fixe pour style élégant */
    width: auto !important;
    padding: 13px 40px 30px 38px !important;
    font-size: 1.22rem !important;
    line-height: 1.52 !important;
    background: rgba(25, 25, 25, 0.85) !important; /* opacité élégante */
    border-radius: 24px !important;
    text-align: left !important;
  }
}

@media (min-width: 2470px) {
  .distinctions-block {
    margin-left:25vw !important;
  }
}