/*
Theme Name: Astra Child - Clean Power
Theme URI: https://cpxcp.com
Description: Thème enfant Astra pour Clean Power & Check Power - Design premium personnalisé
Author: Amsha7
Author URI: https://cpxcp.com
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* Fix : forcer les shortcodes plein largeur dans Elementor */
.elementor-widget-shortcode,
.elementor-shortcode {
  width: 100% !important;
  max-width: 100% !important;
}

.cp-cta-final,
.cp-stats,
.cp-testimonials,
.cp-partners,
.cp-category-panel {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ============================================
   CLEAN POWER & CHECK POWER
   Design premium — Luxe cinéma
============================================ */

:root {
  --cp-bg: #0a0a0a;
  --cp-bg-alt: #0f0f0f;
  --cp-bg-deep: #050505;
  --cp-text: #ffffff;
  --cp-text-muted: rgba(255, 255, 255, 0.65);
  --cp-text-dim: rgba(255, 255, 255, 0.4);
  --cp-accent: #B6FF47;
  --cp-border: rgba(255, 255, 255, 0.08);
  --cp-border-strong: rgba(255, 255, 255, 0.2);
  --cp-font-serif: 'Cormorant Garamond', Georgia, serif;
  --cp-font-sans: 'Inter', -apple-system, sans-serif;
}

/* ==================== BASE GLOBALE ==================== */
body {
  background: var(--cp-bg) !important;
  color: var(--cp-text);
  font-family: var(--cp-font-sans);
  font-weight: 300;
  overflow-x: hidden;
}

html { scroll-behavior: smooth; }

/* ==================== ÉLÉMENTS COMMUNS ==================== */
.cp-label-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.cp-label-line--center {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.cp-line {
  width: 40px;
  height: 1px;
  background: var(--cp-accent);
}

.cp-label-text {
  color: var(--cp-accent);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
}

.cp-accent { color: var(--cp-accent); }
.cp-accent-text { color: var(--cp-accent); font-style: italic; }

.cp-section-title {
  font-family: var(--cp-font-serif);
  font-size: 42px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--cp-text);
}

.cp-section-title em { font-style: italic; }

.cp-section-desc {
  color: var(--cp-text-muted);
  text-align: center;
  font-size: 14px;
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* ==================== HERO PERSONNALISÉ ==================== */
.cp-hero {
  padding: 5rem 3rem 6rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==================== HERO PERSONNALISÉ ==================== */
.cp-hero-bg {
  position: absolute;
  inset: -80px; 
  background-size: cover;
  background-position: center 60%;
  filter: blur(1px) brightness(0.5) saturate(1.1);
  z-index: 0;
}

.cp-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(182, 255, 71, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.65) 60%, rgba(10, 10, 10, 0.85) 100%);
  z-index: 1;
}

.cp-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cp-hero-title {
  font-family: var(--cp-font-serif);
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--cp-text);
}

.cp-hero-title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

