/* Département Armatures — design moderne */

.armatures-page {
  overflow-x: clip;
}

/* ── Hero ── */
.arm-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 140px 0 100px;
}

.arm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(27, 142, 233, 0.25) 100%
  );
}

.arm-hero .container {
  position: relative;
  z-index: 2;
}

.arm-hero-content {
  max-width: 760px;
  color: var(--white-color);
}

.arm-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  font-size: 14px;
}

.arm-breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}

.arm-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s;
}

.arm-breadcrumb a:hover {
  color: var(--white-color);
}

.arm-hero-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(27, 142, 233, 0.2);
  border: 1px solid rgba(27, 142, 233, 0.45);
  color: #7ec8ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.arm-hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  color: var(--white-color);
  margin-bottom: 20px;
}

.arm-hero h1 span {
  color: var(--accent-color);
}

.arm-hero-content > p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 36px;
  max-width: 620px;
}

.arm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.arm-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white-color);
  font-weight: 600;
  text-decoration: none;
  padding: 14px 0;
  transition: gap 0.3s, opacity 0.3s;
}

.arm-btn-ghost:hover {
  gap: 14px;
  color: var(--white-color);
  opacity: 0.85;
}

.arm-btn-ghost i {
  animation: armBounce 2s ease infinite;
}

@keyframes armBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.arm-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.arm-scroll-hint span {
  width: 4px;
  height: 10px;
  background: var(--white-color);
  border-radius: 4px;
  animation: armScroll 1.8s ease infinite;
}

@keyframes armScroll {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ── Stats ── */
.arm-stats {
  margin-top: -60px;
  position: relative;
  z-index: 5;
  padding-bottom: 80px;
}

.arm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.arm-stat-card {
  background: var(--white-color);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--divider-color);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.arm-stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(27, 142, 233, 0.12);
}

.arm-stat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-color), #0d5fa3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 20px;
}

.arm-stat-card h2 {
  font-size: 36px;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.arm-stat-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0;
}

/* ── Intro ── */
.arm-intro {
  padding: 40px 0 100px;
}

.arm-intro-visual {
  position: relative;
}

.arm-intro-image {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.arm-intro-image img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.arm-intro-visual:hover .arm-intro-image img {
  transform: scale(1.04);
}

.arm-intro-float-card {
  position: absolute;
  bottom: -24px;
  right: -12px;
  background: var(--primary-color);
  color: var(--white-color);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  max-width: 280px;
}

.arm-intro-float-card i {
  font-size: 28px;
  color: var(--accent-color);
}

.arm-intro-float-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.arm-intro-float-card span {
  font-size: 13px;
  opacity: 0.75;
}

.arm-intro-text h2 {
  margin-bottom: 20px;
}

.arm-intro-text p {
  line-height: 1.75;
  margin-bottom: 16px;
}

.arm-intro-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.arm-intro-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-weight: 500;
}

.arm-intro-list i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(27, 142, 233, 0.12);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ── Process ── */
.arm-process {
  padding: 100px 0;
}

.arm-process-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
  position: relative;
}

.arm-process-track::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0.35;
  pointer-events: none;
}

.arm-process-step {
  background: var(--white-color);
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--divider-color);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  cursor: default;
}

.arm-process-step:hover {
  transform: translateY(-10px);
  border-color: rgba(27, 142, 233, 0.35);
  box-shadow: 0 24px 50px rgba(27, 142, 233, 0.1);
}

.arm-process-icon {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: 26px;
}

.arm-process-num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-color);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arm-process-step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.arm-process-step p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* ── Atouts interactifs ── */
.arm-atouts {
  padding: 100px 0;
}

.arm-atouts-hint {
  margin-top: 12px;
  font-size: 15px;
  color: #888;
}

.arm-atouts-shell {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

.arm-atouts-letters {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arm-letter-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--divider-color);
  border-radius: 12px;
  background: var(--white-color);
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.arm-letter-btn:hover {
  border-color: rgba(27, 142, 233, 0.4);
  transform: translateX(6px);
}

.arm-letter-btn.is-active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateX(10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.arm-letter-char {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(27, 142, 233, 0.12);
  color: var(--accent-color);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}

.arm-letter-btn.is-active .arm-letter-char {
  background: var(--accent-color);
  color: var(--white-color);
}

.arm-letter-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  transition: color 0.3s;
}

.arm-letter-btn.is-active .arm-letter-label {
  color: var(--white-color);
}

.arm-atouts-panels {
  position: relative;
  min-height: 280px;
}

.arm-atout-panel {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0a0a0a 0%, #1a2a3a 100%);
  border-radius: 20px;
  padding: 48px 40px;
  color: var(--white-color);
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  overflow: hidden;
}

.arm-atout-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  position: relative;
}

