/* ================= RESET GLOBAL ================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html, body {
    overflow-x: hidden;
}


/* ================= BACKGROUND GLOBAL ================= */

body {
    background:
        radial-gradient(circle at 20% 20%, rgba(124,58,237,0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(8,145,178,0.12) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(5,150,105,0.12) 0%, transparent 40%),
        linear-gradient(145deg, #eef2f6 0%, #f1f5f9 100%);
    background-attachment: fixed;
    font-family: inherit;
}

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

#particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ================= GRADIENT TEXT ================= */

.gradient-text {
    background: linear-gradient(135deg,#059669,#0891b2,#7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================= BADGE RECHERCHE ================= */

.research-badge {
    background: linear-gradient(135deg,#dc2626,#ef4444);
    color: white;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* ================= GLASS EFFECT ================= */

.section-glass {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.glass-card {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all .3s ease;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* ================= AI BACKGROUND PATTERN ================= */

.bg-ai-pattern {
    position: relative;
}

.bg-ai-pattern::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(124,58,237,0.2) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.3;
    pointer-events: none;
}

/* ================= SECTION STYLE ================= */

.section-soft {
    background: linear-gradient(180deg,#ffffff 0%,#f5f8fc 100%);
}

.section-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right,transparent,rgba(0,0,0,0.15),transparent);
    margin: 60px 0;
}

/* ================= BUTTON SYSTEM MODERNE (IMPORTANT) ================= */

button,
a {
    text-decoration: none;
}

/* Base bouton */

.btn-base {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 14px 28px;
    border-radius: 999px;

    font-weight: 600;
    font-size: 1rem;

    transition: all .35s cubic-bezier(.4,0,.2,1);

    position: relative;
    overflow: hidden;

    cursor: pointer;
}

/* Hover overlay */

.btn-base::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255,255,255,.25),
            rgba(255,255,255,0));
    opacity: 0;
    transition: opacity .35s;
}

.btn-base:hover::after {
    opacity: 1;
}

/* Primary bouton */

.btn-primary-custom {
    background: linear-gradient(135deg,#059669,#0891b2,#7c3aed);
    color: white;

    box-shadow: 0 4px 15px rgba(5,150,105,.25);
}

.btn-primary-custom:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 30px rgba(5,150,105,.35);
}

/* Outline blanc */

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

.btn-outline-custom:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-2px);
}

/* Outline dark */

.btn-outline-dark-custom {
    background: transparent;
    border: 2px solid #0f172a;
    color: #0f172a;
}

.btn-outline-dark-custom:hover {
    background: rgba(15,23,42,.05);
}

/* Badge CTA */

.btn-badge-custom {
    padding: 6px 18px;
    font-size: .85rem;
    border-radius: 20px;
    background: linear-gradient(135deg,#dc2626,#ef4444);
    color: white;
    font-weight: 600;
}

/* ================= CTA FINAL ================= */

.bg-dark {
    background: #0f172a;
}

.text-primary {
    color: #059669;
}

.text-secondary {
    color: #0891b2;
}

.text-accent {
    color: #7c3aed;
}
