/**
 * VoxoLib Homepage V2 - Styles
 * Couleur primaire : #1E24F5
 * Couleur secondaire (Call Tracking) : #0a8f6e
 */

/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
  --vxl-primary: #1E24F5;
  --vxl-primary-dark: #0a0e3f;
  --vxl-primary-light: #e8e9fe;
  --vxl-secondary: #0a8f6e;
  --vxl-secondary-light: #e6f7f2;
  --vxl-api-color: #f68c09;
  --vxl-api-light: #fef3e2;
  --vxl-text-dark: #012970;
  --vxl-text-body: #444444;
  --vxl-text-light: #666666;
  --vxl-bg-light: #f6f9ff;
  --vxl-white: #ffffff;
  --vxl-radius: 16px;
  --vxl-radius-sm: 8px;
  --vxl-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --vxl-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
  --vxl-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
  --vxl-transition: all 0.3s ease;
}

/* ==========================================================================
   HEADER OVERRIDE - Navbar transparente sur fond sombre (avant scroll)
   Scope : uniquement quand body.voxolib-v2-page est present
   ========================================================================== */

/* Logo : basculer entre logo blanc et logo par defaut */
.voxolib-v2-page .header .logo img.logo-default {
  display: block;
  transition: opacity 0.4s ease;
}

.voxolib-v2-page .header .logo img.logo-white {
  display: none;
  transition: opacity 0.4s ease;
}

/* Avant scroll : afficher logo blanc, masquer logo par defaut */
.voxolib-v2-page .header:not(.header-scrolled) .logo img.logo-white {
  display: block;
}

.voxolib-v2-page .header:not(.header-scrolled) .logo img.logo-default {
  display: none;
}

/* Apres scroll : afficher logo par defaut, masquer logo blanc */
.voxolib-v2-page .header.header-scrolled .logo img.logo-white {
  display: none;
}

.voxolib-v2-page .header.header-scrolled .logo img.logo-default {
  display: block;
}

.voxolib-v2-page .header:not(.header-scrolled) .logo span {
  color: #fff;
}

/* Liens de navigation en blanc */
.voxolib-v2-page .header:not(.header-scrolled) .navbar a,
.voxolib-v2-page .header:not(.header-scrolled) .navbar a:focus {
  color: rgba(255, 255, 255, 0.9);
}

.voxolib-v2-page .header:not(.header-scrolled) .navbar a:hover,
.voxolib-v2-page .header:not(.header-scrolled) .navbar .active,
.voxolib-v2-page .header:not(.header-scrolled) .navbar li:hover > a {
  color: #fff;
}

/* Boutons getstarted : bordure blanche au lieu de fond bleu */
.voxolib-v2-page .header:not(.header-scrolled) .navbar .getstarted,
.voxolib-v2-page .header:not(.header-scrolled) .navbar .getstarted:focus {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  backdrop-filter: blur(4px);
}

.voxolib-v2-page .header:not(.header-scrolled) .navbar .getstarted:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

/* Dropdown menus restent blancs meme avant scroll */
.voxolib-v2-page .header:not(.header-scrolled) .navbar .dropdown ul a,
.voxolib-v2-page .header:not(.header-scrolled) .navbar .dropdown ul a:focus {
  color: #013289;
}

/* Icone hamburger mobile en blanc */
.voxolib-v2-page .header:not(.header-scrolled) .mobile-nav-toggle {
  color: #fff;
}

/* Menu mobile ouvert : textes sombres sur fond blanc */
.voxolib-v2-page .header:not(.header-scrolled) .navbar-mobile a,
.voxolib-v2-page .header:not(.header-scrolled) .navbar-mobile a:focus {
  color: #012970;
}
.voxolib-v2-page .header:not(.header-scrolled) .navbar-mobile a:hover,
.voxolib-v2-page .header:not(.header-scrolled) .navbar-mobile .active,
.voxolib-v2-page .header:not(.header-scrolled) .navbar-mobile li:hover > a {
  color: #1E24F5;
}
.voxolib-v2-page .header:not(.header-scrolled) .navbar-mobile .getstarted,
.voxolib-v2-page .header:not(.header-scrolled) .navbar-mobile .getstarted:focus {
  background: #1E24F5;
  border: none;
  color: #fff;
  backdrop-filter: none;
}

/* Quand scrolle : tout revient a la normale (header-scrolled applique fond blanc) */

/* ==========================================================================
   Section Header commun
   ========================================================================== */