.arm-atout-panel-icon {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  background: rgba(27, 142, 233, 0.15);
  border: 1px solid rgba(27, 142, 233, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.arm-atout-letter {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.arm-atout-panel-body h3 {
  font-size: 28px;
  color: var(--white-color);
  margin-bottom: 12px;
}

.arm-atout-panel-body p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 480px;
}

.arm-atout-panel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.arm-atout-panel-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), #5bb8ff);
  transition: width 0.5s ease;
}

/* ── Réalisations ── */
.arm-realisations {
  padding: 100px 0;
  background: var(--bg-color);
}

.arm-project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 40px 0 36px;
}

.arm-project-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid var(--divider-color);
  background: var(--white-color);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.arm-project-tab i {
  color: var(--accent-color);
  font-size: 15px;
}

.arm-project-tab:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.arm-project-tab.is-active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.arm-project-tab.is-active i {
  color: var(--accent-color);
}

.arm-project-panels {
  position: relative;
  min-height: 200px;
}

.arm-project-panel {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
  position: absolute;
  inset: 0;
}

.arm-project-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  position: relative;
}

.arm-project-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.arm-project-header-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-color);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.arm-project-header h3 {
  margin-bottom: 4px;
}

.arm-project-header p {
  margin: 0;
  font-size: 14px;
  color: #888;
}

.arm-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.arm-project-card {
  background: var(--white-color);
  border-radius: 14px;
  padding: 24px 24px 24px 56px;
  border: 1px solid var(--divider-color);
  position: relative;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  animation: armCardIn 0.5s ease backwards;
  animation-delay: var(--delay, 0s);
}

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

.arm-project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(27, 142, 233, 0.35);
  box-shadow: 0 16px 40px rgba(27, 142, 233, 0.1);
}

.arm-project-card-num {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-color);
  opacity: 0.7;
}

.arm-project-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
  padding-right: 24px;
}

.arm-project-card-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  font-size: 12px;
  color: var(--accent-color);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
}

.arm-project-card:hover .arm-project-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── CTA Contact ── */
.arm-cta {
  padding: 100px 0;
}

.arm-cta-inner {
  background: linear-gradient(135deg, #111 0%, #1a2a38 100%);
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 40px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.arm-cta-text h2 {
  color: var(--white-color);
  margin: 12px 0 16px;
}

.arm-cta-text p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin: 0;
}

.arm-cta-fax {
  margin-top: 16px !important;
  font-size: 14px !important;
}

.arm-cta-fax i {
  margin-right: 8px;
  color: var(--accent-color);
}

.arm-cta-phones {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.arm-phone-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.arm-phone-card i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(27, 142, 233, 0.2);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arm-phone-card:hover {
  background: rgba(27, 142, 233, 0.15);
  border-color: rgba(27, 142, 233, 0.4);
  transform: scale(1.03);
  color: var(--white-color);
}

.arm-cta-action .btn-default {
  white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 1199px) {
  .arm-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .arm-atouts-shell {
    grid-template-columns: 1fr;
  }

  .arm-atouts-letters {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .arm-letter-btn {
    width: auto;
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
  }

  .arm-letter-btn.is-active {
    transform: translateY(-4px);
  }

  .arm-letter-label {
    display: none;
  }

  .arm-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .arm-cta-action {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .arm-hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .arm-stats {
    margin-top: 0;
    padding-top: 60px;
  }

  .arm-stats-grid {
    grid-template-columns: 1fr;
  }

  .arm-intro-float-card {
    right: 12px;
    bottom: -16px;
    max-width: 240px;
  }

  .arm-process-track {
    grid-template-columns: 1fr;
  }

  .arm-process-track::before {
    display: none;
  }

  .arm-atout-panel {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
  }

  .arm-atout-panel-body p {
    max-width: none;
  }

  .arm-project-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .arm-project-tab {
    flex-shrink: 0;
  }

  .arm-cta-inner {
    padding: 36px 24px;
  }

  .arm-cta-phones {
    grid-template-columns: 1fr;
  }

  .arm-scroll-hint {
    display: none;
  }
}
