* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff !important;
    color: #1a1a1a !important;
    overflow-x: hidden;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --primary: #ef4444;
    --primary-hover: #dc2626;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --border: #2a2a2a;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff !important;
    color: #1a1a1a !important;
    overflow-x: hidden;
}

/* ============================================
   NAVBAR
============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: none;
    padding: 1rem 2rem;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ef4444, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   LOGO HEADER - Style spÃ©cifique
   =================================== */
.header-logo {
    font-size: 2.25rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.header-logo:hover {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #db2777 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    transform: translateY(-2px);
}

/* ===================================
   LOGO PNG HEADER - Style spÃ©cifique
   =================================== */
.header-logo-img {
    height: auto !important;
    opacity: 1 !important;
}

.header-logo-img img {
    height: 70px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.header-logo-img img:hover {
    filter: none !important;
    opacity: 1 !important;
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 1.35rem !important;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   CSS â€” SECTION "QUI SOMMES-NOUS" (TEST AUTONOME)
   --------------------------------------------------------------------------
   Contenu :
   A) BASE TEST
      - styles minimaux pour lisibilitÃ© (body, container, titres)
      - garantit que le contenu reste visible mÃªme si Splide n'est pas montÃ©

   B) LAYOUT 2 COLONNES (SVG Ã  gauche / texte Ã  droite)
      - .engagement-card-wrapper en grid : 500px + 1fr
      - responsive : 1 colonne sous 1024px

   C) CAROUSEL / TEXTE
      - styles des titres, paragraphes, espacement

   D) PAGINATION PERSONNALISÃ‰E
      - .carousel-pagination + boutons prev/next + compteur

   Note importante :
   - Les rÃ¨gles "spÃ©ciales page 2" (ciblant data-svg-target="interlocuteur")
     ont Ã©tÃ© SUPPRIMÃ‰ES pour que la page 2 ait le mÃªme rendu texte que page 1.
   ========================================================================== */

/* ===== BASE TEST ===== */
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#fff;color:#111;}
.section-container{max-width:1200px;margin:0 auto;padding:32px 20px;}
.section-title{margin:0;}
.services-main-title{font-size:32px;line-height:1.1;}
.slide-content h3{margin:0 0 10px;}
.slide-content p{margin:0;color:#333;}
/* Ã©viter que Splide masque le contenu si un init Ã©choue */
.splide{visibility:visible;}

ADAPTATION CSS ATERA POUR QUI SOMMES NOUS
   =================================== */

/* Structure principale de la section */
.ai-features-section {
    margin-top: -5rem; /* Remonte encore plus la section */
}
.ai-features-section .engagement-card-wrapper {
    display: grid !important;
    grid-template-columns: 500px 1fr !important;
    gap: 4rem;
    align-items: center;
    padding: 48px 56px;
}

@media (max-width: 1024px) {
    .ai-features-section .engagement-card-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 32px 24px;
    }
}

/* SVG Tower styling */
.ai-features-section .engagement-card-wrapper svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Structure du texte Ã  droite */
.ai-features-section .engagement-card-wrapper > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Descriptions des fonctionnalitÃ©s */
.ai-features-section .feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .ai-features-section .engagement-card-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .ai-features-section .engagement-card-wrapper svg {
        max-width: 350px;
    }
}

/* Ajustements pour le SVG 3D */
.ai-features-section .engagement-card-wrapper svg g {
    transition: opacity 0.3s ease;
}

.ai-features-section .engagement-card-wrapper svg text {
    font-family: 'Inter', 'Arial', sans-serif;
}

/* ===================================

/* ===================================
   CORRECTIONS NOS VALEURS - SVG COMPLET
   =================================== */

/* Fix 1: Afficher tout le SVG (enlever overflow hidden) */
.ai-features-section {
    margin-top: -5rem; /* Remonte encore plus la section */
}
.ai-features-section .engagement-card-wrapper {
    display: grid !important;
    grid-template-columns: 500px 1fr !important;
    gap: 4rem;
    align-items: flex-start;
    padding: 48px 56px;
    background: transparent;
    border-radius: 24px;
    box-shadow: none;
    overflow: visible !important; /* Important pour voir tout le SVG */
}

/* Fix 2: SVG visible en entier */
.ai-features-section .tower-column {
    position: sticky;
    top: 100px;
    overflow: visible !important;
}

.ai-features-section .tower-column svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 auto;
    overflow: visible !important;
}

/* Fix 3: Texte reste dans sa colonne (pas de dÃ©bordement) */
.ai-features-section .text-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
    overflow: hidden; /* EmpÃªche le dÃ©bordement */
}

.valeurs-carousel {
    min-height: 300px;
    width: 100%;
}

.valeurs-carousel .slide-content {
    padding: 1rem 0;
    max-width: 100%;
    word-wrap: break-word;
}

.valeurs-carousel .slide-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #5BA3E0;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.valeurs-carousel .slide-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}/* Responsive */
@media (max-width: 1024px) {
    .ai-features-section .engagement-card-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 32px 24px;
    }
    
    .ai-features-section .tower-column {
        position: static;
        order: -1;
    }
    
    .ai-features-section .tower-column svg {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .ai-features-section .engagement-card-wrapper {
        padding: 24px 16px;
        gap: 2rem;
    }
    
    .ai-features-section .tower-column svg {
        max-width: 300px;
    }
    
    .valeurs-carousel .slide-content h3 {
        font-size: 1.5rem;
    }
    
    .valeurs-carousel .slide-content p {
        font-size: 1rem;
    }
}

/* ===================================
   PAGINATION CAROUSEL
   =================================== */
.carousel-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.pagination-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
}

.pagination-btn:hover {
    transform: scale(1.1);
}

.pagination-btn:active {
    transform: scale(0.95);
}

.pagination-btn svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

/* Bouton prÃ©cÃ©dent (gauche) - Orange */
.prev-btn:hover svg circle {
    fill: #EA580C !important;
}

/* Bouton suivant (droite) - Bleu */
.next-btn:hover svg circle {
    fill: #2563EB !important;
}

.pagination-counter {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    min-width: 60px;
    text-align: center;
}

.current-slide {
    font-size: 1.25rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .carousel-pagination {
        gap: 1.5rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .pagination-btn svg {
        width: 40px;
        height: 40px;
    }
    
    .pagination-counter {
        font-size: 1rem;
    }
    
    .current-slide {
        font-size: 1.125rem;
    }
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    min-height:98vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0rem 2rem 0; /* Supprime complÃ¨tement le padding bottom */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;

    background: #ffffff;
    color: white !important;
    background: #ffffff !important;
    color: #1a1a1a !important;}

.hero-content {
    max-width: 1200px;
    text-align: center;
    z-index: 2;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero.zooming .hero-content {
    opacity: 0;
    filter: blur(10px);
    pointer-events: none;
}

/* Badge */
.mode-selector {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s both, pulse 2s ease-in-out infinite;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

.mode-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.mode-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mode-btn:hover {
    transform: translateX(5px);
}

/* Title */
.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    
    
    opacity: 1 !important;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out both;
    background: linear-gradient(135deg, #1a1a1a 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line:nth-child(1) { animation-delay: 0.6s; }
.title-line:nth-child(2) { animation-delay: 0.8s; }

/* Buttons */
.hero-buttons, .ignite-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #1a1a1a !important;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary);
    color: #1a1a1a;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.4);
}

.btn-secondary {
    background: #1a1a1a !important;
    color: #ffffff !important;
    border: 2px solid #1a1a1a !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: #1a1a1a !important;
    color: #ffffff !important;
    border: 2px solid #1a1a1a !important;
}

.btn-secondary .arrow {
    transition: transform 0.3s ease;
}

.btn-secondary:hover .arrow {
    transform: translateX(5px);
}

/* Trusted by */
.trusted-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

/* ============================================
   MARQUEE
============================================ */
.logo-marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 4rem 0;
    animation: fadeInUp 0.8s ease-out 1.4s both;
}

.logo-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 5rem;
    animation: scroll 25s linear infinite;
    width: fit-content;
}

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

.partner-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    white-space: nowrap;
    opacity: 1;
    transition: all 0.3s ease;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.logo-track:hover {
    animation-play-state: paused;
}

/* ============================================

.hero.zooming .card-3 {
    transform: translateX(100px);
}

/* ============================================
   FLOATING BACKGROUND
============================================ */
.floating-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.float-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    animation: float 20s ease-in-out infinite;
}

.float-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 10%;
}

.float-2 {
    width: 500px;
    height: 500px;
    bottom: 10%;
    right: 10%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(25px, -25px); }
}

/* ============================================
Encart NOS ENGAGEMENT
============================================ */

.engagement-card-wrapper {
  background: #F8F8FF;
  border-radius: 24px;
  padding: 48px 56px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  max-width: 1400px;
  margin: 0 auto;
}