.voxolib-v2-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.voxolib-v2-section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--vxl-primary);
  margin-bottom: 8px;
}

.voxolib-v2-section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--vxl-text-dark);
  margin: 0;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .voxolib-v2-section-header h2 {
    font-size: 28px;
  }
}

/* ==========================================================================
   Boutons communs
   ========================================================================== */
.voxolib-v2-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--vxl-radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: "Nunito", sans-serif;
  text-decoration: none;
  transition: var(--vxl-transition);
  cursor: pointer;
  border: none;
  line-height: 1.2;
}

.voxolib-v2-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.voxolib-v2-btn:hover i {
  transform: translateX(4px);
}

.voxolib-v2-btn--wcb {
  background: var(--vxl-primary);
  color: var(--vxl-white) !important;
}

.voxolib-v2-btn--wcb:hover {
  background: #1519c4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 36, 245, 0.4);
}

.voxolib-v2-btn--ct {
  background: var(--vxl-secondary);
  color: var(--vxl-white) !important;
}

.voxolib-v2-btn--ct:hover {
  background: #087a5e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 143, 110, 0.4);
}

.voxolib-v2-btn--demo {
  background: rgba(255, 255, 255, 0.15);
  color: var(--vxl-white) !important;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}

.voxolib-v2-btn--demo:hover {
  background: var(--vxl-white);
  color: var(--vxl-primary) !important;
  border-color: var(--vxl-white);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO V2 - Style Ringfluent : headline centree, CTAs, 3 piliers, stats
   ========================================================================== */
.voxolib-v2-hero {
  background: linear-gradient(160deg, #040720 0%, #0a0e3f 30%, #151a5e 60%, #1E24F5 100%);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Formes decoratives en fond */
.voxolib-v2-hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.voxolib-v2-hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: #fff;
}

.voxolib-v2-hero-shape--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -150px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  opacity: 1;
}

.voxolib-v2-hero-shape--2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(30,36,245,0.3) 0%, transparent 70%);
  opacity: 1;
}

.voxolib-v2-hero-shape--3 {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 15%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  opacity: 1;
  animation: voxolib-float 8s ease-in-out infinite;
}

@keyframes voxolib-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.voxolib-v2-hero .container {
  position: relative;
  z-index: 1;
}

/* Badge au-dessus du H1 */
.voxolib-v2-hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

/* Contenu principal centre */
.voxolib-v2-hero-content {
  max-width: 780px;
  margin: 0 auto 56px;
}

.voxolib-v2-hero h1 {
  font-size: 50px;
  font-weight: 800;
  color: var(--vxl-white);
  margin: 0 0 24px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.voxolib-v2-hero-highlight {
  position: relative;
  color: var(--vxl-white);
}

.voxolib-v2-hero-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  z-index: -1;
}

.voxolib-v2-hero-subtitle {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 40px;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.voxolib-v2-hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.voxolib-v2-btn--hero-primary {
  background: var(--vxl-white);
  color: var(--vxl-primary) !important;
  font-size: 16px;
  padding: 16px 36px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.voxolib-v2-btn--hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.voxolib-v2-btn--hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--vxl-white) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  font-size: 16px;
  padding: 15px 34px;
  backdrop-filter: blur(4px);
}

.voxolib-v2-btn--hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}

/* 3 Piliers produits */
.voxolib-v2-hero-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px 16px;
  backdrop-filter: blur(8px);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.voxolib-v2-hero-pillar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: center;
  padding: 0 20px;
  min-width: 0;
  overflow: hidden;
}

.voxolib-v2-hero-pillar-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.voxolib-v2-hero-pillar-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.voxolib-v2-hero-pillar-icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.voxolib-v2-hero-pillar-icon--wcb {
  background: rgba(30, 36, 245, 0.25);
  color: #a0a4ff;
}

.voxolib-v2-hero-pillar-icon--ct {
  background: rgba(10, 143, 110, 0.25);
  color: #6dd4b8;
}

.voxolib-v2-hero-pillar-icon--api {
  background: rgba(246, 140, 9, 0.25);
  color: #f6b860;
}

.voxolib-v2-hero-pillar-text {
  text-align: left;
}

.voxolib-v2-hero-pillar-text h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--vxl-white);
  margin: 0 0 2px;
  white-space: nowrap;
}

.voxolib-v2-hero-pillar-text p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  white-space: nowrap;
}

/* Stats */
.voxolib-v2-hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
}

.voxolib-v2-hero-stat {
  text-align: center;
}

