/* =============================================================
   template-mid.css — Zone moyenne (15-30 km) — Rose/Pink accent

   Thème spécifique pour zone moyenne (15-30 km) avec couleur ROSE
   Import automatique des styles communs via _template-base.css
   ============================================================= */

@import url('./_template-base.css');

/* ------- VARIABLES THÉMATIQUES ROSE ZONE MOYENNE ------- */
:root {
  /* Couleur primaire : ROSE/PINK pour zone moyenne */
  --template-primary-color:       var(--color-brand-pink);
  --template-primary-dark:        var(--color-brand-pink-dark);
  --template-primary-soft:        #fce4ec;

  /* Dégradés de zone */
  --template-gradient-main:       linear-gradient(135deg, var(--color-brand-pink) 0%, var(--color-brand-pink-dark) 100%);
  --template-gradient-hero:       linear-gradient(135deg, rgba(223, 74, 126, 0.85) 0%, rgba(184, 52, 95, 0.75) 100%);

  /* Ombres boutons */
  --template-btn-shadow:          0 4px 15px rgba(223, 74, 126, 0.3);
  --template-btn-shadow-hover:    0 6px 20px rgba(223, 74, 126, 0.4);

  /* Hauteur hero : layout équilibré pour zone moyenne */
  --template-hero-min-height:     60vh;
}

/* ------- OVERRIDES SPÉCIFIQUES MID —— ACCENTS ROSE ------- */
.btn--pink {
  background-color: var(--template-primary-color);
  color: var(--color-text-on-dark);
  box-shadow: var(--template-btn-shadow);
}

.btn--pink:hover {
  background-color: var(--template-primary-dark);
  color: var(--color-text-on-dark);
  transform: translateY(-2px);
  box-shadow: var(--template-btn-shadow-hover);
}

/* Accents gauche sur cards pour mid */
.card {
  border-left: 4px solid var(--template-primary-color);
}

.service-card--rent .card__title {
  color: var(--template-primary-color);
}

/* ------- HERO IMMERSIF ROSE ------- */
.section--brand.hero {
  background: var(--template-gradient-main);
  color: var(--color-text-on-dark);
  min-height: var(--template-hero-min-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px var(--space-4);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.section--brand.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--template-gradient-hero);
  opacity: 0.95;
  z-index: -1;
}

.hero__title {
  color: var(--color-text-on-dark);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-3);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-6);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
}

.btn--accent {
  background-color: var(--color-brand-red);
  color: var(--color-text-on-dark);
  border: none;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--color-text-on-dark);
}

/* Gradient spécifique pour estimation mid */
.estimation-card {
  background: linear-gradient(135deg, #ffffff 0%, var(--template-primary-soft) 100%);
  border-left: 5px solid var(--template-primary-color);
}

.estimation-card__title {
  color: var(--template-primary-color);
}

/* Footer avec border-top rose */
.footer {
  border-top: 3px solid var(--template-primary-color);
}

/* Accents décoratifs rose */
.feature-card,
.path-card {
  border-top: 4px solid var(--template-primary-color);
}

/* ------- RESPONSIVE MID SPECIFIC ------- */
@media (max-width: 48rem) {
  :root {
    --template-hero-min-height: 52vh;
  }

  .card {
    border-left-width: 3px;
  }

  .estimation-card {
    border-left-width: 4px;
  }
}
