/* MonEconomie.fr - Styles optimisés SEO */
:root {
    --primary: #00da93;
    --primary-light: #00ffa8;
    --dark: #0a0a0a;
    --light: #fafcfc;
    --gray: #f7f7f7;
    --text: #1a1a1a;
    --text-light: #5a5a5a;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Poppins', sans-serif;
    --shadow: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 28px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--text);
    line-height: 1.7;
    background: var(--light);
    -webkit-font-smoothing: antialiased;
    font-size: 16px; /* ← Ajoute cette ligne */
	zoom: 0.85;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

/* Navigation principale */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 218, 147, 0.1);
    max-width: 100%;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

header.scrolled nav {
    height: 70px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* Logo avec tagline subtile */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.logo {
    height: 150px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 218, 147, 0.2));
}

.logo:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 8px 24px rgba(0, 218, 147, 0.35));
}

header.scrolled .logo {
    height: 58px;
}

.logo-tagline {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    font-style: italic;
    opacity: 0.75;
    transition: var(--transition);
}

.logo-wrapper:hover .logo-tagline {
    opacity: 1;
    color: var(--primary);
}

header.scrolled .logo-tagline {
    font-size: 0.75rem;
}

/* Articles Similaires sur un article */
.related-articles {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.related-articles .container {
    max-width: 1200px;
    margin: 0 auto;
}

.related-articles h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1a1a1a;
    position: relative;
}

.related-articles h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.related-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(34, 197, 94, 0.15);
}

.related-card:hover::before {
    transform: scaleX(1);
}

.card-header {
    margin-bottom: 1.5rem;
}

.category {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.category-electricity {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
}

.category-tips {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.related-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.related-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #16a34a;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.read-more:hover {
    color: #22c55e;
}

.read-more:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .related-articles {
        padding: 3rem 1rem;
    }
    
    .related-articles h2 {
        font-size: 2rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Nav Links simples sans icônes */
.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-links a:not(.cta-nav)::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-links a:not(.cta-nav):hover {
    color: var(--primary);
    background: rgba(0, 218, 147, 0.08);
    transform: translateY(-2px);
}

.nav-links a:not(.cta-nav):hover::after {
    width: calc(100% - 2.5rem);
}

/* CTA Button - ULTRA IMPACT */
.cta-nav {
    display: inline-flex !important;
    align-items: center;
    gap: 0.6rem !important;
    background: linear-gradient(135deg, var(--primary) 0%, #00c896 100%) !important;
    color: white !important;
    padding: 1rem 2rem !important;
    border-radius: 16px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    box-shadow: 
        0 8px 24px rgba(0, 218, 147, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

/* Shimmer effect */
.cta-shimmer {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.cta-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.cta-arrow {
    opacity: 0;
    width: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover ultra-dynamique */
.cta-nav:hover {
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 
        0 16px 48px rgba(0, 218, 147, 0.6),
        0 0 0 4px rgba(0, 218, 147, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    background: linear-gradient(135deg, #00d89b 0%, var(--primary) 100%) !important;
}

.cta-nav:hover .cta-icon {
    transform: rotate(-15deg) scale(1.25);
    animation: iconBounce 0.6s ease infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: rotate(-15deg) scale(1.25) translateY(0); }
    50% { transform: rotate(-15deg) scale(1.25) translateY(-4px); }
}

.cta-nav:hover .cta-arrow {
    opacity: 1;
    width: 16px;
    animation: arrowSlide 0.8s ease infinite;
}

@keyframes arrowSlide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

/* Animation au repos */
.cta-nav {
    animation: ctaFloat 3s ease-in-out infinite;
}

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

.cta-nav:hover {
    animation: none;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}
 
.mobile-menu span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
    background: var(--primary);
}

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

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
    background: var(--primary);
}

/* Responsive */
@media (max-width: 968px) {
    .mobile-menu {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 85px;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: calc(100vh - 85px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 2rem;
        gap: 0.5rem;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem 1.5rem;
        font-size: 1rem; /* RÉDUIT de 1.1rem à 1rem */
        white-space: nowrap; /* EMPÊCHE LE RETOUR À LA LIGNE */
    }
    
    .cta-nav {
        justify-content: center !important;
        font-size: 1rem !important; /* RÉDUIT de 1.1rem à 1rem */
        padding: 1.25rem 2rem !important;
        white-space: nowrap !important; /* EMPÊCHE LE RETOUR À LA LIGNE */
    }
    
    .logo-tagline {
        display: none;
    }
}

@media (max-width: 640px) {
    nav {
        padding: 0.75rem 1.5rem;
    }
    
    .logo {
        height: 56px;
    }
    
    /* Pour les très petits écrans, réduire encore plus si nécessaire */
    .nav-links a {
        font-size: 0.95rem;
        padding: 1rem 1.25rem;
    }
    
    .cta-nav {
        font-size: 0.95rem !important;
        padding: 1.15rem 1.75rem !important;
    }
}

/* ===== HERO PRO & MODERNE ===== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(145deg, #fafcfc 0%, #e8f5f0 40%, #f0fdf9 70%, #fafcfc 100%);
    position: relative;
    overflow: hidden;
}

/* Background Elements */
.hero-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 218, 147, 0.25) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: blobFloat 20s ease-in-out infinite;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 168, 0.2) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: blobFloat 25s ease-in-out infinite reverse;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 218, 147, 0.08) 0%, transparent 60%);
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Hero Content */
.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    position: relative;
}

/* Hero Tag */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: white;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 2rem;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 218, 147, 0.1);
    position: relative;
    overflow: hidden;
}