/* ============================================
   THREE-PHASE SECTION
============================================ */
.three-phase-section {
    min-height: 60vh;
    padding: 6rem 2rem;
}

.phase-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.phase-card {
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.phase-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.2);
}

.phase-number {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.phase-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.phase-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.phase-image:hover img {
    transform: scale(1.05);
}

/* ============================================
   FOOTER
============================================ */
footer {
    background: #transparent;
    padding: 4rem 2rem 2rem;
    border-top: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #transparent;

}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.footer-logo sup {
    font-size: 1.3rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--text-primary);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.social-icons a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
     border-top: none;
}

.footer-bottom p {
     border-top: none;
}

.footer-bottom a {
     border-top: none;
}

.footer-bottom a:hover {
     border-top: none;
}

    color: var(--bg-dark);
    border: none;
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .feature-cards,
    .phase-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-cards {
        justify-content: center;
    }
    
    .card {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 1rem 2rem;
    
    background: #ffffff;
    color: white !important;
    background: #ffffff !important;
    color: #1a1a1a !important;}
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .customization-popup {
        right: 1rem;
        bottom: 1rem;
        width: calc(100% - 2rem);
        max-width: 380px;
    }
    
    .nav-links {
        display: none;
    }
}

::selection {
    background: var(--primary);
    color: #1a1a1a;
}

/* ============================================
   VIDEO DANS CARD
============================================ */
.card video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.card:hover video {
    transform: scale(1.1);
}

.card-2.zooming video {
    object-fit: contain;
}

/* ============================================
   STRUCTURE DES 3 CARDS - PARFAITEMENT ALIGNÃ‰ES
============================================ */
.hero-cards {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out 1.6s both;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    width: 400px;
    height: 300px;
    min-width: 400px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardFloat 4s ease-in-out infinite;
    cursor: pointer;
}

/* MÃªme taille pour toutes les cards */
.card-1, .card-2, .card-3 {
    width: 400px;
    height: 300px;
}
/* ============================================
   STRUCTURE OVERLAY - V6.1 - Chevauchement lÃ©ger
   97% sur les cÃ´tÃ©s, 3% dessous
============================================ */

.hero-cards {
    position: relative;
    width: 100%;
    height: 420px;
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out 1.6s both;
}

/* Card centrale (vidÃ©o) - La plus visible */
.card-2 {
    position: relative;
    width: 600px;
    height: 400px;
    z-index: 3;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardFloat 4s ease-in-out infinite 0.5s;
    cursor: pointer;
}

/* Card gauche - 97% visible sur le cÃ´tÃ© gauche */
.card-1 {
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: 300px;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardFloat 4s ease-in-out infinite;
    cursor: pointer;
}

/* Card droite - 97% visible sur le cÃ´tÃ© droit */
.card-3 {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: 300px;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardFloat 4s ease-in-out infinite 1s;
    cursor: pointer;
}

/* Hover effects */
.card-1:hover, .card-3:hover {
    z-index: 4;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 20px 60px rgba(239, 68, 68, 0.4);
}

.card-2:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(239, 68, 68, 0.5);
}

/* Images et vidÃ©o */
.card img,
.card video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.card:hover img,
.card:hover video {
    transform: scale(1.1);
}

/* Animation float - adaptÃ©e pour ne pas casser le translateY */
@keyframes cardFloat {
    0%, 100% { 
        transform: translateY(-50%);
    }
    50% { 
        transform: translateY(calc(-50% - 5px));
    }
}

/* Override pour card centrale qui n'a pas de translateY */
.card-2 {
    animation: cardFloatCenter 4s ease-in-out infinite 0.5s;
}

@keyframes cardFloatCenter {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Zoom effect */
.card-2.zooming {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2.2) !important;
    z-index: 998;
    width: 900px;
    height: 600px;
    border-radius: 0;
    animation: none;
}

.hero.zooming .card-1,
.hero.zooming .card-3 {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(-50%) translateX(-50px);
}

.hero.zooming .card-3 {
    transform: translateY(-50%) translateX(50px);
}

/* Responsive */
@media (max-width: 1400px) {
    .card-1 {
        left: 1%;
        width: 350px;
    }
    
    .card-3 {
        right: 1%;
        width: 350px;
    }
}

@media (max-width: 1200px) {
    .hero-cards {
        height: 380px;
    }
    
    .card-1, .card-3 {
        width: 320px;
        height: 260px;
    }
    
    .card-2 {
        width: 500px;
        height: 350px;
    }
}

@media (max-width: 1024px) {
    .card-1 {
        left: 0;
    }
    
    .card-3 {
        right: 0;
    }
}

@media (max-width: 768px) {
    .hero-cards {
        height: 600px;
        flex-direction: column;
    }
    
    .card-1 {
        position: relative;
        left: 0;
        top: 0;
        transform: translateY(0);
        margin-bottom: 1rem;
        width: 90%;
        max-width: 380px;
    }
    
    .card-2 {
        width: 90%;
        max-width: 400px;
        height: 300px;
        margin: 1rem 0;
    }
    
    .card-3 {
        position: relative;
        right: 0;
        top: 0;
        transform: translateY(0);
        margin-top: 1rem;
        width: 90%;
        max-width: 380px;
    }
}

/* ============================================
   ZOOM PROGRESSIF AU SCROLL - V6.2
============================================ */

/* Transitions fluides pour le zoom progressif */
.card-2 {
    transition: transform 0.1s ease-out, z-index 0s;
}

.card-1, .card-3 {
    transition: opacity 0.2s ease-out, filter 0.2s ease-out, transform 0.2s ease-out;
}

.hero-content {
    transition: opacity 0.3s ease-out, filter 0.3s ease-out;
}

/* Ã‰tat de zoom complet */
.card-2.zooming-complete {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* EmpÃªcher le scroll pendant le zoom */
body.zoom-locked {
    overflow: hidden;
    height: 100vh;
}
/* ============================================
   ZOOM IN PLACE - V6.3
   La vidÃ©o grandit sur place sans scroll
============================================ */

/* Transition fluide pour le scale */
.card-2 {
    transition: transform 0.05s linear;
    transform-origin: center center;
    will-change: transform;
}

/* EmpÃªcher le dÃ©bordement pendant le zoom */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff !important;
    color: #1a1a1a !important;
    overflow-x: hidden;
}

.hero {
    overflow: visible;
    position: relative;

    background: #ffffff;
    color: white !important;
    background: #ffffff !important;
    color: #1a1a1a !important;}

/* S'assurer que la vidÃ©o peut dÃ©border */
.hero-cards {
    overflow: visible;
}

/* La vidÃ©o peut grandir au-dessus de tout */
.card-2 {
    position: relative;
}

/* Comportement smooth scroll aprÃ¨s zoom */
html {
    scroll-behavior: smooth;
}

/* RÃ©duire l'animation float pendant le zoom */
.card-2.zooming {
    animation: none;
}
/* ============================================
   PROPORTIONS EXACTES COMME L'IMAGE
============================================ */

/* Section avec plus d'espace */

/* ============================================
   AI FEATURES SECTION - REBUILD COMPLET
   Layout croisÃ© 60/40 - 40/60
============================================ */

.ai-features-section {
    padding: 100px 0 120px;
    background: transparent;
    position: relative;
    overflow: hidden;

}

.features-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.features-header .section-title {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-header .section-description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 1rem;
    color: #a3a3a3;
}

/* ============================================
   GRID LAYOUT CROISÃ‰
============================================ */

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 2fr; /* 60% / 40% par dÃ©faut */
    gap: 2.5rem;
}

/* Ligne 1: Fast Email (60%) + Customer (40%) */
.ai-feature-card:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1;
}

.ai-feature-card:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1;
}

/* Ligne 2: Insights (40%) + Connectivity (60%) - INVERSÃ‰ */
.ai-feature-card:nth-child(3) {
    grid-column: 2 / 3; /* Colonne 2 */
    grid-row: 2;
    grid-column: 1 / 2; /* Override: mettre en colonne 1 */
}

.ai-feature-card:nth-child(4) {
    grid-column: 1 / 2; /* Colonne 1 */
    grid-row: 2;
    grid-column: 2 / 3; /* Override: mettre en colonne 2 */
}

/* Forcer les proportions inversÃ©es sur ligne 2 */
.features-grid {
    grid-template-rows: auto auto;
}

/* Row 2 avec proportions inversÃ©es */
.ai-feature-card:nth-child(3) {
    width: 100%;
}

.ai-feature-card:nth-child(4) {
    width: 100%;
}

