/* ========== HUB PAGE SHARED STYLES (CARTES & INVITATIONS) ========== */

/* Breadcrumb Section */
.breadcrumb-section {
  padding: 1rem 0;
  background: white;
}

.breadcrumb {
  margin-bottom: 0;
  background: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--accent-teal);
}

.breadcrumb-item.active {
  color: var(--text-light);
}

/* ========== COLOR SCHEMES ========== */

/* Cartes Color Scheme */
.page-hub--cartes {
  --hub-accent-color: var(--primary-color);
  --hub-gradient-primary: var(--primary-color);
  --hub-gradient-secondary: var(--accent-teal);
  --hub-gradient-print-start: #10b981;
  --hub-gradient-print-end: #059669;
  --hub-gradient-virtual-start: var(--primary-color);
  --hub-gradient-virtual-end: var(--accent-teal);
  --hub-icon-shadow: rgba(99, 102, 241, 0.25);
  --hub-cta-shadow-start: rgba(99, 102, 241, 0.25);
  --hub-cta-shadow-end: rgba(99, 102, 241, 0.35);
  --hub-cta-bg-start: var(--primary-color);
  --hub-cta-bg-end: var(--accent-pink);
  --hub-outline-btn-color: var(--primary-color);
}

/* Invitations Color Scheme */
.page-hub--invitations {
  --hub-accent-color: var(--accent-pink);
  --hub-gradient-primary: var(--secondary-color);
  --hub-gradient-secondary: var(--accent-pink);
  --hub-gradient-print-start: #9c27b0;
  --hub-gradient-print-end: #7b1fa2;
  --hub-gradient-virtual-start: var(--secondary-color);
  --hub-gradient-virtual-end: var(--accent-pink);
  --hub-icon-shadow: rgba(245, 158, 11, 0.25);
  --hub-cta-shadow-start: rgba(245, 158, 11, 0.25);
  --hub-cta-shadow-end: rgba(245, 158, 11, 0.35);
  --hub-cta-bg-start: var(--secondary-color);
  --hub-cta-bg-end: var(--accent-pink);
  --hub-outline-btn-color: var(--secondary-color);
}

/* ========== HERO SECTION ========== */

.page-hub-hero-section {
  background: linear-gradient(135deg, #fef3f8 0%, #f8fafc 100%);
  padding: 20px 0;
  text-align: center;
}

.page-hub-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-hub-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.page-hub-hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.page-hub-hero-description {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ========== CHOICE SECTION (2 blocs côte à côte) ========== */

.page-hub-choice-section {
  padding: 80px 0;
  background: white;
}

.page-hub-choice-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 100%;
  border: 2px solid transparent;
}

.page-hub-choice-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  border-color: var(--hub-accent-color);
  text-decoration: none;
  color: inherit;
}

.page-hub-choice-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
}

.page-hub-choice-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.page-hub-choice-card:hover .page-hub-choice-image img {
  transform: scale(1.08);
}

.page-hub-choice-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: white;
}

.page-hub--cartes .page-hub-choice-badge.badge-print {
  background: linear-gradient(45deg, var(--hub-gradient-print-start), var(--hub-gradient-print-end));
}

.page-hub--cartes .page-hub-choice-badge.badge-virtual {
  background: linear-gradient(45deg, var(--hub-gradient-virtual-start), var(--hub-gradient-virtual-end));
}

.page-hub--invitations .page-hub-choice-badge.badge-print {
  background: linear-gradient(45deg, var(--hub-gradient-print-start), var(--hub-gradient-print-end));
}

.page-hub--invitations .page-hub-choice-badge.badge-virtual {
  background: linear-gradient(45deg, var(--hub-gradient-virtual-start), var(--hub-gradient-virtual-end));
}

.page-hub-choice-content {
  padding: 2rem;
  text-align: center;
}