.tag-icon {
    font-size: 1.1rem;
}

.tag-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(0, 218, 147, 0.1);
    border-radius: 50px;
    animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* H1 */
h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem); /* ← Réduit les tailles */
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    position: relative;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Description */
.hero-description {
    font-size: 1.05rem; /* ← De 1.2rem à 1.05rem */
    color: var(--text-light);
    margin: 1.75rem 0;
    line-height: 1.75;
    max-width: 540px;
}

.hero-description strong {
    color: var(--dark);
}

/* Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin: 2.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: 14px;
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 24px rgba(0, 218, 147, 0.12),
        0 0 0 1px rgba(0, 218, 147, 0.2);
}

.feature-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(0, 218, 147, 0.1);
    border-radius: 10px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1.15rem 2.25rem;
    border-radius: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 
        0 6px 24px rgba(0, 218, 147, 0.35),
        0 0 0 0 rgba(0, 218, 147, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 12px 32px rgba(0, 218, 147, 0.45),
        0 0 40px rgba(0, 218, 147, 0.25);
}

.btn-primary:hover::before {
    left: 100%;
}

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

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 2px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 218, 147, 0.04);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 218, 147, 0.12);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image:hover img {
    transform: scale(1.02);
}

.hero-image-glow {
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, rgba(0, 218, 147, 0.2) 0%, transparent 50%);
    border-radius: 30px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-image:hover .hero-image-glow {
    opacity: 1;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--dark);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 218, 147, 0.1);
    animation: badgeFloat 4s ease-in-out infinite;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(0, 218, 147, 0.15);
    border-radius: 50%;
    font-size: 0.9rem;
}

.badge-1 {
    top: 10%;
    right: -10px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 15%;
    left: -20px;
    animation-delay: 2s;
}

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

/* ===== RESPONSIVE HERO ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    /* Texte EN PREMIER sur mobile */
    .hero-text {
        order: 1;
    }
    
    /* Image EN SECOND sur mobile */
    .hero-image {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-features {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}
    
    .floating-badge {
        display: none;
    }
}

@media (max-width: 640px) {
    #hero {
        padding: 7rem 1.25rem 3rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    
    .hero-blob-1 {
        width: 300px;
        height: 300px;
    }
    
    .hero-blob-2 {
        width: 200px;
        height: 200px;
    }
}

/* Stats Bar - Version améliorée */
.stats-bar {
    background: linear-gradient(135deg, #252422, #1a1818);
    color: white;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 218, 147, 0.1) 0%, transparent 50%);
    animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat-box {
    text-align: center;
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 218, 147, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-box:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 218, 147, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 218, 147, 0.25),
        0 0 80px rgba(0, 218, 147, 0.15),
        inset 0 0 30px rgba(0, 218, 147, 0.1);
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.stat-box:hover::after {
    opacity: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.stat-box:hover .stat-number {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 218, 147, 0.6));
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 1;
    font-weight: 500;
    transition: color 0.3s ease;
}

