/* ===================================================================
   EASYTECH BY KEVIN — Design System "Dark / Tech Premium"
   =================================================================== */

/* --- TOKENS ------------------------------------------------------- */
:root {
    --primary: #2f6bff;        /* Bleu Easytech */
    --primary-soft: #5b8bff;
    --accent: #0a9fc0;         /* Cyan profond (lisible sur blanc) */
    --accent-2: #7c5cff;       /* Violet pour les dégradés */

    --bg: #eef3fa;             /* Fond clair */
    --bg-2: #ffffff;           /* Surfaces / cartes */
    --surface: #ffffff;
    --surface-2: #f3f7fc;
    --border: rgba(18, 38, 70, 0.12);
    --border-glow: rgba(47, 107, 255, 0.40);

    --text: #14223a;
    --muted: #566377;
    --muted-2: #8593a8;

    --radius: 18px;
    --radius-lg: 26px;
    --maxw: 1340px;
    --shadow: 0 20px 50px rgba(20, 40, 80, 0.12);
    --glow: 0 0 30px rgba(47, 107, 255, 0.18);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- RESET -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', system-ui, sans-serif;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Halo de fond global */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(900px 500px at 80% -5%, rgba(47, 107, 255, 0.10), transparent 60%),
        radial-gradient(700px 500px at 0% 10%, rgba(124, 92, 255, 0.08), transparent 55%),
        var(--bg);
}

a { color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad {
    background: linear-gradient(100deg, var(--accent), var(--primary-soft) 55%, var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 7px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--surface);
    backdrop-filter: blur(10px);
}

.muted { color: var(--muted); }
.section { padding: 100px 0; }
.center { text-align: center; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* --- BUTTONS ------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
    will-change: transform;
}
.btn-primary {
    background: linear-gradient(100deg, var(--accent), var(--primary));
    color: #04121f;
    box-shadow: 0 14px 34px rgba(0, 200, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(0, 200, 255, 0.42); }
.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--border-glow); box-shadow: var(--glow); }

/* --- NAV ---------------------------------------------------------- */
.nav-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 1.35rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.02em;
    color: var(--text);
}
.logo::before {
    content: "";
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: url("logo.svg") center / contain no-repeat;
    filter: drop-shadow(0 4px 12px rgba(0, 200, 255, 0.35));
}
.logo span { color: var(--accent); font-weight: 500; font-size: .62em; margin-left: 4px; }
.foot .logo::before { width: 26px; height: 26px; }

.menu { display: flex; align-items: center; gap: 6px; }
.menu a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    font-size: .95rem;
    padding: 9px 16px;
    border-radius: 50px;
    transition: color .25s, background .25s;
}
.menu a:hover { color: var(--primary); }
.menu a.active { color: var(--primary); background: rgba(47, 107, 255, 0.10); }
.menu .btn-nav {
    background: linear-gradient(100deg, var(--accent), var(--primary));
    color: #04121f;
    font-weight: 600;
}
.menu .btn-nav:hover { color: #04121f; }
.menu .lang {
    border: 1px solid var(--border);
    margin-left: 6px;
    font-size: .85rem;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}
.burger span {
    width: 26px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .35s var(--ease), opacity .25s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- HERO --------------------------------------------------------- */
.hero { position: relative; padding: 110px 0 120px; overflow: hidden; }
.aurora { position: absolute; inset: 0; z-index: -1; filter: blur(70px); opacity: .8; }
.aurora span {
    position: absolute;
    border-radius: 50%;
    animation: float 14s ease-in-out infinite;
}
.aurora span:nth-child(1) { width: 380px; height: 380px; background: rgba(0, 224, 255, 0.35); top: -60px; left: 8%; }
.aurora span:nth-child(2) { width: 420px; height: 420px; background: rgba(47, 107, 255, 0.32); top: 40px; right: 6%; animation-delay: -4s; }
.aurora span:nth-child(3) { width: 320px; height: 320px; background: rgba(124, 92, 255, 0.28); bottom: -80px; left: 40%; animation-delay: -8s; }
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.1); }
}

.hero-inner { max-width: 1040px; text-align: center; margin: 0 auto; }

