/* ============================================================
   amuly.fr - LANDING PAGE
   Tons bleus, design moderne et epure
   ============================================================ */

/* RESET + BASE */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;font-size:16px;}
body{
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
    color:#1e293b;
    line-height:1.6;
    background:#fff;
    -webkit-font-smoothing:antialiased;
}
a{color:#2563eb;text-decoration:none;}
a:hover{text-decoration:underline;}
img{max-width:100%;height:auto;}

/* CONTAINER */
.container{max-width:1140px;margin:0 auto;padding:0 24px;}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav{
    position:fixed;top:0;left:0;right:0;z-index:100;
    background:rgba(255,255,255,0.95);
    backdrop-filter:blur(12px);
    border-bottom:1px solid #e2e8f0;
    transition:box-shadow .3s;
}
.nav.scrolled{box-shadow:0 1px 8px rgba(0,0,0,0.06);}
.nav .container{
    display:flex;align-items:center;justify-content:space-between;
    height:64px;
}
.nav-logo{font-size:1.5rem;font-weight:800;color:#0f172a;letter-spacing:-0.5px;}
.nav-logo span{color:#2563eb;}
.nav-links{display:flex;align-items:center;gap:32px;list-style:none;}
.nav-links a{font-size:0.9rem;color:#475569;font-weight:500;transition:color .2s;}
.nav-links a:hover{color:#2563eb;text-decoration:none;}
.nav-cta{
    background:#2563eb;color:#fff !important;
    padding:8px 20px;border-radius:8px;font-weight:600;font-size:0.9rem;
    transition:background .2s;
}
.nav-cta:hover{background:#1d4ed8;text-decoration:none !important;}

/* MOBILE MENU */
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;}
.nav-toggle span{display:block;width:24px;height:2px;background:#0f172a;margin:5px 0;transition:.3s;}

/* ============================================================
   HERO
   ============================================================ */
.hero{
    padding:140px 0 100px;
    background:linear-gradient(135deg,#eff6ff 0%,#dbeafe 40%,#e0e7ff 100%);
    position:relative;overflow:hidden;
}
.hero::after{
    content:'';position:absolute;bottom:0;left:0;right:0;height:80px;
    background:linear-gradient(to bottom,transparent,#fff);
}
.hero .container{position:relative;z-index:1;text-align:center;max-width:800px;}
.hero-badge{
    display:inline-block;
    background:#dbeafe;color:#1d4ed8;
    padding:6px 16px;border-radius:20px;
    font-size:0.8rem;font-weight:600;
    margin-bottom:24px;letter-spacing:0.3px;
}
.hero h1{
    font-size:3.2rem;font-weight:800;line-height:1.15;
    color:#0f172a;margin-bottom:20px;letter-spacing:-1px;
}
.hero h1 span{
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    -webkit-background-clip:text;-webkit-text-fill-color:transparent;
    background-clip:text;
}
.hero-sub{
    font-size:1.2rem;color:#475569;max-width:600px;margin:0 auto 40px;line-height:1.7;
}

/* HERO CTA */
.hero-cta{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}
.btn{
    display:inline-flex;align-items:center;gap:8px;
    padding:14px 28px;border-radius:10px;font-size:1rem;font-weight:600;
    cursor:pointer;border:none;transition:all .2s;
}
.btn-primary{background:#2563eb;color:#fff;box-shadow:0 4px 14px rgba(37,99,235,0.3);}
.btn-primary:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 6px 20px rgba(37,99,235,0.35);text-decoration:none;color:#fff;}
.btn-outline{background:transparent;color:#1e293b;border:2px solid #cbd5e1;}
.btn-outline:hover{border-color:#2563eb;color:#2563eb;text-decoration:none;}

/* HERO STATS */
.hero-stats{
    display:flex;justify-content:center;gap:48px;
    margin-top:60px;padding-top:40px;border-top:1px solid rgba(37,99,235,0.15);
}
.hero-stat{text-align:center;}
.hero-stat-number{font-size:1.8rem;font-weight:800;color:#0f172a;}
.hero-stat-label{font-size:0.85rem;color:#64748b;margin-top:4px;}

/* ============================================================
   SECTIONS GENERALES
   ============================================================ */
section{padding:100px 0;}
section:nth-child(even){background:#f8fafc;}
.section-header{text-align:center;max-width:640px;margin:0 auto 60px;}
.section-label{
    display:inline-block;
    font-size:0.8rem;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;
    color:#2563eb;margin-bottom:12px;
}
.section-title{font-size:2.2rem;font-weight:800;color:#0f172a;line-height:1.2;margin-bottom:16px;}
.section-desc{font-size:1.05rem;color:#64748b;line-height:1.7;}

/* ============================================================
   FEATURES (GRILLE)
   ============================================================ */
.features-grid{
    display:grid;grid-template-columns:repeat(3,1fr);gap:32px;
}
.feature-card{
    background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:36px 28px;
    transition:all .3s;
}
.feature-card:hover{
    border-color:#bfdbfe;box-shadow:0 8px 30px rgba(37,99,235,0.08);
    transform:translateY(-4px);
}
.feature-icon{
    width:52px;height:52px;border-radius:12px;
    display:flex;align-items:center;justify-content:center;
    font-size:1.5rem;margin-bottom:20px;
}
.feature-icon.blue{background:#dbeafe;color:#2563eb;}
.feature-icon.purple{background:#ede9fe;color:#7c3aed;}
.feature-icon.green{background:#dcfce7;color:#16a34a;}
.feature-icon.orange{background:#ffedd5;color:#ea580c;}
.feature-icon.cyan{background:#cffafe;color:#0891b2;}
.feature-icon.rose{background:#ffe4e6;color:#e11d48;}
.feature-card h3{font-size:1.15rem;font-weight:700;color:#0f172a;margin-bottom:10px;}
.feature-card p{font-size:0.92rem;color:#64748b;line-height:1.6;}

/* ============================================================
   SECTION AVANTAGES (2 COLONNES)
   ============================================================ */
.advantage-row{
    display:flex;align-items:center;gap:80px;margin-bottom:80px;
}
.advantage-row:last-child{margin-bottom:0;}
.advantage-row.reverse{flex-direction:row-reverse;}
.advantage-text{flex:1;}
.advantage-visual{flex:1;}
.advantage-text h3{font-size:1.6rem;font-weight:800;color:#0f172a;margin-bottom:16px;}
.advantage-text p{font-size:1rem;color:#64748b;line-height:1.7;margin-bottom:20px;}
.advantage-list{list-style:none;display:flex;flex-direction:column;gap:12px;}
.advantage-list li{
    display:flex;align-items:flex-start;gap:10px;
    font-size:0.95rem;color:#334155;
}
.advantage-list li::before{
    content:'';display:inline-block;flex-shrink:0;
    width:20px;height:20px;margin-top:2px;
    background:#2563eb;border-radius:50%;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
    background-size:12px;background-position:center;background-repeat:no-repeat;
}

/* VISUAL MOCKUP */
.visual-box{
    background:linear-gradient(135deg,#eff6ff,#dbeafe);
    border:1px solid #bfdbfe;border-radius:20px;
    padding:40px;position:relative;overflow:hidden;
}
.visual-box-inner{
    background:#fff;border-radius:12px;padding:24px;
    box-shadow:0 4px 20px rgba(0,0,0,0.06);
}
.mock-bar{height:8px;border-radius:4px;margin-bottom:12px;}
.mock-bar.w75{width:75%;background:#dbeafe;}
.mock-bar.w50{width:50%;background:#e2e8f0;}
.mock-bar.w90{width:90%;background:#dbeafe;}
.mock-bar.w60{width:60%;background:#ede9fe;}
.mock-stats{display:flex;gap:16px;margin-top:16px;}
.mock-stat{
    flex:1;background:#f8fafc;border-radius:8px;padding:16px;text-align:center;
}
.mock-stat-val{font-size:1.3rem;font-weight:800;color:#2563eb;}
.mock-stat-lbl{font-size:0.7rem;color:#94a3b8;margin-top:4px;}
.mock-qr{
    width:120px;height:120px;background:#0f172a;border-radius:8px;margin:20px auto 0;
    position:relative;
}
.mock-qr::after{
    content:'';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
    width:30px;height:30px;background:#2563eb;border-radius:4px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid{
    display:grid;grid-template-columns:repeat(3,1fr);gap:28px;align-items:start;
}
.pricing-card{
    background:#fff;border:2px solid #e2e8f0;border-radius:20px;padding:40px 32px;
    position:relative;transition:all .3s;
}
.pricing-card:hover{border-color:#bfdbfe;box-shadow:0 8px 30px rgba(37,99,235,0.08);}
.pricing-card.featured{
    border-color:#2563eb;
    box-shadow:0 8px 30px rgba(37,99,235,0.12);
    transform:scale(1.03);
}
.pricing-badge{
    position:absolute;top:-14px;left:50%;transform:translateX(-50%);
    background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;
    padding:6px 20px;border-radius:20px;font-size:0.75rem;font-weight:700;
    letter-spacing:0.5px;white-space:nowrap;
}
.pricing-name{font-size:1.1rem;font-weight:700;color:#64748b;margin-bottom:8px;}
.pricing-price{margin-bottom:20px;}
.pricing-amount{font-size:2.8rem;font-weight:800;color:#0f172a;}
.pricing-period{font-size:0.9rem;color:#94a3b8;font-weight:400;}
.pricing-desc{font-size:0.9rem;color:#64748b;margin-bottom:24px;line-height:1.5;}
.pricing-features{list-style:none;margin-bottom:32px;display:flex;flex-direction:column;gap:12px;}
.pricing-features li{
    font-size:0.9rem;color:#334155;display:flex;align-items:center;gap:10px;
}
.pricing-features li::before{
    content:'';display:inline-block;flex-shrink:0;
    width:18px;height:18px;
    background:#dcfce7;border-radius:50%;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2316a34a'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
    background-size:10px;background-position:center;background-repeat:no-repeat;
}
.pricing-btn{
    display:block;width:100%;text-align:center;
    padding:14px;border-radius:10px;font-size:0.95rem;font-weight:600;
    cursor:pointer;border:none;transition:all .2s;
}
.pricing-btn-outline{background:#f1f5f9;color:#1e293b;}
.pricing-btn-outline:hover{background:#e2e8f0;text-decoration:none;color:#1e293b;}
.pricing-btn-primary{background:#2563eb;color:#fff;box-shadow:0 4px 14px rgba(37,99,235,0.25);}
.pricing-btn-primary:hover{background:#1d4ed8;text-decoration:none;color:#fff;}
.pricing-btn-dark{background:#0f172a;color:#fff;}
.pricing-btn-dark:hover{background:#1e293b;text-decoration:none;color:#fff;}

/* ============================================================
   RGPD / TRUST
   ============================================================ */
.trust-grid{
    display:grid;grid-template-columns:repeat(4,1fr);gap:24px;
}
.trust-card{
    text-align:center;padding:32px 20px;
    background:#fff;border:1px solid #e2e8f0;border-radius:16px;
}
.trust-icon{
    width:48px;height:48px;margin:0 auto 16px;
    background:#dbeafe;border-radius:12px;
    display:flex;align-items:center;justify-content:center;
    font-size:1.4rem;
}
.trust-card h4{font-size:0.95rem;font-weight:700;color:#0f172a;margin-bottom:6px;}
.trust-card p{font-size:0.82rem;color:#64748b;line-height:1.5;}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-section{
    background:linear-gradient(135deg,#1e3a8a,#2563eb,#3b82f6);
    padding:80px 0;text-align:center;color:#fff;
}
.cta-section h2{font-size:2.2rem;font-weight:800;margin-bottom:16px;}
.cta-section p{font-size:1.1rem;opacity:0.85;margin-bottom:32px;max-width:500px;margin-left:auto;margin-right:auto;}
.btn-white{background:#fff;color:#1e3a8a;box-shadow:0 4px 14px rgba(0,0,0,0.15);}
.btn-white:hover{background:#f1f5f9;transform:translateY(-1px);text-decoration:none;color:#1e3a8a;}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-main{background:#0f172a;color:#94a3b8;padding:60px 0 30px;}
.footer-grid{
    display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;
    margin-bottom:40px;
}
.footer-brand .nav-logo{color:#fff;font-size:1.4rem;margin-bottom:12px;display:inline-block;}
.footer-brand .nav-logo span{color:#60a5fa;}
.footer-brand p{font-size:0.85rem;line-height:1.6;max-width:280px;}
.footer-col h4{color:#e2e8f0;font-size:0.85rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:16px;}
.footer-col ul{list-style:none;}
.footer-col li{margin-bottom:10px;}
.footer-col a{color:#94a3b8;font-size:0.85rem;transition:color .2s;}
.footer-col a:hover{color:#60a5fa;text-decoration:none;}
.footer-bottom{
    border-top:1px solid #1e293b;padding-top:24px;
    display:flex;justify-content:space-between;align-items:center;
    font-size:0.8rem;
}
.footer-bottom a{color:#94a3b8;}
.footer-bottom a:hover{color:#60a5fa;}
.footer-legal{display:flex;gap:24px;}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:968px){
    .features-grid{grid-template-columns:repeat(2,1fr);}
    .pricing-grid{grid-template-columns:1fr;max-width:420px;margin:0 auto;}
    .pricing-card.featured{transform:none;}
    .advantage-row,.advantage-row.reverse{flex-direction:column;gap:40px;}
    .trust-grid{grid-template-columns:repeat(2,1fr);}
    .footer-grid{grid-template-columns:1fr 1fr;}
    .hero h1{font-size:2.4rem;}
    .hero-stats{gap:32px;}
}
@media(max-width:640px){
    .nav-links{
        display:none;position:absolute;top:64px;left:0;right:0;
        background:#fff;flex-direction:column;padding:20px;gap:16px;
        border-bottom:1px solid #e2e8f0;box-shadow:0 4px 12px rgba(0,0,0,0.06);
    }
    .nav-links.open{display:flex;}
    .nav-toggle{display:block;}
    .features-grid{grid-template-columns:1fr;}
    .trust-grid{grid-template-columns:1fr;}
    .hero{padding:120px 0 80px;}
    .hero h1{font-size:2rem;}
    .hero-sub{font-size:1rem;}
    .hero-stats{flex-direction:column;gap:20px;}
    .section-title{font-size:1.7rem;}
    .footer-grid{grid-template-columns:1fr;}
    .footer-bottom{flex-direction:column;gap:12px;text-align:center;}
}