.stat-box:hover .stat-label {
    color: rgba(255, 255, 255, 1);
}

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

.stat-box {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.stat-box:nth-child(1) { animation-delay: 0.1s; }
.stat-box:nth-child(2) { animation-delay: 0.2s; }
.stat-box:nth-child(3) { animation-delay: 0.3s; }
.stat-box:nth-child(4) { animation-delay: 0.4s; }

/* Forcer l'état "hover" sur mobile et tablettes */
@media (max-width: 1024px) {
    .stat-box {
        transform: translateY(-8px) scale(1.02);
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(0, 218, 147, 0.3);
        box-shadow: 
            0 20px 60px rgba(0, 218, 147, 0.25),
            0 0 80px rgba(0, 218, 147, 0.15),
            inset 0 0 30px rgba(0, 218, 147, 0.1);
    }
    
    .stat-box::before {
        transform: scaleX(1);
    }
    
    .stat-box::after {
        opacity: 1;
    }
    
    .stat-number {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(0, 218, 147, 0.6));
    }
    
    .stat-label {
        color: rgba(255, 255, 255, 1);
    }
}



/* Ajuster la grille sur mobile */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-box {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
		color: white !important;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* Sections */
section {
    padding: 7rem 2rem;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
    display: block;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem); /* ← Réduit */
    font-weight: 800;
    margin-bottom: 1.25rem;
}

/* Indicateur live */
.live-indicator {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #22c55e;
    border-radius: 50%;
    animation: ripple 2s ease-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Section Témoignages */
.testimonials {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fffe 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 218, 147, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #252422;
    margin-bottom: 3rem;
    position: relative;
}

.testimonials h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #00da93;
    margin: 1rem auto 0;
    border-radius: 2px;
}

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

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 218, 147, 0.1);
    position: relative;
    opacity: 0;
    animation: fadeInUpTestimonial 0.6s ease-out forwards;
}

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

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: #00da93;
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial:nth-child(1) { animation-delay: 0.1s; }
.testimonial:nth-child(2) { animation-delay: 0.2s; }
.testimonial:nth-child(3) { animation-delay: 0.3s; }

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 218, 147, 0.15);
    border-color: #00da93;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-rating svg {
    width: 18px !important;
    height: 18px !important;
    fill: #fbbf24;
    flex-shrink: 0;
}

.testimonial p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #252422;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eef2f1;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00da93 0%, #00b87a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    color: #252422;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.testimonial-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.testimonial-savings {
    color: #00da93;
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 20px;
    }
    
    .testimonials h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
    
    .testimonial p {
        font-size: 1rem;
    }
}


/* Services */
.result-icon {
    width: 60px;
    height: 60px;
    stroke: white;
    margin: 0 auto 1rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
}

/* Services - Comment ça marche */
#services {
    background: white;
    position: relative;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    align-items: start;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

/* Flèche connecteur - CENTRÉE VERTICALEMENT AU MILIEU DE LA CARTE */
.arrow-connector {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -3rem;
    font-size: 3rem;
    color: var(--primary);
    font-weight: 700;
    z-index: 1;
    animation: arrowPulse 2s ease-in-out infinite;
}

.service-card:last-child .arrow-connector {
    display: none;
}

@keyframes arrowPulse {
    0%, 100% { 
        transform: translateY(-50%) translateX(0); 
        opacity: 0.6; 
    }
    50% { 
        transform: translateY(-50%) translateX(10px); 
        opacity: 1; 
    }
}
/* Numéro grande étape - ANIMATION SÉQUENTIELLE */
.service-num {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 2rem;
    box-shadow: 0 12px 32px rgba(0, 218, 147, 0.5);
    flex-shrink: 0;
    position: relative;
    animation: numGlow 6s ease-in-out infinite;
}

/* Animation différée pour chaque numéro */
.service-card:nth-child(1) .service-num {
    animation-delay: 0s;
}

.service-card:nth-child(2) .service-num {
    animation-delay: 2s;
}

.service-card:nth-child(3) .service-num {
    animation-delay: 4s;
}