/* Hero 2 colonnes (texte + illustration) */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.hero-text { text-align: left; }
.hero-text .hero-cta { justify-content: flex-start; }
.hero-text p { max-width: 560px; margin: 0 0 36px; }
.hero-illu { width: 100%; max-width: 560px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(47, 107, 255, 0.18)); }
@media (prefers-reduced-motion: no-preference) {
    .hero-illu { animation: hero-float 6s ease-in-out infinite; }
    @keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
}
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero-text { text-align: center; }
    .hero-text .hero-cta { justify-content: center; }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-visual { order: -1; max-width: 380px; margin: 0 auto; }
}
.hero h1 {
    font-size: clamp(2.6rem, 7vw, 4.6rem);
    margin: 26px 0 20px;
}
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 620px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 70px;
}
.stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 30px;
    backdrop-filter: blur(10px);
    min-width: 150px;
}
.stat b { display: block; font-size: 2rem; background: linear-gradient(100deg, var(--accent), var(--primary-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat small { color: var(--muted); font-size: .9rem; }

/* --- CARDS / FEATURES -------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(12px);
    transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
    overflow: hidden;
}
.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(130deg, transparent, var(--border-glow), transparent);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s;
}
.card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }

.card .ic {
    width: 58px; height: 58px;
    display: grid; place-items: center;
    border-radius: 16px;
    font-size: 1.5rem;
    color: var(--accent);
    background: linear-gradient(140deg, rgba(0,224,255,.16), rgba(47,107,255,.12));
    border: 1px solid var(--border);
    margin-bottom: 22px;
}
.card h3 { font-size: 1.35rem; }
.card p { color: var(--muted); margin: 0; }

.card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.card li { padding: 11px 0; border-top: 1px solid var(--border); color: var(--muted); display: flex; gap: 12px; align-items: flex-start; }
.card li::before { content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent); flex-shrink: 0; }
.card li:first-of-type { border-top: 0; }

/* --- ABOUT / SPLIT ----------------------------------------------- */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.split h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.split p { color: var(--muted); font-size: 1.05rem; }

.quote {
    background: var(--surface);
    border-left: 3px solid var(--accent);
    border-radius: 0 16px 16px 0;
    padding: 22px 26px;
    margin: 26px 0;
    font-style: italic;
    color: var(--text);
}
.quote h4 { color: var(--accent); margin: 0 0 8px; font-style: normal; }

.pledge {
    background: linear-gradient(160deg, var(--bg-2), rgba(47,107,255,.08));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 38px;
    box-shadow: var(--shadow);
}
.pledge h4 { color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
.pledge ul { list-style: none; padding: 0; margin: 22px 0 0; }
.pledge li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; color: var(--muted); }
.pledge li:last-child { margin-bottom: 0; }
.pledge li i { color: var(--accent); margin-top: 4px; }
.pledge li b { color: var(--text); }

/* --- TESTIMONIALS ------------------------------------------------- */
.review {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    transition: transform .4s var(--ease), border-color .4s;
}
.review:hover { transform: translateY(-5px); border-color: var(--border-glow); }
.stars { color: #ffc83d; margin-bottom: 14px; letter-spacing: 2px; }
.review p { color: var(--text); margin: 0 0 22px; }
.review .who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.review .avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 700;
    color: #04121f;
    background: linear-gradient(120deg, var(--accent), var(--primary));
}
.review .who b { display: block; font-size: .98rem; }
.review .who small { color: var(--muted-2); }

/* --- HEADER PAGE (services/contact) ------------------------------ */
.page-head { text-align: center; padding: 90px 0 30px; position: relative; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-head p { color: var(--muted); font-size: 1.1rem; }

/* --- CONTACT ------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 38px;
    backdrop-filter: blur(12px);
}
.big-phone {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(100deg, var(--accent), var(--primary));
    color: #04121f;
    padding: 18px 26px;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    margin: 8px 0 26px;
    box-shadow: 0 14px 34px rgba(0, 200, 255, 0.28);
    transition: transform .3s var(--ease);
    justify-content: center;
}
.big-phone:hover { transform: scale(1.03); }
.info-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); color: var(--muted); }
.info-item i { color: var(--accent); width: 22px; text-align: center; }
.info-item a { color: var(--text); text-decoration: none; }

/* --- FORM --------------------------------------------------------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.field input, .field textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.14);
}
.field textarea { resize: vertical; min-height: 140px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: .85rem; color: var(--muted-2); margin-top: 6px; }
.form-msg { padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; display: none; }
.form-msg.ok { display: block; background: rgba(0,224,255,.1); border: 1px solid var(--border-glow); color: var(--accent); }
.form-msg.err { display: block; background: rgba(255,80,80,.1); border: 1px solid rgba(255,80,80,.4); color: #ff9b9b; }

/* --- CTA BAND ----------------------------------------------------- */
.cta-band {
    text-align: center;
    background: linear-gradient(150deg, var(--bg-2), rgba(47,107,255,.12));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 64px 30px;
    box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; }

/* --- FOOTER ------------------------------------------------------- */
footer {
    border-top: 1px solid var(--border);
    padding: 50px 0 40px;
    margin-top: 40px;
    background: var(--surface-2);
}
.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.foot .logo { font-size: 1.15rem; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .25s; }
.foot-links a:hover { color: var(--accent); }
.foot-copy { color: var(--muted-2); font-size: .85rem; margin-top: 26px; text-align: center; }

/* --- SCROLL REVEAL ----------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* --- RESPONSIVE --------------------------------------------------- */
@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .section { padding: 70px 0; }

    .burger { display: flex; }
    .menu {
        position: fixed;
        inset: 72px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 18px 24px 26px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--border);
        transform: translateY(-130%);
        transition: transform .4s var(--ease);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    .menu.open { transform: translateY(0); }
    .menu a { padding: 14px 16px; font-size: 1.05rem; }
    .menu .lang { margin-left: 0; text-align: center; }
    .menu .btn-nav { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
    .card, .contact-card, .pledge { padding: 26px; }
    .hero { padding: 70px 0 80px; }
    .hero-stats { gap: 12px; }
    .stat { padding: 16px 20px; min-width: 130px; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .aurora span { animation: none; }
    html { scroll-behavior: auto; }
}

/* ===================================================================
   EFFETS PREMIUM
   =================================================================== */

/* Barre de progression de défilement */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    z-index: 2000;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent-2));
    box-shadow: 0 0 14px rgba(0, 224, 255, 0.7);
    transition: width .1s linear;
}

/* Lueur qui suit le curseur */
.cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 300px; height: 300px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 900;
    background: radial-gradient(circle, rgba(47, 107, 255, 0.10), rgba(124, 92, 255, 0.05) 45%, transparent 65%);
    mix-blend-mode: normal;
    will-change: transform;
}

/* Grain subtil sur tout le site */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Grille lumineuse dans le hero */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(18,38,70,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18,38,70,.05) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 0%, transparent 75%);
}