.cp-hero-desc {
  color: var(--cp-text-muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 3rem;
}

/* ==================== SEGMENTATION B2B/B2C ==================== */
.cp-segmentation {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cp-seg-card {
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--cp-border-strong);
   padding: 36px 48px;
  min-width: 340px;
  border-radius: 4px;
 
  color: inherit;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.cp-seg-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(182, 255, 71, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cp-seg-card:hover {
  border-color: rgba(182, 255, 71, 0.5);
  transform: translateY(-6px);
  background: rgba(15, 15, 15, 0.9);
}

.cp-seg-card:hover::before { opacity: 1; }

.cp-seg-card:hover .cp-seg-arrow {
  transform: translateY(4px);
  color: var(--cp-accent);
}

.cp-seg-card.active {
  border-color: var(--cp-accent);
  background: rgba(182, 255, 71, 0.1);
  box-shadow: 0 0 40px rgba(182, 255, 71, 0.2);
}

.cp-seg-card.active .cp-seg-arrow {
  color: var(--cp-accent);
  transform: rotate(180deg);
}

.cp-seg-card--accent {
  background: rgba(182, 255, 71, 0.05);
  border: 1px solid rgba(182, 255, 71, 0.35);
}

.cp-seg-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--cp-accent);
  color: var(--cp-bg);
  font-size: 9px;
  padding: 4px 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.cp-seg-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.cp-seg-label--accent { color: var(--cp-accent); }

.cp-seg-title {
  color: var(--cp-text);
  font-family: var(--cp-font-serif);
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.cp-seg-sub {
  color: var(--cp-text-dim);
  font-size: 13px;
  position: relative;
  z-index: 2;
}

.cp-seg-arrow {
  position: absolute;
  bottom: 20px;
  right: 24px;
  color: var(--cp-text-dim);
  font-size: 24px;
  transition: all 0.4s ease;
  z-index: 2;
}

/* ==================== PANELS DÉROULANTS ==================== */
.cp-category-panel {
	scroll-margin-top: 90px;
  max-height: 0;
  overflow: hidden;
  background: var(--cp-bg-alt);
  border-top: 0 solid var(--cp-border);
  transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1), padding 0.7s ease, border-width 0.3s ease;
  padding: 0 3rem;
}

.cp-category-panel.open {
  max-height: 3000px;
  padding: 5rem 3rem;
  border-top-width: 1px;
}

.cp-panel-inner {
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease 0.2s;
}

.cp-category-panel.open .cp-panel-inner {
  opacity: 1;
  transform: translateY(0);
}

.cp-panel-title {
  font-family: var(--cp-font-serif);
  font-size: 42px;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-align: center;
}

.cp-panel-title em { font-style: italic; }

/* ==================== CARTES SERVICES ==================== */
.cp-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.cp-service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--cp-border);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.cp-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(182, 255, 71, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cp-service-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.cp-service-card:hover .cp-service-image {
  transform: scale(1.05);
}

.cp-service-content {
  padding: 1.5rem;
}

.cp-service-num {
  color: var(--cp-accent);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.cp-service-content h3 {
  font-family: var(--cp-font-serif);
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 0.5rem;
  color: var(--cp-text);
}

.cp-service-content p {
  color: var(--cp-text-muted);
  font-size: 12px;
  margin-bottom: 1rem;
}

.cp-service-cta {
  color: var(--cp-accent);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ==================== BOUTONS ==================== */
.cp-btn {
  padding: 15px 34px !important;
  border-radius: 2px !important;
  font-size: 12px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  border: none !important;
  font-family: var(--cp-font-sans) !important;
}

.cp-btn-primary {
  
  background: linear-gradient(135deg, var(--cp-accent) 0%, #87df10 100%) !important;
  color: #050505 !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 50px !important;
  /*  (Glow effect) */
  box-shadow: 0 4px 15px rgba(175, 255, 60, 0.25) !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  position: relative;
  overflow: hidden;
}

.cp-btn-primary:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 8px 25px rgba(175, 255, 60, 0.45) !important;
  filter: brightness(1.1);
}

.cp-btn-secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--cp-text) !important;
  border: 1px solid var(--cp-border-strong) !important;
  backdrop-filter: blur(10px);
}

.cp-btn-secondary:hover {
  border-color: var(--cp-text) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* ==================== BOUTONS SECONDAIRES (WhatsApp, Email) ==================== */
.cp-btn-secondary {
  background: rgba(255, 255, 255, 0.03) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  /* Même arrondi que le bouton principal */
  border-radius: 50px !important; 
  font-weight: 500 !important;
  backdrop-filter: blur(5px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.cp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  /* La bordure s'illumine en vert au survol */
  border-color: var(--cp-accent) !important; 
  /* Le texte peut aussi devenir vert si tu aimes l'effet, sinon enlève la ligne dessous */
  color: var(--cp-accent) !important; 
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
}

/* ==================== BOUTON SCROLL "DÉCOUVRIR" ==================== */
.cp-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cp-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(182, 255, 71, 0.8), transparent); /* J'ai mis un léger dégradé vert fluo pour le rappel de couleur */
  animation: cp-scrollPulse 2s ease-in-out infinite;
}

@keyframes cp-scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}
/* ==================== PARTENAIRES ==================== */
.cp-partners {
  padding: 5rem 0;
  background: var(--cp-bg);
  border-top: 1px solid var(--cp-border);
  overflow: hidden;
}

.cp-partners-marquee {
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.cp-partners-track {
  display: flex;
  gap: 4rem;
  animation: cp-scroll-partners 30s linear infinite;
  width: max-content;
}

@keyframes cp-scroll-partners {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cp-partner-logo {
  color: rgba(255, 255, 255, 0.35);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 3px;
  white-space: nowrap;
  transition: color 0.3s ease;
  padding: 0 1rem;
}

.cp-partner-logo:hover { color: var(--cp-accent); }

/* ==================== STATS / CHIFFRES ==================== */
.cp-stats {
  padding: 5rem 3rem;
  background: var(--cp-bg-alt);
  border-top: 1px solid var(--cp-border);
  text-align: center;
}

.cp-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.cp-stat-num {
  color: var(--cp-text);
  font-family: var(--cp-font-serif);
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
}

.cp-stat-num-small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 24px;
}

.cp-stat-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 14px;
}

/* ==================== TÉMOIGNAGES ==================== */
.cp-testimonials {
  padding: 5rem 3rem;
  background: var(--cp-bg-alt);
  border-top: 1px solid var(--cp-border);
  text-align: center;
}

.cp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cp-testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cp-border);
  border-radius: 4px;
  padding: 2rem;
  text-align: left;
  transition: all 0.4s ease;
}

