/* =========================
     MENU MOBILE avec micro-animations
     ========================= */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: var(--primary-black);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: #27ae5f !important;
    box-shadow: 0 2px 4px rgba(39, 174, 95, 0.3);
    width: 28px;
    height: 3px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: #27ae5f !important;
    box-shadow: 0 2px 4px rgba(39, 174, 95, 0.3);
    width: 28px;
    height: 3px;
}

/* Animation de la croix */
.mobile-menu-toggle.active {
    transform: scale(1.1);
    background: rgba(39, 174, 95, 0.15);
    border-radius: 8px;
    border: 2px solid rgba(39, 174, 95, 0.3);
}

.mobile-menu-toggle.active:hover {
    transform: scale(1.2);
    background: rgba(39, 174, 95, 0.2);
    border-color: rgba(39, 174, 95, 0.5);
}

/* Assurer que les lignes de la croix sont bien visibles */
.mobile-menu-toggle.active .hamburger-line {
    background: #27ae5f !important;
    opacity: 1 !important;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    z-index: 1099;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(-20px);
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Bouton de fermeture du menu mobile */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1101;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-menu-close:hover {
    background: #27ae5f;
    border-color: #27ae5f;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(39, 174, 95, 0.3);
}

.mobile-menu-close:hover svg {
    stroke: white;
}

.mobile-menu-close svg {
    stroke: #666;
    transition: stroke 0.3s ease;
}
.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 20px;
}
.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    width: 100%;
}
.mobile-nav-links li {
    margin-bottom: 24px;
    text-align: center;
}
.mobile-nav-links a {
    color: var(--primary-black);
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--accent-green);
}

/* Mobile dropdown styles */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-dropdown-icon {
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-icon {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    list-style: none;
    padding: 16px 0 0 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 400px;
    opacity: 1;
}

.mobile-dropdown-menu li {
    margin-bottom: 12px;
}

.mobile-dropdown-menu a {
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #666 !important;
    padding: 8px 20px;
    display: block;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-dropdown-menu a:hover {
    color: var(--accent-green) !important;
    background: rgba(39, 174, 95, 0.1);
}

.mobile-cta {
    display: inline-block;
    background: var(--accent-green);
    color: white !important;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    margin-top: 16px;
    box-shadow: 0 4px 14px 0 rgba(76, 175, 80, 0.3);
    transition: background 0.2s;
}
.mobile-cta:hover {
    background: var(--accent-blue);
}
.mobile-contact-info {
    text-align: center;
    color: var(--text-gray);
    font-size: 15px;
    margin-top: 24px;
}
.mobile-contact-info strong {
    color: var(--primary-black);
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .nav-menu {
        display: none !important;
    }
    .nav-cta {
        display: none !important;
    }
}
/**
 * Header & Footer Styles - OpenGraphy Odoo Landing Page
 * Styles pour la navigation et le pied de page
 */

/* ==========================================
   VARIABLES CSS
   ========================================== */
:root {
    --primary-black: #2C2C2C;
    --primary-white: #FFFFFF;
    --accent-green: #4CAF50;
    --accent-blue: #1976D2;
    --text-gray: #666666;
    --light-gray: #F5F5F5;
    --border-gray: #E0E0E0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', 'Helvetica Neue', sans-serif;
}

/* ==========================================
   ANIMATED BACKGROUND
   ========================================== */
/* .animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
} */

.geometric-shape {
    position: absolute;
    border: 2px solid var(--primary-black);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 30%;
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

/* ==========================================
   CUSTOM CURSOR
   ========================================== */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-green);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
    opacity: 0;
}

.custom-cursor.active {
    opacity: 0.8;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(76, 175, 80, 0.3);
}

/* ==========================================
   SCROLL PROGRESS BAR
   ========================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
    z-index: 1001;
    transition: width 0.3s ease;
}

/* ==========================================
   NAVIGATION
   ========================================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(39, 174, 95, 0.1);
}

nav.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(39, 174, 95, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    /* Dégradé supprimé pour permettre les couleurs personnalisées */
}

/* Styles pour le nouveau logo réseau OpenGraphy */
.logo-container {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-container:hover {
    /* Effet de scale supprimé */
}

.logo-box {
    position: relative;
}

.logo-svg {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(39, 174, 95, 0.2));
}

.logo-container:hover .logo-svg {
    transform: rotate(10deg);
    filter: drop-shadow(0 4px 16px rgba(39, 174, 95, 0.4));
}

/* Animations pour les nœuds du réseau */
.logo-node {
    animation: float 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.2s);
    transform-origin: center;
}

