/* ═══════════════════════════════════════════════════════
   GestionRDV — Brand Design System
   Palette éditoriale premium pour pages publiques
   ═══════════════════════════════════════════════════════ */

:root {
    /* Palette principale */
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #DBEAFE;
    --primary-soft: #EFF6FF;
    --secondary: #7C3AED;
    --secondary-dark: #6D28D9;
    --secondary-light: #EDE9FE;
    --accent: #F59E0B;
    --dark: #0F172A;
    --ink: #0F172A;
    --ink-2: #1E293B;

    /* Neutres */
    --bg: #F8FAFC;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-900: #0F172A;
    --border: #E2E8F0;

    /* Système */
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #0EA5E9;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 22px;

    /* Ombres */
    --shadow-xs: 0 1px 2px rgba(15,23,42,.04);
    --shadow-sm: 0 2px 8px -2px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
    --shadow-md: 0 10px 24px -12px rgba(15,23,42,.12), 0 2px 6px -2px rgba(15,23,42,.06);
    --shadow-lg: 0 28px 56px -24px rgba(15,23,42,.18), 0 6px 16px -6px rgba(15,23,42,.08);
    --shadow-brand: 0 14px 32px -12px rgba(37,99,235,.35);
    --shadow-brand-soft: 0 8px 24px -8px rgba(37,99,235,.22);

    /* Typographie */
    --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;

    /* Tintes d'icônes */
    --tint-blue-bg: #DBEAFE; --tint-blue-fg: #1D4ED8;
    --tint-violet-bg: #EDE9FE; --tint-violet-fg: #6D28D9;
    --tint-emerald-bg: #D1FAE5; --tint-emerald-fg: #047857;
    --tint-amber-bg: #FEF3C7; --tint-amber-fg: #B45309;
    --tint-pink-bg: #FCE7F3; --tint-pink-fg: #BE185D;
    --tint-sky-bg: #E0F2FE; --tint-sky-fg: #0369A1;
}

html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -.005em;
}
* { font-family: var(--font-sans); }
::selection { background: var(--primary-light); color: var(--primary-dark); }

/* Motion utilitaires */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Fonds éditoriaux */
.bg-grid {
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
}
.bg-dots {
    background-image: radial-gradient(var(--gray-300) 1px, transparent 1.2px);
    background-size: 22px 22px;
}

/* Eyebrow éditorial */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--primary);
}
.eyebrow::before {
    content: '';
    width: 22px; height: 1px;
    background: currentColor;
    opacity: .6;
}
.eyebrow-num {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    color: var(--secondary);
}

