/**
 * BoxToPlay - Design System Modernisé
 * 
 * Ce fichier contient les composants réutilisables du nouveau design.
 * 
 * Police : Inter (Google Fonts)
 * 
 * Palette de couleurs :
 * - Primary (Cyan/Turquoise) : #5ccdde → #3ba5b5
 * - Success (Vert) : #66bb6a → #43a047
 * - Danger (Rouge) : #e74c3c → #c0392b / #ef5350 → #e53935
 * - Premium (Violet) : #a855f7 → #7c3aed / #ab47bc → #8e24aa
 * - Warning (Orange) : #f39c12 → #e67e22 / #ff7043 → #f4511e
 * - Info (Bleu) : #3498db
 * - Spring (Teal) : #26a69a → #00897b
 * - Pink : #ec407a → #d81b60
 * 
 * Fonds :
 * - Light : linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%)
 * - Dark : linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%)
 */

/* ==========================================================================
   FONT IMPORT - Inter (Local)
   ========================================================================== */
@font-face {
  font-family: 'Inter';
  src: url('/assets/frontend/css/fonts/inter/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Application de la police Inter à tout le site frontend */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}


/* ==========================================================================
   SECTION DIVIDERS
   ========================================================================== */

.key-features-divider,
.expertise-intro-divider,
.action-choice-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #5ccdde 0%, #3ba5b5 100%);
  margin: 0 auto 50px;
  border-radius: 2px;
}


/* ==========================================================================
   KEY FEATURES SECTION
   Utilisé pour les blocs de caractéristiques principales (3 colonnes)
   ========================================================================== */

.key-features-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 60px 0 0 0;
}

.key-features-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.key-features-row > div {
  padding: 0 15px;
  margin-bottom: 30px;
}

/* Card principale */
.key-feature-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 35px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  border: 1px solid rgba(92, 205, 222, 0.1);
  height: 100%;
}

.key-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(92, 205, 222, 0.2);
  border-color: rgba(92, 205, 222, 0.3);
}

/* Icône */
.key-feature-icon {
  margin-bottom: 25px;
}

.key-feature-icon-bg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #5ccdde 0%, #3ba5b5 100%);
  border-radius: 16px;
  font-size: 28px;
  color: #fff;
  box-shadow: 0 8px 25px rgba(92, 205, 222, 0.35);
  transition: all 0.3s ease;
}

/* Variantes de couleur pour les icônes */
.key-feature-icon-bg.icon-danger {
  background: linear-gradient(135deg, #ef5350 0%, #e53935 100%);
  box-shadow: 0 8px 25px rgba(239, 83, 80, 0.35);
}

.key-feature-icon-bg.icon-success {
  background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
  box-shadow: 0 8px 25px rgba(102, 187, 106, 0.35);
}

.key-feature-icon-bg.icon-delivery,
.key-feature-icon-bg.icon-purple {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.35);
}

.key-feature-card:hover .key-feature-icon-bg {
  transform: scale(1.1) rotate(-5deg);
}

/* Contenu */
.key-feature-content h3 {
  font-size: 1.4em;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 15px;
  position: relative;
}

.key-feature-content h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #5ccdde 0%, transparent 100%);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Variantes underline couleur */
.key-feature-card.card-danger .key-feature-content h3::after {
  background: linear-gradient(90deg, #ef5350 0%, transparent 100%);
}

.key-feature-card.card-success .key-feature-content h3::after {
  background: linear-gradient(90deg, #66bb6a 0%, transparent 100%);
}

.key-feature-card:hover .key-feature-content h3::after {
  width: 60px;
}

.key-feature-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* Effet Glow */
.key-feature-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(92, 205, 222, 0.15) 0%, transparent 70%);
  pointer-events: none;
  transition: all 0.4s ease;
}

.key-feature-glow.glow-danger {
  background: radial-gradient(circle, rgba(239, 83, 80, 0.15) 0%, transparent 70%);
}