/* Animation de brillance/glow */
@keyframes numGlow {
    0%, 66.67%, 100% {
        background: var(--primary);
        box-shadow: 0 12px 32px rgba(0, 218, 147, 0.5);
        transform: scale(1);
    }
    16.67% {
        background: var(--secondary);
        box-shadow: 
            0 12px 32px rgba(0, 218, 147, 0.8),
            0 0 40px rgba(0, 218, 147, 0.6),
            0 0 80px rgba(0, 218, 147, 0.4);
        transform: scale(1.1);
    }
    33.33% {
        background: var(--primary);
        box-shadow: 0 12px 32px rgba(0, 218, 147, 0.5);
        transform: scale(1);
    }
}

/* Pulse ring autour du numéro actif */
.service-num::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    animation: ringPulse 6s ease-in-out infinite;
}

.service-card:nth-child(1) .service-num::before {
    animation-delay: 0s;
}

.service-card:nth-child(2) .service-num::before {
    animation-delay: 2s;
}

.service-card:nth-child(3) .service-num::before {
    animation-delay: 4s;
}

@keyframes ringPulse {
    0%, 66.67%, 100% {
        transform: scale(1);
        opacity: 0;
    }
    8.33% {
        transform: scale(1);
        opacity: 0.5;
    }
    16.67% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    flex-shrink: 0;
    font-weight: 700;
    min-height: 60px;
}

.service-card > p {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-shrink: 0;
    font-size: 1rem;
    min-height: 100px;
}

/* Process steps */
.process-steps {
    margin: 2rem 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 300px;
}

.step-item {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--gray), white);
    border-radius: 14px;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    height: 90px;
    display: flex;
    align-items: center;
}