.cp-testimonial-card:hover {
  border-color: rgba(182, 255, 71, 0.3);
  transform: translateY(-4px);
}

.cp-quote-mark {
  color: var(--cp-accent);
  font-family: var(--cp-font-serif);
  font-size: 60px;
  line-height: 0.5;
  margin-bottom: 1rem;
  margin-top: 20px;
}

.cp-quote {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--cp-font-serif);
  font-size: 18px;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* ==================== WHATSAPP FLOTTANT ==================== */
.cp-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: all 0.3s ease;
  animation: cp-waPulse 2s infinite;
}

.cp-whatsapp-float:hover {
  transform: scale(1.1);
  animation: none;
}

@keyframes cp-waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ==================== ANIMATIONS AU SCROLL ==================== */
.cp-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.cp-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== FORCE ELEMENTOR À NE PAS ÉCRASER ==================== */
.elementor-widget-heading .cp-hero-title,
.elementor-widget-text-editor .cp-hero-desc {
  all: revert;
}




/* ==================== TÉMOIGNAGES - AUTEURS ==================== */
.cp-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cp-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--cp-border-strong);
}

.cp-author-name {
  color: var(--cp-text);
  font-size: 13px;
  font-weight: 500;
}

.cp-author-role {
  color: var(--cp-text-dim);
  font-size: 11px;
  margin-top: 2px;
}

/* ==================== FIX CTA FINAL (FORCE OVERRIDE) ==================== */
body .cp-cta-final {
  position: relative !important;
  padding: 10rem 3rem !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-top: 1px solid var(--cp-border) !important;
  width: 100% !important;
}

body .cp-cta-bg {
  position: absolute !important;
  
  inset: -150px !important; 
  background-size: cover !important;
  background-position: center 50% !important; 
 
  filter: brightness(0.4) saturate(0.6) !important;
  z-index: 0 !important;
}

body .cp-cta-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, var(--cp-bg) 0%, rgba(10,10,10,0.5) 50%, var(--cp-bg) 100%) !important;
  z-index: 1 !important;
}

body .cp-cta-content {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 800px !important;
  margin: 0 auto !important;
}

