/* ============================================
   REFONTE UX/UI PREMIUM - CONVERSION MAXIMALE
   Transformation complète du site
   ============================================ */

/* ============================================
   HERO SECTION - CONVERSION MAXIMALE
   ============================================ */

/* Hero - Overlay optimisé pour lisibilité */
.hero-carousel-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.50) 100%
  ) !important;
}

/* Hero content - centrage et espacement optimal */
.hero-content {
  z-index: 10 !important;
}

.hero-copy-card {
  background: rgba(13, 14, 18, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 24px !important;
  padding: clamp(2rem, 4vw, 3rem) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
}

/* Hero kicker - badge premium */
.hero-kicker {
  display: inline-block !important;
  background: linear-gradient(135deg, rgba(212, 212, 216, 0.15), rgba(212, 212, 216, 0.08)) !important;
  color: var(--gold) !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  padding: 0.5rem 1rem !important;
  border-radius: 50px !important;
  margin-bottom: 1.25rem !important;
  border: 1px solid rgba(212, 212, 216, 0.2) !important;
}

/* Hero title - compact pour titres longs */
.hero-title {
  font-size: clamp(1.25rem, 3.2vw, 2rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 0.75rem !important;
  color: #fff !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Hero subtitle - clarté */
.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem) !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 2rem !important;
  font-weight: 500 !important;
}

/* Hero phone CTA - ULTRA VISIBLE */
.hero-phone-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%) !important;
  padding: 1.25rem 2.5rem !important;
  border-radius: 16px !important;
  text-decoration: none !important;
  margin-bottom: 1.5rem !important;
  box-shadow: 0 8px 32px rgba(212, 212, 216, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  letter-spacing: 0.02em !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.hero-phone-cta:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 48px rgba(212, 212, 216, 0.4) !important;
  background: linear-gradient(135deg, var(--gold-light) 0%, #fff 100%) !important;
  color: var(--btn-text) !important;
}

.hero-phone-cta-icon {
  width: 1.5rem !important;
  height: 1.5rem !important;
}

/* Hero CTA row - boutons secondaires */
.hero-cta-row {
  display: flex !important;
  gap: 1rem !important;
  margin-bottom: 1.5rem !important;
  flex-wrap: wrap !important;
}

/* Hero trust line - social proof */
.hero-trust-line {
  font-size: 0.9375rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
  text-align: center !important;
  margin: 0 !important;
}

.hero-trust-line strong {
  color: #fff !important;
  font-weight: 700 !important;
}

/* ============================================
   BOUTONS - SYSTÈME PREMIUM UNIFIÉ
   ============================================ */

/* Bouton primary - CTA principal */
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%) !important;
  color: var(--btn-text) !important;
  font-weight: 700 !important;
  font-size: 1.0625rem !important;
  padding: 1rem 2rem !important;
  border-radius: 12px !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(212, 212, 216, 0.25) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.625rem !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(212, 212, 216, 0.35) !important;
  background: linear-gradient(135deg, var(--gold-light) 0%, #fff 100%) !important;
}

.btn-primary:active {
  transform: translateY(0) !important;
}

/* Bouton secondary - CTA secondaire */
.btn-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--text) !important;
  font-weight: 600 !important;
  font-size: 1.0625rem !important;
  padding: 1rem 2rem !important;
  border-radius: 12px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.625rem !important;
  text-decoration: none !important;
  cursor: pointer !important;
  backdrop-filter: blur(10px) !important;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

/* Hero CTA - boutons dans hero */
.hero-cta {
  min-height: 56px !important;
  padding: 1.125rem 2.25rem !important;
  font-size: 1.125rem !important;
  border-radius: 14px !important;
}

.hero-cta--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%) !important;
  box-shadow: 0 6px 24px rgba(212, 212, 216, 0.3) !important;
}

.hero-cta--reserve {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
}

.hero-cta--reserve:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Icônes dans boutons */
.btn .icon,
.hero-cta-icon {
  width: 1.25rem !important;
  height: 1.25rem !important;
  flex-shrink: 0 !important;
}

/* ============================================
   SECTIONS - ESPACEMENT PREMIUM
   ============================================ */

.section {
  padding: clamp(4rem, 8vw, 7rem) 0 !important;
}

.section:first-of-type {
  padding-top: clamp(3rem, 6vw, 5rem) !important;
}

/* Section title - hiérarchie forte */
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: clamp(1.25rem, 3vw, 2rem) !important;
  color: var(--text) !important;
  text-align: center !important;
}

/* Section intro - sous-titre */
.section-intro {
  font-size: clamp(1.0625rem, 2vw, 1.25rem) !important;
  line-height: 1.65 !important;
  color: var(--text-muted) !important;
  max-width: 720px !important;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem) !important;
  text-align: center !important;
}

/* ============================================
   CARDS - DESIGN PREMIUM
   ============================================ */

.premium-why-card,
.card {
  background: var(--bg-card) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.premium-why-card:hover,
.card:hover {
  background: var(--bg-card-hover) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3) !important;
}

.premium-why-card h3 {
  font-size: 1.375rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.75rem !important;
  color: var(--text) !important;
}

.premium-why-card p {
  font-size: 1rem !important;
  line-height: 1.65 !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
}

