 :root {
        --mint-green: #A8E6CF;
        --sky-blue: #D0EFFF;
        --soft-coral: #FFB6B6;
        --deep-blue: #1A237E;
        --white: #FFFFFF;
        --dark-text: #2D3748;
        --light-text: #718096;
        --bg-color: #f8fafc;
        --card-bg: #FFFFFF;
        --header-bg: rgba(255, 255, 255, 0.95);
        --footer-bg: rgba(255, 255, 255, 0.95);
        --gradient-primary: linear-gradient(135deg, var(--mint-green), var(--sky-blue));
        --gradient-secondary: linear-gradient(135deg, var(--soft-coral), var(--mint-green));
        --gradient-dark: linear-gradient(135deg, var(--deep-blue), #283593);
        --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        --glass-bg: rgba(255, 255, 255, 0.15);
        --glass-border: rgba(255, 255, 255, 0.18);
    }

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

    html {
        scroll-behavior: smooth;
        overflow-x: hidden;
    }

    body {
        font-family: 'Inter', sans-serif;
        line-height: 1.6;
        color: var(--dark-text);
        background-color: var(--bg-color);
        overflow-x: hidden;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    /* Correction du problème de texte invisible */
    h1, h2, h3, h4, h5, h6, p, span, a, li {
        color: inherit;
        background-image: none !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
        -webkit-text-fill-color: initial !important;
    }

    /* Liquid Background Animation */
    .liquid-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -2;
        overflow: hidden;
    }

    .liquid-shape {
        position: absolute;
        filter: blur(60px);
        opacity: 0.7;
        animation: liquidMove 25s infinite alternate;
    }

    .liquid-1 {
        width: 600px;
        height: 600px;
        background: var(--mint-green);
        top: -300px;
        left: -300px;
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    .liquid-2 {
        width: 500px;
        height: 500px;
        background: var(--soft-coral);
        bottom: -200px;
        right: -100px;
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        animation-delay: 5s;
    }

    .liquid-3 {
        width: 400px;
        height: 400px;
        background: var(--sky-blue);
        top: 50%;
        right: -100px;
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 60%;
        animation-delay: 10s;
    }

    @keyframes liquidMove {
        0% {
            transform: translate(0, 0) rotate(0deg);
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        }
        25% {
            border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        }
        50% {
            transform: translate(50px, 100px) rotate(90deg);
            border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        }
        75% {
            border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
        }
        100% {
            transform: translate(100px, 50px) rotate(180deg);
            border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        }
    }

    /* Floating Particles */
    .particles-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        overflow: hidden;
    }

    .particle {
        position: absolute;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 50%;
        filter: blur(1px);
        animation: floatParticle linear infinite;
    }

    @keyframes floatParticle {
        0% {
            transform: translateY(0) translateX(0);
            opacity: 0;
        }
        10% {
            opacity: 1;
        }
        90% {
            opacity: 1;
        }
        100% {
            transform: translateY(-100vh) translateX(100px);
            opacity: 0;
        }
    }

    /* Header */
    .header {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        padding: 1rem 0;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        background: rgba(255, 255, 255, 0.85);
        box-shadow: var(--shadow-sm);
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .header.scrolled {
        padding: 0.5rem 0;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: var(--shadow-md);
    }

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

    .logo {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--dark-text);
        text-decoration: none;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .logo-img {
        height: 40px;
    }
    .logo:hover {
        transform: scale(1.05);
    }

    .pig-logo {
        width: 40px;
        height: 40px;
        background: var(--gradient-primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        box-shadow: var(--shadow-sm);
        transition: all 0.3s ease;
    }

    .logo:hover .pig-logo {
        transform: rotate(15deg) scale(1.1);
        box-shadow: var(--shadow-md);
        animation: pigJump 0.5s ease;
    }

    @keyframes pigJump {
        0%, 100% { transform: rotate(15deg) scale(1.1) translateY(0); }
        50% { transform: rotate(15deg) scale(1.1) translateY(-10px); }
    }

    .nav-links {
        display: flex;
        list-style: none;
        gap: 1.5rem;
    }

    .nav-links a {
        position: relative;
        text-decoration: none;
        color: var(--dark-text);
        font-weight: 500;
        transition: all 0.3s ease;
        padding: 0.5rem 0;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 3px;
        background: var(--gradient-secondary);
        transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border-radius: 3px;
    }

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

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

    .nav-links .cta-button {
        background: var(--gradient-primary);
        color: var(--dark-text);
        padding: 0.5rem 1.5rem;
        border-radius: 1.5rem;
        font-weight: 600;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        border: none;
        transition: background 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
    }

    .nav-links .cta-button:hover {
        background: var(--gradient-secondary);
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .nav-links .cta-button:focus {
        outline: 2px solid var(--soft-coral);
        outline-offset: 2px;
    }

    .cta-button {
        background: var(--gradient-primary);
        color: var(--dark-text);
        padding: 0.75rem 1.5rem;
        border-radius: 2rem;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: var(--shadow-sm);
        border: none;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        position: relative;
        overflow: hidden;
    }

    .cta-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: 0.5s;
    }

    .cta-button:hover::before {
        left: 100%;
    }

    .cta-button:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: var(--shadow-lg);
    }

    .cta-button i {
        transition: transform 0.3s ease;
    }

    .cta-button:hover i {
        transform: translateX(5px);
    }

    .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--dark-text);
        cursor: pointer;
        z-index: 1001;
        transition: all 0.3s ease;
    }

    .mobile-menu-btn:hover {
        color: var(--soft-coral);
    }

    /* Hero Section */
    .hero {
        min-height: 100vh;
        padding: 100px 0 60px;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 20% 50%, rgba(168, 230, 207, 0.2) 0%, rgba(255, 255, 255, 0) 50%);
        animation: pulse 15s infinite alternate;
        z-index: -1;
    }

    @keyframes pulse {
        0% {
            transform: scale(0.8);
            opacity: 0.3;
        }
        100% {
            transform: scale(1.2);
            opacity: 0.6;
        }
    }

    .hero-content {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 1.5rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 3rem;
    }

    .hero-text {
        position: relative;
        z-index: 2;
    }

    .hero h1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
        font-weight: 800;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        color: var(--dark-text);
    }

    .hero p {
        font-size: clamp(1rem, 2vw, 1.25rem);
        margin-bottom: 2rem;
        color: var(--light-text);
    }

    .hero-buttons {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .btn {
        padding: 0.9rem 1.5rem;
        border-radius: 2rem;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        box-shadow: var(--shadow-sm);
        font-size: 0.9rem;
    }

    .btn-primary {
        background: var(--gradient-secondary) !important; 
        color: rgb(255, 255, 255);
        padding: 15px 30px;      
        font-size: 16px;   
        display: inline-block;               
        text-align: center;
        cursor: pointer;

        /* Effets visuels */
        text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        position: relative; /* pour le shine */
        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.4), transparent);
        transition: left 0.5s ease;
    }

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

    .btn-secondary {
        background: white;
        color: var(--dark-text);
        border: 1px solid #e2e8f0;
    }

    .btn:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: var(--shadow-lg);
    }

    .btn i {
        transition: transform 0.3s ease;
    }

    .btn:hover i {
        transform: translateX(3px);
    }

    .hero-image {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .phone-mockup {
        position: relative;
        overflow: hidden;
        width: 320px; /* Taille agrandie */
        height: 640px; /* Taille agrandie */
        box-shadow: none;
        transform-style: preserve-3d;
        transform: perspective(1200px) rotateY(-15deg) rotateX(5deg);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform; /* Optimisation des performances */

    }

    .phone-mockup:hover {
        transform: perspective(1200px) rotateY(-5deg) rotateX(3deg) scale(1.03);
    }
    .phone-frame {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        pointer-events: none;
    }

    .phone-screen {
        position: absolute;
        top: 2%;
        left: 4.5%;
        width: 90%;
        height: 96%;
        border-radius: 25px;
        overflow: hidden;
        background: var(--gradient-primary);
        box-shadow: inset 0 0 15px rgba(0,0,0,0.15);
        z-index: 1;
    }

    .phone-screen::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><circle cx="20" cy="20" r="3" fill="%232D3748"/><circle cx="50" cy="50" r="2" fill="%232D3748"/><circle cx="80" cy="30" r="1.5" fill="%232D3748"/></svg>') no-repeat center center;
        animation: float 20s linear infinite;
        z-index: 0;
    }

    .app-screenshot-screen {
        width: 100%;
        height: 102%;
        object-fit: cover;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        display: block;
        position: relative;
        top: -1%;
        left: 0.5%;
    }

    /* Floating Coins Animation */
    .floating-coins {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: -1;
    }

    .coin {
        position: absolute;
        background: radial-gradient(circle at center, #FFD700, #FFA500);
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
        animation: floatCoin linear infinite;
        opacity: 0.7;
    }

    .coin::before {
        content: '€';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-weight: bold;
        font-size: 0.8em;
    }

    @keyframes floatCoin {
        0% {
            transform: translateY(100vh) translateX(var(--random-x)) rotate(0deg);
            opacity: 0;
        }
        10% {
            opacity: 0.7;
        }
        90% {
            opacity: 0.7;
        }
        100% {
            transform: translateY(-100px) translateX(calc(var(--random-x) + 50px)) rotate(360deg);
            opacity: 0;
        }
    }

    /* Container */
    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 1.5rem;
    }

    .section {
        padding: 80px 0;
        position: relative;
        margin-top: 40px
    }

    .section-title {
        display: block; /* prend toute la largeur du conteneur */
        text-align: center; /* centre le texte à l'intérieur */
        font-size: clamp(2.5rem, 5vw, 4rem); /* plus impactant */
        font-weight: 800;
        margin: 0 auto 1.5rem; /* centre le bloc et ajoute marge en bas */
        color: var(--dark-text);
        position: relative; /* nécessaire pour le ::after */
        max-width: 1000px; /* optionnel pour ne pas s'étirer sur très grand écran */
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--gradient-secondary);
        border-radius: 2px;
    }


    .section-subtitle {
        text-align: center;
        font-size: clamp(1rem, 2vw, 1.25rem);
        color: var(--light-text);
        margin-bottom: 3rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Why SaveMi Section */
    .why-savemi {
        background: linear-gradient(to bottom, var(--sky-blue), white 80%);
        overflow: hidden;
        position: relative;
    }

    .benefits-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-top: 3rem;
    }

    .benefit-card {
        background: white;
        padding: 2rem;
        border-radius: 20px;
        text-align: center;
        box-shadow: var(--shadow-md);
        transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
        z-index: 1;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .benefit-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: var(--gradient-secondary);
        transition: all 0.6s ease;
        z-index: -1;
    }

    .benefit-card:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: var(--shadow-xl);
    }

    .benefit-card:hover::before {
        height: 100%;
        background: var(--gradient-primary);
    }

    .benefit-icon {
        width: 80px;
        height: 80px;
        background: var(--gradient-primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        font-size: 2rem;
        box-shadow: var(--shadow-md);
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .benefit-card:hover .benefit-icon {
        background: white;
        color: var(--soft-coral);
        transform: rotate(15deg) scale(1.1);
        box-shadow: 0 10px 25px rgba(255, 182, 182, 0.4);
    }

    .benefit-card h3 {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: var(--dark-text);
        transition: color 0.3s ease;
    }

    .benefit-card:hover h3 {
        color: white;
    }

    .benefit-card p {
        color: var(--light-text);
        line-height: 1.6;
        font-size: 1rem;
        transition: color 0.3s ease;
    }

    .benefit-card:hover p {
        color: var(--dark-text);
        transition: color 0.3s ease;
    }

    /* Features Section */
    .features {
        background: white;
        position: relative;
        overflow: hidden;
    }

    .features::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(to bottom, var(--sky-blue), transparent);
        z-index: 0;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        position: relative;
        z-index: 1;
    }

    .feature-card {
        background: white;
        padding: 2rem;
        border-radius: 20px;
        box-shadow: var(--shadow-md);
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.3);
        z-index: 0; /* crée un contexte */
        
    }

    .feature-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: var(--gradient-primary);
        transition: all 0.5s ease;
        z-index: -1;

    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-xl);
    }

    .feature-card:hover::after {
        height: 100%;
        
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        background: var(--gradient-secondary);
        border-radius: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        font-size: 1.5rem;
        color: white;
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: var(--shadow-sm);
    }

    .feature-card:hover .feature-icon {
        transform: rotate(15deg) scale(1.1);
        box-shadow: 0 10px 20px rgba(255, 182, 182, 0.4);
    }

    .feature-card h4 {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: var(--dark-text);
        transition: color 0.3s ease;
    }

    .feature-card:hover h4 {
        color: white;
    }

    .feature-card p {
        color: var(--light-text);
        transition: color 0.3s ease;
        font-size: 0.95rem;
    }

    .feature-card:hover p {
        color: var(--dark-text);
        transition: color 0.3s ease;
    }

    /* Testimonials Section */
    .testimonials {
        background: white;
        position: relative;
    }

    .testimonials::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(to bottom, var(--sky-blue), transparent);
        z-index: 0;
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        position: relative;
        z-index: 1;
    }

    .testimonial-card {
        background: white;
        padding: 2rem;
        border-radius: 20px;
        box-shadow: var(--shadow-md);
        position: relative;
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .testimonial-card::before {
        content: '"';
        position: absolute;
        top: 1rem;
        left: 1.5rem;
        font-size: 5rem;
        color: var(--mint-green);
        font-weight: bold;
        opacity: 0.1;
        line-height: 1;
        z-index: 0;
    }

    .testimonial-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-xl);
    }

    .testimonial-text {
        font-style: italic;
        margin-bottom: 1.5rem;
        color: var(--dark-text);
        position: relative;
        z-index: 1;
        font-size: 1rem;
        line-height: 1.6;
    }

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

    .author-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--gradient-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

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

    .author-name {
        font-weight: 700;
        color: var(--dark-text);
        font-size: 1.1rem;
    }

    .author-age {
        color: var(--light-text);
        font-size: 0.85rem;
    }

    /* Final CTA Section */
    .final-cta {
        background: linear-gradient(135deg, var(--soft-coral), var(--mint-green));
        text-align: center;
        color: white;
        position: relative;
        overflow: hidden;
        padding: 100px 0;
    }

    .final-cta::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
        animation: pulse 10s infinite alternate;
        z-index: 0;
    }

    .final-cta-content {
        position: relative;
        z-index: 1;
    }

    .final-cta h2 {
        font-size: clamp(2rem, 5vw, 3rem);
        font-weight: 800;
        margin-bottom: 1.5rem;
    }

    .final-cta p {
        font-size: clamp(1rem, 2vw, 1.25rem);
        margin-bottom: 2rem;
        opacity: 0.9;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        display: flex;
        gap: 1.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-white {
        background: white;
        color: var(--dark-text);
    }

    .btn-outline-white {
        background: transparent;
        color: white;
        border: 2px solid white;
    }

    .btn-outline-white:hover {
        background: white;
        color: var(--dark-text);
    }

    /* Footer */
    .footer {
        background: var(--dark-text);
        color: white;
        padding: 4rem 0 2rem;
        position: relative;
    }

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(to bottom, var(--mint-green), transparent);
        z-index: 0;
        opacity: 0.1;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 3rem;
        margin-bottom: 3rem;
        position: relative;
        z-index: 1;
    }

    .footer-section h4 {
        font-weight: 700;
        margin-bottom: 1.5rem;
        font-size: 1.3rem;
        position: relative;
        display: inline-block;
    }

    .footer-section h4::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 40px;
        height: 3px;
        background: var(--mint-green);
        border-radius: 3px;
    }

    .footer-about {
        display: flex;
        flex-direction: column;
    }

    .footer-logo {
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 1.5rem;
        font-weight: 700;
        color: white;
        margin-bottom: 1.5rem;
        text-decoration: none;
    }

    .footer-logo .pig-logo {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .footer-about p {
        color: #cbd5e0;
        margin-bottom: 1.5rem;
        line-height: 1.6;
        font-size: 1rem;
    }

    .social-links {
        display: flex;
        gap: 1rem;
        margin-top: auto;
    }

    .social-link {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1rem;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .social-link:hover {
        background: var(--mint-green);
        color: var(--dark-text);
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 10px 20px rgba(168, 230, 207, 0.3);
    }

    .footer-links {
        list-style: none;
    }

    .footer-links li {
        margin-bottom: 1rem;
    }

    .footer-links a {
        color: #cbd5e0;
        text-decoration: none;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.8rem;
        font-size: 1rem;
    }

    .footer-links a:hover {
        color: var(--mint-green);
        transform: translateX(5px);
    }

    .footer-links a i {
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .footer-links a:hover i {
        transform: translateX(3px);
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 2rem;
        text-align: center;
        color: #cbd5e0;
        font-size: 0.9rem;
        position: relative;
        z-index: 1;
    }

    /* Back to Top Button */
    .back-to-top {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        width: 50px;
        height: 50px;
        background: var(--gradient-secondary);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        box-shadow: var(--shadow-lg);
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 999;
        border: none;
    }

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 15px 30px rgba(255, 182, 182, 0.4);
    }

    /* Floating Pig Animation */
    .floating-pig {
        position: absolute;
        width: 80px;
        height: 80px;
        background: var(--gradient-primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        box-shadow: var(--shadow-lg);
        animation: floatingPig 15s ease-in-out infinite;
        z-index: 0;
        opacity: 0.8;
    }

    @keyframes floatingPig {
        0%, 100% {
            transform: translate(0, 0) rotate(0deg) scale(1);
            animation-timing-function: ease-in-out;
        }
        25% {
            transform: translate(80px, 40px) rotate(340deg) scale(1.05);
            animation-timing-function: ease-in-out;
        }
        50% {
            transform: translate(80px, 0) rotate(90deg) scale(0.95);
            animation-timing-function: ease-in-out;
        }
        75% {
            transform: translate(40px, -150px) rotate(-70deg) scale(1.1);
            animation-timing-function: ease-in-out;
        }
    }

    /* Modal Styles */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        backdrop-filter: blur(8px);
    }

    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .modal-container {
        background: white;
        border-radius: 20px;
        width: 95%;          /* plus large que 90% */
        max-width: 600px;    /* largeur maximale augmentée */
        padding: 1.5rem;
        position: relative;
        transform: translateY(20px);
        transition: all 0.3s ease;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        box-sizing: border-box;
        max-height: 90vh;    /* réduit la hauteur maximale */
        overflow-y: auto;    /* scroll si contenu trop grand */
    }
    .modal-overlay.active .modal-container {
        transform: translateY(0);
    }

    .close-modal {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--light-text);
        transition: color 0.3s ease;
    }

    .close-modal:hover {
        color: var(--soft-coral);
    }

    .modal-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        color: var(--dark-text);
        text-align: center;
        font-weight: 700;
    }

    .modal-subtitle {
        color: var(--light-text);
        text-align: center;
        margin-bottom: 2rem;
        font-size: 1rem;
    }

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

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

    .form-group label {
        font-weight: 600;
        color: var(--dark-text);
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem 1rem;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--mint-green);
        box-shadow: 0 0 0 3px rgba(168, 230, 207, 0.3);
    }

    .form-group textarea {
        min-height: 100px;
        resize: vertical;
    }

    .form-submit {
        background: var(--gradient-secondary);
        color: white;
        border: none;
        padding: 1rem;
        border-radius: 10px;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 1rem;
        text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3); /* ombre du texte */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
    }

    .form-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(255, 182, 182, 0.3);
    }

    .form-footer {
        text-align: center;
        margin-top: 1.5rem;
        font-size: 0.85rem;
        color: var(--light-text);
    }

    .form-footer a {
        color: var(--soft-coral);
        text-decoration: none;
        font-weight: 600;
    }

    /* Responsive */
    @media (max-width: 992px) {
        .hero-content {
            grid-template-columns: 1fr;
            text-align: center;
            gap: 2rem;
        }

        .hero-buttons {
            justify-content: center;
        }

        .hero-image {
            margin-top: 3rem;
            order: -1;
        }
    }
    /* Désactiver les effets coûteux sur mobile */
    @media (max-width: 768px) {
        .liquid-shape, .particle, .floating-pig {
            display: none !important;
        }
        
        .tilt-element {
            transform: none !important;
        }

        .modal-container {
            width: 95%;
            padding: 1.5rem;
        }

        .modal-title {
            font-size: 1.5rem;
        }
    }


    @media (max-width: 768px) {
        .mobile-menu-btn {
            display: block;
        }

        .nav-links {
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            max-width: 300px;
            height: 100vh;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2rem;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            z-index: 1000;
        }

        .nav-links.active {
            right: 0;
        }

        .nav-links a {
            font-size: 1.2rem;
            padding: 0.5rem 1rem;
        }

        .cta-button {
            padding: 0.8rem 1.5rem;
            font-size: 1rem;
        }

        .section {
            padding: 60px 0;
        }

        .benefits-grid,
        .features-grid,
        .testimonials-grid {
            grid-template-columns: 1fr;
        }

        .cta-buttons {
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }

        .footer-content {
            grid-template-columns: 1fr;
            gap: 2rem;
        }
    }

    @media (max-width: 576px) {
        .hero {
            padding: 80px 0 40px;
        }

        .hero h1 {
            font-size: 2.2rem;
        }

        .hero p {
            font-size: 1.1rem;
        }

        .phone-mockup {
            width: 240px;
            height: 480px;
        }

        .section-title {
            font-size: 2rem;
        }

        .section-subtitle {
            font-size: 1.1rem;
            margin-bottom: 2rem;
        }

        .benefit-card,
        .feature-card,
        .testimonial-card {
            padding: 1.5rem;
        }

        .footer {
            padding: 3rem 0 1.5rem;
        }
    }

    /* Animations */
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