.step-item:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 16px rgba(0, 218, 147, 0.15);
    border-left-color: var(--secondary);
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.step-content strong {
    display: block;
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.step-content span {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Highlight result */
.highlight-result {
    background: linear-gradient(135deg, rgba(0, 218, 147, 0.1), rgba(0, 196, 255, 0.1));
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    min-height: 180px;
    justify-content: center;
}

.result-icon {
    width: 48px;
    height: 48px;
    stroke: var(--primary);
    stroke-width: 2.5;
    margin-bottom: 1rem;
}

.highlight-result strong {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 800;
}

.highlight-result p {
    color: var(--text);
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .services-grid {
        gap: 2.5rem;
    }
    
    .arrow-connector {
        right: -2.5rem;
        font-size: 2.5rem;
    }
}

@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .arrow-connector {
        display: none !important;
    }
    
    .service-card {
        padding: 2.5rem;
    }
    
    .service-card h3,
    .service-card > p,
    .process-steps,
    .step-item,
    .highlight-result {
        min-height: auto;
        height: auto;
    }
}

@media (max-width: 640px) {
    .service-card {
        padding: 2rem;
    }
    
    .service-num {
        width: 70px;
        height: 70px;
        font-size: 2.25rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .step-item {
        padding: 1rem 1.25rem;
    }
}
/* Blog */
#blog { 
    background: linear-gradient(135deg, var(--gray), white); 
}

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

.blog-card {
    background: white;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-image {
    width: 100%;
    height: 200px;
    border-radius: 20px 20px 0 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image svg {
    stroke: white;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

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

.blog-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 218, 147, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 24px 60px rgba(0, 218, 147, 0.12),
        0 0 0 1px rgba(0, 218, 147, 0.15);
}

.blog-category {
    display: inline-block;
    background: rgba(0, 218, 147, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.blog-card h3 {
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--dark);
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 700;
    transition: color 0.3s ease;
    display: block;
}

.blog-card:hover h3 a {
    color: var(--primary);
}

.blog-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.meta-icon {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}

.blog-cta-wrapper {
    text-align: center;
    margin-top: 4rem;
}

.blog-cta-wrapper .btn-primary {
    padding: 1.125rem 3rem; /* Augmente la largeur horizontale */
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap; /* Empêche le texte de passer à la ligne */
    font-size: 1.05rem;
}

.blog-card {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }

/* Responsive Blog */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 650px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .blog-card {
        padding: 0;
    }

    .blog-content {
        padding: 2rem 1.75rem;
    }

    .blog-card h3 a {
        font-size: 1.25rem;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .blog-image {
        height: 180px;
    }
}

/* Pricing */
#pricing { 
    background: white;
    position: relative;
    overflow: hidden;
}

#pricing::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 218, 147, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 2rem;  /* ← Ajoute cette ligne */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: linear-gradient(135deg, #fff, var(--gray));
    padding: 3rem;
    border-radius: 24px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    overflow: visible;  /* ← Change overflow: hidden en overflow: visible */
    margin-top: 2rem;   /* ← Ajoute de l'espace en haut pour le badge */
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 218, 147, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 24px 60px rgba(0, 218, 147, 0.15),
        0 0 0 1px rgba(0, 218, 147, 0.2);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    transform: scale(1.03);
    box-shadow: 
        0 20px 60px rgba(0, 218, 147, 0.35),
        0 0 80px rgba(0, 218, 147, 0.15);
}

.pricing-card.featured:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 
        0 28px 70px rgba(0, 218, 147, 0.45),
        0 0 100px rgba(0, 218, 147, 0.25);
}

.pricing-badge {
    position: absolute;
    top: -18px;
    right: 35px;
    background: linear-gradient(135deg, #252422, #0a0a0a);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    margin: 1.25rem 0;
    background: linear-gradient(135deg, var(--dark) 0%, #252422 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card.featured .price {
    background: linear-gradient(135deg, white 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
}

.pricing-card.featured h3,
.pricing-card.featured p {
    color: white;
}

.price span {
    font-size: 1.1rem;
    font-weight: 500;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 900;
    font-size: 1.1rem;
}

.pricing-card.featured .features-list li::before {
    color: white;
}

.pricing-card.featured .features-list li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-card:hover .features-list li {
    padding-left: 2rem;
}

.btn-pricing {
    width: 100%;
    margin-top: 2rem;
    background: var(--dark);
    color: white;
    padding: 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-pricing:hover::before {
    left: 100%;
}

.pricing-card.featured .btn-pricing {
    background: white;
    color: var(--primary);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.3);
}

.btn-pricing:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 218, 147, 0.4);
}

.pricing-card.featured .btn-pricing:hover {
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.5);
}

/* Animations d'apparition */
.pricing-card {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }

/* FAQ */
#faq { 
    background: linear-gradient(135deg, #e8f5f0, white); 
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.faq-question:hover { 
    color: var(--primary); 
}

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

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

.faq-answer p {
    padding: 0 2rem 2rem;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Contact */
#contact { background: white; }
.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
}
@media (max-width: 968px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
.contact-form {
    background: linear-gradient(135deg, var(--gray), white);
    padding: 3.5rem;
    border-radius: 28px;
    box-shadow: var(--shadow);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}
.form-group {
    margin-bottom: 1.75rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.95rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.125rem;
    border: 2px solid #e5e5e5;
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}
.form-group textarea {
    resize: vertical;
    min-height: 140px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0,218,147,0.1);
}
.form-notice {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1.5rem;
    line-height: 1.6;
}

/* Contact Info Cards - AMÉLIORATION SVG */
.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--dark);
}
.info-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}
.info-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,218,147,0.15);
    transform: translateY(-2px);
}
.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), #00b894);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.card-icon svg {
    color: white;
}
.card-content strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}
.card-content p {
    margin: 0.5rem 0;
    line-height: 1.6;
}
.card-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.card-content a:hover {
    color: var(--secondary);
}
.card-content small {
    display: block;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
/* ANIMATION DU FORMULAIRE */
/* Animation message formulaire */
#formMessage {
    animation: slideIn 0.3s ease-out;
}

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

.btn-primary:disabled {
    cursor: not-allowed;
}

.contact-info h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--dark);
}