.key-feature-glow.glow-success {
  background: radial-gradient(circle, rgba(102, 187, 106, 0.15) 0%, transparent 70%);
}

.key-feature-glow.glow-purple {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
}

.key-feature-card:hover .key-feature-glow {
  transform: scale(1.5);
  opacity: 0.8;
}


/* ==========================================================================
   INCLUDED FEATURES SECTION
   Utilisé pour les blocs de fonctionnalités incluses (4 colonnes)
   ========================================================================== */

.included-features-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 70px 0 0 0;
}

.included-features-section .row {
  display: flex;
  flex-wrap: wrap;
}

.included-features-section .row > div {
  margin-bottom: 30px;
}

/* Card */
.included-feature-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 35px 25px 30px;
  text-align: center;
  height: 100%;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  overflow: hidden;
}

.included-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Icône ronde */
.included-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  font-size: 32px;
  color: #fff;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

/* Variantes de couleur pour les icônes rondes */
.included-feature-icon.icon-spring {
  background: linear-gradient(135deg, #26a69a 0%, #00897b 100%);
  box-shadow: 0 10px 30px rgba(38, 166, 154, 0.35);
}

.included-feature-icon.icon-cyan {
  background: linear-gradient(135deg, #5ccdde 0%, #26c6da 100%);
  box-shadow: 0 10px 30px rgba(92, 205, 222, 0.35);
}

.included-feature-icon.icon-fire {
  background: linear-gradient(135deg, #ff7043 0%, #f4511e 100%);
  box-shadow: 0 10px 30px rgba(255, 112, 67, 0.35);
}

.included-feature-icon.icon-pink {
  background: linear-gradient(135deg, #ec407a 0%, #d81b60 100%);
  box-shadow: 0 10px 30px rgba(236, 64, 122, 0.35);
}

.included-feature-icon.icon-purple {
  background: linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);
  box-shadow: 0 10px 30px rgba(171, 71, 188, 0.35);
}

.included-feature-card:hover .included-feature-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* Contenu */
.included-feature-card h4 {
  font-size: 1.2em;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 15px;
}

.included-feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  margin: 0;
  text-align: left;
}


/* ==========================================================================
   EXPERTISE INTRO SECTION
   Section d'introduction avec texte centré
   ========================================================================== */

.expertise-intro-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 60px 0 40px;
}

.expertise-intro-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

.expertise-intro-text p {
  margin-bottom: 20px;
}


/* ==========================================================================
   ACTION CHOICE SECTION (Dark Background)
   Utilisé pour les sections avec fond sombre et cartes glassmorphism
   ========================================================================== */

.action-choice-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.action-choice-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.03;
}