/* Utiliser CSS Grid avec template-areas pour plus de contrÃ´le */
.features-grid {
    display: grid;
    grid-template-areas:
        "email email email customer customer"
        "insights insights connect connect connect";
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.ai-feature-card:nth-child(1) {
    grid-area: email;
}

.ai-feature-card:nth-child(2) {
    grid-area: customer;
}

.ai-feature-card:nth-child(3) {
    grid-area: insights;
}

.ai-feature-card:nth-child(4) {
    grid-area: connect;
}

/* ============================================
   FEATURE CARDS - BASE
============================================ */

.ai-feature-card {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Animation initiale */
    opacity: 0;
    transform: translateY(60px);
}

.ai-feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 20px 60px rgba(239, 68, 68, 0.2);
    background: rgba(0, 0, 0, 0.95);
}

.ai-feature-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* DÃ©lais d'animation */
.ai-feature-card:nth-child(1).visible { transition-delay: 0.1s; }
.ai-feature-card:nth-child(2).visible { transition-delay: 0.2s; }
.ai-feature-card:nth-child(3).visible { transition-delay: 0.3s; }
.ai-feature-card:nth-child(4).visible { transition-delay: 0.4s; }

/* ============================================
   FEATURE VISUALS
============================================ */

.feature-visual {
    border-radius: 20px;
    margin-bottom: 1.75rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Hauteurs spÃ©cifiques */
.ai-feature-card:nth-child(1) .feature-visual { height: 180px; }
.ai-feature-card:nth-child(2) .feature-visual { height: 180px; }
.ai-feature-card:nth-child(3) .feature-visual { height: 180px; }
.ai-feature-card:nth-child(4) .feature-visual { height: 180px; }

.feature-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.875rem;
    line-height: 1.3;
}

.feature-description {
    font-size: 1.3rem;
    line-height: 1.65;
    color: #a3a3a3;
}

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

@media (max-width: 900px) {
    .features-grid {
        grid-template-areas:
            "email"
            "customer"
            "insights"
            "connect";
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ai-feature-card:nth-child(1) .feature-visual,
    .ai-feature-card:nth-child(2) .feature-visual,
    .ai-feature-card:nth-child(3) .feature-visual,
    .ai-feature-card:nth-child(4) .feature-visual {
        height: 180px;
    }
}

/* ============================================
   IGNITE SECTION - 4 BLOCS NUMÃ‰ROTÃ‰S
============================================ */

.ignite-section {
    z-index: 100;
    padding-top: 0; /* Espace supprimÃ© complÃ¨tement */
    padding-bottom: 60px;
    background: transparent;
    position: relative;
    overflow: visible;
}

/* Header centrÃ© */
.ignite-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.ignite-header .section-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ignite-header .section-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #a3a3a3;
}

/* ============================================
   GRID 4 BLOCS
============================================ */

.ignite-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   FEATURE BLOC
============================================ */