.info-card {
    padding: 2rem;
    background: linear-gradient(135deg, var(--gray), white);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* ========================================
   VARIANTE : ICÔNES AVEC CERCLE COLORÉ
   Style encore plus professionnel et moderne
   ======================================== */

.card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: rgba(0, 218, 147, 0.1); /* Fond légèrement coloré */
    border-radius: 50%; /* Cercle au lieu de carré arrondi */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Au survol */
.info-card:hover .card-icon {
    background: transparent;
    transform: scale(1.05);
}

.info-card:hover .card-icon::before {
    opacity: 1;
}

.info-card:hover .card-icon svg {
    stroke: white;
    transform: scale(1.1);
}

/* Couleurs spécifiques par icône (optionnel) */
.info-card:nth-child(1) .card-icon {
    background: rgba(0, 218, 147, 0.1);
}

.info-card:nth-child(1) .card-icon svg {
    stroke: #00da93;
}

.info-card:nth-child(2) .card-icon {
    background: rgba(102, 126, 234, 0.1);
}

.info-card:nth-child(2) .card-icon svg {
    stroke: #667eea;
}

.info-card:nth-child(3) .card-icon {
    background: rgba(245, 87, 108, 0.1);
}

.info-card:nth-child(3) .card-icon svg {
    stroke: #f5576c;
}

.info-card:nth-child(4) .card-icon {
    background: rgba(79, 172, 254, 0.1);
}

.info-card:nth-child(4) .card-icon svg {
    stroke: #4facfe;
}

/* Responsive */
@media (max-width: 768px) {
    .card-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .card-icon svg {
        width: 24px;
        height: 24px;
    }
}


/* ========================================
   VARIANTE 2 : ICÔNES AVEC BORDURE
   Style minimaliste et élégant
   ======================================== */

/*
.card-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    background: white;
    border: 2px solid rgba(0, 218, 147, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary);
    transition: all 0.3s ease;
}

.info-card:hover .card-icon {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 218, 147, 0.25);
}

.info-card:hover .card-icon svg {
    stroke: white;
}
*/

.card-content {
    flex: 1;
}

.card-content strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.card-content p {
    margin: 0.5rem 0;
    color: var(--text);
    line-height: 1.6;
}

.card-content small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.card-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.card-content a:hover {
    text-decoration: underline;
    color: var(--secondary);
}

/* Section SEO avant footer */
/* ========================================
   CONTAINER GLOBAL (si pas déjà dans votre CSS)
   ======================================== */
.seo-main a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.seo-main a:hover {
    color: var(--secondary);
    border-bottom-color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* ========================================
   SECTION SEO - STYLES
   ======================================== */

.seo-section {
    background: linear-gradient(180deg, #fafbfc 0%, white 100%);
    padding: 5rem 0;
}

.seo-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    align-items: start;
}

/* ========================================
   CONTENU PRINCIPAL
   ======================================== */

.seo-main h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.seo-main h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 2rem;
}

.seo-main p {
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.seo-main strong {
    color: var(--dark);
    font-weight: 600;
}

/* Liste à puces stylée */
.seo-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.seo-list li {
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    line-height: 1.7;
    border-bottom: 1px solid #f0f0f0;
}

.seo-list li:last-child {
    border-bottom: none;
}

.seo-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Encadré de mise en avant */
.seo-highlight {
    background: linear-gradient(135deg, rgba(0, 218, 147, 0.05), rgba(102, 126, 234, 0.05));
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    margin: 2rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.seo-highlight svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.seo-highlight p {
    margin: 0;
    line-height: 1.7;
}

/* ========================================
   CTA BOX - FOND BLANC / TEXTE NOIR
   ======================================== */

.seo-cta-box {
    background: white;
    color: var(--dark);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 218, 147, 0.2);
    border: 2px solid var(--gray);
}

.seo-cta-box h4 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.seo-cta-box p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--text);
}

.seo-cta-box .btn-primary {
    background: white;
    color: var(--primary);
}

.seo-cta-box .btn-primary:hover {
    background: var(--gray);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .seo-cta-box {
        padding: 2rem 1.5rem;
    }
    
    .seo-cta-box h4 {
        font-size: 1.35rem;
    }
}

/* ========================================
   SIDEBAR
   ======================================== */

.seo-sidebar {
    position: sticky;
    top: 100px;
}

.seo-box {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
}

.seo-box h4 {
    font-size: 1.125rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Statistique mise en avant */
.seo-stat {
    text-align: center;
    padding: 1.5rem 0;
}

.stat-value {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-light);
}

.seo-small {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

/* Listes sidebar */
.seo-expertise,
.seo-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-expertise li,
.seo-benefits li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text);
}