body .cp-cta-content h2 {
  font-family: var(--cp-font-serif) !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  font-weight: 300 !important;
  margin-bottom: 1.5rem !important;
  color: var(--cp-text) !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

body .cp-cta-content p {
  color: var(--cp-text-muted) !important;
  margin-bottom: 3rem !important;
  font-size: 16px !important;
  text-align: center !important;
}

body .cp-cta-buttons {
  display: flex !important;
  gap: 1.5rem !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  width: 100% !important;
}
/* Cache les CTA globaux sur la page test */
.page-id-1013 [data-widget_type*="uael"] { 
  display: none !important; 
}

/* ==================== NAVBAR ==================== */

.cp-navbar {
  padding: 1.25rem 3rem;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.cp-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cp-nav-logo-img {
  width: 50px !important;  
  height: 50px !important; 
  object-fit: contain;
  transform: scale(1);
  transform-origin: center center;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cp-nav-logo-img:hover {
  transform: scale(1.1); 
  filter: drop-shadow(0 0 10px rgba(175, 255, 60, 0.4));
}

.cp-nav-name {
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.4;
}

.cp-nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* LIENS BASE */
.cp-nav-links a:not(.cp-nav-cta), 
.cp-nav-dropdown-trigger {
  position: relative;
  color: rgba(255, 255, 255, 0.4) !important; 
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  font-size: inherit;
  font-family: inherit;
  transition: color 0.4s ease;
}

/* SOULIGNEMENT */
.cp-nav-links a.cp-nav-simple::after,
.cp-nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #B6FF47;
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* LIENS SIMPLES */
.cp-nav-links a.cp-nav-simple {
  position: relative;
  color: rgba(255, 255, 255, 0.4) !important; 
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cp-nav-links a.cp-nav-simple span {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.4);
}

.cp-nav-links a.cp-nav-simple span::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: #B6FF47;
  overflow: hidden;
  white-space: nowrap;
  width: 0%;
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 2;
}

.cp-nav-links a.cp-nav-simple:hover .cp-nav-icon {
  stroke: #B6FF47 !important;
}

.cp-nav-links a.cp-nav-simple:hover span::before {
  width: 100%;
}

.cp-nav-links a.cp-nav-simple:hover::after {
  width: 100%;
}

/* DROPDOWNS */
.cp-nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.cp-nav-dropdown:hover .cp-nav-dropdown-trigger {
  color: #B6FF47 !important;
}

.cp-nav-dropdown:hover .cp-nav-dropdown-trigger::after {
  width: 100%;
}

/* ICÔNES */
.cp-nav-icon {
  width: 14px !important;
  height: 14px !important;
  stroke: currentColor !important;
  transition: all 0.4s ease !important;
}

/* MENU DÉROULANT DESKTOP */
.cp-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 0.75rem 0;
  min-width: 220px;
  display: none;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cp-nav-dropdown:hover .cp-nav-dropdown-menu {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.cp-nav-dropdown-menu a {
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  background: none;
  transition: all 0.3s ease;
  position: relative;
}
.cp-nav-dropdown-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #B6FF47;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cp-nav-dropdown-menu a:hover {
  background: rgba(182, 255, 71, 0.1);
  color: #B6FF47 !important;
}

.cp-nav-dropdown-menu a:hover::before {
  opacity: 1;
}
/* BOUTON DEVIS */
.cp-navbar .cp-nav-cta {
  color: #050505 !important;
}

.cp-navbar .cp-nav-cta:hover {
  color: #050505 !important;
}

/* ========== BURGER MENU ========== */

.cp-nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.cp-nav-burger span {
  width: 28px;
  height: 3px;
  background: #B6FF47;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cp-nav-burger-open span:nth-child(1) {
  transform: rotate(45deg) translate(12px, 12px);
}

.cp-nav-burger-open span:nth-child(2) {
  opacity: 0;
}

.cp-nav-burger-open span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

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

@media (max-width: 1024px) {
  .cp-nav-burger {
    display: flex;
  }

  .cp-nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(182, 255, 71, 0.1);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex !important;
  }

  .cp-nav-links.cp-nav-menu-open {
    transform: translateX(0);
  }

  .cp-nav-dropdown {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .cp-nav-dropdown-trigger {
    padding: 16px 16px !important;
    background: rgba(182, 255, 71, 0.05);
    border-radius: 8px;
    font-size: 14px;
    width: 100% !important;
    color: rgba(255, 255, 255, 0.85) !important;
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    min-height: 50px;
  }

  .cp-nav-dropdown-trigger .cp-nav-icon {
    flex-shrink: 0;
    min-width: 18px;
    width: 18px !important;
    height: 18px !important;
  }

  .cp-nav-dropdown-trigger::after {
    content: '▼' !important;
    margin-left: auto;
    font-size: 10px;
    transition: transform 0.3s;
    position: static !important;
    width: auto;
    height: auto;
    bottom: auto;
    left: auto;
    background: none;
    flex-shrink: 0;
  }

  .cp-nav-dropdown.cp-nav-dropdown-open .cp-nav-dropdown-trigger::after {
    transform: rotate(180deg);
  }

  .cp-nav-dropdown-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(182, 255, 71, 0.02);
    border: none;
    border-radius: 0;
    padding: 12px 0 12px 24px;
    box-shadow: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
    width: 100%;
  }

  .cp-nav-dropdown.cp-nav-dropdown-open .cp-nav-dropdown-menu {
    display: flex;
  }

  .cp-nav-dropdown-menu a {
    padding: 14px 14px;
    font-size: 13px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cp-nav-dropdown-menu a .cp-nav-icon {
    flex-shrink: 0;
    min-width: 16px;
    width: 16px !important;
    height: 16px !important;
  }

  .cp-nav-dropdown-menu a:hover {
    background: rgba(182, 255, 71, 0.1);
    color: #B6FF47 !important;
  }

  .cp-nav-simple {
    padding: 16px 16px;
    background: rgba(182, 255, 71, 0.05);
    border-radius: 8px;
    font-size: 14px;
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    width: 100%;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    min-height: 50px;
  }

  .cp-nav-simple .cp-nav-icon {
    flex-shrink: 0;
    min-width: 18px;
    width: 18px !important;
    height: 18px !important;
  }

  .cp-nav-simple:hover {
    background: rgba(182, 255, 71, 0.1);
    color: #B6FF47 !important;
  }

  .cp-nav-simple::after {
    display: none !important;
  }

  .cp-nav-simple span::before {
    display: none !important;
  }

  .cp-nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
    min-height: 50px;
  }
}

@media (max-width: 768px) {
  .cp-navbar {
    padding: 1rem 1.5rem;
  }

  .cp-nav-links {
    top: 60px;
  }

  .cp-nav-name {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .cp-nav-name {
    display: none;
  }

  .cp-nav-logo-img {
    width: 40px !important;
    height: 40px !important;
  }

  .cp-nav-burger {
    padding: 6px;
  }

  .cp-nav-burger span {
    width: 20px;
    height: 2px;
  }

  .cp-nav-links {
    padding: 16px;
  }
}
/* ==================== FOOTER COMPLET PREMIUM ==================== */
.cp-footer {
  padding: 4rem 4rem 1rem 4rem;
  background: linear-gradient(180deg, var(--cp-bg) 0%, var(--cp-bg-deep) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--cp-text-dim);
}

.cp-footer-inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* On force les 3 colonnes à être de taille identique pour un centrage parfait */
.cp-footer-col { 
  flex: 1; 
}

/* --- COLONNE 1 : GAUCHE (Titre & Contact) --- */
.cp-footer-left { 
  text-align: left; 
}

.cp-footer-title {
  display: block;
  color: var(--cp-text);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.cp-footer-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cp-text-dim);
  text-decoration: none;
  margin-bottom: 15px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.cp-footer-contact a svg {
  color: var(--cp-accent);
  transition: transform 0.3s ease;
}

.cp-footer-contact a:hover { 
  color: #ffffff; 
}

.cp-footer-contact a:hover svg {
  transform: scale(1.1);
}

/* --- COLONNE 2 : CENTRE (Logo CP) --- */
.cp-footer-center { 
  display: flex; 
  justify-content: center; 
}

/* --- STYLE DU  LOGO --- */
.cp-footer-logo-img {
  width: 110px !important;  /* Verrouillé ! */
  height: 110px !important; /* Verrouillé ! */
  max-width: 110px !important;
  object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(175, 255, 60, 0.3));
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cp-footer-logo-img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 30px rgba(175, 255, 60, 0.7)); 
}
/* --- COLONNE 3 : DROITE (Légal & Réseaux) --- */
.cp-footer-right { 
  display: flex; 
  justify-content: flex-end; 
}