.ignite-feature {
    text-align: center;
    padding: 2rem 1.5rem;
    
    /* Animation initiale */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ignite-feature.visible {
    opacity: 1;
    transform: translateY(0);
}

/* DÃ©lais progressifs */
.ignite-feature:nth-child(1).visible { transition-delay: 0.1s; }
.ignite-feature:nth-child(2).visible { transition-delay: 0.2s; }
.ignite-feature:nth-child(3).visible { transition-delay: 0.3s; }
.ignite-feature:nth-child(4).visible { transition-delay: 0.4s; }

/* NumÃ©ro */
.feature-number {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

/* Nom de la feature */
.feature-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Texte descriptif */
.feature-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #a3a3a3;
}

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

@media (max-width: 1200px) {
    .ignite-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .ignite-section {
        padding: 80px 0;
    }
    
    .ignite-header {
        margin-bottom: 60px;
    }
    
    .ignite-header .section-title {
        font-size: 2.25rem;
    }
    
    .ignite-features {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .feature-number {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
}
/* ============================================
   TESTIMONIALS SECTION
============================================ */

.testimonials-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
}

/* Badge en haut */
.testimonials-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    margin: 0 auto 60px;
    display: flex;
    justify-content: center;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.badge-text {
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 500;
}

.badge-separator {
    color: rgba(255, 255, 255, 0.3);
}

.badge-link {
    color: #a3a3a3;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.badge-link:hover {
    color: #1a1a1a;
}

/* Header */
.testimonials-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.testimonials-header .section-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.testimonials-header .section-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #a3a3a3;
}

/* ============================================
   TESTIMONIALS GRID
============================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================
   TESTIMONIAL CARD
============================================ */

.testimonial-card {
    background: rgba(23, 23, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Animation initiale */
    opacity: 0;
    transform: translateY(40px);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: rgba(23, 23, 23, 0.8);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* DÃ©lais progressifs */
.testimonial-card:nth-child(1).visible { transition-delay: 0.1s; }
.testimonial-card:nth-child(2).visible { transition-delay: 0.2s; }
.testimonial-card:nth-child(3).visible { transition-delay: 0.3s; }
.testimonial-card:nth-child(4).visible { transition-delay: 0.4s; }
.testimonial-card:nth-child(5).visible { transition-delay: 0.5s; }
.testimonial-card:nth-child(6).visible { transition-delay: 0.6s; }

/* Quote icon */
.quote-icon {
    font-size: 4rem;
    line-height: 1;
    color: #ef4444;
    margin-bottom: 1.5rem;
    font-family: Georgia, serif;
}

/* Testimonial text */
.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #e5e5e5;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Author section */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.875rem;
    color: #a3a3a3;
}
.testimonial-logo {
    display: block;
    margin: 0 auto 3.5rem;   /* espace sous le logo */
    max-width: 160px;
    height: auto;
}

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

@media (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 80px 0;
    }
    
    .testimonials-badge {
        margin-bottom: 40px;
    }
    
    .testimonials-header {
        margin-bottom: 60px;
    }
    
    .testimonials-header .section-title {
        font-size: 2.25rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .quote-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
}

/* ============================================
   PHASE BLOCK - 50/50 LAYOUT
============================================ */

    opacity: 1;
    transform: translateX(0);
}

/* Z-index pour l'ordre de superposition */
.phase-01 { z-index: 30; }
.phase-04 { z-index: 20; }
.phase-05 { z-index: 10; }
.phase-02 { 
    z-index: 20;
    margin-top: 0;
}

/* DerniÃ¨re carte sans margin nÃ©gatif pour ne pas chevaucher la section suivante */
.phase-block:last-child {
    margin-bottom: 0;
}
.phase-03 { 
    z-index: 10;
    margin-bottom: 0;
}

/* ============================================
   PHASE CONTENT - PARTIE GAUCHE
============================================ */

.phase-content {
    background: rgba(23, 23, 23, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem 3.5rem;
    margin-right: -50px; /* Chevauche lÃ©gÃ¨rement l'image */
    z-index: 2;
    position: relative;
}

/* Badge Phase */
.phase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.badge-label {
    color: #1a1a1a;
    font-weight: 500;
}

.badge-separator {
    color: rgba(255, 255, 255, 0.3);
}

.badge-number {
    color: #ef4444;
    font-weight: 600;
}

/* Phase Title */
.phase-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Phase Description */
.phase-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #a3a3a3;
    margin-bottom: 2.5rem;
}

/* Button */
.btn-phase {
    padding: 1rem 2.5rem;
    background: #ef4444;
    color: #1a1a1a;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-phase:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

/* ============================================
   PHASE IMAGE - PARTIE DROITE
============================================ */

.phase-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

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

@media (max-width: 1200px) {
    .phase-block {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .phase-content {
        margin-right: 0;
        padding: 3rem 2.5rem;
    }
    
    .phase-image {
        height: 400px;
    }
    
    /* Supprimer overlap sur mobile */
    .phase-01, .phase-02, .phase-03 {
        z-index: auto;
    }
}

@media (max-width: 768px) {
    .three-phase-overlap-section {
        padding: 80px 0;
    }
    
    .phase-title {
        font-size: 2rem;
    }
    
    .phase-description {
        font-size: 1.3rem;
    }
    
    .phase-image {
        height: 300px;
    }
    
    .btn-phase {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   PHASE BLOCK - STICKY SCROLL
============================================ */

}

/* Z-index pour l'empilement */
.phase-01 { 
    z-index: 30;
}
.phase-02 { 
    z-index: 20;
}
.phase-03 { 
    z-index: 10;
}

/* ============================================
   PHASE CONTENT - PARTIE GAUCHE
============================================ */

.phase-content {
    background: rgba(23, 23, 23, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 4rem 3.5rem;
    margin-right: -50px;
    z-index: 2;
    position: relative;
    max-width: 600px;
}

/* Badge Phase */
.phase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.badge-label {
    color: #1a1a1a;
    font-weight: 500;
}

.badge-separator {
    color: rgba(255, 255, 255, 0.3);
}

.badge-number {
    color: #ef4444;
    font-weight: 600;
}

/* Phase Title */
.phase-title {
    font-size: 2.75rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Phase Description */
.phase-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #a3a3a3;
    margin-bottom: 2.5rem;
}

/* Button */
.btn-phase {
    padding: 1rem 2.5rem;
    background: #ef4444;
    color: #1a1a1a;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-phase:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

/* ============================================
   PHASE IMAGE - PARTIE DROITE
============================================ */

}

.phase-image img {
    width: 100%;
  height: 500px;
    object-fit: cover;
    display: block;
}

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

@media (max-width: 1200px) {
    .phase-block {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 4%;
        min-height: auto;
        position: relative;
        top: auto;
    }
    
    .phase-content {
        margin-right: 0;
        max-width: none;
        padding: 3rem 2.5rem;
    }
    
    .phase-image {
        height: 400px;
    }
    
    .phase-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .phase-block {
        display: flex;
        flex-direction: column;
        min-height: auto;
        position: relative;
        padding: 3rem 5%;
    }
    
    .phase-content {
        order: 1;
        width: 100%;
    }
    
    .phase-title {
        font-size: 2rem;
    }
    
    .phase-description {
        font-size: 1.3rem;
    }
    
    .phase-image {
        display: none !important;
    }
    
    .btn-phase {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   THREE PHASE SECTION - STACKED IMAGES EFFECT
   Les images s'empilent en haut au scroll
============================================ */

.three-phase-overlap-section {
    padding: 0; /* Espace supprimÃ© complÃ¨tement */ /* Compense margin nÃ©gatif cumulatif */
    background: #ffffff;
    position: relative;
}

.section-container-wide {
    max-width: 100%;
    padding: 0;
}

/* ============================================
   PHASE BLOCK - STICKY SCROLL
============================================ */

.phase-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 100vh;     /* clé */
    position: sticky;
    top: 0;
    padding: 0;
    overflow: hidden;     /* empêche les images de déborder */
}

/* Z-index inversÃ© : le dernier au-dessus */
.phase-01 { z-index: 1; }
.phase-02 { z-index: 2; }
.phase-03 { z-index: 3; }
.phase-04 { z-index: 4; }
.phase-05 { z-index: 5; }
.phase-04 { z-index: 4; }
.phase-05 { z-index: 5; }

/* ============================================
   PHASE CONTENT - PARTIE GAUCHE
============================================ */

.phase-content {
    background: #ffffff;
    padding: 6rem 4rem 6rem 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Badge Phase */
.phase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    width: fit-content;
}

.badge-label {
    color: #1a1a1a;
    font-weight: 500;
}

.badge-separator {
    color: rgba(255, 255, 255, 0.3);
}

.badge-number {
    color: #ef4444;
    font-weight: 600;
}

/* Phase Title */
.phase-title {
    font-size: 2.75rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Phase Description */
.phase-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #a3a3a3;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Button */
.btn-phase {
    padding: 1rem 2.5rem;
    background: #ef4444;
    color: #1a1a1a;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-phase:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

/* ============================================
   PHASE IMAGE - PARTIE DROITE (STICKY TOP)
============================================ */

.phase-image {
    position: relative;
  height: 100%;
    overflow: hidden;
    border-radius: 24px 0 0 24px;
}

.phase-image img {
    width: 100%;
  height: 100%;
    object-fit: cover;
    display: block;
}

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

@media (max-width: 1200px) {
    .phase-block {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 80vh;
        position: relative;
        top: auto;
    }
    
    .phase-content {
        padding: 4rem 6%;
    }
    
    .phase-image {
        height: 50vh;
        min-height: 400px;
  	height: 800px;
        border-radius: 0;
    }
    
    .phase-title {
        font-size: 2.25rem;
    }
    
    .phase-description {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .phase-content {
        padding: 3rem 5%;
    }
    
    .phase-title {
        font-size: 2rem;
    }
    
    .phase-description {
        font-size: 1.3rem;
    }
    
    .phase-image {
        height: 40vh;
        min-height: 300px;
    }
    
    .btn-phase {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}
/* ============================================
   CONTACT SECTION - 60/40 LAYOUT
============================================ */

.contact-section {
    min-height: 100vh;
    background: transparent;
    padding: 0;
    position: relative;

    background: transparent !important;}

.contact-container {
    display: grid;
    grid-template-columns: 60fr 40fr;
    min-height: 100vh;
    background: transparent;

}

/* ============================================
   GAUCHE 60% - BLOCS INTERACTIFS
============================================ */

.interactive-area {
    background: transparent;
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.interactive-header {
    margin-bottom: 3rem;
    z-index: 10;
        background-color: transparent;

    position: relative;
}

.contact-title {
    font-size: 3rem;
    font-weight: 600;
    background: linear-gradient(135deg, #1a1a1a 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #a3a3a3;
    line-height: 1.6;
}

/* Canvas pour les blocs */
.blocks-canvas {
    flex: 1;
    position: relative;
    min-height: 500px;
}

/* ============================================
   BLOCS DRAGGABLES
============================================ */

.draggable-block {
    position: absolute;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: grab;
    user-select: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.draggable-block:active {
    cursor: grabbing;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    z-index: 1000 !important;
}

/* Couleurs des blocs */
.block-pink {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4081 100%);
}

.block-cyan {
    background: linear-gradient(135deg, #00d4ff 0%, #00a8cc 100%);
}

.block-yellow {
    background: linear-gradient(135deg, #ffd93d 0%, #ffbc00 100%);
    color: #1a1a1a;
}

.block-green {
    background: linear-gradient(135deg, #6bcf7f 0%, #4caf50 100%);
}

.block-purple {
    background: linear-gradient(135deg, #b388ff 0%, #7c4dff 100%);
}

/* ============================================
   DROITE 40% - FORMULAIRE
============================================ */

.form-area {
    background: rgba(23, 23, 23, 0.95);
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.form-header {
    margin-bottom: 3rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.form-description {
    font-size: 1.3rem;
    color: #a3a3a3;
}

/* ============================================
   FORM STYLES
============================================ */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #e5e5e5;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1.3rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

/* Placeholder styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ef4444;
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

/* Button Submit */
.btn-submit {
    padding: 1rem 2.5rem;
    background: #ef4444;
    color: #1a1a1a;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

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

@media (max-width: 1200px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .interactive-area {
        min-height: 60vh;
        padding: 4rem 3rem;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
    
    .form-area {
        padding: 4rem 3rem;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 768px) {
    .interactive-area,
    .form-area {
        padding: 3rem 2rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-title {
        font-size: 1.75rem;
    }
}

/* ============================================
   DROPDOWN NAVIGATION
   ============================================ */

.dropdown-nav {
    position: relative;
    display: inline-block;
}

.dropdown-nav > a {
    color: var(--text-secondary);
    font-size: 1.35rem !important;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.dropdown-content-nav {
    display: none;
    position: absolute;
    background-color: rgba(10, 10, 10, 0.95);
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    z-index: 1001;
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
}

.dropdown-content-nav a {
    color: var(--text-secondary);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-content-nav a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding-left: 25px;
}

.dropdown-nav:hover .dropdown-content-nav {
    display: block;
    animation: fadeInDown 0.3s ease-out;
}

.dropdown-nav:hover > a {
    color: var(--text-primary);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .dropdown-content-nav {
        position: static;
        box-shadow: none;
        margin-top: 0.5rem;
        background-color: transparent;
        border: none;
    }
    
    .dropdown-nav:hover .dropdown-content-nav {
        display: block;
    }
}

/* Force hero title opacity */
.hero-title, .hero-title * {
    opacity: 1 !important;
    color: #1a1a1a !important;
}

.title-line {
    opacity: 1 !important;
    color: #1a1a1a !important;
}

.partner-logo img {
    height: 50px !important;
    width: auto !important;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 1.5rem auto 2.5rem;
    line-height: 1.6;
    font-weight: 400;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1rem;
        margin: 1rem auto 2rem;
        padding: 0 1rem;
    }
}

/* Animation fade-in pour hero title - finit en NOIR */
@keyframes heroTitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1 !important;
        transform: translateY(0);
        color: #1a1a1a !important;
    }
}

.hero-title {
    animation: heroTitleFadeIn 1s ease-out forwards;
    animation-fill-mode: forwards !important;
}

.title-line {
    animation: heroTitleFadeIn 1s ease-out forwards;
    animation-fill-mode: forwards !important;
}

/* Fond noir pour vidÃ©o card-2 */
.card-2 {
    background: #000 !important;
}

.card-2 video {
    object-fit: cover !important;
}

/* Bouton son vidÃ©o */
.video-sound-btn {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(138, 43, 226, 0.9);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.video-sound-btn:hover {
    background: rgba(138, 43, 226, 1);
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
}

.video-sound-btn.active {
    background: rgba(34, 197, 94, 0.9);
    border-color: rgba(34, 197, 94, 0.5);
}

.video-sound-btn.active:hover {
    background: rgba(34, 197, 94, 1);
}

.video-sound-btn svg {
    width: 20px;
    height: 20px;
}

.video-sound-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

/* VidÃ©o Terre */
.video-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
}

.terre-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Image Interlocuteur */
.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

/* Forcer les coins arrondis pour images et vidÃ©os */
.feature-visual {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px ;
    overflow: hidden !important;
}

/* OVERRIDE */ .feature-image,
.terre-video {
    border-radius: 20px ;
    object-fit: cover !important;
}

/* Masquer les coins carrÃ©s avec un overlay */
.feature-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

/* Section titre NOS SERVICES */
.services-title-section {
    padding: 4rem 0 2rem 0;
    text-align: center;
}

.services-main-title {
   font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; 
}

/* Uniformiser tailles images NOS SERVICES */
.ai-feature-card .feature-visual {
    height: 180px !important;
    width: 100%;
    min-height: 180px;
    max-height: 180px;
}

.ai-feature-card .feature-visual img,
.ai-feature-card .feature-visual video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* ============================================
   BACKGROUND TEXTURÃ‰ BLANC AVEC EFFETS
============================================ */

body {
    position: relative;
    background: #ffffff;
    background-attachment: fixed;
}

/* Assurer que le contenu soit au-dessus */
.navbar,
.hero,
section,
footer {
    position: relative;
    z-index: 1;
}

/* ============================================
   FIX VIDÃ‰O - Affichage complet sans coupure
============================================ */
.card-2 {
    overflow: visible !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-2 video {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
}
footer {
    background: #ffffff;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 2rem 2rem 1.5rem;
}

.footer-container {
    max-width: 90%;
    margin: 0 auto;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.footer-logo sup {
    font-size: 1.3rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12rem;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--text-primary);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.social-icons a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: none;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--text-primary);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary);
}

    color: var(--bg-dark);
    border: none;
    border-radius: 10px;

/* ============================================
   FOOTER FOND BLANC - Adaptation couleurs texte
============================================ */
footer {
    color: #transparent !important;
}

.footer-logo {
    color: #transparent !important;
}

.footer-col h4 {
    color: #transparent! important;
}

.footer-col ul li a {
    color: #cccccc !important;
}

.footer-col ul li a:hover {
    color: #transparent! !important;
}

.social-icons a {
    color: #cccccc !important;
}

.social-icons a:hover {
    color: #ef4444 !important;
}

.footer-bottom p {
    color: #cccccc !important;
}

.footer-bottom a {
    color: #transparent! !important;
}

.footer-bottom a:hover {
    color: #ef4444 !important;
}

/* ============================================
   FOOTER FIX FINAL - OVERRIDE TOUT
============================================ */
footer#footer {
    background: transparent !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 2rem 0 1.5rem 0 !important;
    border: none !important;
}

footer .footer-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

footer .footer-columns {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
}
}

/* ============================================
   SECTION COMPTEURS ANIMÃ‰S - JW Consulting
============================================ */
.stats-section{padding:4rem 2rem;background:#fff;position:relative;overflow:hidden}
.stats-section::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 50%,rgba(91,163,224,.03) 0%,transparent 50%),radial-gradient(circle at 80% 50%,rgba(200,90,23,.03) 0%,transparent 50%);pointer-events:none}
.stats-container{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:2.5rem;position:relative;z-index:1}
.stat-card{background:#fff;padding:2.5rem 2rem;border-radius:15px;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.08);border:1px solid #f0f0f0;transition:all .3s ease;position:relative;overflow:hidden}
.stat-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#5BA3E0 0%,#C85A17 100%);transform:scaleX(0);transform-origin:left;transition:transform .4s ease}
.stat-card:hover::before{transform:scaleX(1)}
.stat-card:hover{transform:translateY(-5px);box-shadow:0 8px 20px rgba(0,0,0,.12);border-color:rgba(91,163,224,.2)}
.stat-icon{width:40px;height:40px;margin:0 auto 1.5rem;display:flex;align-items:center;justify-content:center;border-radius:12px;transition:all .3s ease}
.stat-card:nth-child(1) .stat-icon{background:linear-gradient(135deg,#E3F2FD 0%,#BBDEFB 100%);color:#5BA3E0}

/* ============================================
   HERO BACKGROUND VIDEO - FULL SCREEN
============================================ */
.hero-background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.hero > .hero-content {
    position: relative;
    z-index: 10 !important;
}

.hero > .hero-cards {
    position: relative;
    z-index: 10 !important;
    background: #ffffff;
    padding: 2rem 0;
}
/* Modifier stats-section pour fond transparent */
.stats-section {
    padding: 4rem 2rem;
    background: transparent !important;
    position: relative;
    overflow: hidden;
}

/* Garder un lÃ©ger fond blanc sur les cartes pour la lisibilitÃ© */
.stat-card {
    background: rgba(255, 255, 255, 0.85) !important;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    border: 1px solid rgba(240, 240, 240, 0.5);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
/* Rendre la section cards transparente pour voir la vidÃ©o */
.hero > .hero-cards {
    position: relative;
    z-index: 10 !important;
    background: transparent !important;
    padding: 2rem 0;
}

/* Ajouter un lÃ©ger fond transparent aux cards individuelles pour la lisibilitÃ© */
.card {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
}
/* Images en plein Ã©cran dans les cards */
.card img,
.card video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease;
}
/* Exception pour la vidÃ©o centrale - garder entiÃ¨re */
.card-2 video {
    object-fit: contain !important;
}
/* Rendre la card vidÃ©o centrale complÃ¨tement transparente */
.card-2 {
    background: transparent !important;
    backdrop-filter: none !important;
}
/* Titre NOS SERVICES en blanc */
.services-main-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    line-height: 1.2;
    margin-bottom: 1.5rem !important;
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: unset !important;
}
/* Annuler le titre blanc - garder le noir original */
.services-main-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    line-height: 1.2;
    margin-bottom: 1.5rem !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #888888 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: initial !important;
}

/* Rendre l'arriÃ¨re-plan de la section transparent */
.services-title-section {
    padding: 4rem 0 2rem 0 !important;
    text-align: center;
    background: transparent !important;
}
/* Ajouter fond blanc aux sections qui en ont besoin pour lisibilitÃ© */
.three-phase-overlap-section,
.services-section,
.features-section,

footer {
    background: #ffffff !important;
    position: relative;
}

/* Le reste reste transparent pour voir la vidÃ©o */
.hero,
.services-title-section,
.stats-section {
    background: transparent !important;
}
/* Remettre fond blanc pour la section NOS SERVICES */
.services-title-section {
    padding: 4rem 0 2rem 0 !important;
    text-align: center;
    background: #ffffff !important;
}
/* Header transparent avec Ã©critures noires */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
    padding: 1rem 2rem !important;
}

.logo {
    color: #1a1a1a !important;
    background: none !important;
    -webkit-text-fill-color: #1a1a1a !important;
}

.nav-links a {
    color: #1a1a1a !important;
    font-size: 1.35rem !important;
}

.nav-links a:hover {
    color: #5BA3E0 !important;
}
/* Sous-menus visibles avec fond blanc et texte noir */
.dropdown-content-nav {
    display: none !important;
    position: absolute !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    min-width: 200px !important;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2) !important;
    border-radius: 8px ;
    padding: 0.5rem 0 !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 0.5rem !important;
    z-index: 1001 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px) !important;
}

.dropdown-content-nav a {
    color: #1a1a1a !important;
    padding: 12px 20px !important;
    text-decoration: none ;
    display: block !important;
    transition: all 0.3s ease !important;
}

.dropdown-content-nav a:hover {
    background-color: rgba(91, 163, 224, 0.1) !important;
    color: #5BA3E0 !important;
    padding-left: 25px !important;
}

.dropdown-nav:hover .dropdown-content-nav {
    display: block !important;
}
/* Corriger le problÃ¨me de hover - Ã©liminer l'espace */
.dropdown-content-nav {
    display: none !important;
    position: absolute !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    min-width: 200px !important;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2) !important;
    border-radius: 8px ;
    padding: 0.5rem 0 !important;
    top: calc(100% + 0rem) !important;
    left: 0 !important;
    margin-top: 0rem !important;
    z-index: 1001 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px) !important;
}

/* Ajouter une zone invisible au-dessus pour garder le hover actif */
.dropdown-content-nav::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
}

.dropdown-nav {
    position: relative !important;
    display: inline-block !important;
}

.dropdown-content-nav a {
    color: #1a1a1a !important;
    padding: 12px 20px !important;
    text-decoration: none ;
    display: block !important;
    transition: all 0.3s ease !important;
}

.dropdown-content-nav a:hover {
    background-color: rgba(91, 163, 224, 0.1) !important;
    color: #5BA3E0 !important;
    padding-left: 25px !important;
}

.dropdown-nav:hover .dropdown-content-nav {
    display: block !important;
}

/* ===================================

/* ===================================
   ADAPTATION CSS ATERA POUR QUI SOMMES NOUS
   =================================== */

/* Structure principale de la section */
.ai-features-section {
    margin-top: -5rem; /* Remonte encore plus la section */
}
.ai-features-section .engagement-card-wrapper {
    display: grid !important;
    grid-template-columns: 500px 1fr !important;
    gap: 4rem;
    align-items: center;
    padding: 48px 56px;
}

@media (max-width: 1024px) {
    .ai-features-section .engagement-card-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 32px 24px;
    }
}

/* SVG Tower styling */
.ai-features-section .engagement-card-wrapper svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Structure du texte Ã  droite */
.ai-features-section .engagement-card-wrapper > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Descriptions des fonctionnalitÃ©s */
.ai-features-section .feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .ai-features-section .engagement-card-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .ai-features-section .engagement-card-wrapper svg {
        max-width: 350px;
    }
}

/* Ajustements pour le SVG 3D */
.ai-features-section .engagement-card-wrapper svg g {
    transition: opacity 0.3s ease;
}

.ai-features-section .engagement-card-wrapper svg text {
    font-family: 'Inter', 'Arial', sans-serif;
}

/* ===================================

/* ===================================
   CORRECTIONS NOS VALEURS - SVG COMPLET
   =================================== */

/* Fix 1: Afficher tout le SVG (enlever overflow hidden) */
.ai-features-section {
    margin-top: -5rem; /* Remonte encore plus la section */
}
.ai-features-section .engagement-card-wrapper {
    display: grid !important;
    grid-template-columns: 500px 1fr !important;
    gap: 4rem;
    align-items: flex-start;
    padding: 48px 56px;
    background: transparent;
    border-radius: 24px;
    box-shadow: none;
    overflow: visible !important; /* Important pour voir tout le SVG */
}

/* Fix 2: SVG visible en entier */
.ai-features-section .tower-column {
    position: sticky;
    top: 100px;
    overflow: visible !important;
}

.ai-features-section .tower-column svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 auto;
    overflow: visible !important;
}

/* Fix 3: Texte reste dans sa colonne (pas de dÃ©bordement) */
.ai-features-section .text-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
    overflow: hidden; /* EmpÃªche le dÃ©bordement */
}

.valeurs-carousel {
    min-height: 300px;
    width: 100%;
}

.valeurs-carousel .slide-content {
    padding: 1rem 0;
    max-width: 100%;
    word-wrap: break-word;
}

.valeurs-carousel .slide-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #5BA3E0;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.valeurs-carousel .slide-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Fix 4: Bloc bleu pour la slide "Interlocuteur Unique" */
.valeurs-carousel .splide__slide[data-svg-target="interlocuteur"] {
    position: relative;
}

.valeurs-carousel .splide__slide[data-svg-target="interlocuteur"].is-active .slide-content {
    background: linear-gradient(135deg, #5BA3E0 0%, #4A8FCC 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(91, 163, 224, 0.3);
    transition: all 0.5s ease;
}

.valeurs-carousel .splide__slide[data-svg-target="interlocuteur"].is-active .slide-content h3 {
    color: #ffffff !important;
}

.valeurs-carousel .splide__slide[data-svg-target="interlocuteur"].is-active .slide-content p {
    color: #ffffff !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .ai-features-section .engagement-card-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 32px 24px;
    }
    
    .ai-features-section .tower-column {
        position: static;
        order: -1;
    }
    
    .ai-features-section .tower-column svg {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .ai-features-section .engagement-card-wrapper {
        padding: 24px 16px;
        gap: 2rem;
    }
    
    .ai-features-section .tower-column svg {
        max-width: 300px;
    }
    
    .valeurs-carousel .slide-content h3 {
        font-size: 1.5rem;
    }
    
    .valeurs-carousel .slide-content p {
        font-size: 1rem;
    }
}

/* ===================================
   PAGINATION CAROUSEL
   =================================== */
.carousel-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.pagination-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
}

.pagination-btn:hover {
    transform: scale(1.1);
}

.pagination-btn:active {
    transform: scale(0.95);
}

.pagination-btn svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

/* Bouton prÃ©cÃ©dent (gauche) - Orange */
.prev-btn:hover svg circle {
    fill: #EA580C !important;
}

/* Bouton suivant (droite) - Bleu */
.next-btn:hover svg circle {
    fill: #2563EB !important;
}

.pagination-counter {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    min-width: 60px;
    text-align: center;
}

.current-slide {
    font-size: 1.25rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .carousel-pagination {
        gap: 1.5rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .pagination-btn svg {
        width: 40px;
        height: 40px;
    }
    
    .pagination-counter {
        font-size: 1rem;
    }
    
    .current-slide {
        font-size: 1.125rem;
    }
}

/* ===================================
   STATISTIQUES - CHIFFRES EN GRAND
   =================================== */

.stat-number {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-big-number {
    font-size: 4rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #F36B21 0%, #2F80ED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .stat-big-number {
        font-size: 3rem !important;
    }
}

/* Titre NOS SERVICES dans chaque carte service */

/* Titre NOS SERVICES dans chaque carte - MÃªmes couleurs que "Qui sommes nous" */
.services-section-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1a1a1a 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: -1rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Phase-content : centrer et Ã©largir le contenu */
.three-phase-overlap-section .phase-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    max-width: 50%;
    margin: 0 auto;
    
    
}

/* Phase-description : Ã©largir pour prendre l'espace */
.three-phase-overlap-section .phase-description {
    max-width: 100%;
    width: 100%;
    text-align: justify;
}

/* Phase-title : centrÃ© */
.three-phase-overlap-section .phase-title {
    text-align: center;
}

/* Phase-badge : centrÃ© */
.three-phase-overlap-section .phase-badge {
    margin: 0 auto 1.5rem;
}

/* Bouton : centrÃ© */
.three-phase-overlap-section .btn-phase {
    margin: 2rem auto 0;
}

@media (max-width: 768px) {
    .services-section-title {
        font-size: 2rem;
    }
}

/* ============================================
   EFFETS CAROUSEL QUI SOMMES NOUS
============================================ */

/* Page 2 : Illuminer les blocs CYAN (bleus) */
.valeurs-carousel.page-2 .block-cyan {
    background: linear-gradient(135deg, #00d4ff 0%, #00a8cc 100%);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 
                0 0 60px rgba(0, 212, 255, 0.5),
                0 0 90px rgba(0, 212, 255, 0.3);
    animation: glow-cyan 2s ease-in-out infinite alternate;
}

@keyframes glow-cyan {
    from {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 
                    0 0 60px rgba(0, 212, 255, 0.5),
                    0 0 90px rgba(0, 212, 255, 0.3);
    }
    to {
        box-shadow: 0 0 40px rgba(0, 212, 255, 1), 
                    0 0 80px rgba(0, 212, 255, 0.7),
                    0 0 120px rgba(0, 212, 255, 0.5);
    }
}

/* Page 3 : Illuminer les blocs YELLOW (orange) */
.valeurs-carousel.page-3 .block-yellow {
    background: linear-gradient(135deg, #ffd93d 0%, #ffbc00 100%);
    box-shadow: 0 0 30px rgba(255, 217, 61, 0.8), 
                0 0 60px rgba(255, 188, 0, 0.5),
                0 0 90px rgba(255, 188, 0, 0.3);
    animation: glow-yellow 2s ease-in-out infinite alternate;
}

@keyframes glow-yellow {
    from {
        box-shadow: 0 0 30px rgba(255, 217, 61, 0.8), 
                    0 0 60px rgba(255, 188, 0, 0.5),
                    0 0 90px rgba(255, 188, 0, 0.3);
    }
    to {
        box-shadow: 0 0 40px rgba(255, 217, 61, 1), 
                    0 0 80px rgba(255, 188, 0, 0.7),
                    0 0 120px rgba(255, 188, 0, 0.5);
    }
}

/* Page 4 : Transformer les carrÃ©s noirs en DORÃ‰S */
.valeurs-carousel.page-4 .block-pink,
.valeurs-carousel.page-4 .block-cyan,
.valeurs-carousel.page-4 .block-yellow,
.valeurs-carousel.page-4 .block-green,
.valeurs-carousel.page-4 .block-purple {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%) !important;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 
                0 0 60px rgba(255, 215, 0, 0.5),
                0 0 90px rgba(255, 215, 0, 0.3);
    animation: glow-gold 2s ease-in-out infinite alternate;
    color: #1a1a1a !important;
}

@keyframes glow-gold {
    from {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 
                    0 0 60px rgba(255, 215, 0, 0.5),
                    0 0 90px rgba(255, 215, 0, 0.3);
    }
    to {
        box-shadow: 0 0 40px rgba(255, 215, 0, 1), 
                    0 0 80px rgba(255, 215, 0, 0.7),
                    0 0 120px rgba(255, 215, 0, 0.5);
    }
}

/* ============================================
   SECTION AVIS CLIENTS - ILS NOUS FONT CONFIANCE
============================================ */

.reviews-area {
    background: transparent;
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.reviews-header {
    margin-bottom: 3rem;
    z-index: 10;
    position: relative;
    text-align: center;
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.google-rating .stars {
    font-size: 1.5rem;
    line-height: 1;
}

.google-rating .rating-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

.google-rating .reviews-count {
    font-size: 1rem;
    color: #a3a3a3;
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 770px;
    overflow-y: auto;
    padding-right: 1rem;
    position: relative;
}

/* Scrollbar personnalisÃ©e */
.reviews-container::-webkit-scrollbar {
    width: 8px;
}

.reviews-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.reviews-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.reviews-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.review-card {
    background: rgba(23, 23, 23, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.review-card:hover {
    background: rgba(23, 23, 23, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F36B21 0%, #2F80ED 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.review-date {
    font-size: 0.875rem;
    color: #a3a3a3;
    margin: 0;
}

.review-stars {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e5e5e5;
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .reviews-area {
        padding: 4rem 3rem;
    }
    
    .reviews-container {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .reviews-area {
        padding: 3rem 2rem;
    }
    
    .google-rating {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .reviews-container {
        max-height: 400px;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Liens footer plus foncÃ©s */
footer .footer-col ul li a {
    color: #2a2a2a !important;
}

footer .footer-col ul li a:hover {
    color: #000000 !important;
}

footer .footer-col h4 {
    color: #1a1a1a !important;
}

/* ============================================
   SVG QUI SOMMES-NOUS - COULEURS PAR PAGE
============================================ */

/* Page 2 : Ã‰lÃ©ments orange/roses deviennent #FFE8DC */
.valeurs-carousel.page-2 #aio_pink {
    fill: #FFE8DC !important;
    opacity: 0.9;
    transition: fill 0.5s ease;
}

.valeurs-carousel.page-2 #aio_pink_floor {
    fill: #FFE8DC !important;
    transition: fill 0.5s ease;
}

.valeurs-carousel.page-2 #aio_pink_floor_2 {
    fill: #FFE8DC !important;
    transition: fill 0.5s ease;
}

/* ============================================
   RESPONSIVE AMÃ‰LIORÃ‰ - TRÃˆS PETITS Ã‰CRANS
============================================ */

/* Tablettes et petits laptops */
@media (max-width: 992px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

/* Smartphones en paysage */
@media (max-width: 640px) {
    body {
        font-size: 13px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Formulaire responsive */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .btn-submit {
        width: 100%;
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    /* Navigation mobile */
    nav {
        padding: 0.75rem 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-links a {
        font-size: 0.875rem;
    }
}

/* Petits smartphones en portrait */
@media (max-width: 480px) {
    body {
        font-size: 12px;
    }
    
    h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.125rem;
        line-height: 1.3;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    /* Sections avec padding rÃ©duit */
    section {
        padding: 2rem 0;
    }
    
    /* Cartes/Cards empilÃ©es */
    .card-grid,
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    /* Images responsive */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Boutons pleine largeur */
    .btn,
    button,
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    /* Texte plus petit */
    p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    /* Formulaire trÃ¨s petit Ã©cran */
    .form-group label {
        font-size: 0.75rem;
    }
    
    .contact-title {
        font-size: 1.5rem !important;
    }
    
    .interactive-area,
    .form-area {
        padding: 2rem 1rem !important;
    }
}

/* TrÃ¨s petits appareils (320px) */
@media (max-width: 375px) {
    body {
        font-size: 11px;
    }
    
    h1 {
        font-size: 1.25rem;
    }
    
    h2 {
        font-size: 1.125rem;
    }
    
    h3 {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    section {
        padding: 1.5rem 0;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 0.875rem;
        padding: 0.625rem 0.875rem;
    }
    
    .btn-submit {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
    }
}

/* RÃ¨gles gÃ©nÃ©rales pour tous les mobiles */
@media (max-width: 768px) {
    /* DÃ©bordement horizontal */
    * {
        max-width: 100%;
    }
    
    /* Overflow cachÃ© sur body */
    body {
        overflow-x: hidden;
    }
    
    /* Tables responsive */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* Flex wrap sur mobile */
    .flex-row {
        flex-wrap: wrap;
    }
    
    /* Grid 1 colonne sur mobile */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
    }
    
    /* Marges rÃ©duites */
    .spacing-lg {
        margin: 2rem 0;
    }
    
    .spacing-md {
        margin: 1.5rem 0;
    }
    
    .spacing-sm {
        margin: 1rem 0;
    }
}

/* Touch targets pour mobile (44x44px minimum) */
@media (max-width: 768px) {
    a,
    button,
    input[type="submit"],
    input[type="button"],
    .clickable {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Augmenter la zone de clic des liens */
    nav a,
    .menu-item {
        padding: 0.75rem 1rem;
    }
}

/* === QUI SOMMES NOUS (REFERENCE CSS) === */
/* ==========================================================================
   CSS â€” SECTION "QUI SOMMES-NOUS" (TEST AUTONOME)
   --------------------------------------------------------------------------
   Contenu :
   A) BASE TEST
      - styles minimaux pour lisibilitÃ© (body, container, titres)
      - garantit que le contenu reste visible mÃªme si Splide n'est pas montÃ©

   B) LAYOUT 2 COLONNES (SVG Ã  gauche / texte Ã  droite)
      - .engagement-card-wrapper en grid : 500px + 1fr
      - responsive : 1 colonne sous 1024px

   C) CAROUSEL / TEXTE
      - styles des titres, paragraphes, espacement

   D) PAGINATION PERSONNALISÃ‰E
      - .carousel-pagination + boutons prev/next + compteur

   Note importante :
   - Les rÃ¨gles "spÃ©ciales page 2" (ciblant data-svg-target="interlocuteur")
     ont Ã©tÃ© SUPPRIMÃ‰ES pour que la page 2 ait le mÃªme rendu texte que page 1.
   ========================================================================== */

/* ===== BASE TEST ===== */
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#fff;color:#111;}
.section-container{max-width:1200px;margin:0 auto;padding:32px 20px;}
.section-title{margin:0;}
.services-main-title{font-size:32px;line-height:1.1;}
.slide-content h3{margin:0 0 10px;}
.slide-content p{margin:0;color:#333;}
/* Ã©viter que Splide masque le contenu si un init Ã©choue */
.splide{visibility:visible;}

ADAPTATION CSS ATERA POUR QUI SOMMES NOUS
   =================================== */

/* Structure principale de la section */
.ai-features-section {
    margin-top: -5rem; /* Remonte encore plus la section */
}
.ai-features-section .engagement-card-wrapper {
    display: grid !important;
    grid-template-columns: 500px 1fr !important;
    gap: 4rem;
    align-items: center;
    padding: 48px 56px;
}

@media (max-width: 1024px) {
    .ai-features-section .engagement-card-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 32px 24px;
    }
}

/* SVG Tower styling */
.ai-features-section .engagement-card-wrapper svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Structure du texte Ã  droite */
.ai-features-section .engagement-card-wrapper > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Descriptions des fonctionnalitÃ©s */
.ai-features-section .feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .ai-features-section .engagement-card-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .ai-features-section .engagement-card-wrapper svg {
        max-width: 350px;
    }
}

/* Ajustements pour le SVG 3D */
.ai-features-section .engagement-card-wrapper svg g {
    transition: opacity 0.3s ease;
}

.ai-features-section .engagement-card-wrapper svg text {
    font-family: 'Inter', 'Arial', sans-serif;
}

/* ===================================

/* ===================================
   CORRECTIONS NOS VALEURS - SVG COMPLET
   =================================== */

/* Fix 1: Afficher tout le SVG (enlever overflow hidden) */
.ai-features-section {
    margin-top: -5rem; /* Remonte encore plus la section */
}
.ai-features-section .engagement-card-wrapper {
    display: grid !important;
    grid-template-columns: 500px 1fr !important;
    gap: 4rem;
    align-items: flex-start;
    padding: 48px 56px;
    background: transparent;
    border-radius: 24px;
    box-shadow: none;
    overflow: visible !important; /* Important pour voir tout le SVG */
}

/* Fix 2: SVG visible en entier */
.ai-features-section .tower-column {
    position: sticky;
    top: 100px;
    overflow: visible !important;
}

.ai-features-section .tower-column svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 auto;
    overflow: visible !important;
}

/* Fix 3: Texte reste dans sa colonne (pas de dÃ©bordement) */
.ai-features-section .text-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100%;
    overflow: hidden; /* EmpÃªche le dÃ©bordement */
}

.valeurs-carousel {
    min-height: 300px;
    width: 100%;
}

.valeurs-carousel .slide-content {
    padding: 1rem 0;
    max-width: 100%;
    word-wrap: break-word;
}

.valeurs-carousel .slide-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #5BA3E0;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.valeurs-carousel .slide-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin: 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}/* Responsive */
@media (max-width: 1024px) {
    .ai-features-section .engagement-card-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 32px 24px;
    }
    
    .ai-features-section .tower-column {
        position: static;
        order: -1;
    }
    
    .ai-features-section .tower-column svg {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .ai-features-section .engagement-card-wrapper {
        padding: 24px 16px;
        gap: 2rem;
    }
    
    .ai-features-section .tower-column svg {
        max-width: 300px;
    }
    
    .valeurs-carousel .slide-content h3 {
        font-size: 1.5rem;
    }
    
    .valeurs-carousel .slide-content p {
        font-size: 1rem;
    }
}

/* ===================================
   PAGINATION CAROUSEL
   =================================== */
.carousel-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.pagination-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    outline: none;
}

.pagination-btn:hover {
    transform: scale(1.1);
}

.pagination-btn:active {
    transform: scale(0.95);
}

.pagination-btn svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

/* Bouton prÃ©cÃ©dent (gauche) - Orange */
.prev-btn:hover svg circle {
    fill: #EA580C !important;
}

/* Bouton suivant (droite) - Bleu */
.next-btn:hover svg circle {
    fill: #2563EB !important;
}

.pagination-counter {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    min-width: 60px;
    text-align: center;
}

.current-slide {
    font-size: 1.25rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .carousel-pagination {
        gap: 1.5rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .pagination-btn svg {
        width: 40px;
        height: 40px;
    }
    
    .pagination-counter {
        font-size: 1rem;
    }
    
    .current-slide {
        font-size: 1.125rem;
    }
}

/* === OVERRIDES QS (v31) === */
/* Enlever le fond bleu de la slide 2 (interlocuteur) */
.valeurs-carousel .splide__slide[data-svg-target="interlocuteur"].is-active .slide-content{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Justifier le texte des 4 pages */
.valeurs-carousel .slide-content p{
  text-align: justify;
  text-justify: inter-word;
}

/* === FIX v32: slide 2 visible sans fond bleu === */
.valeurs-carousel .splide__slide[data-svg-target="interlocuteur"].is-active .slide-content,
.valeurs-carousel .splide__slide[data-svg-target="interlocuteur"].is-active .slide-content *{
  color: inherit !important;
}

/* === FIX v33: forcer la lisibilitÃ© du texte page 2 (interlocuteur) === */
.valeurs-carousel .splide__slide[data-svg-target="interlocuteur"].is-active .slide-content h3,
.valeurs-carousel .splide__slide[data-svg-target="interlocuteur"].is-active .slide-content p{
  color: #111 !important;
}

/* === FIX v34: slide 2 (interlocuteur) = mÃªme visuel que les autres slides === */
.valeurs-carousel .splide__slide[data-svg-target="interlocuteur"].is-active .slide-content{
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}

.valeurs-carousel .splide__slide[data-svg-target="interlocuteur"].is-active .slide-content h3{
  color: #5BA3E0 !important;
}

.valeurs-carousel .splide__slide[data-svg-target="interlocuteur"].is-active .slide-content p{
  color: inherit !important;
}

/* === Chargement immédiat de la page === */
.phase-block,
.phase-content,
.phase-image {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================
   RESPONSIVE MOBILE - CORRECTIONS COMPLÃˆTES
============================================ */

/* Menu Hamburger pour Mobile */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: #1a1a1a;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    padding-top: 80px;
}

.mobile-menu-overlay.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.mobile-menu-overlay a {
    color: white;
    font-size: 1.5rem;
    padding: 20px;
    text-decoration: none;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-overlay .mobile-submenu {
    width: 100%;
}

.mobile-menu-overlay .mobile-submenu a {
    font-size: 1.2rem;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    /* Afficher le hamburger sur mobile */
    .hamburger-menu {
        display: flex;
    }
    
    /* Cacher le menu desktop */
    .nav-links {
        display: none;
    }
    
    /* Container principal - Ã©viter dÃ©bordement */
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    * {
        max-width: 100vw;
    }
    
    /* Header */
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-container {
        justify-content: space-between;
    }
    
    .partner-logo {
        font-size: 1.2rem;
    }
    
    .header-logo-img img {
        height: 40px;
    }
    
    /* Titre principal - Ã©viter dÃ©bordement */
    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem) !important;
        line-height: 1.2 !important;
        padding: 0 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .title-line {
        display: block;
        max-width: 100%;
    }
    
    /* Sous-titre */
    .hero-subtitle {
        font-size: 1rem !important;
        padding: 0 20px;
        max-width: 100% !important;
    }
    
    /* Stats Section - Compteurs en colonne */
    .stats-container {
        flex-direction: column !important;
        gap: 20px !important;
        padding: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .stat-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
    }
    
    .stat-label {
        font-size: 0.9rem !important;
    }
    
    /* Logos partenaires - en colonne */
    .partners-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 20px !important;
    }
    
    .partner-logo {
        width: 100% !important;
        max-width: 200px !important;
        margin: 0 auto !important;
    }
    
    /* Masquer les images, garder seulement la vidÃ©o */
    .hero img:not(.header-logo-img img):not(.partner-logo img) {
        display: none !important;
    }
    
    /* Photos de la section - masquer sur mobile */
    section img:not(.header-logo-img img):not(.partner-logo img):not(.legal-logo) {
        display: none !important;
    }
    
    /* VidÃ©os - adapter */
    video {
        width: 100% !important;
        height: auto !important;
    }
    
    .hero-background-video {
        width: 100% !important;
        height: 100vh !important;
        object-fit: cover !important;
    }
    
    /* Cards et conteneurs */
    .card, .feature-card, .service-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px 0 !important;
    }
    
    /* Grids en colonne */
    .grid, .features-grid, .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Textes */
    h1 {
        font-size: clamp(2rem, 8vw, 3rem) !important;
    }
    
    h2 {
        font-size: clamp(1.5rem, 6vw, 2.5rem) !important;
    }
    
    h3 {
        font-size: clamp(1.2rem, 5vw, 2rem) !important;
    }
    
    p {
        font-size: 1rem !important;
        padding: 0 15px;
    }
    
    /* Boutons */
    .btn, .cta-button, .btn-submit {
        width: 100% !important;
        max-width: 300px !important;
        padding: 15px 20px !important;
        font-size: 1rem !important;
    }
    
    /* Formulaire de contact */
    .contact-form {
        padding: 20px !important;
    }
    
    .form-row {
        flex-direction: column !important;
    }
    
    .form-group {
        width: 100% !important;
    }
    
    input, textarea {
        width: 100% !important;
        font-size: 16px !important; /* Ã‰vite le zoom sur iOS */
    }
    
    /* Footer */
    .footer-container {
        flex-direction: column !important;
        padding: 30px 20px !important;
    }
    
    .footer-columns {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .footer-col {
        width: 100% !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    
    /* Sections */
    section {
        padding: 40px 15px !important;
    }
    
    .container {
        padding: 0 15px !important;
        max-width: 100% !important;
    }
    
    /* Eviter tout dÃ©bordement horizontal */
    .hero-content,
    .section-content,
    .content-wrapper {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding: 0 15px !important;
    }
}

/* TrÃ¨s petit mobile (iPhone SE, etc.) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.8rem !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .navbar {
        padding: 10px 15px;
    }
}




/* ============================================
   CHIFFRES CLÉS DANS LA SECTION CONTACT (60%)
   Réutilise les .stat-card existantes mais en version compacte
============================================ */
.kpi-area .kpi-subtitle{
    margin: .6rem 0 0;
    color: rgba(255,255,255,.78);
    font-size: .95rem;
    line-height: 1.35;
}
.kpi-area .kpi-subtitle code{
    background: rgba(0,0,0,.28);
    padding: .12rem .35rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,.12);
    font-size: .9em;
}
.stats-section--contact{
    padding: 0 !important;
    background: transparent !important;
}
.stats-container--contact{
    max-width: none !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem !important;
}
.stats-section--contact .stat-card{
    padding: 1.6rem 1.2rem !important;
}
.stats-section--contact .stat-number .stat-big-number{
    font-size: 2rem !important;
}
@media (max-width: 1100px){
    .stats-container--contact{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px){
    .stats-container--contact{ grid-template-columns: 1fr; }
}