.seo-expertise li:last-child,
.seo-benefits li:last-child {
    border-bottom: none;
}

.seo-benefits li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.75rem;
}

/* Box highlight (offre spéciale) */
.highlight-box {
    background: linear-gradient(135deg, rgba(0, 218, 147, 0.1), rgba(102, 126, 234, 0.1));
    border: 2px solid var(--primary);
}

.highlight-box h4 {
    color: var(--primary);
}

.btn-secondary-small {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 1rem;
}

.btn-secondary-small:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ========================================
   FAQ COMPACTE
   ======================================== */

.seo-faq-compact {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #f0f0f0;
}

.seo-faq-compact h3 {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--dark);
}

.faq-compact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-compact-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-compact-item strong {
    display: block;
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.faq-compact-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
}

/* ========================================
   MOTS-CLÉS SEO (discrets)
   ======================================== */

.seo-keywords {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.seo-keywords p {
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.8;
}

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

@media (max-width: 1024px) {
    .seo-content-wrapper {
        grid-template-columns: 1fr 300px;
        gap: 3rem;
    }
}

@media (max-width: 968px) {
    .seo-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .seo-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .faq-compact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .seo-section {
        padding: 3rem 0;
    }
    
    .seo-main h2 {
        font-size: 1.5rem;
    }
    
    .seo-main h3 {
        font-size: 1.25rem;
    }
    
    .seo-sidebar {
        grid-template-columns: 1fr;
    }
    
    .seo-cta-box {
        padding: 2rem 1.5rem;
    }
    
    .seo-cta-box h4 {
        font-size: 1.35rem;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
}


/* ===== FOOTER PRO & SEO ===== */
footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #050505 50%, #0a0a0a 100%);
    color: white;
    padding: 5rem 2rem 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Footer Newletter */
.footer-newsletter {
    margin-top: 1.5rem;
	margin: 0 auto 2rem;  /* ← Ajoute 4rem en bas */
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    max-width: 320px;
    margin: 0 auto;
}
/* Footer Brand */
.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    height: 110px;
    width: auto;
    padding: 0.4rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 28px rgba(0, 218, 147, 0.25);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Bouton retour en haut */
.back-to-top-text {
    display: inline-block;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-top-text:hover {
    color: var(--primary-light);
    text-shadow: 0 0 10px rgba(0, 218, 147, 0.5);
    transform: translateY(-2px);
}


/* Social Icons */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 
        0 6px 20px rgba(0, 218, 147, 0.3),
        0 0 15px rgba(0, 218, 147, 0.4),
        0 0 30px rgba(0, 218, 147, 0.2);
}

/* Footer Columns */
.footer-content h4 {
    color: white;
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 2px;
    box-shadow: 
        0 0 5px var(--primary-light),
        0 0 10px var(--primary),
        0 0 25px var(--primary),
        0 0 50px rgba(0, 218, 147, 0.6),
        0 0 80px rgba(0, 218, 147, 0.3);
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { 
        box-shadow: 
            0 0 5px var(--primary-light),
            0 0 10px var(--primary),
            0 0 25px var(--primary),
            0 0 50px rgba(0, 218, 147, 0.6);
    }
    50% { 
        box-shadow: 
            0 0 8px var(--primary-light),
            0 0 15px var(--primary),
            0 0 35px var(--primary),
            0 0 70px rgba(0, 218, 147, 0.7);
    }
}

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

.footer-content li {
    margin-bottom: 0.75rem;
}

.footer-content a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-content a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* Trust Bar */
.footer-trust {
    max-width: 1400px;
    margin: 0 auto 2.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-icon {
    font-size: 1.1rem;
}

/* Newletter Footer */
/* Newsletter Footer */
.footer-newsletter {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px var(--primary);
}

.newsletter-form button {
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 218, 147, 0.3);
}

.newsletter-form button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 218, 147, 0.5);
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}


