/* === 1. Palette & Variables Modernisées === */
:root {
  --font-family: 'Inter', Arial, sans-serif;
  --color-primary: #2563eb; /* bleu profond */
  --color-secondary: #0ea5e9; /* bleu clair */
  --color-accent: #84fa32; /* vert lime lumineux */
  --color-bg: #eaf1ff; /* fond bleu très pâle */
  --color-bg-glass: rgba(255,255,255,0.85);
  --color-text: #0a1833;
  --color-text-light: #f8fafc;
  --radius: 18px;
  --transition: 0.3s cubic-bezier(.4,2,.3,1);
  --shadow-sm: 0 2px 8px rgba(37,99,235,0.08);
  --shadow-md: 0 8px 32px rgba(37,99,235,0.13);
  --glass-blur: blur(12px);
  --color-highlight: #84fa32; /* lime accent */
  --color-success: #22d3ee;
  --color-error: #f87171;
  --gradient-main: linear-gradient(90deg, #2563eb 0%, #0ea5e9 100%);
  --gradient-accent: linear-gradient(90deg, #2563eb 60%, #84fa32 100%);
  --shine-animation: shine 2s infinite linear;
}

/* === 2. Body & Background === */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-family);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* Animation d'apparition du fond */
  animation: bodyFadeIn 1.2s cubic-bezier(.4,2,.3,1);
}
@keyframes bodyFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* === 3. Header Modernisé === */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #0a1833 60%, #2563eb 100%);
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0 0 var(--radius) var(--radius);
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  /* Animation slide-down */
  animation: headerDrop 1s cubic-bezier(.4,2,.3,1);
}
@keyframes headerDrop {
  from { transform: translateY(-60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.logo img {
  height: 54px;
  filter: drop-shadow(0 2px 8px #2563eb33);
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center; /* Aide au centrage des liens */
}
.nav-links a {
  color: #ffffff;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

.nav-links a.active, .nav-links a:hover {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 2px 12px #84fa3233;
  transform: translateY(-2px) scale(1.04);
}

/* === Hamburger et menu mobile === */
/* Masquer le hamburger sur desktop, afficher sur mobile */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
  background: none;
  border: none;
  padding: 5px;
  transition: transform 0.3s ease;
  margin-left: 10px; /* Ajouté pour éviter que le hamburger ne colle au bord */
}

/* État hamburger actif (quand menu ouvert) */
.hamburger.active {
  transform: rotate(90deg);
}

/* Menu responsive */
@media (max-width: 900px) {
  header {
    padding: 15px 20px; /* Légèrement réduit pour le mobile */
    justify-content: space-between; /* Important pour l'alignement en version mobile */
  }
  
  .hamburger {
    display: block;
    order: 3; /* Assure que le hamburger est à droite */
  }
  
  .logo {
    order: 1; /* Le logo reste à gauche */
    flex: 0 0 auto; /* Empêche le logo de s'étirer */
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: linear-gradient(90deg, #0a1833 60%, #2563eb 100%);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 100;
    gap: 10px;
    order: 2; /* Le menu est au milieu en terme d'ordre visuel */
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 15px;
  }
}

/* Version desktop: s'assurer que le header est bien équilibré */
@media (min-width: 901px) {
  header {
    justify-content: space-between;
  }
  
  .logo {
    flex: 0 0 auto; /* Le logo ne doit pas s'étirer */
    margin-right: 20px; /* Espace entre le logo et la navigation */
  }
  
  .nav-links {
    flex: 1 1 auto; /* La navigation peut s'étirer pour remplir l'espace */
    justify-content: center; /* Centre les liens de navigation */
  }
}

/* === 4. Hero Section Ultra-Visuelle === */
.hero {
  text-align: center;
  padding: 90px 20px 60px 20px;
  background: var(--gradient-main);
  color: var(--color-text-light);
  border-radius: var(--radius);
  margin-bottom: 36px;
  box-shadow: 0 8px 32px #2563eb22;
  position: relative;    /* 1. conteneur positionné */
  overflow: hidden;
  /* Animation d'apparition */
  animation: heroFadeIn 1.3s cubic-bezier(.4,2,.3,1);
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: scale(0.98) translateY(40px);}
  to   { opacity: 1; transform: scale(1) translateY(0);}
}
.hero:before {
  content: '';
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 400px;
  background: radial-gradient(circle at 60% 40%, #84fa32cc 0%, transparent 70%);
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
  animation: pulse 3s infinite ease-in-out;
}
@keyframes pulse {
  0% { opacity: 0.12; transform: scale(1); }
  50% { opacity: 0.18; transform: scale(1.05); }
  100% { opacity: 0.12; transform: scale(1); }
}
/* Hero title blanc très lisible */
.hero-title-white {
  color: #fff !important;
  text-shadow: 0 2px 12px #0a1833cc, 0 1px 32px #2563eb88;
  font-weight: 800;
}

/* Grille de départements pour souscription/demo */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 12px;
  margin: 18px 0 8px 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.dep-checkbox {
  display: none;
}
.dep-label {
  display: block;
  background: var(--color-bg-glass);
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  padding: 10px 0;
  text-align: center;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s, opacity 0.2s;
  user-select: none;
}
.dep-checkbox:checked + .dep-label {
  background: var(--gradient-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.dep-checkbox:disabled + .dep-label {
  opacity: 0.4;
  background: #e5e7eb;
  color: #888;
  border-color: #ddd;
  cursor: not-allowed;
}

/* === 5. Block & Section Styles Modernes === */
.block {
  margin: 40px 0;
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--color-bg-glass);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  animation: blockFadeIn 1.1s cubic-bezier(.4,2,.3,1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.block img {
  margin: 0 auto;
  display: block;
}

/* Modifications pour que le contenu soit centré dans les blocks */
@keyframes blockFadeIn {
  from { opacity: 0; transform: translateY(30px);}
  to   { opacity: 1; transform: translateY(0);}
}
.block h2, .block h3 {
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.block .cta-group {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.block .cta-group a {
  background: var(--gradient-accent);
  color: #fff !important;
  font-weight: 700;
  border-radius: 10px;
  padding: 16px 30px;
  box-shadow: 0 2px 12px #84fa3233;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

/* Pour les images côte à côte - Mode d'emploi */
.image-duo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px auto;
  max-width: 100%;
}

.image-duo img {
  max-width: 48%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Pour afficher FRESH et GLOBAL côte à côte */
.features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 30px 0;
}

.features-row .block {
  flex: 1 1 45%;
  min-width: 300px;
}

/* === 6. Carousel Témoignages Modernisé === */
.carousel {
  overflow: hidden;
  position: relative;
  margin: 36px 0 12px 0;
  width: 100%;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.carousel-inner {
  display: flex;
  transition: transform 0.7s cubic-bezier(.4,2,.3,1);
  will-change: transform;
}
.carousel-item {
  flex: 0 0 50%;
  min-width: 50%;
  padding: 32px 24px;
  background: transparent;
  border-radius: var(--radius);
  box-shadow: none;
  margin: 0 6px;
  opacity: 0.95;
  transition: box-shadow 0.2s, opacity 0.2s;
}
.carousel-item blockquote {
  font-size: 1.15rem;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 1.2rem;
}
.carousel-item .testimonial-author {
  color: var(--color-accent);
  font-weight: 700;
  text-align: right;
}
@media (max-width: 900px) {
  .carousel-item { flex: 0 0 100%; min-width: 100%; }
}

/* === 7. Footer Modernisé === */
footer {
  background: linear-gradient(90deg, #0a1833 60%, #2563eb 100%);
  color: #fff;
  padding: 30px 20px 20px 20px;
  margin-top: auto;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -2px 24px #0ea5e933;
  text-align: center;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
}
footer a {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 600;
}
footer a:hover {
  color: #fff;
  text-decoration: none;
}

/* === 8. Animations d'apparition (AOS-like) === */
.aos-init {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity 0.7s, transform 0.7s;
}
.aos-animate {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* === 9. Responsive & Mobile === */
@media (max-width: 800px) {
  .hero h1 { font-size: 1.7rem; }
  .hero video { max-width: 98vw; }
  .block { padding: 20px 8px; }
  .carousel-item { padding: 18px 6px; }
  header { padding: 10px 8px; }
}
@media (max-width: 600px) {
  .hero { padding: 50px 4vw 30px 4vw; }
  .block { margin: 20px 0; }
  .carousel { margin: 20px 0 6px 0; }
}

/* === Articles Layout Uniforme & Images Redimensionnées === */
.article-row {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  margin: 48px 0;
  flex-wrap: wrap;
}
.article-row.reverse {
  flex-direction: row-reverse;
}
.article-image {
  flex: 1 1 40%;
  max-width: 45%;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 4px 24px #2563eb22, 0 1.5px 0px #84fa32;
  background: #fff;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(.4,2,.3,1), box-shadow 0.3s;
}
.article-image img:hover {
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 8px 32px #0ea5e944;
}
.article-text {
  flex: 1 1 40%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-text h2 {
  color: var(--color-primary);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.article-text p {
  font-size: 1.08rem;
  color: var(--color-text);
}

/* Responsive pour articles - mise à jour pour tablettes et mobiles */
@media (max-width: 900px) {
  .article-row, .article-row.reverse {
    flex-direction: column !important;
    gap: 18px;
    align-items: stretch;
  }
  .article-image {
    max-width: 100%;
    margin: 0 auto;
    justify-content: flex-start;
  }
  .article-image img {
    max-width: 100%;
  }
  .article-text {
    width: 100%;
  }
}

/* === Police unique partout (Inter) === */
body, h1, h2, h3, h4, h5, h6, p, a, input, select, textarea, button, label {
  font-family: 'Inter', Arial, sans-serif !important;
  font-variation-settings: 'wght' 400;
  font-weight: 400;
}
.btn, .btn-primary {
  font-family: 'Inter', Arial, sans-serif !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 15px;
}

/* === Titres centrés et attractifs === */
h1, h2, h3, .block h2, .block h3, .section h2, .section h3 {
  text-align: center;
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 1.18;
  position: relative;
}
h1, .block h1, .section h1 {
  font-size: 2.3rem;
  margin-top: 0.5em;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 16px #2563eb22;
}
h2, .block h2, .section h2 {
  font-size: 1.7rem;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
  text-shadow: 0 2px 12px #2563eb22;
}
h3, .block h3, .section h3 {
  font-size: 1.25rem;
  margin-top: 1.1em;
  margin-bottom: 1em;
  color: var(--color-primary);
  text-shadow: 0 1px 6px #2563eb11;
}

/* === Style boutons pour titres du sommaire articles === */
.toc h2 {
  color: var(--color-primary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-align: center;
}

.toc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 2rem;
}

.toc-links a {
  background: var(--gradient-main);
  color: #fff;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(37,99,235,0.2);
  display: inline-block;
}

.toc-links a:hover {
  background: var(--gradient-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

/* === Tarifs Cards Modernes et Uniformes === */
.tarifs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin: 40px 0;
}
.tarif-card {
  background: var(--color-bg-glass);
  border-radius: var(--radius);
  padding: 36px 28px 32px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 320px;
  max-width: 370px;
  margin: 0 8px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.tarif-card:hover {
  box-shadow: 0 12px 40px #2563eb22;
  transform: translateY(-4px) scale(1.03);
}
.tarif-card h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 0.7rem;
  text-align: center;
}
.tarif-card .price {
  font-size: 2rem;
  font-weight: 800;
  margin: 10px 0 18px 0;
  color: var(--color-highlight);
  text-align: center;
}
.tarif-card .old-price {
  font-size: 1.1rem;
  color: #888;
  text-decoration: line-through;
  margin-bottom: 0.2em;
  display: block;
  text-align: center;
}
.tarif-card ul {
  list-style: none;
  margin: 18px 0 0 0;
  padding: 0;
  width: 100%;
}
.tarif-card ul li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  font-size: 1.05rem;
}
.tarif-card ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}
.tarif-card .btn, .tarif-card .btn-primary {
  margin-top: 24px;
  width: 100%;
  font-size: 1.13rem;
  padding: 16px 0; /* ajout de padding vertical */
}

/* === Formulaire Contact: vertical, espacé, responsive === */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 800px; /* Augmenté de 600px à 800px */
  width: 95%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
form label {
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
}
form input, form select, form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #cde;
  border-radius: 12px;
  font-size: 1.05rem;
  margin-bottom: 8px;
  background: white;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  box-sizing: border-box;
  max-width: 100%;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}
form button, form [type="submit"] {
  margin-top: 25px;
  width: 100%;
  background: var(--gradient-accent);
  color: #fff !important;
  border: none;
  padding: 18px 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
  font-size: 1.15rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  margin-bottom: 40px; /* Ajoute de l'espace en bas du bouton */
}

/* Correction pour les formulaires dans .block ou .section */
.block form, .section form {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

/* Centrage du bloc À propos */
.block.about-leadxplore {
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}
.block.about-leadxplore p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* === Contact Intro Styling === */
.contact-intro p {
  text-align: center;
  color: var(--color-text);
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

/* === Hero CTA Encadré et Responsive === */
.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gradient-accent);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-text {
  color: white; /* Texte en blanc */
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 10px 0;
  text-align: center;
}

/* S'assurer que tous les boutons ont un texte blanc */
.btn-primary, 
.hero-cta-btn, 
.btn, 
.cta-group a, 
.tarif-card .btn-primary, 
form button, 
form [type="submit"] {
  color: white !important;
  font-weight: 700;
  text-decoration: none;
}

/* Effet scintillant pour les tarifs */
@keyframes shine {
  0% {
    box-shadow: var(--shadow-md);
  }
  25% {
    box-shadow: 0 0 25px rgba(132, 250, 50, 0.6);
  }
  50% {
    box-shadow: var(--shadow-md);
  }
  75% {
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.6);
  }
  100% {
    box-shadow: var(--shadow-md);
  }
}

.tarif-card.shine {
  animation: var(--shine-animation);
}

.tarif-card.shine:hover {
  animation: none;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.3);
}

/* Responsivité pour écrans plus petits */
@media (max-width: 768px) {
  .features-row {
    flex-direction: column;
  }
  
  .features-row .block {
    width: 100%;
  }
  
  .image-duo img {
    max-width: 100%;
  }
  
  form {
    width: 90%;
    padding: 20px 15px;
  }
}

/* === Compte à rebours attrayant et visible === */
#countdown {
  background: var(--gradient-accent);
  color: #0a1833;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 15px 20px;
  border-radius: var(--radius);
  text-align: center;
  margin: 15px auto 30px;
  max-width: 600px;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
  position: relative;
  overflow: hidden;
  animation: pulse-border 2s infinite, glow 1.5s infinite alternate;
}

#countdown:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: translateX(-100%);
  animation: shine-sweep 3s infinite;
  z-index: 1;
}

#countdown .highlight {
  color: #fff;
  font-weight: 800;
  background: var(--color-primary);
  padding: 3px 10px;
  border-radius: 6px;
  display: inline-block;
  margin: 0 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@keyframes pulse-border {
  0% { box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3), 0 0 0 0 rgba(132, 250, 50, 0.7); }
  70% { box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3), 0 0 0 10px rgba(132, 250, 50, 0); }
  100% { box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3), 0 0 0 0 rgba(132, 250, 50, 0); }
}

@keyframes glow {
  from { box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3), 0 0 5px rgba(132, 250, 50, 0.5); }
  to { box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3), 0 0 20px rgba(132, 250, 50, 0.8); }
}

@keyframes shine-sweep {
  0% { transform: translateX(-100%); }
  20% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* === CGU/CGV Modal and Buttons === */
.cgu-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.cgu-read-btn {
  background: var(--gradient-main);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  width: 100%;
  font-size: 1rem;
}

.cgu-read-btn:hover {
  background: var(--gradient-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cgu-checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

.cgu-checkbox {
  width: 20px;
  height: 20px;
  cursor: not-allowed;
}

.cgu-checkbox-label {
  font-weight: 600;
  color: var(--color-primary);
  flex: 1;
}

.cgu-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.cgu-modal-content {
  background: #fff;
  width: 80%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cgu-modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gradient-main);
  color: #fff;
}

.cgu-modal-header h3 {
  margin: 0;
  color: #fff;
}

.cgu-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

.cgu-modal-body {
  padding: 20px;
  overflow-y: auto;
  max-height: 70vh;
}

.cgu-modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  background: #f9fafb;
}

.cgu-accept-btn {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cgu-accept-btn:disabled {
  background: #e5e7eb;
  color: #888;
  cursor: not-allowed;
}

.cgu-accept-btn:not(:disabled):hover {
  background: var(--color-accent);
}

/* === Cookie Consent Banner === */
.cookie-banner {
  position: fixed;
  bottom: -150px;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #0a1833 60%, #2563eb 100%);
  color: white;
  z-index: 1000;
  padding: 0 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  transition: bottom 0.5s ease-in-out;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.cookie-banner.visible {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cookie-banner h3 {
  color: var(--color-accent);
  margin-bottom: 10px;
}

.cookie-banner p {
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 5px;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: var(--color-accent);
  color: var(--color-text);
}

.cookie-decline {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.cookie-accept:hover {
  background: white;
  transform: translateY(-2px);
}

.cookie-decline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* === Images responsives pour les fonctionnalités === */
.illustration {
  max-width: 80%;
  height: auto;
  width: 70%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  display: block;
}

@media (max-width: 768px) {
  .content-block img.illustration {
    width: 80%;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* === Multi-Step Form === */
.form-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
}

/* Progress Bar */
.progress-container {
  width: 100%;
  margin-bottom: 30px;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  position: relative;
  max-width: 600px;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 2px;
  width: 100%;
  background: #e5e7eb;
  z-index: 0;
}

.progress-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #6b7280;
  z-index: 1;
}

.progress-step .step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.progress-step .step-text {
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.progress-step.active .step-text {
  color: var(--color-primary);
  font-weight: 700;
}

/* Form Steps */
.form-step {
  width: 100%;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-primary);
}

.form-group .required {
  color: #ef4444;
}

.form-group .help-text {
  display: block;
  margin-top: 5px;
  color: #6b7280;
  font-size: 0.8rem;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  gap: 20px;
}

.btn-secondary {
  background: #e5e7eb;
  color: #374151;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #d1d5db;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 5px;
}

.checkbox-group label {
  margin-bottom: 0;
}

/* Pricing Cards */
.pricing-cards {
  display: flex;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.pricing-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), 0 10px 25px rgba(37, 99, 235, 0.2);
}

.pricing-card.recommended {
  border-color: var(--color-accent);
}

.pricing-card.selected {
  border-color: var(--color-primary);
  background: #f0f7ff;
}

.pricing-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 20px;
}

.pricing-card-header {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.pricing-card-header h3 {
  margin: 0 0 15px 0;
  font-size: 1.2rem;
}

.pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.old-price {
  color: #6b7280;
  text-decoration: line-through;
  font-size: 1rem;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin: 5px 0;
}

.pricing-period {
  font-size: 0.8rem;
  color: #6b7280;
}

.pricing-card-body {
  padding: 20px;
}

.pricing-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-card-body li {
  padding: 8px 0 8px 25px;
  position: relative;
  font-size: 0.9rem;
  color: #374151;
}

.pricing-card-body li:before {
  content: '✓';
  color: var(--color-accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.pricing-card-footer {
  padding: 20px;
  text-align: center;
}

.select-plan {
  width: 100%;
  background: var(--gradient-main);
  color: white;
  border: none;
  padding: 12px 0;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-plan:hover {
  background: var(--gradient-accent);
}

.hidden-field {
  display: none;
}

/* Order Summary */
.order-summary-container {
  position: sticky;
  top: 100px;
  width: 100%;
  max-width: 300px;
}

.order-summary {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.order-summary h3 {
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.summary-item {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.summary-label {
  font-weight: 600;
  color: #6b7280;
}

.summary-total {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--color-primary);
}

.contact-support {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px dashed #e5e7eb;
  font-size: 0.9rem;
}

.contact-support p {
  margin: 0 0 10px 0;
  font-weight: 600;
}

.support-phone, .support-email {
  display: block;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: 5px;
}

/* Department Selector */
.dept-explanation {
  margin-bottom: 15px;
  color: #6b7280;
}

/* Value Proposition Section */
.value-prop-section {
  text-align: center;
  margin-bottom: 40px;
}

.value-props {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.value-prop-item {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.value-prop-item:hover {
  transform: translateY(-5px);
}

.value-prop-item i {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 15px;
}

.value-prop-item h3 {
  margin: 0 0 10px 0;
  color: var(--color-primary);
}

.value-prop-item p {
  margin: 0;
  color: #6b7280;
}

/* Testimonial Mini Carousel */
.testimonial-mini-carousel {
  margin: 40px 0;
}

.testimonial-mini-carousel h3 {
  margin-bottom: 20px;
}

.carousel-container {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

/* Client Logos */
.client-logos {
  margin: 40px 0;
}

.client-logos h3 {
  margin-bottom: 20px;
}

.logos-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.logos-container img {
  height: 40px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.logos-container img:hover {
  opacity: 1;
}

/* SEPA Mandate */
.sepa-mandate-info {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  padding: 20px;
  background: #f9fafb;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
}

.sepa-logo {
  flex: 0 0 100px;
  display: flex;
  align-items: center;
}

.sepa-logo img {
  max-width: 100%;
}

.sepa-details {
  flex: 1;
}

.sepa-details h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.sepa-details p {
  margin: 0 0 10px 0;
  font-size: 0.9rem;
}

.sepa-details .note {
  font-size: 0.8rem;
  color: #6b7280;
  font-style: italic;
}

/* Payment Options */
.payment-options {
  display: flex;
  margin-bottom: 20px;
}

.payment-option {
  padding: 10px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-option.active {
  border-color: var(--color-primary);
  background: #f0f7ff;
}

.payment-option input[type="radio"] {
  margin: 0;
}

/* Security Badges */
.security-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge img {
  height: 40px;
}

/* Form Disclaimer & Legal Notice */
.form-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
  padding: 15px;
  background: #f0f7ff;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #4b5563;
  text-align: center;
}

.form-disclaimer i {
  color: var(--color-primary);
}

.legal-notice {
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
  margin-top: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .form-container {
    flex-direction: column;
  }
  
  .order-summary-container {
    position: relative;
    top: 0;
    max-width: 100%;
    margin-bottom: 30px;
  }
  
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card {
    width: 100%;
  }
  
  .sepa-mandate-info {
    flex-direction: column;
  }
  
  .progress-step .step-text {
    font-size: 0.7rem;
  }
}

/* === Podcast Player Styles === */
.podcast-container {
  background: var(--color-bg-glass);
  border-radius: var(--radius);
  padding: 25px;
  margin: 30px auto;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.podcast-container:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.podcast-container h3 {
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 15px;
}

.podcast-description {
  margin-bottom: 20px;
  color: var(--color-text);
  font-size: 1.05rem;
}

.podcast-player {
  width: 100%;
  height: 50px;
  outline: none;
  border-radius: 8px;
  background: #f9fafb;
  margin-top: 15px;
}

.podcast-player::-webkit-media-controls-panel {
  background: linear-gradient(90deg, #f0f7ff 0%, #eaf1ff 100%);
}

.podcast-player::-webkit-media-controls-play-button,
.podcast-player::-webkit-media-controls-volume-slider {
  accent-color: var(--color-primary);
}

.podcast-player::-webkit-media-controls-timeline {
  accent-color: var(--color-accent);
}

.podcast-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  display: inline-block;
}

@media (max-width: 768px) {
  .podcast-container {
    padding: 20px 15px;
  }
  
  .podcast-description {
    font-size: 0.95rem;
  }
}

/* === Video Responsive Container === */
.video-container {
  position: relative;
  width: 100%;
  max-width: 90%;
  min-height: 200px; /* Hauteur minimale divisée par 2 */
  margin: 2rem auto;
  overflow: hidden;
  padding-bottom: 35%; /* Réduit pour diminuer la hauteur mais conserver le ratio */
  height: 0;
  max-height: 500px; /* Limite la hauteur maximale */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Taille par défaut pour PC - grand écran */
@media (min-width: 1200px) {
  .video-container {
    max-width: 1000px;
    min-height: 250px; /* Divisé par 2 */
    padding-bottom: 30%; /* Réduit pour les grands écrans */
  }
}

/* Ajustement pour les écrans moyens */
@media (min-width: 768px) and (max-width: 1199px) {
  .video-container {
    max-width: 85%;
    min-height: 225px; /* Divisé par 2 */
    padding-bottom: 32%; /* Ajusté pour écrans moyens */
  }
}

/* Taille pour les petits écrans - INCHANGÉE */
@media (max-width: 767px) {
  .video-container {
    max-width: 100%;
    min-height: 300px;
    padding-bottom: 56.25%; /* Ratio 16:9 standard préservé pour mobile */
    margin: 1rem auto;
  }
}

/* Très petits écrans (mobiles) - INCHANGÉE */
@media (max-width: 480px) {
  .video-container {
    min-height: 200px;
  }
}