/* ════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════ */
.navbar-landing {
    padding: 0;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-bottom: 1px solid rgba(15, 23, 42, .05);
    transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.navbar-landing::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(37,99,235,.35) 20%, rgba(124,58,237,.35) 80%, transparent 100%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.navbar-landing.scrolled {
    background: rgba(255, 255, 255, .94);
    border-bottom-color: transparent;
    box-shadow: 0 6px 28px -12px rgba(15, 23, 42, .12);
}
.navbar-landing.scrolled::after { opacity: 1; }
.navbar-landing > .container {
    min-height: 76px;
    transition: min-height .3s ease;
}
.navbar-landing.scrolled > .container { min-height: 66px; }

.navbar-landing .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: 0;
    margin: 0;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -.018em;
    position: relative;
    text-decoration: none;
}
.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563EB 0%, #6366f1 45%, #7C3AED 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 6px 16px -4px rgba(37, 99, 235, .38),
        inset 0 1px 0 rgba(255, 255, 255, .25),
        inset 0 -6px 14px rgba(15, 23, 42, .12);
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
    position: relative;
}
.brand-mark::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, transparent 50%);
    pointer-events: none;
}
.navbar-landing .navbar-brand:hover .brand-mark {
    transform: rotate(-5deg) scale(1.05);
    box-shadow:
        0 10px 22px -6px rgba(37, 99, 235, .45),
        inset 0 1px 0 rgba(255, 255, 255, .3);
}
.brand-text { line-height: 1; }
.brand-text em {
    font-style: normal;
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.navbar-landing .navbar-nav { gap: .1rem; }
.navbar-landing .nav-link {
    position: relative;
    color: var(--gray-700);
    font-weight: 500;
    font-size: .89rem;
    padding: .55rem .2rem;
    margin: 0 .85rem;
    transition: color .2s ease;
}
.navbar-landing .nav-link::before {
    content: '';
    position: absolute;
    left: 50%; bottom: .25rem;
    width: 0; height: 1.5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width .3s cubic-bezier(.2,.8,.2,1);
}
.navbar-landing .nav-link:hover,
.navbar-landing .nav-link.active { color: var(--dark); }
.navbar-landing .nav-link:hover::before,
.navbar-landing .nav-link.active::before { width: calc(100% - .4rem); }
.navbar-landing .dropdown-toggle::after {
    width: 6px; height: 6px;
    border: 0;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    vertical-align: middle;
    margin-left: .45rem;
    margin-top: -4px;
    transition: transform .25s ease;
}
.navbar-landing .nav-item.show .dropdown-toggle::after {
    transform: rotate(-135deg);
    margin-top: 1px;
}

.navbar-landing .dropdown-menu {
    min-width: 240px;
    margin-top: .85rem;
    padding: .5rem;
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 14px;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .18), 0 0 0 1px rgba(15, 23, 42, .02);
    animation: ddIn .22s cubic-bezier(.2,.8,.2,1);
}
@keyframes ddIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.navbar-landing .dropdown-item {
    display: flex;
    align-items: center;
    gap: .7rem;
    border-radius: 9px;
    padding: .55rem .65rem;
    font-size: .88rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: background .2s, color .2s, transform .2s;
}
.navbar-landing .dropdown-item i {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: var(--gray-100);
    color: var(--gray-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .92rem;
    margin: 0;
    transition: background .25s, color .25s, transform .25s;
}
.navbar-landing .dropdown-item:hover {
    background: var(--gray-50);
    color: var(--dark);
}
.navbar-landing .dropdown-item:hover i {
    background: var(--primary-light);
    color: var(--primary);
    transform: rotate(-4deg) scale(1.05);
}
.navbar-landing .dropdown-divider {
    margin: .35rem .25rem;
    border-color: var(--gray-200);
}

.nav-cta-demo {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1rem;
    font-size: .86rem;
    font-weight: 500;
    color: var(--gray-700);
    background: rgba(241, 245, 249, .65);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    text-decoration: none;
    transition: all .25s ease;
}
.nav-cta-demo i { font-size: .95rem; color: var(--primary); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.nav-cta-demo:hover {
    color: var(--dark);
    background: #fff;
    border-color: var(--primary-light);
    box-shadow: 0 2px 10px -2px rgba(37,99,235,.15);
}
.nav-cta-demo:hover i { transform: scale(1.18); }

.nav-sep {
    width: 1px;
    height: 18px;
    background: var(--gray-200);
    margin: 0 .35rem;
}

.nav-cta-login {
    color: var(--gray-700);
    font-weight: 500;
    font-size: .88rem;
    text-decoration: none;
    padding: .5rem .85rem;
    position: relative;
    transition: color .2s ease;
}
.nav-cta-login::after {
    content: '';
    position: absolute;
    left: .85rem; right: .85rem;
    bottom: .35rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.nav-cta-login:hover { color: var(--primary); }
.nav-cta-login:hover::after { transform: scaleX(1); }

.nav-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.2rem;
    font-size: .88rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    box-shadow: 0 8px 20px -6px rgba(37, 99, 235, .45), inset 0 1px 0 rgba(255, 255, 255, .18);
    transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.nav-cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: -1;
}
.nav-cta-primary i { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.nav-cta-primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -8px rgba(37, 99, 235, .55), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.nav-cta-primary:hover::before { opacity: 1; }
.nav-cta-primary:hover i { transform: translateX(4px); }

.navbar-landing .navbar-toggler {
    width: 42px; height: 42px;
    padding: 0;
    border-radius: 11px;
    background: #fff;
    border: 1px solid var(--gray-200);
    position: relative;
    transition: background .25s, border-color .25s;
}
.navbar-landing .navbar-toggler:focus { box-shadow: none; outline: none; }
.navbar-landing .navbar-toggler:hover { border-color: var(--primary-light); }
.navbar-landing .toggler-icon,
.navbar-landing .toggler-icon::before,
.navbar-landing .toggler-icon::after {
    display: block;
    position: absolute;
    height: 1.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), top .3s, opacity .2s;
}
.navbar-landing .toggler-icon {
    left: 11px; right: 11px;
    top: 50%;
    margin-top: -1px;
}
.navbar-landing .toggler-icon::before,
.navbar-landing .toggler-icon::after {
    content: '';
    left: 0; right: 0;
}
.navbar-landing .toggler-icon::before { top: -6px; }
.navbar-landing .toggler-icon::after  { top: 6px; }
.navbar-landing .navbar-toggler[aria-expanded="true"] .toggler-icon { background: transparent; }
.navbar-landing .navbar-toggler[aria-expanded="true"] .toggler-icon::before { top: 0; transform: rotate(45deg); }
.navbar-landing .navbar-toggler[aria-expanded="true"] .toggler-icon::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 991px) {
    .navbar-landing > .container { min-height: 66px; }
    .navbar-landing .navbar-collapse {
        background: #fff;
        border-radius: 18px;
        box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .18);
        margin-top: .75rem;
        padding: 1rem;
        border: 1px solid rgba(15, 23, 42, .06);
    }
    .navbar-landing .navbar-nav { gap: .1rem; }
    .navbar-landing .nav-link {
        margin: 0;
        padding: .75rem .85rem;
        border-radius: 10px;
        font-size: .95rem;
    }
    .navbar-landing .nav-link::before { display: none; }
    .navbar-landing .nav-link:hover { background: var(--gray-50); color: var(--primary); }
    .navbar-landing .dropdown-menu {
        box-shadow: none;
        border: none;
        background: var(--gray-50);
        margin: .25rem .25rem .25rem .75rem;
        padding: .35rem;
        animation: none;
    }
    .navbar-cta-mobile {
        border-top: 1px solid var(--gray-200);
        margin-top: .75rem;
        padding-top: .9rem;
        display: flex;
        flex-direction: column;
        gap: .5rem;
    }
    .nav-cta-demo { justify-content: center; padding: .65rem 1rem; }
    .nav-cta-primary-compact { padding: .4rem 1rem; font-size: .8rem; }
}