.voxolib-v2-hero-stat-number {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--vxl-white);
  font-family: "Nunito", sans-serif;
}

.voxolib-v2-hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Responsive */
@media (max-width: 991px) {
  .voxolib-v2-hero {
    padding: 130px 0 60px;
  }

  .voxolib-v2-hero h1 {
    font-size: 38px;
  }

  .voxolib-v2-hero-pillars {
    gap: 0;
    padding: 20px 10px;
  }

  .voxolib-v2-hero-pillar {
    padding: 0 12px;
    gap: 10px;
  }

  .voxolib-v2-hero-pillar-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .voxolib-v2-hero-pillar-icon svg {
    width: 20px;
    height: 20px;
  }

  .voxolib-v2-hero-pillar-text h3 {
    font-size: 14px;
  }

  .voxolib-v2-hero-pillar-text p {
    font-size: 11px;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .voxolib-v2-hero {
    padding: 120px 0 48px;
  }

  .voxolib-v2-hero h1 {
    font-size: 30px;
    letter-spacing: 0;
  }

  .voxolib-v2-hero-subtitle {
    font-size: 16px;
  }

  .voxolib-v2-hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .voxolib-v2-hero-ctas .voxolib-v2-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .voxolib-v2-hero-pillars {
    flex-direction: column;
    gap: 0;
    padding: 24px 20px;
  }

  .voxolib-v2-hero-pillar {
    padding: 12px 0;
    justify-content: flex-start;
    width: 100%;
  }

  .voxolib-v2-hero-pillar-divider {
    width: 80%;
    height: 1px;
    margin: 0 auto;
  }

  .voxolib-v2-hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .voxolib-v2-hero-stat-number {
    font-size: 26px;
  }
}

/* ==========================================================================
   TRUST BANNER
   ========================================================================== */
.voxolib-v2-trust {
  padding: 40px 0;
  background: var(--vxl-white);
  overflow: hidden;
}

.voxolib-v2-trust-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--vxl-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.voxolib-v2-trust-track {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.voxolib-v2-trust-track::before,
.voxolib-v2-trust-track::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
}

.voxolib-v2-trust-track::before {
  left: 0;
  background: linear-gradient(to right, var(--vxl-white), transparent);
}

.voxolib-v2-trust-track::after {
  right: 0;
  background: linear-gradient(to left, var(--vxl-white), transparent);
}

.voxolib-v2-trust-slider {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: voxolib-marquee 30s linear infinite;
  width: max-content;
}

.voxolib-v2-trust-slider img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--vxl-transition);
}

.voxolib-v2-trust-slider img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes voxolib-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTION PRODUITS V2
   ========================================================================== */
.voxolib-v2-products {
  padding: 80px 0;
  background: var(--vxl-bg-light);
}

.voxolib-v2-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.voxolib-v2-product-card {
  background: var(--vxl-white);
  border-radius: var(--vxl-radius);
  padding: 40px 32px;
  box-shadow: var(--vxl-shadow-sm);
  transition: var(--vxl-transition);
  display: flex;
  flex-direction: column;
}

.voxolib-v2-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--vxl-shadow-hover);
}

.voxolib-v2-product-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.voxolib-v2-product-icon--wcb {
  background: var(--vxl-primary-light);
  color: var(--vxl-primary);
}

.voxolib-v2-product-icon--ct {
  background: var(--vxl-secondary-light);
  color: var(--vxl-secondary);
}

.voxolib-v2-product-icon--api {
  background: var(--vxl-api-light);
  color: var(--vxl-api-color);
}

.voxolib-v2-product-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--vxl-text-dark);
  margin: 0 0 12px;
}

.voxolib-v2-product-card > p {
  font-size: 15px;
  color: var(--vxl-text-light);
  line-height: 1.6;
  margin: 0 0 20px;
}

.voxolib-v2-product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.voxolib-v2-product-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--vxl-text-body);
  line-height: 1.5;
}

.voxolib-v2-product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--vxl-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px;
}

.voxolib-v2-product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--vxl-primary) !important;
  text-decoration: none;
  transition: var(--vxl-transition);
}

.voxolib-v2-product-cta i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.voxolib-v2-product-cta:hover {
  gap: 10px;
}

.voxolib-v2-product-cta:hover i {
  transform: translateX(4px);
}

.voxolib-v2-product-cta--ct {
  color: var(--vxl-secondary) !important;
}

.voxolib-v2-product-cta--api {
  color: var(--vxl-api-color) !important;
}