/* Titre dégradé animé (shimmer) */
.grad {
    background-size: 220% auto;
    animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

/* Reflet lumineux qui balaie les boutons principaux */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
    content: "";
    position: absolute;
    top: 0; left: -130%;
    width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
    transform: skewX(-20deg);
    transition: left .65s var(--ease);
    pointer-events: none;
}
.btn-primary:hover::before { left: 150%; }

/* Cartes prêtes pour le tilt 3D */
.card, .review { transform-style: preserve-3d; will-change: transform; }

/* ===================================================================
   BOUTIQUE
   =================================================================== */
.product {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.product:hover { transform: translateY(-6px); border-color: var(--border-glow); box-shadow: var(--shadow); }

.product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    font-size: 3.4rem;
    color: var(--accent);
    background: linear-gradient(140deg, rgba(0,224,255,.12), rgba(124,92,255,.10));
    border-bottom: 1px solid var(--border);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }

.product-badge {
    position: absolute;
    top: 14px; left: 14px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    color: #04121f;
    background: linear-gradient(100deg, var(--accent), var(--primary));
}
.product-badge.soft {
    color: var(--accent);
    background: var(--surface);
    border: 1px solid var(--border-glow);
}

.product-body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.product-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.product-body p { color: var(--muted); font-size: .95rem; margin: 0 0 18px; flex: 1; }

.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; }
.price { font-size: 1.5rem; font-weight: 700; }
.price small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted-2); }

.btn-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: .95rem;
    color: #04121f;
    background: linear-gradient(100deg, var(--accent), var(--primary));
    box-shadow: 0 10px 24px rgba(0, 200, 255, 0.25);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-cart:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0, 200, 255, 0.4); }

/* Bouton panier dans la barre de navigation */
.cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
    padding: 9px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: border-color .25s, box-shadow .25s;
}
.cart-btn:hover { border-color: var(--border-glow); box-shadow: var(--glow); }
.cart-btn .snipcart-items-count {
    display: inline-grid;
    place-items: center;
    min-width: 20px; height: 20px;
    padding: 0 5px;
    font-size: .72rem;
    border-radius: 50px;
    color: #04121f;
    background: var(--accent);
}

/* Bandeau d'info boutique */
.shop-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 0 14px 14px 0;
    padding: 18px 22px;
    color: var(--muted);
    margin-bottom: 40px;
}
.shop-note i { color: var(--accent); margin-top: 3px; }