.cp-footer-legal-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Aligne le contenu à gauche à l'intérieur du bloc */
  text-align: left;
}

.cp-footer-links {
  display: flex;
  flex-direction: column; /* Empile les liens */
  gap: 12px;
  margin-bottom: 1.5rem;
}

.cp-footer-links a {
  color: var(--cp-text-dim);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 13px;
}

.cp-footer-links a:hover { 
  color: var(--cp-accent); 
}

.cp-footer-social { 
  display: flex; 
  gap: 15px; 
  justify-content: flex-start; /* Aligne les icônes à gauche */
}

.cp-footer-social a { 
  color: var(--cp-text-dim);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cp-footer-social a:hover { 
  color: var(--cp-accent); 
  transform: translateY(-3px); 
}

/* --- BAS DU FOOTER (Copyright) --- */
.cp-footer-bottom {
  text-align: center;
  padding-top: 2rem;
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.5;

}

.cp-footer-credit {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 16px;
}

.cp-footer-credit a {
  color: #B6FF47;
  text-decoration: none;
  transition: opacity 0.3s;
  font-weight: 500;
}

.cp-footer-credit a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .cp-footer-credit {
    display: block;
    margin-left: 0;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(182, 255, 71, 0.1);
  }
}

/* ==================== RESPONSIVE FOOTER (MOBILE) ==================== */
@media (max-width: 768px) {
  .cp-footer-inner {
    flex-direction: column;
    gap: 3rem;
  }
  .cp-footer-left, .cp-footer-center, .cp-footer-right {
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  .cp-footer-legal-block {
    align-items: center;
    text-align: center;
  }
  .cp-footer-contact a {
    justify-content: center;
  }
}
/* ==================== FIX ADMIN BAR WORDPRESS ==================== */

body.admin-bar .cp-navbar {
  top: 32px !important;
}

/* ==================== MASQUER LE FOOTER ASTRA ==================== */

.site-footer, 
#colophon {
  display: none !important;
}