@media (max-width: 991px) {
  .voxolib-v2-products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   SECTION POURQUOI VOXOLIB
   ========================================================================== */
.voxolib-v2-why {
  padding: 80px 0;
  background: var(--vxl-white);
}

.voxolib-v2-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.voxolib-v2-why-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--vxl-radius);
  transition: var(--vxl-transition);
}

.voxolib-v2-why-card:hover {
  background: var(--vxl-bg-light);
  transform: translateY(-4px);
}

.voxolib-v2-why-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--vxl-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.voxolib-v2-why-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--vxl-text-dark);
  margin: 0 0 12px;
}

.voxolib-v2-why-card p {
  font-size: 14px;
  color: var(--vxl-text-light);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .voxolib-v2-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 576px) {
  .voxolib-v2-why-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SECTION REFERENCES CLIENTS
   ========================================================================== */
.voxolib-v2-references {
  padding: 80px 0;
  background: var(--vxl-bg-light);
}

.voxolib-v2-references-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voxolib-v2-ref-card {
  background: var(--vxl-white);
  border-radius: var(--vxl-radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--vxl-shadow-sm);
  transition: var(--vxl-transition);
}

.voxolib-v2-ref-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vxl-shadow);
}

.voxolib-v2-ref-logo {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.voxolib-v2-ref-logo img {
  max-height: 48px;
  max-width: 160px;
  object-fit: contain;
}

.voxolib-v2-ref-logo-placeholder {
  width: 80px;
  height: 48px;
  background: var(--vxl-bg-light);
  border-radius: var(--vxl-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--vxl-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.voxolib-v2-ref-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--vxl-text-dark);
  margin: 0 0 10px;
}

.voxolib-v2-ref-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.voxolib-v2-ref-badge--inspection {
  background: #e8f0fe;
  color: #1967d2;
}

.voxolib-v2-ref-badge--finance {
  background: #fef3e2;
  color: #b06000;
}

.voxolib-v2-ref-badge--tech {
  background: #e6f7f2;
  color: #0a8f6e;
}

.voxolib-v2-ref-badge--assurance {
  background: #fce8e8;
  color: #c62828;
}

.voxolib-v2-ref-badge--immobilier {
  background: #f3e8fd;
  color: #7b1fa2;
}

.voxolib-v2-ref-badge--energie {
  background: #e8f5e9;
  color: #2e7d32;
}

.voxolib-v2-ref-product {
  font-size: 13px;
  color: var(--vxl-text-light);
  margin: 0;
}

@media (max-width: 991px) {
  .voxolib-v2-references-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .voxolib-v2-references-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SECTION FAQ V2
   ========================================================================== */
.voxolib-v2-faq {
  padding: 80px 0;
  background: var(--vxl-white);
}

.voxolib-v2-faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.voxolib-v2-faq-item {
  border-bottom: 1px solid #e8ecf4;
}

.voxolib-v2-faq-item:first-child {
  border-top: 1px solid #e8ecf4;
}

.voxolib-v2-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--vxl-transition);
}

.voxolib-v2-faq-question h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--vxl-text-body);
  margin: 0;
  flex: 1;
  transition: var(--vxl-transition);
}

.voxolib-v2-faq-question:hover h3 {
  color: var(--vxl-primary);
}

.voxolib-v2-faq-question[aria-expanded="true"] h3 {
  color: var(--vxl-primary);
}

.voxolib-v2-faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--vxl-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--vxl-transition);
  color: var(--vxl-primary);
}

.voxolib-v2-faq-question[aria-expanded="true"] .voxolib-v2-faq-icon {
  background: var(--vxl-primary);
  color: var(--vxl-white);
  transform: rotate(180deg);
}

.voxolib-v2-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.voxolib-v2-faq-answer-content {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--vxl-text-light);
  line-height: 1.7;
}

.voxolib-v2-faq-answer-content p {
  margin: 0;
}

/* ==========================================================================
   SECTION CTA FINAL
   ========================================================================== */
.voxolib-v2-cta-final {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a0e3f 0%, #1E24F5 100%);
  text-align: center;
}

.voxolib-v2-cta-final h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--vxl-white);
  margin: 0 0 16px;
}

.voxolib-v2-cta-final-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.voxolib-v2-cta-final-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.voxolib-v2-btn--cta-primary {
  background: var(--vxl-white);
  color: var(--vxl-primary) !important;
  font-size: 16px;
  padding: 16px 36px;
}

.voxolib-v2-btn--cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.voxolib-v2-btn--cta-secondary {
  background: transparent;
  color: var(--vxl-white) !important;
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-size: 16px;
  padding: 14px 34px;
}