/* ════════════════════════════════════════
   BOUTONS
   ════════════════════════════════════════ */
.btn-primary-landing {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
    padding: .85rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: -.005em;
    text-decoration: none;
    transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn-primary-landing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: -1;
}
.btn-primary-landing:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
    border-color: transparent;
}
.btn-primary-landing:hover::before { opacity: 1; }
.btn-primary-landing i { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.btn-primary-landing:hover i { transform: translateX(4px); }

.btn-outline-landing {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--border);
    padding: .82rem 1.55rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: all .25s ease;
    box-shadow: var(--shadow-xs);
}
.btn-outline-landing:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    background: #fff;
}
.btn-outline-landing i { color: var(--primary); transition: transform .3s ease; }
.btn-outline-landing:hover i { transform: scale(1.1); }

/* Variante "ghost" sur fond coloré (CTA blanc) */
.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: #fff;
    color: var(--ink);
    border: 1px solid #fff;
    padding: .95rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -.005em;
    text-decoration: none;
    transition: all .3s cubic-bezier(.2,.8,.2,1);
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    position: relative;
    overflow: hidden;
}
.btn-cta-white i { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.btn-cta-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,.28);
    color: var(--primary);
}
.btn-cta-white:hover i { transform: translateX(4px); }

/* ════════════════════════════════════════
   PAGE HEADER (hero compact pour sous-pages)
   ════════════════════════════════════════ */
.page-header {
    position: relative;
    padding: 8rem 0 4rem;
    background: var(--bg);
    overflow: hidden;
    isolation: isolate;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 70% 80% at 50% 10%, #000 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 10%, #000 20%, transparent 80%);
    opacity: .55;
    z-index: -2;
}
.page-header::after {
    content: '';
    position: absolute;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(37,99,235,.12) 0%, transparent 70%);
    top: -160px; right: -120px;
    border-radius: 50%;
    filter: blur(12px);
    z-index: -1;
}
.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
    color: var(--ink);
    margin-bottom: 1rem;
}
.page-header h1 em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: .15em;
}
.page-header .lead {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 640px;
    line-height: 1.65;
}

