:root{
    --bg:#f7fbfa;
    --surface:#fff;
    --text:#17312e;
    --muted:#667a77;
    --green:#3f9f79;
    --green-dark:#267555;
    --blue:#4b86d9;
    --line:#dfe9e6;
    --shadow:0 18px 50px rgba(23,49,46,.09);
    --radius:24px;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--text);
    background:var(--bg);
    line-height:1.6;
}

a{
    color:inherit;
    text-decoration:none;
}

.container{
    width:min(1120px,calc(100% - 40px));
    margin:auto;
}


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

.nav{
    position:sticky;
    top:0;
    z-index:20;
    background:rgba(247,251,250,.94);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(223,233,230,.85);
}

.nav-inner{
    min-height:92px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

.brand{
    display:flex;
    align-items:center;
    text-decoration:none;
    flex-shrink:0;
}

/*
 Ancien logo artificiel conservé au cas où,
 mais normalement plus utilisé dans le Blade.
*/
.logo-mark{
    width:40px;
    height:40px;
    border-radius:13px;
    background:linear-gradient(135deg,var(--green),var(--blue));
    display:grid;
    place-items:center;
    color:#fff;
    font-weight:900;
    box-shadow:0 8px 20px rgba(63,159,121,.18);
}

/* Logo Eunovya officiel */
.brand-logo{
    display:block;
    width:auto;
    height:72px;
    max-width:285px;
    object-fit:contain;
}

.nav-links{
    display:flex;
    gap:26px;
    align-items:center;
    color:var(--muted);
    font-size:.95rem;
}

.nav-links a{
    transition:color .18s ease;
}

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

.lang{
    padding:8px 12px;
    border:1px solid var(--line);
    border-radius:999px;
    background:#fff;
}


/* =========================================================
   HERO
   ========================================================= */

.hero{
    padding:84px 0 64px;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:56px;
    align-items:center;
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    padding:8px 13px;
    border-radius:999px;
    background:#e8f5ef;
    color:var(--green-dark);
    font-weight:700;
    font-size:.86rem;
}

.hero h1{
    font-size:clamp(2.5rem,6vw,5rem);
    line-height:1.02;
    letter-spacing:-.055em;
    margin:20px 0;
}

.gradient{
    background:linear-gradient(90deg,var(--green),var(--blue));
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.hero p{
    font-size:1.16rem;
    color:var(--muted);
    max-width:650px;
}


/* =========================================================
   BOUTONS
   ========================================================= */

.cta-row{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:30px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:50px;
    padding:0 20px;
    border-radius:14px;
    font-weight:800;
    border:1px solid var(--line);
    transition:.18s ease;
}

.btn:hover{
    transform:translateY(-1px);
}

.btn-primary{
    background:var(--text);
    color:#fff;
    border-color:var(--text);
}

.btn-secondary{
    background:#fff;
}

.disabled-link{
    opacity:.65;
    cursor:default;
}

.disabled-link:hover{
    transform:none;
}


/* =========================================================
   MOCKUP TELEPHONE
   ========================================================= */

.phone-card{
    min-height:520px;
    border-radius:36px;
    background:linear-gradient(145deg,#e8f5ef,#edf3fd);
    box-shadow:var(--shadow);
    padding:28px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.phone{
    width:275px;
    background:#fff;
    border:10px solid var(--text);
    border-radius:42px;
    padding:16px;
    box-shadow:0 25px 60px rgba(23,49,46,.2);
}

.phone-top{
    height:17px;
    width:88px;
    border-radius:999px;
    background:var(--text);
    margin:0 auto 18px;
}

.meal{
    border-radius:20px;
    height:170px;
    margin-bottom:18px;
}

.meal-demo{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 28% 42%,#78aa64 0 13%,transparent 14%),
        radial-gradient(circle at 52% 55%,#e5b05e 0 18%,transparent 19%),
        radial-gradient(circle at 74% 37%,#da766a 0 15%,transparent 16%),
        linear-gradient(135deg,#f1d9b9,#e9c49a);
    display:flex;
    align-items:flex-end;
    padding:12px;
}

.meal-demo span{
    font-size:.76rem;
    font-weight:800;
    background:rgba(255,255,255,.8);
    padding:5px 8px;
    border-radius:8px;
}

.score{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px;
    border-radius:16px;
    background:#edf8f3;
    margin:12px 0;
}

.score strong{
    font-size:1.8rem;
    color:#2e8b67;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section{
    padding:78px 0;
}

.section-soft{
    background:linear-gradient(
        180deg,
        rgba(232,245,239,.35),
        rgba(237,243,253,.35)
    );
}

.section-compact{
    padding-top:18px;
}

.section h2{
    font-size:clamp(2rem,4vw,3.5rem);
    line-height:1.08;
    letter-spacing:-.04em;
    margin:0 0 16px;
}

.section-intro{
    color:var(--muted);
    max-width:720px;
    margin:0 0 38px;
}


/* =========================================================
   CARTES
   ========================================================= */

.cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.card{
    background:var(--surface);
    padding:26px;
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:0 8px 28px rgba(23,49,46,.04);
}

.icon{
    width:46px;
    height:46px;
    border-radius:14px;
    background:linear-gradient(135deg,#e8f5ef,#edf3fd);
    display:grid;
    place-items:center;
    font-size:1.35rem;
}

.card h3{
    margin:18px 0 8px;
}

.card p{
    margin:0;
    color:var(--muted);
}


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

.feature{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:44px;
    align-items:center;
}

.feature-panel{
    background:#fff;
    border:1px solid var(--line);
    border-radius:30px;
    padding:34px;
    box-shadow:var(--shadow);
}

.mini-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.mini{
    padding:18px;
    border-radius:18px;
    background:#f6faf9;
}

.mini span{
    display:block;
    color:var(--muted);
    font-size:.85rem;
}

.mini strong{
    font-size:1.25rem;
}


/* =========================================================
   BANNIERE DOWNLOAD
   ========================================================= */

.banner{
    background:linear-gradient(110deg,#17312e,#2d5a65);
    color:#fff;
    padding:42px;
    border-radius:30px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.banner h2{
    margin:0;
}

.banner p{
    color:#d9e5e3;
    margin:8px 0 0;
    max-width:650px;
}

.store-row{
    margin-top:0;
}


/* =========================================================
   NOTE MEDICALE
   ========================================================= */

.medical-note{
    background:#fff;
    border:1px solid var(--line);
    padding:20px 24px;
    border-radius:18px;
}

.medical-note p{
    margin:5px 0 0;
    color:var(--muted);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer{
    padding:40px 0;
    border-top:1px solid var(--line);
    color:var(--muted);
    font-size:.92rem;
    background:#fff;
}

.footer-grid{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:28px;
    flex-wrap:wrap;
}

.footer-brand{
    display:flex;
    align-items:center;
    gap:18px;
}

.footer-logo{
    display:block;
    width:auto;
    height:58px;
    max-width:220px;
    object-fit:contain;
}

.footer-links{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.footer-links a{
    transition:color .18s ease;
}

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


/* =========================================================
   PAGES LEGALES
   ========================================================= */

.legal{
    padding:70px 0;
}

.legal article{
    max-width:850px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:24px;
    padding:42px;
    box-shadow:var(--shadow);
    margin:auto;
}

.legal-kicker{
    text-transform:uppercase;
    letter-spacing:.14em;
    font-weight:800;
    font-size:.75rem;
    color:var(--green-dark);
}

.legal h1{
    font-size:clamp(2.2rem,5vw,3.2rem);
    line-height:1.1;
    margin:4px 0 8px;
    letter-spacing:-.04em;
}

.legal h2{
    margin-top:34px;
    font-size:1.45rem;
}

.legal h3{
    margin-top:26px;
    font-size:1.1rem;
    color:var(--text);
}

.legal p,
.legal li{
    color:#4f6662;
}

.legal ul{
    padding-left:22px;
}

.legal li{
    margin-bottom:6px;
}

.notice{
    padding:16px 18px;
    border-radius:14px;
    background:#fff8df;
    border:1px solid #f2dfa0;
    color:#6a5922;
    margin:24px 0;
}

.notice strong{
    color:#5b4a16;
}

.small{
    font-size:.88rem;
    color:var(--muted);
}

.text-link{
    color:var(--green-dark);
    text-decoration:underline;
    text-underline-offset:3px;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media(max-width:900px){

    .hero-grid,
    .feature{
        grid-template-columns:1fr;
    }

    .cards{
        grid-template-columns:1fr 1fr;
    }

    .nav-links a:not(.lang){
        display:none;
    }

    .phone-card{
        min-height:430px;
    }

    .banner{
        align-items:flex-start;
        flex-direction:column;
    }

    .store-row{
        margin-top:12px;
    }

    .brand-logo{
        height:62px;
        max-width:245px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:560px){

    .container{
        width:min(100% - 26px,1120px);
    }

    .nav-inner{
        min-height:74px;
        gap:12px;
    }

    .brand-logo{
        height:52px;
        max-width:195px;
    }

    .nav-links{
        gap:8px;
    }

    .lang{
        padding:6px 10px;
        font-size:.85rem;
    }

    .hero{
        padding-top:50px;
    }

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

    .cards{
        grid-template-columns:1fr;
    }

    .legal{
        padding:34px 0;
    }

    .legal article{
        padding:24px;
    }

    .mini-grid{
        grid-template-columns:1fr;
    }

    .phone-card{
        padding:18px;
    }

    .banner{
        padding:28px;
    }

    .footer-grid{
        align-items:flex-start;
        flex-direction:column;
    }

    .footer-brand{
        align-items:flex-start;
        flex-direction:column;
        gap:10px;
    }

    .footer-logo{
        height:50px;
        max-width:190px;
    }

}