 /* ====================================================
   Arms — Fond toile + Hero
   ==================================================== */

.web-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1600px;
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 92%);
}

.web-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.web-line {
  stroke: rgba(var(--c-secondary-rgb), 0.16);
  stroke-width: 1.1;
}

.web-ring {
  fill: none;
  stroke: rgba(var(--c-secondary-rgb), 0.22);
  stroke-width: 1.1;
  stroke-dasharray: 6 4;
  opacity: 0;
  animation: web-fade-in 1.4s ease forwards;
  animation-delay: var(--delay, 0s);
}

.web-node {
  fill: var(--c-red-glow);
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(var(--c-secondary-rgb), 0.9));
  animation: web-node-in 0.9s ease forwards, web-node-pulse 3.2s ease-in-out infinite;
  animation-delay: var(--delay, 0s), calc(var(--delay, 0s) + 1s);
}

@keyframes web-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes web-node-in {
  from {
    opacity: 0;
    r: 0;
  }

  to {
    opacity: 1;
    r: 3.5;
  }
}

@keyframes web-node-pulse {

  0%,
  100% {
    opacity: 0.5;
    r: 3;
  }

  50% {
    opacity: 1;
    r: 4.5;
  }
}

@media (prefers-reduced-motion: reduce) {

  .web-ring,
  .web-node {
    animation: none;
    opacity: 1;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 100px;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-status {
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.accent {
  color: var(--c-red-glow);
  text-shadow: 0 0 30px rgba(var(--c-secondary-rgb), 0.4);
}

.hero-tagline {
  margin-top: 22px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--c-text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-frame {
  margin-top: 64px;
  position: relative;
  width: min(880px, 100%);
}

.hero-frame-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--r-card);
  background: linear-gradient(120deg, rgba(var(--c-secondary-rgb), 0.5), transparent 40%, transparent 60%, rgba(var(--c-secondary-rgb), 0.3));
  filter: blur(1px);
  z-index: -1;
}

@media (max-width: 640px) {
  .hero {
    padding: 140px 0 70px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ---------- Cartes rapides accueil ---------- */
.quick-grid {
  position: relative;
  z-index: 2;
}

.quick-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quick-card .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(var(--c-secondary-rgb), 0.1);
  border: 1px solid rgba(var(--c-secondary-rgb), 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-red-glow);
}

.quick-card .icon-wrap svg {
  width: 20px;
  height: 20px;
}

.quick-card h3 {
  font-size: 17px;
}

.quick-card p {
  font-size: 14px;
  color: var(--c-text-dim);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

.quick-card .quick-link {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--c-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.quick-card:hover .quick-link {
  color: var(--c-red-glow);
}

.quick-card .quick-link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.quick-card:hover .quick-link svg {
  transform: translateX(3px);
}