.page-hub-choice-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.page-hub-choice-description {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.page-hub-choice-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(45deg, var(--hub-gradient-primary), var(--hub-gradient-secondary));
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--hub-cta-shadow-start);
}

.page-hub-choice-card:hover .page-hub-choice-cta {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--hub-cta-shadow-end);
}

/* ========== WHY CHOOSE SECTION ========== */

.page-hub-why-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.page-hub-section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.3;
}

.page-hub-intro-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.page-hub-intro-text .lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.page-hub-intro-text p {
  margin-bottom: 1.25rem;
}

/* ========== FEATURES SECTION ========== */

.page-hub-features-section {
  padding: 80px 0;
  background: white;
}

.page-hub-subsection-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.page-hub-feature-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 16px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
  height: 100%;
}

.page-hub-feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--hub-accent-color);
}

.page-hub-feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(45deg, var(--hub-gradient-primary), var(--hub-gradient-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  box-shadow: 0 4px 15px var(--hub-icon-shadow);
  transition: transform 0.3s ease;
}

.page-hub-feature-item:hover .page-hub-feature-icon {
  transform: scale(1.1);
}

.page-hub-feature-text h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.page-hub-feature-text p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ========== COMPARISON SECTION ========== */

.page-hub-comparison-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #fef3f8 0%, #f8fafc 100%);
}

.page-hub-comparison-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.page-hub-comparison-text p {
  margin-bottom: 1.5rem;
}

/* ========== CTA SECTION ========== */

.page-hub-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--hub-cta-bg-start), var(--hub-cta-bg-end));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hub-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: pattern-move 30s linear infinite;
}

.page-hub-cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-hub-cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.page-hub-cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  color: white;
}

.page-hub-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hub-cta-buttons .btn-modern-outline {
  background: white;
  color: var(--hub-outline-btn-color);
  border-color: white;
}

.page-hub-cta-buttons .btn-modern-outline:hover {
  background: var(--hub-outline-btn-color);
  color: white;
  border-color: white;
}

/* ========== RESPONSIVE - TABLETS ========== */

@media (max-width: 991px) {
  .page-hub-hero-title {
    font-size: 2.5rem;
  }

  .page-hub-section-title {
    font-size: 2rem;
  }

  .page-hub-subsection-title {
    font-size: 1.65rem;
  }

  .page-hub-cta-title {
    font-size: 2rem;
  }
}

/* ========== RESPONSIVE - MOBILE ========== */

@media (max-width: 768px) {
  .page-hub-hero-section {
    padding: 40px 0;
  }

  .page-hub-hero-title {
    font-size: 2rem;
  }

  .page-hub-hero-subtitle {
    font-size: 1.15rem;
  }

  .page-hub-hero-description {
    font-size: 1rem;
  }

  .page-hub-choice-section {
    padding: 50px 0;
  }

  .page-hub-choice-content {
    padding: 1.5rem;
  }

  .page-hub-choice-title {
    font-size: 1.5rem;
  }

  .page-hub-choice-description {
    font-size: 0.95rem;
  }

  .page-hub-why-section,
  .page-hub-features-section,
  .page-hub-comparison-section,
  .page-hub-cta-section {
    padding: 50px 0;
  }

  .page-hub-section-title {
    font-size: 1.75rem;
  }

  .page-hub-subsection-title {
    font-size: 1.5rem;
  }

  .page-hub-feature-item {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
  }

  .page-hub-feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .page-hub-cta-title {
    font-size: 1.75rem;
  }

  .page-hub-cta-subtitle {
    font-size: 1.05rem;
  }

  .page-hub-cta-buttons {
    flex-direction: column;
  }

  .page-hub-cta-buttons .btn-modern {
    width: 100%;
  }
}

/* ========== RESPONSIVE - VERY SMALL MOBILE ========== */

@media (max-width: 480px) {
  .page-hub-hero-title {
    font-size: 1.75rem;
  }

  .page-hub-choice-image {
    aspect-ratio: 4 / 3;
  }
}