/* --- BANDEAU COOKIES ---------------------------------------------- */
.cookie-banner {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: min(360px, calc(100% - 32px));
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: var(--shadow);
    z-index: 2500;
}
.cookie-banner p { margin: 0 0 12px; color: var(--muted); font-size: .85rem; }
.cookie-banner a { color: var(--accent); }
.cookie-banner .btn { padding: 9px 20px; width: 100%; justify-content: center; }
@media (prefers-reduced-motion: no-preference) {
    .cookie-banner { animation: ck-up .5s var(--ease); }
    @keyframes ck-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* --- PAGES LÉGALES ------------------------------------------------ */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 14px; color: var(--text); }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; color: var(--accent); }
.legal p, .legal li { color: var(--muted); font-size: 1rem; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); }
.legal .fill {
    background: rgba(255, 200, 61, 0.14);
    border-bottom: 1px dashed #ffc83d;
    padding: 1px 5px;
    border-radius: 3px;
    color: #ffe39b;
    font-weight: 500;
}
.legal .updated { color: var(--muted-2); font-size: .9rem; margin-bottom: 30px; }
.legal-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 26px;
    margin: 24px 0;
}

/* --- TIROIR PANIER ------------------------------------------------ */
#cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
    z-index: 1500;
}
#cart-overlay.open { opacity: 1; visibility: visible; }

#cart-drawer {
    position: fixed;
    top: 0; right: 0;
    width: 420px;
    max-width: 92vw;
    height: 100%;
    background: var(--bg-2);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 60px rgba(0,0,0,.5);
    transform: translateX(105%);
    transition: transform .4s var(--ease);
    z-index: 1600;
    display: flex;
    flex-direction: column;
}
#cart-drawer.open { transform: none; }

.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid var(--border);
}
.cart-head h3 { margin: 0; font-size: 1.2rem; }
.cart-close {
    background: none; border: 0; color: var(--muted);
    font-size: 1.4rem; cursor: pointer; line-height: 1;
    transition: color .2s;
}
.cart-close:hover { color: var(--text); }

#cart-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
#cart-empty { padding: 60px 24px; text-align: center; color: var(--muted); }

.cart-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-info b { display: block; font-size: .95rem; }
.cart-line-info span { color: var(--muted); font-size: .85rem; }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button {
    width: 28px; height: 28px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}
.qty button:hover { border-color: var(--border-glow); }
.cart-remove { background: none; border: 0; color: var(--muted-2); cursor: pointer; transition: color .2s; }
.cart-remove:hover { color: #ff8a8a; }

#cart-foot { border-top: 1px solid var(--border); padding: 20px 24px; }
.ship-choice { margin-bottom: 16px; }
.ship-choice > p { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); margin: 0 0 10px; }
.ship-opt {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px; margin-bottom: 8px;
    border: 1px solid var(--border); border-radius: 12px;
    cursor: pointer; font-size: .92rem;
}
.ship-opt:has(input:checked) { border-color: var(--border-glow); background: var(--surface); }
.ship-opt input { accent-color: var(--accent); }

#address-box { margin-bottom: 16px; }
.cart-totals { font-size: .95rem; margin-bottom: 16px; }
.cart-totals .row { display: flex; justify-content: space-between; padding: 5px 0; color: var(--muted); }
.cart-totals .row.total { color: var(--text); font-size: 1.25rem; font-weight: 700; border-top: 1px solid var(--border); margin-top: 6px; padding-top: 12px; }

.pay-msg { font-size: .9rem; margin: 0 0 12px; }
.pay-msg.err { color: #ff9b9b; }

#cart-foot .field { margin-bottom: 12px; }
#cart-foot .field input { padding: 11px 13px; }
.addr-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }

@media (max-width: 480px) {
    #cart-drawer { width: 100%; max-width: 100%; }
}

/* Fond de particules interactives */
#particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* Écran de chargement */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    background: var(--bg);
    transition: opacity .6s var(--ease), visibility .6s;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.pl-logo {
    width: 76px; height: 76px;
    background: url("logo.svg") center / contain no-repeat;
    position: relative;
    animation: pl-pulse 1.4s ease-in-out infinite;
}
.pl-logo::after {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 2px solid rgba(18, 38, 70, 0.12);
    border-top-color: var(--accent);
    animation: pl-spin .9s linear infinite;
}
@keyframes pl-pulse { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1); opacity: 1; } }
@keyframes pl-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .grad { animation: none; }
    .scroll-progress, .cursor-glow, .hero::after, body::after, #particles { display: none; }
    #preloader { display: none; }
}