.voxolib-v2-btn--cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.voxolib-v2-cta-final-trust {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

@media (max-width: 768px) {
  .voxolib-v2-cta-final h2 {
    font-size: 26px;
  }
}

/* ==========================================================================
   SECTION BLOG V2
   ========================================================================== */
.voxolib-v2-blog {
  padding: 80px 0;
  background: var(--vxl-bg-light);
}

.voxolib-v2-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.voxolib-v2-blog-card {
  background: var(--vxl-white);
  border-radius: var(--vxl-radius);
  overflow: hidden;
  box-shadow: var(--vxl-shadow-sm);
  transition: var(--vxl-transition);
  display: flex;
  flex-direction: column;
}

.voxolib-v2-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--vxl-shadow-hover);
}

.voxolib-v2-blog-img {
  overflow: hidden;
  height: 200px;
}

.voxolib-v2-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.voxolib-v2-blog-card:hover .voxolib-v2-blog-img img {
  transform: scale(1.08);
}

.voxolib-v2-blog-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.voxolib-v2-blog-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--vxl-primary);
  margin-bottom: 8px;
  display: block;
}

.voxolib-v2-blog-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.4;
}

.voxolib-v2-blog-body h3 a {
  color: var(--vxl-text-dark);
  text-decoration: none;
  transition: var(--vxl-transition);
}

.voxolib-v2-blog-body h3 a:hover {
  color: var(--vxl-primary);
}

.voxolib-v2-blog-body > p {
  font-size: 14px;
  color: var(--vxl-text-light);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.voxolib-v2-blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--vxl-primary) !important;
  text-decoration: none;
  transition: var(--vxl-transition);
}

.voxolib-v2-blog-readmore:hover {
  gap: 10px;
}

@media (max-width: 991px) {
  .voxolib-v2-blog-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   SECTION NEWSLETTER V2
   ========================================================================== */
.voxolib-v2-newsletter {
  padding: 60px 0;
  background: var(--vxl-white);
}

.voxolib-v2-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--vxl-bg-light);
  border-radius: var(--vxl-radius);
  padding: 40px 48px;
  border: 1px solid #e1ecff;
}

.voxolib-v2-newsletter-text h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--vxl-text-dark);
  margin: 0 0 8px;
}

.voxolib-v2-newsletter-text p {
  font-size: 15px;
  color: var(--vxl-text-light);
  margin: 0;
  line-height: 1.5;
}

.voxolib-v2-newsletter-form {
  display: flex;
  gap: 0;
  min-width: 380px;
}

.voxolib-v2-newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid #d1d9e8;
  border-right: none;
  border-radius: var(--vxl-radius-sm) 0 0 var(--vxl-radius-sm);
  font-size: 15px;
  outline: none;
  transition: var(--vxl-transition);
}

.voxolib-v2-newsletter-form input[type="email"]:focus {
  border-color: var(--vxl-primary);
}

.voxolib-v2-newsletter-form button {
  padding: 14px 28px;
  background: var(--vxl-primary);
  color: var(--vxl-white);
  border: none;
  border-radius: 0 var(--vxl-radius-sm) var(--vxl-radius-sm) 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--vxl-transition);
  white-space: nowrap;
}

.voxolib-v2-newsletter-form button:hover {
  background: #1519c4;
}

.voxolib-v2-newsletter-form-wrapper {
  min-width: 380px;
}

.voxolib-v2-newsletter-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.voxolib-v2-newsletter-message {
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: var(--vxl-radius-sm);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.voxolib-v2-newsletter-message--success {
  background: #e6f7f2;
  color: #0a8f6e;
  border: 1px solid #b8e6d8;
}

.voxolib-v2-newsletter-message--error {
  background: #fef2f2;
  color: #c62828;
  border: 1px solid #f5c6c6;
}

@media (max-width: 768px) {
  .voxolib-v2-newsletter-inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .voxolib-v2-newsletter-form-wrapper {
    min-width: 0;
    width: 100%;
  }

  .voxolib-v2-newsletter-form {
    min-width: 0;
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .voxolib-v2-newsletter-form input[type="email"] {
    border-right: 1px solid #d1d9e8;
    border-radius: var(--vxl-radius-sm);
  }

  .voxolib-v2-newsletter-form button {
    border-radius: var(--vxl-radius-sm);
  }
}

/* Exit-intent popup : supprime (deplace vers footer.php + Bootstrap modal) */
