/* Echolya Vitrine Premium — styles front */

:root {
  --echolya-navy: #001247;
  --echolya-blue: #1976cf;
  --echolya-purple: #aa86ee;
  --echolya-pink: #f16dd0;
  --echolya-soft: #f8f9fc;
  --echolya-border: #e2e8f2;
  --echolya-text-secondary: #3d4f6f;
  --echolya-text-muted: #6b7a94;
  --echolya-gradient: linear-gradient(135deg, #1976cf 0%, #aa86ee 52%, #f16dd0 100%);
  --echolya-shadow: 0 12px 40px rgba(0, 18, 71, 0.08);
  --echolya-shadow-soft: 0 4px 20px rgba(0, 18, 71, 0.05);
}

/* Header sticky premium */
.echolya-header-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92) !important;
}

/* Hero */
.echolya-hero-premium {
  position: relative;
  overflow: hidden;
}

.echolya-hero-premium::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto;
  height: 420px;
  background: radial-gradient(circle at 30% 40%, rgba(25, 118, 207, 0.18), transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(170, 134, 238, 0.16), transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(241, 109, 208, 0.1), transparent 45%);
  pointer-events: none;
}

.echolya-hero-gradient-bar {
  height: 4px;
  width: 72px;
  background: var(--echolya-gradient);
  border-radius: 999px;
  margin: 0 auto 1.5rem;
}

.echolya-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(25, 118, 207, 0.08);
  color: var(--echolya-blue);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(25, 118, 207, 0.12);
}

/* Cards */
.echolya-card {
  border-radius: 20px;
  border: 1px solid var(--echolya-border);
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--echolya-shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.echolya-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--echolya-shadow);
}

.echolya-card-featured {
  border: 2px solid var(--echolya-blue);
  box-shadow: var(--echolya-shadow);
}

.echolya-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--echolya-gradient);
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

/* Sections */
.echolya-section-title {
  letter-spacing: -0.02em;
}

.echolya-section-kicker {
  color: var(--echolya-blue);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.echolya-gradient-text {
  background: var(--echolya-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* CTA band */
.echolya-cta-band {
  border-radius: 24px;
  background: var(--echolya-gradient);
  color: #fff;
  box-shadow: var(--echolya-shadow);
}

/* Pricing */
.echolya-price-tag {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
}

/* Steps */
.echolya-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--echolya-blue);
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

/* Web grand écran mock */
.echolya-desktop-mock {
  border-radius: 20px;
  border: 1px solid var(--echolya-border);
  background: linear-gradient(180deg, #fff 0%, var(--echolya-soft) 100%);
  padding: 1rem;
  box-shadow: var(--echolya-shadow);
}

.echolya-desktop-mock__bar {
  height: 10px;
  width: 56px;
  border-radius: 999px;
  background: var(--echolya-border);
  margin-bottom: 1rem;
}

/* Buttons */
.wp-block-button__link {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wp-block-button__link:hover {
  transform: translateY(-1px);
}

.is-style-echolya-gradient .wp-block-button__link {
  background: var(--echolya-gradient) !important;
  border: none;
  color: #fff !important;
}

.is-style-echolya-outline-light .wp-block-button__link {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  color: #fff !important;
}

/* Header nav buttons compact */
.echolya-header-actions .wp-block-button__link {
  min-height: 44px;
  font-size: 0.9375rem;
}

/* Footer */
.echolya-footer-grid a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.echolya-footer-grid a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 782px) {
  .wp-block-columns {
    flex-wrap: wrap !important;
  }

  .echolya-header-actions {
    width: 100%;
    justify-content: flex-start !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .echolya-card,
  .wp-block-button__link,
  .echolya-animate-in {
    transition: none;
    animation: none;
  }
}

/* Animation légère entrée hero */
@keyframes echolya-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.echolya-animate-in > * {
  animation: echolya-fade-up 0.55s ease-out both;
}

.echolya-animate-in > *:nth-child(2) {
  animation-delay: 0.06s;
}

.echolya-animate-in > *:nth-child(3) {
  animation-delay: 0.12s;
}