.logo-center {
    animation: pulse 2s ease-in-out infinite;
}

.logo-line {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: draw 2s ease-in-out infinite alternate;
}


.logo-outer {
    animation: orbit 10s linear infinite;
    transform-origin: 24px 24px;
}

/* Animations logo header */
@keyframes pulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}



.logo-container:hover .logo-text {
    opacity: 1 !important;
    visibility: visible !important;
}

.logo-container:hover .logo-svg {
    transform: scale(1.1) rotate(10deg);
}

.logo-svg {
    transition: transform 0.3s ease;
}

/* Styles pour le logo du footer */
.footer-logo-box {
    position: relative;
}

/* Le logo du footer utilise maintenant les mêmes classes que le header */
.footer-brand:hover .logo-svg {
    transform: rotate(10deg);
    filter: drop-shadow(0 4px 16px rgba(39, 174, 95, 0.4));
}

/* Le footer utilise maintenant les mêmes styles que le header */
.footer-brand:hover .logo-text {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Animation au chargement de la page */
.logo-svg .logo-node {
    opacity: 1;
    animation: float 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.2s);
}

.logo-svg .logo-line {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: draw 2s ease-in-out infinite alternate;
}


.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-black);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mega Menu Styles */
.nav-item {
    position: relative;
}

.has-megamenu .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-icon {
    transition: transform 0.3s var(--ease-smooth);
}

.has-megamenu:hover .dropdown-icon {
    transform: rotate(180deg);
}

.megamenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-gray);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s var(--ease-smooth);
    z-index: 1000;
    padding: 0;
    margin-top: 16px;
}

.has-megamenu:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.megamenu-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    height: 100%;
}

.megamenu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 32px;
    border-right: 1px solid var(--border-gray);
}

.megamenu-section {
    padding: 0 16px;
}

.megamenu-section h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--primary-black);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-gray);
}

.megamenu-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.megamenu-section li {
    margin-bottom: 8px;
}

.megamenu-section a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s var(--ease-smooth);
    padding: 4px 0;
    display: block;
    position: relative;
}

.megamenu-section a:hover {
    color: var(--accent-green);
   
}


.megamenu-cta {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-blue) 100%);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 16px 16px 0;
}

.megamenu-highlight {
    text-align: center;
    color: white;
}

.megamenu-highlight h5 {
    font-size: 18px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.megamenu-highlight p {
    font-size: 14px;
    margin: 0 0 20px 0;
    opacity: 0.9;
    line-height: 1.4;
}

.btn-primary-small {
    background: white;
    color: var(--accent-green);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s var(--ease-smooth);
    display: inline-block;
}

.btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: var(--light-gray);
}

.nav-cta {
    background: var(--accent-green);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 14px 0 rgba(76, 175, 80, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(76, 175, 80, 0.4);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    padding: 60px 0 40px;
    background: var(--primary-black);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Colonnes du footer */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Section marque dans la première colonne */
.footer-brand {
    margin-bottom: 0;
}

/* Sections dans les colonnes */
.footer-section {
    margin-bottom: 0;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-brand h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, white 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 0;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: white;
    opacity: 0.7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    opacity: 1;
    color: var(--accent-green);
}

.footer-bottom {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 40px;
}

.footer-bottom p {
    margin: 0;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent-green);
    transform: translateY(-2px);
}

/* =========================
     FOOTER WOW DESIGN
     ========================= */
.footer-wow {
    background: #111827; /* bg-gray-900 */
    color: white;
    position: relative;
    /* z-index: 2000; */
    padding: 80px 0 40px;
    margin-bottom: 0;
    /* Supprime min-height qui causait la coupure */
    overflow: visible; /* Permet au contenu d'être visible */
}

/* Particules d'arrière-plan */
.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.footer-particles .particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, var(--accent-green) 0%, rgba(55, 208, 126, 0.8) 100%);
  border-radius: 50%;
  opacity: 1;
  animation: particleFloat 10s linear infinite;
  box-shadow: 
    0 0 15px rgba(55, 208, 126, 1),
    0 0 30px rgba(55, 208, 126, 0.5);
  z-index: 10;
  display: block !important;
  visibility: visible !important;
  transform: scale(1);
}

.footer-particles .particle:nth-child(1) {
  left: 15%;
  bottom: 200px;
  animation-delay: 0s;
  animation-duration: 8s;
}

.footer-particles .particle:nth-child(2) {
  left: 35%;
  bottom: 180px;
  animation-delay: 2s;
  animation-duration: 10s;
}

.footer-particles .particle:nth-child(3) {
  left: 55%;
  bottom: 220px;
  animation-delay: 1s;
  animation-duration: 9s;
}

