/* ===================================
   HERO PREMIUM
   Section d'accueil principale
   =================================== */

/* ========== SECTION ========== */
.hero-premium {
  padding: 48px 8% 48px !important;
  background: #F9F4ED;
  font-family: 'Poppins', sans-serif;
  color: #333333;
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* ========== LAYOUT INTERNE ========== */
.hero-premium__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 60px;
  position: relative;
  z-index: 2;
  align-items: center;
}

/* ========== COLONNE TEXTE ========== */
.hero-premium__text {
  flex: 1;
  max-width: 600px;
}

/* Badge promo */
.hero-premium__badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid #B89051;
  color: #B89051;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
  animation: fadeIn 0.8s ease-out;
  position: relative;
}

/* Countdown timer style */
.countdown {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-left: 6px;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.9rem;
}

.countdown-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 24px;
  background: linear-gradient(135deg, #B89051 0%, #A67E44 100%);
  color: #FFFFFF;
  border-radius: 4px;
  font-size: 0.85rem;
}

.countdown-separator {
  color: #B89051;
  font-weight: 700;
  margin: 0 2px;
}

/* Sous-titre */
.hero-premium__sub {
  color: #B89051;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  animation: fadeIn 0.9s ease-out 0.1s both;
}

/* Titre principal */
.hero-premium__title {
  font-family: 'Poppins', sans-serif;
  /* Increased size for more prominent hero title */
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 18px;
  color: #1a1a1a;
  font-weight: 800;
  letter-spacing: -0.025em;
  animation: slideUp 1s ease-out 0.2s both;
}

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

/* Paragraphe lead */
.hero-premium__lead {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: #4a5568;
  margin-bottom: 28px;
  line-height: 1.65;
  max-width: 600px;
  animation: fadeIn 1.1s ease-out 0.3s both;
  font-weight: 400;
  text-align: center;
}

.hero-premium__lead strong {
  display: block;
  margin-top: 8px;
  font-weight: 700;
}

/* CTA Group Container */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 12px;
}

/* Bouton CTA Principal */
.hero-premium__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, #B89051 0%, #A67E44 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow:
    0 8px 30px rgba(184, 144, 81, 0.45),
    0 4px 15px rgba(184, 144, 81, 0.35);
  animation: fadeIn 1.2s ease-out 0.4s both;
  letter-spacing: 0.02em;
  border: none;
  text-decoration: none;
}

.hero-premium__cta:hover {
  background: linear-gradient(135deg, #A67E44 0%, #9a7644 100%);
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(184, 144, 81, 0.55),
    0 6px 20px rgba(184, 144, 81, 0.4);
}

.hero-premium__cta:active {
  transform: translateY(0);
  box-shadow:
    0 6px 25px rgba(184, 144, 81, 0.45),
    0 3px 12px rgba(184, 144, 81, 0.35);
}

/* Bouton CTA Secondaire (Phone) */
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #B89051;
  color: #B89051;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.hero-cta-secondary:hover {
  background: #B89051;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 144, 81, 0.35);
}

.hero-cta-secondary svg {
  transition: transform 0.3s ease;
}

.hero-cta-secondary:hover svg {
  transform: rotate(15deg);
}

/* CTA Note (Micro-copy) */
.hero-cta-note {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 12px 0 24px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-align: center;
}

/* Rating Google */
.hero-premium__rating {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  animation: fadeIn 1.3s ease-out 0.5s both;
}

.hero-premium__rating img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.hero-premium__rating-score {
  font-weight: 700;
  color: #333333;
  font-size: 1.05rem;
}

/* Trust Group Container */
.hero-trust-group {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0;
  margin-bottom: 20px;
}

.hero-trust-group .hero-premium__rating {
  margin-top: 0;
}

/* Patient Count */
.hero-patient-count {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: rgba(184, 144, 81, 0.1);
  border-radius: 999px;
  border: 1.5px solid #B89051;
  font-size: 0.95rem;
  color: #4a5568;
  font-weight: 500;
  animation: fadeIn 1.3s ease-out 0.55s both;
}

.hero-patient-count strong {
  color: #B89051;
  font-size: 1.2rem;
  margin-right: 6px;
  font-weight: 700;
}

