/* ============================================================
   PAGE EXPERTISES — Classes préfixe: exp-
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.exp-hero {
  width: 100%;
  background: #0F172A;
  padding: 130px 40px 110px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.exp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #0F316D 0%, #0F172A 65%);
  opacity: 0.88;
}

.exp-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.exp-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201,169,110,0.9);
  margin-bottom: 22px;
  font-family: 'Montserrat', sans-serif;
}

.exp-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 22px;
  font-family: 'Montserrat', sans-serif;
}

.exp-hero h1 strong { font-weight: 700; }

.exp-hero__desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.58);
  max-width: 540px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
}

/* ── Tabs ──────────────────────────────────────────────────── */
.exp-tabs-wrap {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid rgba(15,49,109,0.10);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(15,23,42,0.06);
}

.exp-tabs {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.exp-tab {
  position: relative;
  padding: 22px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15,23,42,0.58);
  cursor: pointer;
  border: none;
  background: none;
  transition: color 0.28s ease;
  white-space: nowrap;
}

.exp-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #0F316D;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-tab.active { color: #0F316D; }
.exp-tab.active::after { transform: scaleX(1); }
.exp-tab:hover:not(.active) { color: #0F172A; }

/* ── Panels ────────────────────────────────────────────────── */
.exp-panel { display: none; width: 100%; }

.exp-panel.active {
  display: block;
  animation: expFadeIn 0.35s ease;
}

@keyframes expFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Main block ─────────────────────────────────────────────── */
.exp-main {
  display: flex;
  width: 100%;
  min-height: 620px;
}

.exp-main__img {
  width: 50%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.exp-main__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-main__img:hover img { transform: scale(1.05); }

.exp-main__content {
  width: 50%;
  padding: 72px 64px;
  background: #F5F7FA;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.exp-subtitle {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #0F316D;
  margin-bottom: 14px;
  font-family: 'Montserrat', sans-serif;
}

.exp-main__content h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700;
  color: #0F172A;
  line-height: 1.12;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.exp-divider {
  width: 36px;
  height: 2px;
  background: #0F316D;
  margin-bottom: 24px;
}

.exp-main__content > p {
  font-size: 14px;
  line-height: 1.82;
  color: rgba(15,23,42,0.58);
  margin-bottom: 32px;
  font-family: 'Montserrat', sans-serif;
}

.exp-list { margin-bottom: 40px; }

.exp-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  color: #0F172A;
  padding: 11px 0;
  border-bottom: 1px solid rgba(15,49,109,0.10);
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
}

.exp-list li:first-child { border-top: 1px solid rgba(15,49,109,0.10); }

.exp-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0F316D;
  margin-top: 5px;
  flex-shrink: 0;
}

/* ── CTA Button ────────────────────────────────────────────── */
.exp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0F316D;
  border: 1px solid #0F316D;
  background: transparent;
  cursor: pointer;
  transition: all 0.28s ease;
  align-self: flex-start;
  text-decoration: none;
}

.exp-btn:hover {
  background: #0F316D;
  color: #ffffff;
  text-decoration: none;
}

.exp-btn--white {
  color: #ffffff;
  border-color: rgba(255,255,255,0.35);
}

.exp-btn--white:hover {
  background: #ffffff;
  color: #0F172A;
  border-color: #ffffff;
}

/* ── Metrics strip ─────────────────────────────────────────── */
.exp-metrics {
  width: 100%;
  background: #0F316D;
  display: flex;
  justify-content: center;
}

.exp-metric {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 44px 32px;
  border-right: 1px solid rgba(255,255,255,0.10);
}

.exp-metric:last-child { border-right: none; }

.exp-metric__val {
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
}

.exp-metric__lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  font-family: 'Montserrat', sans-serif;
}

/* ── Services grid ─────────────────────────────────────────── */
.exp-services {
  width: 100%;
  padding: 88px 40px;
  background: #ffffff;
}

.exp-services__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.exp-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: #0F316D;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}

.exp-title {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 48px;
  font-family: 'Montserrat', sans-serif;
}

.exp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(15,49,109,0.18);
}

.exp-card {
  padding: 44px 36px;
  border-right: 1px solid rgba(15,49,109,0.18);
  transition: background 0.28s ease;
}

.exp-card:last-child { border-right: none; }
.exp-card:hover { background: #F5F7FA; }

.exp-card__num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #0F316D;
  opacity: 0.45;
  margin-bottom: 18px;
  font-family: 'Montserrat', sans-serif;
}

.exp-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  color: #0F172A;
  margin-bottom: 14px;
}

.exp-card p {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(15,23,42,0.58);
  font-family: 'Montserrat', sans-serif;
}

/* ── Dark CTA section ──────────────────────────────────────── */
.exp-cta-section {
  width: 100%;
  background: #0F172A;
  padding: 88px 40px;
  text-align: center;
}

.exp-cta-section h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 14px;
  font-family: 'Montserrat', sans-serif;
}

.exp-cta-section p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
  font-family: 'Montserrat', sans-serif;
}

.exp-cta-section .exp-btn { margin: 0 auto; }

/* ── Responsive 1024px ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .exp-main { flex-direction: column; min-height: unset; }
  .exp-main__img { width: 100%; height: 460px; min-height: 260px; }
  .exp-main__img img { object-position: center center; }
  .exp-main__content { width: 100%; padding: 52px 40px; }
  .exp-metrics { flex-wrap: wrap; }
  .exp-metric { max-width: 50%; flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,0.10); }
  .exp-metric:nth-child(2) { border-right: none; }
  .exp-cards { grid-template-columns: 1fr; }
  .exp-card { border-right: none; border-bottom: 1px solid rgba(15,49,109,0.18); }
  .exp-card:last-child { border-bottom: none; }
  .exp-btn { align-self: stretch; justify-content: center; text-align: center; }
}

/* ── Responsive 640px ──────────────────────────────────────── */
@media (max-width: 640px) {
  .exp-hero { padding: 72px 24px 60px; }
  .exp-hero h1 { font-size: 1.8rem; }
  .exp-hero__desc { font-size: 13px; }

  .exp-tabs-wrap { position: relative; top: unset; }
  .exp-tabs { padding: 0 16px; overflow-x: auto; scrollbar-width: none; gap: 0; }
  .exp-tabs::-webkit-scrollbar { display: none; }
  .exp-tab { padding: 16px 18px; font-size: 10px; white-space: nowrap; }

  .exp-main__img { height: 260px; min-height: 200px; }
  .exp-main__content { padding: 36px 24px; }
  .exp-main__content h2 { font-size: 1.6rem; }
  .exp-main__content > p { font-size: 13px; }
  .exp-list li { font-size: 12px; }

  .exp-metrics { flex-direction: column; }
  .exp-metric { max-width: 100%; flex: 0 0 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.10); padding: 28px 24px; }
  .exp-metric:last-child { border-bottom: none; }
  .exp-metric__val { font-size: 1.3rem; }

  .exp-services { padding: 52px 24px; }
  .exp-title { font-size: 1.3rem; margin-bottom: 32px; }
  .exp-card { padding: 32px 24px; }

  .exp-cta-section { padding: 52px 24px; }
  .exp-cta-section h3 { font-size: 1.2rem; }

  .exp-btn { width: 100%; justify-content: center; text-align: center; }
}