/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: span 2;
        padding-right: 0;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-content h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav,
    .footer-services,
    .footer-legal {
        text-align: center;
    }
    
    .footer-content a:hover {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    footer {
        padding: 4rem 1.5rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-trust {
        gap: 1.5rem;
        padding: 1.25rem 1rem;
    }
    
    .trust-item {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .footer-trust {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(0,218,147,0.35);
    z-index: 999;
    font-size: 1.5rem;
    font-weight: 900;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-8px) scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content, .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 7rem 2rem;
        box-shadow: -6px 0 20px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        align-items: flex-start;
    }
    
    .nav-links.active { right: 0; }
    

    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   BANDEAU COOKIES & MODAL
   ======================================== */

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 2rem; /* CHANGEMENT ICI - position depuis le bas */
    left: 50%;
    transform: translateX(-50%) scale(0.9); /* Centrage horizontal uniquement */
    width: 90%;
    max-width: 600px;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    z-index: 9999;
    border-radius: 16px;
    border: 3px solid var(--primary);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1); /* Garder le centrage horizontal */
}

.cookie-consent:not(.show) {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.cookie-icon {
    flex-shrink: 0;
}

.cookie-icon svg {
    stroke: var(--primary);
}

.cookie-text h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

.cookie-actions {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-actions button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--primary);
    color: white;
}

.btn-accept:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.btn-refuse {
    background: #f0f0f0;
    color: var(--dark);
}

.btn-refuse:hover {
    background: #e0e0e0;
}

.btn-settings {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-settings:hover {
    background: var(--primary);
    color: white;
}

.cookie-link {
    display: block;
    text-align: center;
    max-width: 1200px;
    margin: 1rem auto 0;
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
}

.cookie-link:hover {
    text-decoration: underline;
}

/* Cookie Settings Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal.show {
    display: flex;
    opacity: 1;
}

.cookie-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    padding: 2rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--dark);
}

.cookie-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cookie-close:hover {
    background: #f0f0f0;
    color: var(--dark);
}

.cookie-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.cookie-modal-body > p {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f8f8f8;
    border-radius: 12px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-category h4 {
    margin: 0 0 0.5rem 0;
    color: var(--dark);
    font-size: 1.05rem;
}

.cookie-category p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background: var(--primary);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-switch.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-switch.disabled .cookie-slider {
    cursor: not-allowed;
}

/* Modal Footer */
.cookie-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-save,
.btn-accept-all {
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-save {
    background: var(--primary);
    color: white;
}

.btn-save:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.btn-accept-all {
    background: #f0f0f0;
    color: var(--dark);
}

.btn-accept-all:hover {
    background: #e0e0e0;
}


/* Floating Cookie Button - FORCER EN BAS */
.cookie-floating-btn {
    position: fixed !important;
    bottom: 2rem !important;
    left: 2rem !important;
    top: auto !important; /* Annuler tout top qui pourrait exister */
    right: auto !important; /* Annuler tout right qui pourrait exister */
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 999;
    animation: cookieBounce 2s ease-in-out infinite;
}

.cookie-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 218, 147, 0.3);
}

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

/* Responsive */
@media (max-width: 768px) {
    .cookie-floating-btn {
        bottom: 1rem !important;
        left: 1rem !important;
        width: 50px;
        height: 50px;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1.25rem 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-actions button {
        width: 100%;
    }
    
    .cookie-modal {
        padding: 1rem;
    }
    
    .cookie-modal-content {
        max-height: 90vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 1.5rem;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
}

/* Style pour la page cookies.html */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cookies-table thead {
    background: var(--gray);
}

.cookies-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--dark);
    border-bottom: 2px solid #e0e0e0;
}

.cookies-table td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text);
}

.cookies-table tbody tr:last-child td {
    border-bottom: none;
}

.cookies-table tbody tr:hover {
    background: #f8f8f8;
}

.cookie-actions {
    margin-top: 2rem;
    text-align: center;
}

/* Legal pages styling */
.legal-page {
    padding: 8rem 2rem 4rem;
    background: white;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.last-update {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray);
}

.intro-legal {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text);
    background: var(--gray);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.legal-content h4 {
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text);
}

.legal-content ul,
.legal-content ol {
    margin: 1rem 0 1.5rem 2rem;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content strong {
    color: var(--dark);
    font-weight: 700;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 6rem 1.5rem 3rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.35rem;
    }
    
    .legal-content h3 {
        font-size: 1.15rem;
    }
}


