/* ═══════════════════════════════════════════
   RTM — hero.css
═══════════════════════════════════════════ */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('../images/hero-rtmaccueil.png') 60% center/cover no-repeat;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 80px;
}



/* Glow orange */
.hero-glow {
  position: absolute;
  top: -15%;
  right: -5%;
  width: 55%;
  height: 90%;
  background: radial-gradient(ellipse, rgba(230,126,34,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ─── Contenu gauche ─────────────────────── */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(230,126,34,0.1);
  border: 1px solid rgba(230,126,34,0.3);
  border-radius: 40px;
  padding: 8px 20px;
  width: fit-content;
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(230,126,34,0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(230,126,34,0); }
}

/* Titre */
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--white);
}

.hero-title .line-orange {
  display: block;
  color: var(--orange);
}

/* Sous-titre */
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 480px;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-weight: 400;
}

/* Boutons */
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-num {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.stat-lbl {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ─── Visuel droit ───────────────────────── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  width: 100%;
  max-width: 420px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.hero-card-truck {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px rgba(230,126,34,0.4));
  animation: truck-sway 3s ease-in-out infinite;
}

@keyframes truck-sway {
  0%, 100% { transform: rotate(-2deg); }
  50%       { transform: rotate(2deg); }
}

.hero-card-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  text-align: center;
  margin-bottom: 20px;
}

.hero-card-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
}

.hero-badge-item span.icon {
  font-size: 1rem;
}

.hero-badge-item .check {
  margin-left: auto;
  color: var(--orange);
  font-size: 0.9rem;
}

/* Tags flottants */
.tag-float {
  position: absolute;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 20px;
}

.tag-float.top-left {
  top: -14px;
  left: 24px;
  animation: tag-float-1 4s ease-in-out infinite;
}

.tag-float.bottom-right {
  bottom: -14px;
  right: 24px;
  background: var(--charbon);
  border: 1px solid rgba(255,255,255,0.15);
  animation: tag-float-2 5s ease-in-out infinite;
}

@keyframes tag-float-1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
@keyframes tag-float-2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  animation: scroll-bounce 2s ease-in-out infinite;
}

.hero-scroll span {
  font-family: var(--font-title);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 0.7; }
}