.footer-particles .particle:nth-child(4) {
  left: 75%;
  bottom: 190px;
  animation-delay: 3s;
  animation-duration: 11s;
}

.footer-particles .particle:nth-child(5) {
  left: 85%;
  bottom: 210px;
  animation-delay: 1.5s;
  animation-duration: 7s;
}/* Gradient animé d'arrière-plan */
.footer-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        rgba(16, 185, 129, 0.05) 0%,
        rgba(59, 130, 246, 0.05) 25%,
        rgba(139, 92, 246, 0.05) 50%,
        rgba(16, 185, 129, 0.05) 75%,
        rgba(59, 130, 246, 0.05) 100%);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    opacity: 0.1; /* Réduit l'opacité pour ne pas masquer le background principal */
    pointer-events: none;
}

/* Brand avec animations */
.footer-brand {
    max-width: 400px;
}

/* Override pour la colonne étendue */
.footer-brand-large {
    max-width: none !important;
}

.brand-logo-container {
    margin-bottom: 24px;
}

.brand-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, 
        var(--accent-green), 
        var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.brand-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--accent-green), 
        var(--accent-blue));
    border-radius: 2px;
    animation: underlineExpand 2s ease-in-out infinite alternate;
}

.brand-description {
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 20px;
    font-size: 16px;
}

.brand-spacer {
    height: 24px;
}