/* ════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════ */
.brand-section { padding: 5rem 0; position: relative; }
.brand-section-light { background: var(--bg); }
.brand-section-white { background: #fff; }
.brand-section-dark {
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.brand-section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1.2px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
    pointer-events: none;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: transparent;
    color: var(--gray-500);
    padding: 0;
    border-radius: 0;
    font-size: .74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: 1.25rem;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--primary);
    opacity: .8;
}
.brand-section-dark .section-label,
.section-dark .section-label { color: rgba(255,255,255,.62); }
.brand-section-dark .section-label::before,
.section-dark .section-label::before { background: #c7d2fe; }

.section-title {
    font-size: clamp(1.9rem, 3.6vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.032em;
    margin-bottom: 1rem;
    color: var(--ink);
}
.brand-section-dark .section-title,
.section-dark .section-title { color: #fff; }
.section-title em, .section-title .serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.012em;
    color: var(--primary);
}
.brand-section-dark .section-title em,
.section-dark .section-title em,
.brand-section-dark .section-title .serif,
.section-dark .section-title .serif { color: #c7d2fe; }

.section-subtitle {
    font-size: 1.08rem;
    color: var(--gray-500);
    max-width: 620px;
    line-height: 1.6;
}
.brand-section-dark .section-subtitle,
.section-dark .section-subtitle { color: rgba(255,255,255,.68); }

/* ════════════════════════════════════════
   CARDS
   ════════════════════════════════════════ */
.brand-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.85rem;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}
.brand-card:hover {
    border-color: rgba(37, 99, 235, .25);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.brand-card-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1.15rem;
    background: var(--primary-soft);
    color: var(--primary);
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.brand-card:hover .brand-card-icon { transform: rotate(-4deg) scale(1.05); }
.brand-card h3, .brand-card h4 {
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--ink);
    letter-spacing: -.015em;
    margin-bottom: .55rem;
}
.brand-card p {
    color: var(--gray-500);
    font-size: .93rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.advantage-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.85rem;
    height: 100%;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
    position: relative;
    overflow: hidden;
}
.advantage-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(37,99,235,.03) 100%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.advantage-card:hover {
    border-color: rgba(37, 99, 235, .3);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.advantage-card:hover::before { opacity: 1; }
.advantage-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1.15rem;
    position: relative;
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.advantage-card:hover .advantage-icon { transform: rotate(-4deg) scale(1.05); }
.advantage-card h4 {
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--ink);
    letter-spacing: -.015em;
    margin-bottom: .55rem;
}
.advantage-card p {
    color: var(--gray-500);
    font-size: .93rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ════════════════════════════════════════
   TRUST / SECURITY (horizontal)
   ════════════════════════════════════════ */
.trust-item {
    display: flex;
    gap: 1.1rem;
    align-items: start;
    padding: 1.65rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37,99,235,.2);
}
.trust-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.trust-item:hover .trust-icon { transform: rotate(-5deg) scale(1.05); }
.trust-item h5 {
    font-weight: 600;
    font-size: 1.02rem;
    margin-bottom: .35rem;
    letter-spacing: -.015em;
    color: var(--ink);
}
.trust-item p {
    color: var(--gray-500);
    font-size: .9rem;
    line-height: 1.55;
    margin-bottom: 0;
}

/* ════════════════════════════════════════
   USECASE CARD (sur fond sombre)
   ════════════════════════════════════════ */
.usecase-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-align: left;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), background .35s ease, border-color .35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
}
.usecase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--x, 50%) var(--y, 0%), rgba(37,99,235,.12), transparent 40%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.usecase-card:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.18);
    transform: translateY(-3px);
}
.usecase-card:hover::before { opacity: 1; }
.usecase-arrow {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.5);
    font-size: .8rem;
    transition: all .3s cubic-bezier(.2,.8,.2,1);
}
.usecase-card:hover .usecase-arrow {
    background: #fff;
    color: var(--ink);
    transform: rotate(-45deg);
}
.usecase-icon {
    font-size: 1.9rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.usecase-card:hover .usecase-icon { transform: scale(1.08); }
.usecase-card h5 {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: .5rem;
    letter-spacing: -.015em;
    color: #fff;
}
.usecase-card p {
    color: rgba(255,255,255,.55);
    font-size: .88rem;
    line-height: 1.55;
    margin-bottom: 0;
}

/* ════════════════════════════════════════
   FORMULAIRES
   ════════════════════════════════════════ */
.brand-form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
}
.brand-form-card .form-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: .4rem;
    letter-spacing: -.005em;
}
.brand-form-card .form-control,
.brand-form-card .form-select {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: .75rem 1rem;
    font-size: .95rem;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.brand-form-card .form-control:focus,
.brand-form-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
    outline: none;
}
.brand-form-card textarea.form-control { min-height: 130px; }

/* ════════════════════════════════════════
   TABLES / STATS
   ════════════════════════════════════════ */
.brand-stat {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}
.brand-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.brand-stat .value {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.03em;
    background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: .25rem;
}
.brand-stat .label {
    font-size: .82rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.brand-footer {
    background: var(--ink);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.brand-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1.2px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 85%);
    pointer-events: none;
    z-index: -1;
}
.brand-footer a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color .2s;
}
.brand-footer a:hover { color: #fff; }
.brand-footer h6 {
    color: #fff;
    font-weight: 600;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: 1rem;
}
.brand-footer .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -.018em;
    text-decoration: none;
    margin-bottom: 1rem;
}
.brand-footer .footer-brand:hover { color: #fff; }
.brand-footer-links li { margin-bottom: .55rem; }
.brand-footer-links a {
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    position: relative;
    transition: color .2s, transform .2s;
}
.brand-footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: currentColor;
    margin-right: 0;
    transition: width .25s, margin-right .25s;
    opacity: .6;
}
.brand-footer-links a:hover { color: #fff; transform: translateX(2px); }
.brand-footer-bottom {
    margin-top: 3rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: .82rem;
    color: var(--gray-500);
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 768px) {
    .page-header { padding: 6rem 0 3rem; }
    .brand-section { padding: 3.5rem 0; }
    .brand-card, .advantage-card { padding: 1.5rem; }
    .trust-item { padding: 1.35rem; }
    .brand-form-card { padding: 1.5rem; }
}