/* Certifications Badges */
.hero-certifications {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
  animation: fadeIn 1.4s ease-out 0.6s both;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  border: 1px solid rgba(184, 144, 81, 0.2);
  font-size: 0.875rem;
  color: #4a5568;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.cert-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-color: #B89051;
}

.cert-badge svg {
  flex-shrink: 0;
}

/* Liste avec checkmarks */
.hero-premium__list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  max-width: 540px;
  animation: fadeIn 1.4s ease-out 0.6s both;
}

.hero-premium__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1.02rem;
  color: #374151;
  line-height: 1.6;
}

.hero-premium__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #B89051;
  font-weight: 800;
  font-size: 1.2rem;
}

/* Hide list on mobile, show badges instead */
@media (max-width: 768px) {
  .hero-premium__list {
    display: none;
  }

  /* Show mobile badges grid (3 columns) */
  .hero-certifications {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
    width: 100%;
  }

  .cert-badge {
    background: rgba(184, 144, 81, 0.08);
    border: 1.5px solid rgba(184, 144, 81, 0.2);
    border-radius: 12px;
    padding: 12px 8px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s ease;
  }

  .cert-badge:hover {
    background: rgba(184, 144, 81, 0.12);
    border-color: rgba(184, 144, 81, 0.4);
  }

  .cert-badge svg {
    width: 24px;
    height: 24px;
    stroke: #B89051;
  }

  .cert-badge span {
    display: block;
  }
}

/* ========== COLONNE VISUELLE ========== */
.hero-premium__visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 700px;
}

/* Image principale */
.hero-image {
  position: relative;
  z-index: 2;
  width: 120%;
  max-width: none;
  height: 750px;
  object-fit: cover;
  filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.15));
  animation: fadeInScale 1.2s ease-out 0.4s both;
  border-radius: 24px;
  margin-right: -25%;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-premium {
    padding: 40px 5% 40px !important;
  }

  .hero-premium__inner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-premium__text {
    max-width: 100%;
    order: 2;
  }

  .hero-premium__visual {
    min-height: auto;
    order: 1;
    justify-content: center;
  }

  .hero-premium__list {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image {
    max-width: 100%;
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .hero-premium {
    padding: 32px 5% 32px !important;
  }

  .hero-premium__title {
    font-size: clamp(1.75rem, 7vw, 2rem);
    margin-bottom: 14px;
    line-height: 1.2;
    max-width: 100%;
  }

  .hero-premium__sub {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .hero-premium__lead {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .hero-premium__cta {
    padding: 18px 40px;
    font-size: 1.0625rem;
    width: 100%;
    max-width: 100%;
    box-shadow:
      0 8px 30px rgba(184, 144, 81, 0.5),
      0 4px 15px rgba(184, 144, 81, 0.4);
  }

  .hero-premium__cta:hover {
    transform: translateY(-1px);
  }

  .hero-premium__rating {
    padding: 10px 16px;
    margin-top: 24px;
  }

  .hero-premium__rating img {
    width: 28px;
    height: 28px;
  }

  .hero-premium__rating-score {
    font-size: 1rem;
  }

  .hero-cta-group {
    gap: 12px;
    width: 100%;
  }

  .hero-premium__cta {
    width: 100%;
    max-width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-cta-secondary {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    font-size: 1.0625rem;
    padding: 18px 40px;
  }

  .hero-cta-note {
    font-size: 0.8125rem;
    text-align: center;
  }

  .hero-trust-group {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
  }

  /* Hide Google rating on mobile (widget already at bottom-right) */
  .hero-premium__rating {
    display: none;
  }

  .hero-patient-count {
    width: 100%;
    justify-content: center;
  }

  /* Mobile badges are shown below with grid layout */

  .cert-badge {
    font-size: 0.8125rem;
    padding: 8px 12px;
    gap: 6px;
    flex: 1 1 auto;
    justify-content: center;
    min-width: calc(50% - 5px);
  }

  .cert-badge svg {
    width: 18px;
    height: 18px;
  }

  .hero-premium__list {
    margin-top: 24px;
  }

  .hero-premium__list li {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .hero-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    margin-right: 0;
  }
}
