.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.links {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.link-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 6px 10px 14px;
}

/* =========================
   AVANT / APRÈS - FERROS
========================= */

.ba-showcase {
  padding: 110px 20px;
  background:
    radial-gradient(
      900px 520px at 50% -10%,
      rgba(255, 122, 0, 0.16),
      transparent 60%
    ),
    linear-gradient(180deg, #000 0%, #0b0b0b 60%, #050505 100%);
  color: #fff;
}

.ba-showcase__container {
  max-width: 1150px;
  margin: 0 auto;
}

.ba-tabs {
  width: fit-content;
  margin: 0 auto 44px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 122, 0, 0.18);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.ba-tab {
  border: 0;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 900;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: 0.25s ease;
}
.ba-tab:hover {
  color: #fff;
  background: rgba(255, 122, 0, 0.08);
}
.ba-tab.is-active {
  background: linear-gradient(90deg, #ff7a00, #ffb347);
  color: #000;
  box-shadow: 0 10px 25px rgba(255, 122, 0, 0.35);
}
.ba-tab__ico {
  opacity: 0.95;
}

.ba-head {
  text-align: center;
  margin-bottom: 40px;
}
.ba-title {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 1000;
}
.ba-title span {
  color: var(--orange);
  text-shadow: 0 0 20px rgba(255, 122, 0, 0.35);
}
.ba-subtitle {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

.ba-panel {
  display: none;
}
.ba-panel.is-active {
  display: block;
}

.ba-card {
  border-radius: 18px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 122, 0, 0.18);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(255, 122, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.ba-card::before {
  content: "";
  position: absolute;
  inset: -80px;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(255, 122, 0, 0.14),
    transparent 55%
  );
  filter: blur(10px);
  animation: ferrosGlow 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ferrosGlow {
  0% {
    transform: translate(-20px, -10px);
    opacity: 0.55;
  }
  50% {
    transform: translate(40px, 20px);
    opacity: 0.9;
  }
  100% {
    transform: translate(-20px, -10px);
    opacity: 0.55;
  }
}

.ba-card__title {
  text-align: center;
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 1000;
  position: relative;
  z-index: 1;
}
.ba-card__desc {
  text-align: center;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
}
.ba-chip {
  display: block;
  width: fit-content;
  margin: 14px auto 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 122, 0, 0.12);
  border: 1px solid rgba(255, 122, 0, 0.22);
  color: var(--orange);
  font-weight: 900;
  font-size: 12px;
  position: relative;
  z-index: 1;
}

/* ===== Slider ===== */
.ba-slider {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  z-index: 1;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay APRÈS (découpé) */
.ba-after {
  position: absolute;
  inset: 0;
  width: 0%;
  overflow: hidden;
  z-index: 2;
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 0%;
  transform: translateX(-50%);
  height: 100%;
  width: 0;
  pointer-events: none;
  z-index: 3;
}
.ba-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: rgba(255, 122, 0, 0.85);
  box-shadow: 0 0 25px rgba(255, 122, 0, 0.25);
  transform: translateX(-50%);
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, #ff7a00, #ffb347);
  border: 1px solid rgba(255, 122, 0, 0.35);
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(255, 122, 0, 0.18);
}
.ba-knob::before,
.ba-knob::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(0, 0, 0, 0.55);
  border-right: 2px solid rgba(0, 0, 0, 0.55);
}
.ba-knob::before {
  left: 12px;
  transform: translateY(-50%) rotate(225deg);
}
.ba-knob::after {
  right: 12px;
  transform: translateY(-50%) rotate(45deg);
}

/* Range */
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

/* Tags */
.ba-tag {
  position: absolute;
  top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  z-index: 5;
}
.ba-tag--before {
  left: 12px;
}
.ba-tag--after {
  right: 12px;
  color: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .ba-slider {
    height: 260px;
  }
  .ba-tabs {
    width: 100%;
    border-radius: 18px;
  }
}

/* CTA */
.cta-ferros {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(
      900px 420px at 50% -10%,
      rgba(255, 122, 0, 0.16),
      transparent 60%
    ),
    linear-gradient(180deg, #000 0%, #0b0b0b 65%, #050505 100%);
  border-top: 1px solid rgba(255, 122, 0, 0.12);
  border-bottom: 1px solid rgba(255, 122, 0, 0.06);
}

.cta-ferros__container {
  max-width: 900px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.cta-ferros__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 1000;
  color: #fff;
}

.cta-ferros__title span {
  color: var(--orange);
  text-shadow: 0 0 18px rgba(255, 122, 0, 0.35);
}

.cta-ferros__subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin-bottom: 22px;
}

/* Buttons */
.cta-ferros__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 1000;
  text-decoration: none;
  transition: 0.25s ease;
}

/* Orange principal */
.cta-btn--primary {
  background: linear-gradient(90deg, #ff7a00, #ffb347);
  color: #000;
  box-shadow: 0 18px 35px rgba(255, 122, 0, 0.28);
}

.cta-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 45px rgba(255, 122, 0, 0.38);
}

/* Glass secondaire */
.cta-btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-btn--ghost:hover {
  background: rgba(255, 122, 0, 0.08);
  border-color: rgba(255, 122, 0, 0.3);
  transform: translateY(-2px);
}

/* Glow animé */
.cta-ferros__glow {
  position: absolute;
  inset: -200px;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 122, 0, 0.22),
      transparent 55%
    ),
    radial-gradient(circle at 70% 70%, rgba(255, 122, 0, 0.12), transparent 60%);
  filter: blur(18px);
  opacity: 0.9;
  animation: ctaGlowMove 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes ctaGlowMove {
  0% {
    transform: translate(-20px, -10px);
  }
  50% {
    transform: translate(30px, 15px);
  }
  100% {
    transform: translate(-20px, -10px);
  }
}
