/* =====================================================
   CSK BAT : page « Qui sommes-nous »
   ===================================================== */
/* ---------- Hero plein écran ---------- */
.csk-hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.csk-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 28%;   /* garde le tableau et le buste */
}
.csk-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(11,45,91,.92) 0%, rgba(30,90,168,.60) 50%, rgba(11,45,91,.10) 100%);
}
.csk-hero > .container { position: relative; z-index: 2; }
.csk-hero-inner { max-width: 520px; margin-left: auto; padding: 120px 0 140px; }
.csk-hero .csk-eyebrow { color: #FFFFFF !important; border-top-color: #7CC6E8; }
.csk-hero h1 {
  margin: 0 0 20px;
  font-family: "Manrope", sans-serif; font-weight: 800;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1.08; letter-spacing: -0.02em;
  color: #FFFFFF !important;
}
.csk-hero h1 em { font-style: normal; color: #7CC6E8 !important; }
.csk-hero p { margin: 0; font-size: 1.1rem; line-height: 1.6; color: #E6F4FB !important; }
.csk-hero-curve { position: absolute; left: 0; bottom: -1px; width: 100%; height: 110px; z-index: 3; }

@media (max-width: 991px) {
  .csk-hero-bg { background-position: 30% 25%; }
  .csk-hero-bg::after { background: linear-gradient(180deg, rgba(11,45,91,.35) 0%, rgba(11,45,91,.90) 70%); }
  .csk-hero { align-items: flex-end; }
  .csk-hero-inner { margin: 0; max-width: 100%; padding: 0 0 140px; }
}
/* ---------- Sections : fonds et largeur ---------- */
.csk-ap { padding: 100px 0; overflow: hidden; }
.csk-ap > .container {
  width: 100% !important;
  max-width: var(--wrap) !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}
.csk-ap-white { background: #FFFFFF; }
.csk-ap-light { background: #E6F4FB; }
.csk-ap-deep  { background: #1E5AA8; }

.csk-ap-head { max-width: 720px; margin: 0 0 50px; }
.csk-ap h2 {
  margin: 0 0 20px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-align: left;
  color: #0B2D5B !important;
}
.csk-ap h2 em { font-style: normal; color: #1E5AA8 !important; }
.csk-ap-deep h2 { color: #FFFFFF !important; }
.csk-ap-deep h2 em { color: #7CC6E8 !important; }
.csk-ap-deep .csk-eyebrow { border-top-color: #7CC6E8; color: #FFFFFF !important; }

/* ---------- Présentation ---------- */
.csk-ap-top { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.csk-ap-text p { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.7; color: #5B6770 !important; }
.csk-ap-photo {
  position: relative;
  height: 520px;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(30,90,168,.22);
}
.csk-ap-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.csk-ap-photo img { object-position: center 30%; }   /* garde le technicien et l'armoire */
.csk-ap-photo::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(30,90,168,.15) 0%, rgba(11,45,91,.45) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.csk-ap-photo .csk-sticker { z-index: 2; }   /* le sticker reste au-dessus du filtre */

.csk-ap-dom {
  display: block;
  padding: 34px 26px;
  border-radius: 24px;
  background: #E6F4FB;
  border: 1px solid rgba(30,90,168,.12);
  text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease;
}
.csk-ap-dom:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(30,90,168,.20); }
.csk-ap-dom h3 { margin: 0 0 8px; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.2rem; color: #0B2D5B !important; }
.csk-ap-dom p { margin: 0; font-size: .95rem; line-height: 1.55; color: #5B6770 !important; }
/* ---------- Méthode (frise verticale) ---------- */
.csk-ap-method { display: grid; grid-template-columns: 5fr 6fr; gap: 70px; align-items: center; }
.csk-ap-method-intro p { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.7; color: #5B6770 !important; }
.csk-ap-method-intro .csk-about-btn { margin-top: 12px; }

.csk-ap-steps { position: relative; list-style: none; margin: 0; padding: 0; }
.csk-ap-steps::before {
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px;
  background: linear-gradient(180deg, #1E5AA8, #7CC6E8);
}
.csk-ap-step { position: relative; display: flex; align-items: flex-start; gap: 24px; padding: 0 0 28px; }
.csk-ap-step:last-child { padding-bottom: 0; }

.csk-ap-step-n {
  position: relative; z-index: 1; flex: 0 0 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #1E5AA8; color: #FFFFFF;
  font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.2rem;
  box-shadow: 0 0 0 8px #E6F4FB, 0 12px 28px rgba(30,90,168,.30);
}
.csk-ap-step-body {
  flex: 1; padding: 26px 28px; border-radius: 24px; background: #FFFFFF;
  box-shadow: 0 18px 40px rgba(30,90,168,.12);
  transition: transform .35s ease, box-shadow .35s ease;
}
.csk-ap-step:hover .csk-ap-step-body { transform: translateX(8px); box-shadow: 0 24px 50px rgba(30,90,168,.22); }
.csk-ap-step-body h3 { margin: 0 0 8px; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.2rem; color: #0B2D5B !important; }
.csk-ap-step-body p { margin: 0; font-size: .95rem; line-height: 1.6; color: #5B6770 !important; }

@media (max-width: 991px) {
  .csk-ap-method { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 575px) {
  .csk-ap-step { gap: 16px; }
  .csk-ap-step-n { flex-basis: 44px; height: 44px; font-size: 1rem; }
  .csk-ap-steps::before { left: 21px; }
  .csk-ap-step-body { padding: 20px; }
}
/* ---------- Domaines : cartes avec photo ---------- */
.csk-ap-lead { margin: 0; font-size: 1.05rem; line-height: 1.7; color: #5B6770 !important; }

.csk-ap-svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.csk-ap-card {
  display: flex; flex-direction: column;
  border-radius: 28px; overflow: hidden;
  background: #F4FAFD;
  border: 1px solid rgba(30,90,168,.12);
  box-shadow: 0 18px 40px rgba(30,90,168,.12);
  text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease;
}
.csk-ap-card:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(30,90,168,.24); }

.csk-ap-card-img { position: relative; height: 240px; overflow: hidden; }
.csk-ap-card-img img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.csk-ap-card:hover .csk-ap-card-img img { transform: scale(1.06); }
.csk-ap-card-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,45,91,0) 40%, rgba(11,45,91,.45) 100%);
}

.csk-ap-card-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 0 32px 32px; }

/* pastille d'icône à cheval sur la photo */
.csk-ap-card-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 30px 32px 32px; }
.csk-ap-card-body { padding: 24px 22px 26px; }
.csk-ap-card h3 { margin: 0 0 12px; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.4rem; color: #0B2D5B !important; }
.csk-ap-card p { margin: 0 0 18px; font-size: .98rem; line-height: 1.7; color: #5B6770 !important; }

.csk-ap-card ul { list-style: none; margin: 0 0 22px; padding: 0; }
.csk-ap-card li {
  position: relative; padding-left: 28px; margin-bottom: 8px;
  font-size: .95rem; line-height: 1.5; font-weight: 600; color: #0B2D5B !important;
}
.csk-ap-card li::before {
  content: "\f00c"; font-family: "FontAwesome";
  position: absolute; left: 0; top: 0; color: #1E5AA8;
}

.csk-ap-card-link {
  margin-top: auto; font-family: "Manrope", sans-serif; font-weight: 700;
  color: #1E5AA8 !important; transition: gap .3s ease;
}
.csk-ap-card-link i { margin-left: 6px; transition: margin-left .3s ease; }
.csk-ap-card:hover .csk-ap-card-link i { margin-left: 12px; }

/* le hover reste actif après l'animation d'apparition */
.csk-reveal-on .csk-ap-card.is-in:hover { transform: translateY(-8px); }

@media (max-width: 767px) {
  .csk-ap-svc { grid-template-columns: 1fr; }
  .csk-ap-card-img { height: 210px; }
  .csk-ap-card-body { padding: 0 22px 26px; }
}
/* ---------- Équipe ---------- */
.csk-ap-deep .csk-ap-lead { color: #E6F4FB !important; }

.csk-ap-team-lead { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 28px; }
.csk-ap-team-crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.csk-ap-member {
  background: #FFFFFF; border-radius: 28px; padding: 28px;
  box-shadow: 0 18px 40px rgba(11,45,91,.25);
  transition: transform .35s ease, box-shadow .35s ease;
}
.csk-ap-member:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(11,45,91,.38); }
.csk-reveal-on .csk-ap-member.is-in:hover { transform: translateY(-8px); }

/* avatar : initiales par défaut, la photo la recouvre si elle existe */
.csk-ap-avatar {
  position: relative; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1E5AA8, #7CC6E8);
  color: #FFFFFF; font-family: "Manrope", sans-serif; font-weight: 800;
}
.csk-ap-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

.csk-ap-role {
  display: inline-block; margin-bottom: 8px; padding: 5px 12px; border-radius: 999px;
  background: #E6F4FB; color: #1E5AA8 !important;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
}
.csk-ap-member h3 { margin: 0 0 8px; font-family: "Manrope", sans-serif; font-weight: 800; color: #0B2D5B !important; }
.csk-ap-member p { margin: 0; font-size: .95rem; line-height: 1.6; color: #5B6770 !important; }

/* responsables : carte horizontale */
.csk-ap-member-big { display: flex; align-items: center; gap: 28px; }
.csk-ap-member-big .csk-ap-avatar { width: 170px; height: 210px; border-radius: 22px; font-size: 2.6rem; }
.csk-ap-member-big h3 { font-size: 1.5rem; }

/* équipe : carte verticale, avatar rond */
.csk-ap-team-crew .csk-ap-member { text-align: center; }
.csk-ap-team-crew .csk-ap-avatar { width: 150px; height: 150px; margin: 0 auto 20px; border-radius: 50%; font-size: 2.2rem; }.csk-ap-team-crew h3 { font-size: 1.2rem; }

@media (max-width: 991px) {
  .csk-ap-team-lead { grid-template-columns: 1fr; }
  .csk-ap-team-crew { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .csk-ap-member-big { flex-direction: column; text-align: center; }
  .csk-ap-member-big .csk-ap-avatar { width: 150px; height: 150px; border-radius: 50%; }
}
/* ---------- Mails équipe ---------- */
.csk-ap-mail {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  font-family: "Manrope", sans-serif; font-weight: 700; font-size: .9rem;
  color: #1E5AA8 !important; text-decoration: none; overflow-wrap: anywhere;
}
.csk-ap-mail:hover { text-decoration: underline; }
.csk-ap-team-crew .csk-ap-mail { justify-content: center; }
/* Responsabilité : texte à gauche, photo à droite */
.csk-resp-side {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  margin-top: 60px;
}

.csk-resp-col p {
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #E6F4FB !important;
}

.csk-resp-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.csk-resp-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  line-height: 1.5;
  color: #FFFFFF !important;
}
.csk-resp-list li::before {
  content: "\f00c";
  font-family: "FontAwesome";
  position: absolute;
  left: 0;
  top: 0;
  color: #7CC6E8;
}

.csk-resp-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}

@media (max-width: 991px) {
  .csk-resp-side { grid-template-columns: 1fr; gap: 32px; }
  .csk-resp-photo img { max-height: 340px; }
}

/* photo d'équipe : carte arrondie, fondue dans le bleu */
.csk-ap-resp-img {
  position: relative; overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 24px 60px rgba(11,45,91,.45);
}
.csk-ap-resp-img img {
  display: block; width: 100%; height: auto;
}
.csk-ap-resp-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(30,90,168,0) 55%, rgba(11,45,91,.55) 100%);
}

@media (max-width: 991px) {
  .csk-ap-resp { grid-template-columns: 1fr; gap: 40px; margin-top: 60px; padding-top: 60px; }
  .csk-ap-resp-img img { height: auto; }
}
/* ---------- Valeurs (4 colonnes, sans cartes) ---------- */
.csk-ap-vals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }

.csk-ap-val { position: relative; padding-top: 30px; }
/* filet de séparation + trait bleu qui s'étend au survol */
.csk-ap-val::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: rgba(30,90,168,.15);
}
.csk-ap-val::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 56px; height: 2px; background: #1E5AA8;
  transition: width .5s ease;
}
.csk-ap-val:hover::after { width: 100%; }

/* grand numéro en contour */
.csk-ap-val-n {
  display: block; margin-bottom: 18px;
  font-family: "Manrope", sans-serif; font-weight: 800;
  font-size: 3.6rem; line-height: 1; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.5px #1E5AA8;
}
.csk-ap-val h3 {
  margin: 0 0 12px;
  font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.35rem;
  color: #0B2D5B !important;
}
.csk-ap-val p { margin: 0; font-size: 1rem; line-height: 1.7; color: #5B6770 !important; }

@media (max-width: 991px) {
  .csk-ap-vals { grid-template-columns: repeat(2, 1fr); gap: 44px 40px; }
}
@media (max-width: 575px) {
  .csk-ap-vals { grid-template-columns: 1fr; gap: 36px; }
}

/* Domaines passe en bleu clair : les cartes restent blanches */
#domaines .csk-ap-card { background: #FFFFFF; }
/* ---------- Apparition au scroll (uniquement si JS actif) ---------- */
.csk-reveal-on .csk-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.csk-reveal-on .csk-reveal.is-in { opacity: 1; transform: none; }
.csk-reveal-on .csk-ap-fig.is-in:hover,
.csk-reveal-on .csk-ap-dom.is-in:hover { transform: translateY(-8px); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .csk-ap { padding: 64px 0; }
  .csk-ap-top { grid-template-columns: 1fr; gap: 40px; }
  .csk-ap-photo { height: 380px; }
  .csk-ap-grid4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .csk-ap > .container { padding-left: 20px !important; padding-right: 20px !important; }
  .csk-ap-grid4 { grid-template-columns: 1fr; }
  .csk-ap-photo .csk-sticker { width: 120px; height: 120px; right: 12px; }
  .csk-ap-photo .csk-sticker strong { font-size: 2.3rem; }
}

/* ---------- Accessibilité ---------- */
@media (prefers-reduced-motion: reduce) {
  .csk-reveal-on .csk-reveal { opacity: 1; transform: none; transition: none; }
}
.csk-ap-deep { position: relative; padding-top: 150px; padding-bottom: 150px; }
.csk-ap-deep .container { position: relative; z-index: 2; }

.csk-ap-wave {
  position: absolute; left: 0; width: 100%;
  z-index: 1; display: block; overflow: visible; pointer-events: none;
}
.csk-ap-wave-top    { top: -1px;    height: 110px; }
.csk-ap-wave-bottom { bottom: -1px; height: 100px; }
/* contacts de l'équipe */
.csk-ap-member {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.csk-tm-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
}
.csk-tm-contact a {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #1E5AA8 !important;
  text-decoration: none;
  transition: color .2s ease;
}
.csk-tm-contact a:hover {
  color: #0B2D5B !important;
}