/* ============================================================
   FAVEL — Home Page Styles
   ============================================================ */

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 10, 30, 0.95) 0%,
    rgba(30, 16, 64, 0.85) 50%,
    rgba(45, 27, 105, 0.75) 100%
  );
}

/* Orbes de fond */
.hero__orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(80px);
  pointer-events: none;
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.3) 0%, transparent 70%);
  bottom: 10%;
  left: -50px;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.2) 0%, transparent 70%);
  top: 40%;
  left: 40%;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-height) + var(--space-8));
  padding-bottom: var(--space-16);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    min-height: calc(100vh - var(--header-height) - var(--space-16));
  }
}

.hero__content { max-width: 600px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  margin-bottom: var(--space-6);
  animation: slideDown 0.6s ease both;
}

.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  animation: pulse 2s ease-in-out infinite;
}

.hero__eyebrow-text {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
  font-weight: var(--font-weight-black);
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
  animation: slideUp 0.7s ease 0.1s both;
}

.hero__title .highlight {
  background: var(--gradient-primary-soft);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero__subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
  color: rgba(255,255,255,0.7);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-8);
  max-width: 520px;
  animation: slideUp 0.7s ease 0.2s both;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
  animation: slideUp 0.7s ease 0.3s both;
}

@media (min-width: 480px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Indicateurs de confiance */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  animation: slideUp 0.7s ease 0.4s both;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
}

.hero__trust-icon {
  font-size: var(--text-base);
}

/* Visuel hero (image + stats flottants) */
.hero__visual {
  position: relative;
  display: none;
  animation: slideInRight 0.8s ease 0.2s both;
}

@media (min-width: 1024px) {
  .hero__visual {
    display: block;
  }
}

.hero__image-wrap {
  position: relative;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  animation: float 6s ease-in-out infinite;
}

.hero__image-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-primary);
  border-radius: inherit;
  z-index: -1;
}

.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-3xl);
}

/* Cards flottantes sur l'image */
.hero__float-card {
  position: absolute;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--space-4);
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255,255,255,0.5);
}

.hero__float-card--stats {
  bottom: -20px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hero__float-card--rating {
  top: 20px;
  right: -20px;
  text-align: center;
  min-width: 120px;
}

.float-card__number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-black);
  color: var(--color-primary);
}

.float-card__label {
  font-size: var(--text-xs);
  color: var(--color-gray-500);
  font-weight: var(--font-weight-medium);
}

.float-card__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  flex-shrink: 0;
}

/* ─── SECTION POURQUOI ─── */
.section-why {
  padding: var(--space-20) 0;
  background: var(--color-white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
}

.why-card {
  background: var(--color-gray-50);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.why-card:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--color-primary-pale);
}

.why-card:hover::before { transform: scaleX(1); }

.why-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: var(--text-2xl);
  flex-shrink: 0;
  box-shadow: var(--shadow-violet);
}

.why-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
  margin-bottom: var(--space-2);
}

.why-card__desc {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  line-height: var(--line-height-relaxed);
  max-width: none;
}

/* ─── PRODUITS VEDETTES ─── */
.section-products-preview {
  padding: var(--space-20) 0;
  background: var(--color-gray-50);
}

.section-products-preview .product-card { background: var(--color-white); }

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── PACKS PREVIEW ─── */
.section-packs-preview {
  padding: var(--space-20) 0;
  background: var(--color-white);
}

.packs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .packs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .packs-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── STATS SECTION ─── */
.section-stats {
  padding: var(--space-16) 0;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.section-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.15) 0%, transparent 70%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ─── TÉMOIGNAGES ─── */
.section-testimonials {
  padding: var(--space-20) 0;
  background: var(--color-gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── FAQ ─── */
.section-faq {
  padding: var(--space-20) 0;
  background: var(--color-white);
}

.faq-container {
  max-width: 700px;
  margin-inline: auto;
  background: var(--color-gray-50);
  border-radius: var(--radius-2xl);
  padding: var(--space-4) var(--space-6);
  border: 1px solid var(--color-gray-100);
}

/* ─── SECTION CTA FINALE ─── */
.section-final-cta {
  padding: var(--space-20) 0;
  background: var(--gradient-cta);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.section-final-cta .container { position: relative; z-index: 1; }

.section-final-cta h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-5xl));
  font-weight: var(--font-weight-black);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.section-final-cta p {
  color: rgba(255,255,255,0.8);
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  margin-bottom: var(--space-8);
  max-width: 520px;
  margin-inline: auto;
}

.final-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

@media (min-width: 480px) {
  .final-cta__actions {
    flex-direction: row;
    justify-content: center;
  }
}

.final-cta__guarantee {
  margin-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.65);
  font-size: var(--text-sm);
}

/* ─── SECTION COMMENT ÇA MARCHE ─── */
.section-how {
  padding: var(--space-20) 0;
  background: var(--color-gray-50);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  position: relative;
}

@media (min-width: 768px) {
  .how-grid { grid-template-columns: repeat(3, 1fr); }
}

.how-step {
  text-align: center;
  position: relative;
}

.how-step__number {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  box-shadow: var(--shadow-violet);
  position: relative;
  z-index: 1;
}

.how-step__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-black);
  margin-bottom: var(--space-3);
}

.how-step__desc {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  line-height: var(--line-height-relaxed);
  max-width: 240px;
  margin-inline: auto;
}

/* Ligne entre étapes (desktop) */
.how-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 32px);
  right: calc(16.66% + 32px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-primary));
  display: none;
}

@media (min-width: 768px) {
  .how-grid::before { display: block; }
}

/* ─── SECTION PAYS SERVIS ─── */
.section-countries {
  padding: var(--space-12) 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-100);
  border-bottom: 1px solid var(--color-gray-100);
}

.countries-label {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-6);
}

.countries-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-6);
}

.country-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-gray-600);
}

.country-flag { font-size: var(--text-xl); }