/* ==================== NAVBAR DROPDOWN ==================== */
.cp-nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.cp-nav-dropdown-trigger {
  position: relative;
  color: rgba(255,255,255,0.4) !important;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 5px;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  background: none;
  border: none;
}

/* Soulignement vert */
.cp-nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #B6FF47;
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Texte vert qui se remplit — même font, même taille, fond transparent */
.cp-nav-dropdown-trigger::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: #B6FF47;
  overflow: hidden;
  white-space: nowrap;
  width: 0%;
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  font-size: inherit;
  font-family: inherit;
  font-weight: 500;
  /* Pas de background — on cache le gris via color: transparent */
}

/* Au survol du dropdown entier */
.cp-nav-dropdown:hover .cp-nav-dropdown-trigger {
  color: transparent !important; /* Cache le texte gris */
}

.cp-nav-links a.cp-nav-simple {
  position: relative;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 4px;
  transition: none;
}

.cp-nav-links a.cp-nav-simple::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #B6FF47;
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cp-nav-links a.cp-nav-simple::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: #B6FF47;
  overflow: hidden;
  white-space: nowrap;
  width: 0%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: inherit;
  font-family: inherit;
  font-weight: 500;
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cp-nav-links a.cp-nav-simple:hover {
  color: transparent !important;
}

.cp-nav-links a.cp-nav-simple:hover::after,
.cp-nav-links a.cp-nav-simple:hover::before {
  width: 100%;
}
/* Menu dropdown */
.cp-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 0.75rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1001;
}

/* Pont invisible */
.cp-nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

.cp-nav-dropdown:hover .cp-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cp-nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: rgba(255,255,255,0.55) !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-left: 2px solid transparent;
  white-space: nowrap;
}

.cp-nav-dropdown-menu a:hover {
  color: #B6FF47 !important;
  border-left-color: #B6FF47;
  padding-left: 1.75rem;
  background: rgba(182,255,71,0.04);
}

.cp-nav-icon {
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor !important;
    vertical-align: middle !important;
    margin-right: 6px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.cp-nav-dropdown-trigger {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.cp-nav-dropdown:hover .cp-nav-dropdown-trigger {
  color: #B6FF47 !important;
}

.cp-nav-dropdown:hover .cp-nav-dropdown-trigger .cp-nav-icon {
  stroke: #B6FF47 !important;
}

/* ==================== AVANT / APRÈS : CADRE PREMIUM FUTURISTE ==================== */
.cp-avant-apres-section {
  padding: 5rem 3rem;
  background: var(--cp-bg);
  position: relative;
  overflow: hidden;
}
 
.cp-ba-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}
 
/* Label avec barre horizontale (comme les autres sections) */
.cp-ba-label-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
}
 
.cp-ba-line {
  width: 40px;
  height: 1px;
  background: var(--cp-accent);
}
 