.premium-why-card__icon {
  width: 56px !important;
  height: 56px !important;
  background: linear-gradient(135deg, rgba(212, 212, 216, 0.15), rgba(212, 212, 216, 0.08)) !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 1.25rem !important;
  border: 1px solid rgba(212, 212, 216, 0.2) !important;
}

.premium-why-card__icon .icon {
  width: 28px !important;
  height: 28px !important;
  color: var(--gold) !important;
}

/* ============================================
   TABLEAUX - STYLE PREMIUM
   ============================================ */

.home-price-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: var(--bg-card) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.home-price-table thead {
  background: rgba(255, 255, 255, 0.05) !important;
}

.home-price-table th {
  padding: 1.25rem 1.5rem !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--gold) !important;
  text-align: left !important;
}

.home-price-table td {
  padding: 1.25rem 1.5rem !important;
  font-size: 1.0625rem !important;
  color: var(--text) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.home-price-table tbody tr {
  transition: background 0.2s ease !important;
}

.home-price-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03) !important;
}

.home-price-table a {
  color: var(--gold) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color 0.2s ease !important;
}

.home-price-table a:hover {
  color: var(--gold-light) !important;
  text-decoration: underline !important;
}

/* ============================================
   CTA BLOCKS - CONVERSION
   ============================================ */

.cta-block {
  background: linear-gradient(135deg, rgba(212, 212, 216, 0.08) 0%, rgba(212, 212, 216, 0.03) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 24px !important;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem) !important;
  text-align: center !important;
}

.cta-block-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-bottom: 1.75rem !important;
  color: var(--text) !important;
}

.cta-block-btn {
  min-height: 60px !important;
  padding: 1.25rem 3rem !important;
  font-size: 1.25rem !important;
  margin-bottom: 1.25rem !important;
}

.cta-block-sub {
  font-size: 1rem !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
}

/* ============================================
   MOBILE - OPTIMISATION COMPLÈTE
   ============================================ */

@media (max-width: 768px) {
  /* Hero mobile */
  .hero-copy-card {
    padding: 1.75rem !important;
    border-radius: 20px !important;
  }

  .hero-phone-cta {
    width: 100% !important;
    font-size: 1.5rem !important;
    padding: 1.125rem 2rem !important;
  }

  .hero-cta-row {
    flex-direction: column !important;
    gap: 0.875rem !important;
  }

  .hero-cta {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Boutons mobile - full width */
  .btn,
  .btn-primary,
  .btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
  }

  /* Sections mobile */
  .section {
    padding: clamp(3rem, 7vw, 5rem) 0 !important;
  }

  /* Cards mobile */
  .premium-why-grid {
    gap: 1.5rem !important;
  }

  /* Tableaux mobile */
  .home-price-table th,
  .home-price-table td {
    padding: 1rem !important;
    font-size: 0.9375rem !important;
  }

  /* CTA blocks mobile */
  .cta-block {
    padding: 2rem 1.5rem !important;
  }

  .cta-block-btn {
    width: 100% !important;
  }
}

/* ============================================
   ANIMATIONS - MICRO-INTERACTIONS
   ============================================ */

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

.reveal {
  animation: fadeInUp 0.6s ease-out forwards !important;
}

/* Pulse animation pour CTA urgent */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 32px rgba(212, 212, 216, 0.3);
  }
  50% {
    box-shadow: 0 8px 40px rgba(212, 212, 216, 0.5);
  }
}

.hero-phone-cta {
  animation: pulse 2s ease-in-out infinite !important;
}

/* ============================================
   TYPOGRAPHIE - COHÉRENCE GLOBALE
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  color: var(--text) !important;
}

p {
  font-family: var(--font-body) !important;
  line-height: 1.65 !important;
  color: var(--text-muted) !important;
}

a {
  transition: all 0.2s ease !important;
}

/* ============================================
   CONTAINER - LARGEUR OPTIMALE
   ============================================ */

.container {
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding-left: max(clamp(1.5rem, 4vw, 2.5rem), env(safe-area-inset-left)) !important;
  padding-right: max(clamp(1.5rem, 4vw, 2.5rem), env(safe-area-inset-right)) !important;
}

/* ============================================
   UTILITAIRES
   ============================================ */

.text-center {
  text-align: center !important;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 3rem !important; }

/* ============================================
   FINITION « SNIPER » — lisibilité, focus, safe-area
   ============================================ */

.page-hero--compact .page-hero-subtitle {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.page-hero--compact .page-hero-cta {
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 768px) {
  .page-hero--compact .page-hero-title {
    text-wrap: balance;
  }
}

.btn.btn-primary:focus-visible,
.btn.btn-secondary:focus-visible,
.sticky-bar-mobile-btn:focus-visible,
.header-cta:focus-visible,
.top-bar-cta-phone:focus-visible {
  outline: 2px solid rgba(212, 212, 216, 0.95);
  outline-offset: 3px;
}

.top-bar--conversion .top-bar-tagline {
  letter-spacing: 0.01em;
}

/* Bandeau badges confiance — labels + descriptions */
.why-us-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold, #d4d4d8);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.why-us-text {
  font-size: 0.8125rem !important;
  font-weight: 400 !important;
  color: var(--text-muted, #b5afa6) !important;
  line-height: 1.4;
}

.why-us-item {
  gap: 0.35rem !important;
}

@media (max-width: 400px) {
  .why-us-label {
    font-size: 0.8125rem;
  }
}