/* Badges animés */
.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.badge-item {
    display: flex;
    flex:1;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    /* background: rgba(255, 255, 255, 0.05); */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.badge-item:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--accent-green);
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.badge-icon {
    font-size: 20px;
    animation: iconBounce 2s ease-in-out infinite;
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

/* Colonnes du footer avec nouveaux titres modernes */
.footer-column-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

/* Nouveaux titres modernes */
.modern-title {
    margin-bottom: 32px;
}

.title-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.title-icon-box {
    width: 40px;
    height: 40px;
    background: rgba(39, 174, 95, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.title-icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(39, 174, 95, 0.2), transparent);
    transition: left 0.6s ease;
}

.title-icon-box:hover::before {
    left: 100%;
}

.title-icon-box:hover {
    background: rgba(39, 174, 95, 0.2);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(39, 174, 95, 0.3);
}

.title-svg {
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.title-icon-box:hover .title-svg {
    transform: scale(1.1);
}

.title-text {
    font-size: 18px;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
}

.modern-title:hover .title-text {
    color: #27ae5f;
    transform: translateX(3px);
}

.title-underline {
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, #27ae5f, #1e8e4f);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.title-underline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s ease;
}

.modern-title:hover .title-underline {
    background: linear-gradient(90deg, #27ae5f, #34c759, #1e8e4f);
}

.modern-title:hover .title-underline::after {
    left: 100%;
}

/* Animation des titres au scroll */
.modern-title {
    animation: titleSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.footer-column:nth-child(2) .modern-title {
    animation-delay: 0.1s;
}

.footer-column:nth-child(3) .modern-title {
    animation-delay: 0.2s;
}

.footer-column:nth-child(4) .modern-title {
    animation-delay: 0.3s;
}

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

/* Responsive pour les titres modernes */
@media (max-width: 768px) {
    .title-container {
        gap: 8px;
    }
    
    .title-icon-box {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    
    .title-svg {
        width: 18px;
        height: 18px;
    }
    
    .title-text {
        font-size: 16px;
    }
    
    .title-underline {
        width: 50px;
        height: 2px;
    }
}

/* Ancien style pour compatibilité */
.title-icon {
    font-size: 24px;
    animation: iconFloat 3s ease-in-out infinite alternate;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.footer-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(16, 185, 129, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.footer-link:hover::before {
    left: 100%;
}

.footer-link:hover {
    color: var(--accent-green);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(8px);
}

.link-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.footer-link:hover .link-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Contact spécial */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    color: #cccccc;
    margin-bottom: 16px;
}

.contact-icon {
    font-size: 18px;
    margin-top: 2px;
    color: var(--accent-green);
}

.contact-link:hover {
    color: var(--accent-blue) !important;
}

.cta-link {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-weight: 600;
}

.cta-link:hover {
    background: var(--accent-green) !important;
    color: white !important;
    border-color: var(--accent-green);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

/* Séparateur animé */
.footer-divider-container {
    margin: 60px 0 40px;
    position: relative;
    text-align: center;
}

.animated-divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-green), 
        var(--accent-blue), 
        var(--accent-green), 
        transparent);
    margin: 0;
    animation: dividerGlow 3s ease-in-out infinite alternate;
}

.divider-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 8px;
    background: #242424;
    padding: 0 16px;
    border-radius: 20px;
}

.decoration-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.decoration-dot:nth-child(2) {
    animation-delay: 0.3s;
}

.decoration-dot:nth-child(3) {
    animation-delay: 0.6s;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.copyright {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0 0 8px 0;
}

.company-details {
    font-size: 14px;
    color: #888888;
    margin: 0;
}

/* Réseaux sociaux wow */
.social-links-container {
    text-align: right;
}

.social-title {
    font-size: 14px;
    color: #cccccc;
    margin: 0 0 16px 0;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.social-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.social-link.linkedin .social-icon-bg {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.social-link.twitter .social-icon-bg {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-link.github .social-icon-bg {
    background: linear-gradient(135deg, #333333, #666666);
}

.social-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.social-link:hover .social-icon {
    transform: scale(1.2) rotate(5deg);
}

.social-link:hover .social-icon-bg {
    animation: socialPulse 1.5s ease-in-out infinite;
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 90px; /* Augmenté pour éviter le post-footer */
    left: 30px; /* Remis à gauche */
    width: 56px;
    height: 56px;
    background: var(--accent-green);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    z-index: 1000;
    opacity: 0;
    transform: scale(0);
}

.back-to-top.visible {
    opacity: 1;
    transform: scale(1);
}

.back-to-top:hover {
    background: var(--accent-blue);
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

/* Animations des éléments */
.footer-animate {
    opacity: 0;
    transform: translateY(30px);
    animation: footerElementFadeIn 0.8s ease forwards;
}

.footer-animate:nth-child(1) { animation-delay: 0.1s; }
.footer-animate:nth-child(2) { animation-delay: 0.3s; }
.footer-animate:nth-child(3) { animation-delay: 0.5s; }
.footer-animate:nth-child(4) { animation-delay: 0.7s; }

/* Fallback visible state when JS reveals elements */
.footer-revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .megamenu {
        width: 700px;
    }
    
    .megamenu-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding-left: 20px;
        padding-right: 20px;
        align-items: center;
    }
    
    .nav-menu {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo {
        flex: 1;
    }

    .megamenu {
        display: none;
    }

    /* Footer Responsive */
    .footer-wow {
        padding: 60px 0 30px;
    }

    .footer-content {
        gap: 40px;
        padding: 0 20px;
        max-width: 100%;
    }
    
    .footer-row {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-brand-large {
        flex: none;
        max-width: 100%;
    }
    
    .footer-column {
        flex: none;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .brand-title {
        font-size: 28px;
    }

    .footer-badges {
        flex-direction: row;
        align-items: center;
        
        margin: 0 auto;
    }

    .badge-item {
        width: 100%;
        justify-content: center;
        flex-direction: row;
     
    }

    .footer-column-title {
        font-size: 18px;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-links {
        text-align: center;
    }

    .footer-link {
        justify-content: center;
        padding: 12px 16px;
    }

    .contact-item {
        justify-content: center;
        text-align: center;
        padding: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
        text-align: center;
    }

    .social-links-container {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .back-to-top {
        bottom: 80px; /* Ajusté pour mobile aussi */
        left: 20px; /* Remis à gauche */
        width: 48px;
        height: 48px;
    }

    /* Service Cards Responsive */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px;
    }

    .service-card {
        padding: 32px 24px;
        margin: 0 auto;
        max-width: 400px;
    }

    .service-icon {
        width: 64px;
        height: 64px;
        font-size: 24px;
        margin-bottom: 24px;
    }

    .service-title {
        font-size: 20px;
        text-align: center;
    }

    .service-description {
        text-align: center;
        font-size: 15px;
    }

    .service-features {
        max-width: 280px;
        margin: 0 auto;
    }

    .service-features li {
        padding: 12px 0;
        font-size: 14px;
        padding-left: 45px; /* Ajusté pour mobile - alignement cohérent */
        margin-left: 0;
    }

    /* Contact Form Responsive */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-container,
    .contact-info-card {
        padding: 32px 24px;
    }

    .form-group-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .trust-indicators {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .trust-item strong {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .footer-wow {
        padding: 40px 0 20px;
    }

    .footer-content {
        padding: 0 16px;
        gap: 32px;
        max-width: 100%;
    }
    
    .footer-row {
        gap: 24px;
    }

    .brand-title {
        font-size: 24px;
    }

    .brand-description {
        font-size: 14px;
    }

    .footer-column-title {
        font-size: 16px;
    }

    .footer-link {
        padding: 10px 12px;
        font-size: 14px;
    }

    .social-links {
        gap: 12px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-icon {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }

    .service-title {
        font-size: 18px;
    }
}

/* Optimisations mobiles pour les animations du logo */
@media (max-width: 768px) {
    .logo-node {
        animation: pulse 3s ease-in-out infinite;
        animation-delay: calc(var(--i) * 0.2s);
    }
    
    .logo-line {
        stroke-dasharray: none;
        animation: none;
    }
    
    .logo-outer {
        animation: none;
        opacity: 0.8;
    }
}

/* ==========================================
   POST-FOOTER AVEC LIENS LÉGAUX 
   ========================================== */
.post-footer {
 
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 0;
    width: 100%;
    /* Pas de position pour laisser le flow normal */
}

.post-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.elementor-widget-container {
    text-align: center;
}

.elementor-icon-list-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.elementor-icon-list-item {
    margin: 0;
}

.legal-link {
    color: #888888;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding: 8px 16px;
    border-radius: 6px;
}

.legal-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #27ae5f, #1e8e4f);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
}

.legal-link:hover {
    color: #27ae5f;
    background: rgba(39, 174, 95, 0.05);
    transform: translateY(-1px);
}

.legal-link:hover::before {
    width: 100%;
}

.elementor-icon-list-text {
    transition: inherit;
}

/* Responsive pour le footer 2 colonnes */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .footer-column {
        gap: 32px;
    }
}

/* Responsive pour le post-footer */
@media (max-width: 768px) {
    .elementor-icon-list-items {
        gap: 20px;
        flex-direction: column;
    }
    
    .post-footer .container {
        padding: 0 20px;
    }
    
    .legal-link {
        font-size: 13px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .post-footer {
        padding: 16px 0;
    }
    
    .elementor-icon-list-items {
        gap: 16px;
    }
    
    .legal-link {
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* ==========================================
   SECTION SITES VERTICAUX
   ========================================== */

.footer-vertical-sites {
    margin: 60px 0;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.vertical-sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.vertical-site-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.vertical-site-item:hover {
    transform: translateY(-10px);
}
 
.vertical-site-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-decoration: none;
    color: #cccccc;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.vertical-site-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(39, 174, 95, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.vertical-site-link:hover::before {
    left: 100%;
}

.vertical-site-link:hover {
    background: rgba(39, 174, 95, 0.08);
    border-color: rgba(39, 174, 95, 0.3);
    color: #ffffff;
 
    box-shadow: 
        0 12px 32px rgba(39, 174, 95, 0.15),
        0 0 0 1px rgba(39, 174, 95, 0.2);
}

.site-icon {
    width: 48px;
    height: 48px;
    background: rgba(39, 174, 95, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.vertical-site-link:hover .site-icon {
    background: rgba(39, 174, 95, 0.2);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(39, 174, 95, 0.3);
}

.site-icon svg {
    transition: all 0.3s ease;
    color: #27ae5f;
}

.vertical-site-link:hover .site-icon svg {
    color: #ffffff;
    transform: scale(1.1);
}

.site-text {
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.vertical-site-link:hover .site-text {
    color: #ffffff;
    transform: translateX(4px);
}

/* Animation d'apparition pour les éléments */
.vertical-site-item {
    animation: siteItemSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.vertical-site-item:nth-child(1) { animation-delay: 0.1s; }
.vertical-site-item:nth-child(2) { animation-delay: 0.2s; }
.vertical-site-item:nth-child(3) { animation-delay: 0.3s; }
.vertical-site-item:nth-child(4) { animation-delay: 0.4s; }
.vertical-site-item:nth-child(5) { animation-delay: 0.5s; }
.vertical-site-item:nth-child(6) { animation-delay: 0.6s; }
.vertical-site-item:nth-child(7) { animation-delay: 0.7s; }
.vertical-site-item:nth-child(8) { animation-delay: 0.8s; }
.vertical-site-item:nth-child(9) { animation-delay: 0.9s; }

@keyframes siteItemSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

/* Responsive pour les sites verticaux */
@media (max-width: 768px) {
    .footer-vertical-sites {
        margin: 40px 0;
        padding: 0 20px;
    }
    
    .vertical-sites-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }
    
    .vertical-site-link {
        padding: 16px 20px;
        gap: 12px;
    }
    
    .site-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .site-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .footer-vertical-sites {
        margin: 32px 0;
        padding: 0 16px;
    }
    
    .vertical-site-link {
        padding: 14px 16px;
        gap: 10px;
    }
    
    .site-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
    
    .site-text {
        font-size: 13px;
    }
}