.action-choice-section .site-heading {
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.action-choice-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.action-choice-row > div {
  padding: 0 15px;
  margin-bottom: 30px;
}

/* Card glassmorphism */
.action-choice-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 35px 25px 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.action-choice-card:hover {
  transform: translateY(-10px);
  border-color: rgba(92, 205, 222, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

/* Effet Glow pour les cards dark */
.action-card-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(92, 205, 222, 0.2) 0%, transparent 70%);
  pointer-events: none;
  transition: all 0.4s ease;
}

.action-card-glow.glow-red {
  background: radial-gradient(circle, rgba(231, 76, 60, 0.2) 0%, transparent 70%);
}

.action-card-glow.glow-orange {
  background: radial-gradient(circle, rgba(243, 156, 18, 0.25) 0%, transparent 70%);
}

.action-card-glow.glow-info {
  background: radial-gradient(circle, rgba(52, 152, 219, 0.2) 0%, transparent 70%);
}

.action-choice-card:hover .action-card-glow {
  transform: scale(1.5);
  opacity: 0.8;
}

/* Logo dans card */
.action-card-logo {
  text-align: center;
  margin-bottom: 20px;
}

.action-card-logo img {
  max-width: 140px;
  height: auto;
  transition: transform 0.4s ease;
}

.action-card-logo img.logo-pulse {
  animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.action-choice-card:hover .action-card-logo img {
  transform: scale(1.1);
}

/* Icône dans card dark */
.action-card-icon {
  text-align: center;
  margin-bottom: 20px;
}

.action-card-icon i {
  font-size: 80px;
  background: linear-gradient(135deg, #5ccdde 0%, #3ba5b5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Titre card dark */
.action-card-title {
  text-align: center;
  color: #fff;
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.action-card-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #5ccdde 0%, transparent 100%);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Variantes underline couleur pour cards dark */
.action-card-titan .action-card-title::after {
  background: linear-gradient(90deg, #e74c3c 0%, transparent 100%);
}

.action-card-leviathan .action-card-title::after {
  background: linear-gradient(90deg, #f39c12 0%, transparent 100%);
}

.action-card-faq .action-card-title::after {
  background: linear-gradient(90deg, #3498db 0%, transparent 100%);
}

/* Description card dark */
.action-card-description {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 25px;
}

.action-card-description a {
  color: #5ccdde;
  text-decoration: none;
  border-bottom: 1px dotted rgba(92, 205, 222, 0.5);
  transition: all 0.3s ease;
}

.action-card-description a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* CTA dans card dark */
.action-card-cta {
  margin-top: auto;
}

.action-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.action-btn-guardian {
  background: linear-gradient(135deg, #5ccdde 0%, #3ba5b5 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(92, 205, 222, 0.4);
}

.action-btn-guardian:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(92, 205, 222, 0.5);
  color: #fff;
  text-decoration: none;
}

.action-btn-titan {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.action-btn-titan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(231, 76, 60, 0.5);
  color: #fff;
  text-decoration: none;
}

.action-btn-leviathan {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.action-btn-leviathan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(243, 156, 18, 0.5);
  color: #fff;
  text-decoration: none;
}

.action-btn-faq {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.action-btn-faq:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  text-decoration: none;
}


/* ==========================================================================
   MODPACKS HIGHLIGHT SECTION (Dark Background)
   Section highlight pour les modpacks
   ========================================================================== */

.modpacks-highlight {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.modpacks-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.05;
}

.modpacks-highlight .content-wrapper {
  position: relative;
  z-index: 1;
}

.modpacks-highlight h2 {
  color: #fff;
  font-size: 2.5em;
  margin-bottom: 10px;
}

.modpacks-highlight .subtitle {
  color: #aaa;
  font-size: 1.2em;
  margin-bottom: 30px;
}

.modpacks-highlight .feature-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.modpacks-highlight .feature-badge,
.feature-badge {
  background: rgba(92, 205, 222, 0.2);
  border: 1px solid rgba(92, 205, 222, 0.4);
  color: #5ccdde;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modpacks-highlight .cta-btn,
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #5ccdde 0%, #3ba5b5 100%);
  color: #fff;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(92, 205, 222, 0.4);
}

.modpacks-highlight .cta-btn:hover,
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(92, 205, 222, 0.5);
  color: #fff;
  text-decoration: none;
}


/* ==========================================================================
   STATS SECTION
   Section avec statistiques animées
   ========================================================================== */

.stats-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 60px 0;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.stat-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.stat-icon {
  font-size: 42px;
  margin-bottom: 20px;
  display: block;
}

.stat-card:nth-child(1) .stat-icon { color: #5ccdde; }
.stat-card:nth-child(2) .stat-icon { color: #66bb6a; }
.stat-card:nth-child(3) .stat-icon { color: #ff7043; }

.stat-value {
  font-size: 3em;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.95em;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* ==========================================================================
   OFFERS INTRO SECTION
   Section d'introduction pour les offres
   ========================================================================== */

.offers-intro {
  background: linear-gradient(165deg, #2a3f5f 0%, #1a1a2e 100%);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.offers-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(92, 205, 222, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.offers-intro-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.offers-intro-title {
  font-size: 2.2em;
  font-weight: 300;
  color: #fff;
  margin: 0 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.offers-intro-title i {
  color: #5ccdde;
}

.offers-intro-title strong {
  font-weight: 700;
}

.offers-intro-subtitle {
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-weight: 400;
}


/* ==========================================================================
   OFFERS CARDS GRID
   Grille de cartes pour les offres
   ========================================================================== */

.offers-section {
  padding: 70px 0;
  background: linear-gradient(165deg, #f8f9fa 0%, #eef1f5 100%);
  position: relative;
}

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

.offers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.offer-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.offer-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Couleurs d'accent par offre */
.offer-card-minecraft { --card-accent: #5ccdde; }
.offer-card-bungeecord { --card-accent: #1bbae1; }
.offer-card-vps { --card-accent: #9b59b6; }
.offer-card-teamspeak { --card-accent: #667eea; }

.offer-card-image-link {
  display: block;
  text-decoration: none;
}

.offer-card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
  cursor: pointer;
}

.offer-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.offer-card:hover .offer-card-image img {
  transform: scale(1.08);
}

.offer-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
  pointer-events: none;
}

/* Badge */
.offer-card-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  border-radius: 4px;
  font-size: 0.75em;
  font-weight: 700;
  color: #1a1a2e;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.offer-card-badge-soon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  bottom: auto;
  left: auto;
  top: 12px;
  right: 12px;
}

.offer-card-content {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.offer-card-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #2a3f5f;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.offer-card-title i {
  color: var(--card-accent);
  font-size: 0.95em;
}

.offer-card-description {
  color: #6c757d;
  font-size: 0.88em;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.offer-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.offer-card-price-label {
  font-size: 0.8em;
  color: #888;
}

.offer-card-price-value {
  font-size: 1.9em;
  font-weight: 700;
  color: #2a3f5f;
}

.offer-card-price-currency {
  font-size: 1em;
  color: var(--card-accent);
  font-weight: 600;
}

.offer-card-price-period {
  font-size: 0.8em;
  color: #888;
}

/* Bouton CTA offers */
.offer-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  background: var(--card-accent);
  color: #fff;
}

.offer-card-cta:hover {
  filter: brightness(1.1);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.offer-card-cta-soon {
  background: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
}

.offer-card-cta-soon:hover {
  filter: none;
  transform: none;
  box-shadow: none;
  color: #6c757d;
}

/* Features tags */
.offer-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.offer-card-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #f8f9fa;
  border-radius: 4px;
  font-size: 0.78em;
  color: #555;
}

.offer-card-feature i {
  color: var(--card-accent);
  font-size: 0.85em;
}


/* ==========================================================================
   FEATURES TABS
   Onglets pour les fonctionnalités
   ========================================================================== */

.features-tabs {
  margin: 40px 0;
}

.features-tabs .nav-tabs {
  border-bottom: 2px solid #e0e0e0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.features-tabs .nav-tabs > li {
  float: none;
  margin-bottom: -2px;
}

.features-tabs .nav-tabs > li > a {
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 15px 25px;
  font-weight: 600;
  color: #666;
  background: transparent;
  transition: all 0.3s ease;
}

.features-tabs .nav-tabs > li > a:hover {
  background: rgba(92, 205, 222, 0.1);
  border-bottom-color: #5ccdde;
  color: #333;
}

.features-tabs .nav-tabs > li.active > a,
.features-tabs .nav-tabs > li.active > a:hover,
.features-tabs .nav-tabs > li.active > a:focus {
  border: none;
  border-bottom: 3px solid #5ccdde;
  background: linear-gradient(135deg, rgba(92, 205, 222, 0.15) 0%, rgba(92, 205, 222, 0.05) 100%);
  color: #2a7a87;
}

.features-tabs .tab-content {
  padding: 40px 20px;
  background: #fafafa;
  border-radius: 0 0 8px 8px;
}

.features-tabs .tab-pane .feature-image {
  max-width: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: opacity 0.3s ease;
}

.features-tabs .tab-pane h3 {
  margin-top: 0;
  color: #333;
}

.features-tabs .tab-pane p {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
}

/* Items cliquables dans les onglets */
.features-tabs .feature-item {
  padding: 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  margin-bottom: 15px;
  background: #fff;
}

.features-tabs .feature-item:hover {
  background: rgba(92, 205, 222, 0.05);
  border-color: rgba(92, 205, 222, 0.3);
}

.features-tabs .feature-item.active {
  background: rgba(92, 205, 222, 0.1);
  border-color: #5ccdde;
  box-shadow: 0 2px 10px rgba(92, 205, 222, 0.2);
}

.features-tabs .feature-item h3,
.features-tabs .feature-item h4 {
  margin-top: 0;
  transition: color 0.3s ease;
}

.features-tabs .feature-item.active h3,
.features-tabs .feature-item.active h4 {
  color: #2a7a87;
}

.features-tabs .feature-item::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #5ccdde;
  transition: width 0.3s ease;
  margin-top: 10px;
}

.features-tabs .feature-item.active::after {
  width: 50px;
}

.features-tabs .image-container {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Row en flexbox pour le centrage vertical des colonnes */
.features-tabs .tab-pane .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* Conteneur de la colonne image pour le centrage vertical */
.features-tabs .image-column {
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-tabs .image-container .feature-image {
  position: absolute;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.4s ease;
  max-width: 90%;
}

.features-tabs .image-container .feature-image.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}


/* ==========================================================================
   VIEWERHD CONTAINER
   Container pour les captures d'écran HD
   ========================================================================== */

.viewerhd-container {
  width: 80%;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1199px) {
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  /* Key Features */
  .key-features-row {
    gap: 20px;
  }
  
  .key-feature-card {
    padding: 30px 25px;
  }
  
  /* Included Features */
  .included-feature-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
  
  /* Action Choice */
  .action-choice-section {
    padding: 50px 0;
  }
  
  .action-card-logo img {
    max-width: 120px;
  }
  
  .action-card-icon i {
    font-size: 60px;
  }
  
  /* Offers */
  .offers-section {
    padding: 50px 0;
  }
  
  .offers-grid {
    gap: 18px;
  }
  
  .offer-card-image {
    height: 140px;
  }
  
  .offer-card-content {
    padding: 16px;
  }
  
  .offer-card-title {
    font-size: 1.1em;
  }
  
  .offer-card-description {
    font-size: 0.82em;
  }
  
  .offer-card-price-value {
    font-size: 1.5em;
  }
  
  /* Stats */
  .stats-section {
    padding: 50px 0;
  }
  
  .stat-card {
    min-width: 240px;
    padding: 30px 25px;
  }
  
  .stat-value {
    font-size: 2.5em;
  }
  
  /* Features Tabs */
  .features-tabs .nav-tabs > li > a {
    padding: 12px 18px;
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  /* Expertise Intro */
  .expertise-intro-section {
    padding: 50px 0 30px;
  }
  
  .expertise-intro-text {
    font-size: 15px;
  }
  
  /* Key Features */
  .key-features-section {
    padding: 40px 0 0 0;
  }
  
  .key-features-divider {
    margin-bottom: 35px;
  }
  
  .key-feature-card {
    padding: 30px 25px;
  }
  
  .key-feature-icon-bg {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .key-feature-content h3 {
    font-size: 1.2em;
  }
  
  /* Included Features */
  .included-features-section {
    padding: 50px 0 0 0;
  }
  
  .included-feature-card {
    padding: 30px 20px 25px;
  }
  
  .included-feature-icon {
    width: 65px;
    height: 65px;
    font-size: 26px;
  }
  
  /* Action Choice */
  .action-choice-section {
    padding: 40px 0;
  }
  
  .action-choice-divider {
    margin-bottom: 30px;
  }
  
  .action-choice-card {
    padding: 30px 20px 25px;
  }
  
  .action-card-logo img {
    max-width: 100px;
  }
  
  .action-card-title {
    font-size: 1.2em;
  }
  
  .action-card-description {
    font-size: 13px;
  }
  
  /* Offers */
  .offers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .offer-card-image {
    height: 160px;
  }
  
  .offer-card:hover {
    transform: translateY(-5px);
  }
  
  /* Offers Intro */
  .offers-intro {
    padding: 35px 0;
  }
  
  .offers-intro-title {
    font-size: 1.6em;
  }
  
  .offers-intro-subtitle {
    font-size: 1em;
  }
  
  /* Stats */
  .stats-row {
    gap: 20px;
  }
  
  .stat-card {
    min-width: 100%;
    max-width: 100%;
  }
  
  .stat-icon {
    font-size: 36px;
  }
  
  .stat-value {
    font-size: 2.2em;
  }
  
  .stat-label {
    font-size: 0.85em;
  }
  
  /* Features Tabs */
  .features-tabs .nav-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  
  .features-tabs .nav-tabs > li > a {
    text-align: center;
    border-bottom: none;
    border-left: 3px solid transparent;
  }
  
  .features-tabs .nav-tabs > li.active > a {
    border-bottom: none;
    border-left: 3px solid #5ccdde;
  }
  
  /* Modpacks Highlight */
  .modpacks-highlight h2 {
    font-size: 1.8em;
  }
  
  .modpacks-highlight .feature-badges {
    flex-direction: column;
    align-items: center;
  }
  
  /* ViewerHD */
  .viewerhd-container {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .features-tabs .tab-content {
    padding: 25px 15px;
  }
}


/* ==========================================================================
   MODERN MEGA MENU
   Menu header modernisé avec descriptions et effets hover
   ========================================================================== */

/* Conteneur du mega menu - Desktop uniquement */
@media screen and (min-width: 992px) {
  .site-nav > li.has-mega-menu {
    position: relative;
  }
  
  .mega-menu-container {
    position: absolute;
    top: 34px;
    left: 0;
    min-width: 520px;
    background: rgba(26, 26, 46, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1002;
    display: block !important;
  }

  .site-nav > li.has-mega-menu:hover > .mega-menu-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  /* Empêcher le hover de s'arrêter entre le lien et le menu */
  .site-nav > li.has-mega-menu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
  }
}

/* Grille des items du mega menu */
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

/* Item du mega menu */
.mega-menu-item {
  display: flex !important;
  align-items: center;
  padding: 12px 14px !important;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  background: transparent;
  border: 1px solid transparent;
  margin: 0 !important;
  height: auto !important;
  line-height: normal !important;
}

.mega-menu-item:hover {
  background: rgba(92, 205, 222, 0.15) !important;
  border-color: rgba(92, 205, 222, 0.3);
  transform: translateX(4px);
  color: #fff !important;
}

.mega-menu-item.active {
  background: rgba(92, 205, 222, 0.1) !important;
  border-color: rgba(92, 205, 222, 0.2);
}

.mega-menu-item.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Icône/Logo du menu item */
.mega-menu-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.25s ease;
}

.mega-menu-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.mega-menu-item:hover .mega-menu-icon {
  background: rgba(92, 205, 222, 0.25);
  transform: scale(1.05);
}

/* Contenu texte du menu item */
.mega-menu-content {
  flex: 1;
  min-width: 0;
}

.mega-menu-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.3;
  text-transform: none;
}

.mega-menu-desc {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
  font-weight: 400;
}

/* Badge "Soon" */
.mega-menu-badge {
  display: inline-block;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
  color: #fff;
  border-radius: 8px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Flèche décorative sur hover */
.mega-menu-arrow {
  opacity: 0;
  margin-left: 8px;
  color: #5ccdde;
  font-size: 12px;
  transform: translateX(-8px);
  transition: all 0.25s ease;
}

.mega-menu-item:hover .mega-menu-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   MEGA MENU - VERSION MOBILE
   Adaptation responsive du mega menu pour les écrans mobiles
   ========================================================================== */
@media screen and (max-width: 991px) {
  /* Le mega menu devient un sous-menu intégré au menu mobile */
  .mega-menu-container {
    position: static !important;
    display: none;
    min-width: 100% !important;
    width: 100%;
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none;
    z-index: auto;
  }
  
  /* Afficher le mega menu quand le parent a la classe 'open' */
  .site-nav > li.has-mega-menu.open > .mega-menu-container {
    display: block;
  }
  
  /* Grille devient une colonne en mobile */
  .mega-menu-grid {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
  }
  
  /* Items du mega menu en mobile */
  .mega-menu-item {
    padding: 12px 20px !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
  }
  
  .mega-menu-item:last-child {
    border-bottom: none !important;
  }
  
  .mega-menu-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: none !important;
  }
  
  /* Icône plus petite en mobile */
  .mega-menu-icon {
    width: 36px;
    height: 36px;
    margin-right: 10px;
  }
  
  .mega-menu-icon img {
    width: 22px;
    height: 22px;
  }
  
  .mega-menu-icon.mega-menu-icon-fa {
    font-size: 16px;
  }
  
  /* Cacher les descriptions en mobile pour plus de lisibilité */
  .mega-menu-desc {
    display: none;
  }
  
  /* Cacher les flèches en mobile */
  .mega-menu-arrow {
    display: none;
  }
  
  /* Titre plus compact */
  .mega-menu-title {
    font-size: 14px;
  }
  
  /* Variante small pas de différence en mobile */
  .mega-menu-container.mega-menu-small {
    min-width: 100% !important;
  }
}

/* Variante small pour menu Communauté (1 colonne) */
@media screen and (min-width: 992px) {
  .mega-menu-container.mega-menu-small {
    min-width: 320px;
  }
}

.mega-menu-grid.mega-menu-single-col {
  grid-template-columns: 1fr;
}

/* Icônes Font Awesome dans le mega menu */
.mega-menu-icon.mega-menu-icon-fa {
  font-size: 18px;
  color: #fff;
}

.mega-menu-icon.mega-menu-icon-fa i {
  line-height: 1;
}

/* Couleurs spécifiques pour les réseaux sociaux */
.mega-menu-icon.icon-discord {
  background: rgba(88, 101, 242, 0.3);
}

.mega-menu-item:hover .mega-menu-icon.icon-discord {
  background: rgba(88, 101, 242, 0.5);
}

.mega-menu-icon.icon-twitter {
  background: rgba(29, 161, 242, 0.3);
}

.mega-menu-item:hover .mega-menu-icon.icon-twitter {
  background: rgba(29, 161, 242, 0.5);
}

.mega-menu-icon.icon-facebook {
  background: rgba(66, 103, 178, 0.3);
}

.mega-menu-item:hover .mega-menu-icon.icon-facebook {
  background: rgba(66, 103, 178, 0.5);
}

/* ==========================================================================
   DROPDOWNS LANGUE & DEVISE - Style glassmorphism
   ========================================================================== */

@media screen and (min-width: 992px) {
  /* Style glassmorphism pour les dropdowns langue et devise */
  .site-nav > li > ul {
    background: rgba(26, 26, 46, 0.65) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
    padding: 8px !important;
    min-width: 140px;
  }
  
  .site-nav > li > ul li {
    margin: 0 !important;
  }
  
  .site-nav > li > ul a {
    color: #fff !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .site-nav > li > ul a:hover {
    background: rgba(92, 205, 222, 0.15) !important;
    color: #fff !important;
    transform: translateX(4px);
  }
  
  .site-nav > li > ul a img {
    width: 20px;
    height: auto;
    border-radius: 2px;
  }
}

/* ==========================================================================
   HEADER MODERNISÉ - Styles généraux
   ========================================================================== */

/* Alignement vertical du header - Desktop uniquement */
@media screen and (min-width: 992px) {
  header .container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  header a.site-logo {
    float: none;
    flex-shrink: 0;
  }

  header a.site-logo img {
    display: block;
    margin-top: -5px;
  }

  header nav {
    float: none;
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  header .site-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }
  
  header .site-nav > li {
    float: none;
    flex-shrink: 0;
    white-space: nowrap;
  }
  
  header .site-nav > li > a {
    white-space: nowrap;
  }
}

/* Amélioration du hover sur les liens principaux */
header .site-nav > li > a {
  position: relative;
  transition: all 0.3s ease;
}

header .site-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #5ccdde 0%, #3ba5b5 100%);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

header .site-nav > li:hover > a::after,
header .site-nav > li.active > a::after {
  width: 80%;
}

/* Boutons du header améliorés */
header .site-nav > li > a.btn {
  border-radius: 8px;
  padding: 8px 16px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  height: 34px;
}

header .site-nav > li > a.btn i {
  line-height: 1;
}

header .site-nav > li > a.btn::after {
  display: none;
}

header .site-nav > li > a.btn.btn-primary {
  background: linear-gradient(135deg, #5ccdde 0%, #3ba5b5 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(92, 205, 222, 0.3);
}

header .site-nav > li > a.btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 205, 222, 0.4);
}

header .site-nav > li > a.btn.btn-success {
  background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(102, 187, 106, 0.3);
}

header .site-nav > li > a.btn.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 187, 106, 0.4);
}

header .site-nav > li > a.btn.btn-danger {
  background: linear-gradient(135deg, #ef5350 0%, #e53935 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(239, 83, 80, 0.3);
}

header .site-nav > li > a.btn.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 83, 80, 0.4);
}

/* ==========================================================================
   HEADER - ADAPTATION TABLETTES (992px - 1199px)
   Réduction des espacements pour les écrans tablettes
   ========================================================================== */
@media screen and (min-width: 992px) and (max-width: 1199px) {
  /* Réduire les marges entre les éléments du menu */
  header .site-nav > li {
    margin-left: 4px !important;
  }
  
  /* Réduire la taille des textes du menu */
  header .site-nav > li > a {
    font-size: 11px !important;
    padding: 0 6px !important;
  }
  
  /* Boutons plus compacts */
  header .site-nav > li > a.btn {
    padding: 6px 10px !important;
    height: 30px;
  }
  
  /* Cacher les textes des boutons, garder seulement les icônes */
  header .site-nav > li > a.btn-primary .fa + span,
  header .site-nav > li > a.btn-primary:not(:has(.fa)) {
    /* Le texte "ESPACE CLIENT" sera caché par la règle suivante */
  }
  
  /* Masquer le texte du bouton panel sur tablette */
  header .site-nav > li > a.btn-primary {
    padding: 6px 12px !important;
  }
  
  /* Réduire la taille du logo */
  header a.site-logo img {
    height: 36px !important;
  }
  
  /* Méga menu plus compact */
  .mega-menu-container {
    min-width: 420px !important;
    padding: 12px !important;
  }
  
  .mega-menu-item {
    padding: 10px 12px !important;
  }
  
  .mega-menu-icon {
    width: 38px;
    height: 38px;
    margin-right: 10px;
  }
  
  .mega-menu-icon img {
    width: 24px;
    height: 24px;
  }
  
  .mega-menu-title {
    font-size: 12px;
  }
  
  .mega-menu-desc {
    font-size: 10px;
  }
}

/* ==========================================================================
   HEADER - ADAPTATION PETITES TABLETTES (992px - 1100px)
   Mode ultra-compact pour les petites tablettes
   ========================================================================== */
@media screen and (min-width: 992px) and (max-width: 1100px) {
  /* Encore plus compact */
  header .site-nav > li {
    margin-left: 2px !important;
  }
  
  header .site-nav > li > a {
    font-size: 10px !important;
    padding: 0 5px !important;
  }
  
  /* Cacher le texte du bouton panel, garder seulement l'icône */
  header .site-nav > li > a.btn-primary {
    font-size: 0 !important;
  }
  
  header .site-nav > li > a.btn-primary .fa,
  header .site-nav > li > a.btn-primary i {
    font-size: 14px !important;
  }
}