.cp-ba-label-text {
  color: var(--cp-accent);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
}
 
/* Titre Principal - Proportionné comme les autres sections */
.cp-ba-title {
  font-family: var(--cp-font-serif);
  font-size: 42px; /* Réduit pour matcher les autres sections */
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--cp-text);
  margin: 0 0 1rem;
  opacity: 0;
  animation: slideInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s forwards;
  position: relative;
}
 
/* Mot accent avec italique */
.cp-ba-title .cp-accent-word {
  font-style: italic;
  color: var(--cp-accent);
}
 
/* Sous-titre / Tagline */
.cp-ba-tagline {
  font-family: var(--cp-font-sans);
  font-size: 14px; /* Réduit pour matcher */
  color: var(--cp-text-muted);
  letter-spacing: 0.5px;
  font-style: italic;
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: slideInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s forwards;
}
 
/* Animations */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 
@keyframes expandWidth {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}
 
/* ==================== GALERIE AVANT/APRÈS ==================== */
 
.cp-ba-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(650px, 1fr));
  gap: 3rem;
  max-width: 2200px;
  margin: 0 auto;
}
 
/* Cadre Principal */
.cp-ba-frame {
  max-width: 100%;
  padding: 30px;
  background: linear-gradient(145deg, rgba(25, 25, 25, 0.95), rgba(5, 5, 5, 1));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 2px solid rgba(182, 255, 71, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
  box-shadow: 
    0 40px 100px rgba(0, 0, 0, 1),
    0 0 50px rgba(182, 255, 71, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.8s ease;
  position: relative;
  opacity: 0;
  animation: fadeInScale 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
 
.cp-ba-frame:nth-child(1) { animation-delay: 0.5s; }
.cp-ba-frame:nth-child(2) { animation-delay: 0.6s; }
.cp-ba-frame:nth-child(3) { animation-delay: 0.7s; }
.cp-ba-frame:nth-child(4) { animation-delay: 0.8s; }
 
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
 
.cp-ba-frame:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 50px 120px rgba(0, 0, 0, 1),
    0 0 80px rgba(182, 255, 71, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
 
/* Wrapper Images */
.cp-ba-wrapper {
  border-radius: 8px;
  border: 1.5px solid rgba(182, 255, 71, 0.35);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.95), inset 0 0 1px rgba(182, 255, 71, 0.1);
  background: #000;
}
 
.cp-ba-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
 
/* Calques images */
.cp-ba-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
 
.cp-ba-layer-apres {
  z-index: 1;
}
 
.cp-ba-layer-avant {
  z-index: 2;
  clip-path: polygon(0 0, var(--exposure, 50%) 0, var(--exposure, 50%) 100%, 0 100%);
  transition: clip-path 0.05s ease-out;
}
 
.cp-ba-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 2.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
 
.cp-ba-frame:hover .cp-ba-img {
  transform: scale(1.04);
}
 
/* Badges Avant/Après */
.cp-ba-tag {
  position: absolute;
  top: 25px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(182, 255, 71, 0.25);
  padding: 8px 22px;
  border-radius: 40px;
  color: rgba(182, 255, 71, 0.95);
  font-family: var(--cp-font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 3;
  transition: all 0.3s ease;
}
 
.cp-ba-tag-avant {
  left: 25px;
}
 
.cp-ba-tag-apres {
  right: 25px;
}
 
.cp-ba-tag:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(182, 255, 71, 0.5);
  box-shadow: 0 0 20px rgba(182, 255, 71, 0.2);
}
 
/* Slider invisible */
.cp-ba-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
  z-index: 10;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  touch-action: none;
}
 
.cp-ba-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  cursor: ew-resize;
}
 
.cp-ba-slider::-moz-range-thumb {
  cursor: ew-resize;
  border: none;
  background: transparent;
}
 
/* Barre laser */
.cp-ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--exposure, 50%);
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(182, 255, 71, 0.3) 10%,
    rgba(182, 255, 71, 0.8) 50%,
    rgba(182, 255, 71, 0.3) 90%,
    transparent 100%
  );
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 0 20px rgba(182, 255, 71, 0.4);
  transition: left 0.05s ease-out;
}
 
/* Bouton respirant */
.cp-ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #050505;
  border: 2px solid rgba(182, 255, 71, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  animation: cp-breathe 3s ease-in-out infinite;
  padding: 0;
  outline: none;
}
 
@keyframes cp-breathe {
  0%, 100% {
    box-shadow: 
      0 0 20px rgba(182, 255, 71, 0.3),
      inset 0 0 10px rgba(182, 255, 71, 0.15);
  }
  50% {
    box-shadow:
      0 0 40px rgba(182, 255, 71, 0.6),
      inset 0 0 15px rgba(182, 255, 71, 0.4);
  }
}
 
/* Flèches */
.cp-css-arrow-left {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 7px solid rgba(182, 255, 71, 0.8);
  transition: border-color 0.3s ease;
}
 
.cp-css-arrow-right {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 7px solid rgba(182, 255, 71, 0.8);
  transition: border-color 0.3s ease;
}
 
/* Interaction */
.cp-ba-slider:hover ~ .cp-ba-handle .cp-ba-handle-btn,
.cp-ba-slider:active ~ .cp-ba-handle .cp-ba-handle-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--cp-accent);
  animation: none;
  box-shadow: 0 0 40px rgba(182, 255, 71, 0.8);
}
 
.cp-ba-slider:hover ~ .cp-ba-handle .cp-css-arrow-left,
.cp-ba-slider:active ~ .cp-ba-handle .cp-css-arrow-left {
  border-right-color: #050505;
}
 
.cp-ba-slider:hover ~ .cp-ba-handle .cp-css-arrow-right,
.cp-ba-slider:active ~ .cp-ba-handle .cp-css-arrow-right {
  border-left-color: #050505;
}
 
/* ==================== RESPONSIVE ==================== */
 
@media (max-width: 1200px) {
  .cp-ba-gallery {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
 
@media (max-width: 768px) {
  .cp-avant-apres-section {
    padding: 3.5rem 1.5rem;
  }
 
  .cp-ba-title {
    font-size: 32px;
  }
 
  .cp-ba-tagline {
    font-size: 13px;
  }
 
  .cp-ba-frame {
    padding: 20px;
    border-radius: 12px;
  }
 
  .cp-ba-container {
    aspect-ratio: 4 / 3;
  }
 
  .cp-ba-tag {
    top: 12px;
    padding: 6px 16px;
    font-size: 10px;
  }
 
  .cp-ba-tag-avant {
    left: 12px;
  }
 
  .cp-ba-tag-apres {
    right: 12px;
  }
 
  .cp-ba-handle-btn {
    width: 45px;
    height: 45px;
    gap: 6px;
  }
 
  .cp-css-arrow-left,
  .cp-css-arrow-right {
    border-width: 5px;
  }
 
  .cp-css-arrow-left {
    border-right-width: 6px;
  }
 
  .cp-css-arrow-right {
    border-left-width: 6px;
  }
}
 
@media (max-width: 480px) {
  .cp-ba-frame {
    padding: 15px;
  }
 
  .cp-ba-container {
    aspect-ratio: 3 / 2;
  }
 
  .cp-ba-handle-btn {
    width: 40px;
    height: 40px;
  }
 
  .cp-ba-title {
    font-size: 26px;
  }
}

/* Mobile */

@media (max-width: 768px) {
  .cp-ba-container { aspect-ratio: 4 / 3; } /* Plus haut sur mobile */
  .cp-avant-apres-section { padding: 3rem 1.5rem; }
}

@media (max-width: 768px) {
  .cp-nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    padding: 0;
  }
}

/* ==================== NAVBAR MOBILE ==================== */
@media (max-width: 768px) {
  .cp-nav-links {
    display: none;
  }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
	
  .cp-hero { padding: 3rem 1.5rem 4rem; min-height: auto;padding-bottom: 150px !important;  }
  .cp-segmentation { flex-direction: column; align-items: center; }
  .cp-seg-card { width: 100%; max-width: 340px; }
  .cp-category-panel.open { padding: 3rem 1.5rem; }
  .cp-panel-title { font-size: 32px; }
  .cp-stats-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cp-stat-num { font-size: 44px; }
  .cp-partner-logo { font-size: 18px; }
  .cp-section-title { font-size: 32px; }
	.cp-scroll-hint {
    bottom: 30px !important; 
		
}