/* ═══════════════════════════════════════════════════════════════
   Le Hub — CSS pixel-perfect
   Etape 1 statique
════════════════════════════════════════════════════════════════ */

/* ─── Variables ──────────────────────────────────────────────── */
:root {
    /* Couleurs */
    --c-bg:          #0F0F14;
    --c-bg-2:        #16161D;
    --c-bg-3:        #1C1C26;
    --c-border:      #2A2A35;
    --c-border-soft: rgba(255,255,255,0.06);
    --c-primary:     #6C3BFF;
    --c-secondary:   #D633FF;
    --c-accent:      #FF2D7A;
    --c-text:        #FFFFFF;
    --c-text-muted:  #A0A0B0;

    /* Gradient principal */
    --gradient-brand: linear-gradient(135deg, #6C3BFF, #D633FF, #FF2D7A);

    /* Layout */
    --header-h:      72px;
    --container-max: 1200px;
    --container-px:  clamp(16px, 4vw, 48px);

    /* Rayons */
    --r-sm:   8px;
    --r-md:   12px;
    --r-lg:   16px;
    --r-xl:   20px;
    --r-full: 9999px;

    /* Ombres */
    --shadow-card:    0 1px 3px rgba(0,0,0,0.4), 0 4px 20px rgba(0,0,0,0.2);
    --shadow-glow:    0 0 40px rgba(108,59,255,0.20);
    --shadow-glow-lg: 0 0 80px rgba(108,59,255,0.28);

    /* Transitions */
    --ease-out:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --dur-fast:   0.18s;
    --dur-base:   0.28s;
    --dur-slow:   0.55s;
}

/* ─── Reset minimal ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    display: flex;
    min-height: 100vh;
    background: var(--c-bg);
    color: var(--c-text);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

/* Accessibilité — reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
}

/* ─── Utilitaires ────────────────────────────────────────────── */
.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-px);
}

.section { padding-block: 96px; }

.section-divider {
    height: 1px;
    background: var(--c-border-soft);
    margin-inline: var(--container-px);
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--c-text);
}

/* ─── Animations reveal ──────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity var(--dur-slow) var(--ease-out),
                transform var(--dur-slow) var(--ease-out);
}
.reveal--right {
    transform: translateX(28px);
}
.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }
.reveal--delay-4 { transition-delay: 0.32s; }

/* ─── Boutons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: transform var(--dur-fast) var(--ease-out),
                box-shadow var(--dur-fast) var(--ease-out),
                opacity var(--dur-fast) var(--ease-out),
                background var(--dur-base) var(--ease-out);
    will-change: transform;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0px); }

.btn--gradient {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 0 28px rgba(108,59,255,0.35);
}
.btn--gradient:hover {
    box-shadow: 0 0 40px rgba(108,59,255,0.50);
    opacity: 0.92;
}

.btn--outline {
    color: var(--c-text);
    border: 1px solid var(--c-border);
    background: transparent;
}
.btn--outline:hover {
    border-color: rgba(108,59,255,0.55);
    box-shadow: 0 0 18px rgba(108,59,255,0.15);
}

.btn--ghost {
    color: var(--c-text-muted);
    border: 1px solid var(--c-border);
    background: transparent;
}
.btn--ghost:hover { color: var(--c-text); border-color: var(--c-border); }

.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--lg { padding: 16px 36px; font-size: 16px; }

/* ─── Cartes communes ────────────────────────────────────────── */
.card {
    background: var(--c-bg-2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 28px;
    transition: border-color var(--dur-base) var(--ease-out),
                box-shadow   var(--dur-base) var(--ease-out),
                transform    var(--dur-base) var(--ease-out);
}
.card:hover {
    border-color: rgba(108,59,255,0.40);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

/* Layout horizontal : icône gauche, texte droite */
.card--inline {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

.card__icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: var(--r-md);
    background: rgba(108,59,255,0.12);
    border: 1px solid rgba(108,59,255,0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 0;
}
.card__icon-wrap img { width: 44px; height: 44px; object-fit: contain; }

.card__body { flex: 1; }

.card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 10px;
}

.card__text {
    font-size: 14px;
    color: var(--c-text-muted);
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   PAGE WRAPPER
════════════════════════════════════════════════════════════════ */
.page-wrapper {
    flex: 1;
    min-width: 0;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 90;
    transition: background var(--dur-base) var(--ease-out),
                box-shadow  var(--dur-base) var(--ease-out),
                border-color var(--dur-base) var(--ease-out);
    border-bottom: 1px solid transparent;
}

.header.is-scrolled {
    background: rgba(15,15,20,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--c-border-soft);
    box-shadow: 0 1px 24px rgba(0,0,0,0.3);
}

.header__inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 32px;
}

.header__logo {
    flex-shrink: 0;
}
.header__logo img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);  /* Logo dark text → blanc sur fond sombre — A VALIDER */
}

.header__nav { flex: 1; }

.header__nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text-muted);
    transition: color var(--dur-fast) var(--ease-out);
    position: relative;
}
.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transition: transform var(--dur-base) var(--ease-out);
    transform-origin: left;
}
.header__nav-link:hover      { color: var(--c-text); }
.header__nav-link:hover::after,
.header__nav-link.is-active::after { transform: scaleX(1); }
.header__nav-link.is-active  { color: var(--c-accent); }

.header__burger { display: none; }

/* Spacer pour le header fixe */
.page-wrapper > main { padding-top: var(--header-h); }

/* ═══════════════════════════════════════════════════════════════
   01 — HERO
════════════════════════════════════════════════════════════════ */
.hero { padding-block: 80px 100px; position: relative; overflow: hidden; }

/* Halo de fond global hero */
.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse,
        rgba(108,59,255,0.13) 0%,
        rgba(214,51,255,0.06) 50%,
        transparent 70%);
    pointer-events: none;
}

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

/* Gauche */

.hero__title {
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.10;
    letter-spacing: -0.02em;
    color: var(--c-text);
    margin-bottom: 22px;
}

.hero__subtitle {
    font-size: 16px;
    color: var(--c-text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 440px;
}

.hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.hero__social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero__avatars {
    display: flex;
}
.hero__avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--c-bg-3);
    border: 2px solid var(--c-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-left: -8px;
}
.hero__avatar:first-child { margin-left: 0; }
.hero__avatar img { width: 22px; height: 22px; object-fit: contain; }

.hero__social-text {
    font-size: 13px;
    color: var(--c-text-muted);
    font-weight: 500;
}

/* Droite — visuel */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 340px;
    background: radial-gradient(ellipse,
        rgba(108,59,255,0.30) 0%,
        rgba(214,51,255,0.14) 45%,
        transparent 70%);
    filter: blur(32px);
    pointer-events: none;
    border-radius: 50%;
}

.hero__mockup {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: var(--r-xl);
    animation: float-hero 6s ease-in-out infinite;
    will-change: transform;
}

/* Icônes flottantes hero */
.hero__float {
    position: absolute;
    z-index: 3;
    width: 76px;
    height: 76px;
    border-radius: var(--r-lg);
    background: rgba(22,22,29,0.85);
    border: 1px solid rgba(108,59,255,0.30);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 18px rgba(108,59,255,0.20);
}
.hero__float img { width: 48px; height: 48px; object-fit: contain; }

.hero__float--tl {
    top: 8%;
    left: -2%;
    animation: float-icon 5s ease-in-out infinite 0s;
}
.hero__float--tr {
    top: 4%;
    right: 2%;
    animation: float-icon 5s ease-in-out infinite 1.2s;
}
.hero__float--br {
    bottom: 10%;
    right: -2%;
    animation: float-icon 5s ease-in-out infinite 2.4s;
}

/* ═══════════════════════════════════════════════════════════════
   02 — VALUES
════════════════════════════════════════════════════════════════ */
.values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   03 — SERVICES
════════════════════════════════════════════════════════════════ */
.services__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.service-card {
    background: var(--c-bg-2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    transition: border-color var(--dur-base) var(--ease-out),
                box-shadow   var(--dur-base) var(--ease-out),
                transform    var(--dur-base) var(--ease-out);
}
.service-card:hover {
    border-color: rgba(108,59,255,0.40);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.service-card__icon-wrap {
    width: 76px;
    height: 76px;
    border-radius: var(--r-md);
    background: rgba(108,59,255,0.10);
    border: 1px solid rgba(108,59,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: background var(--dur-base) var(--ease-out),
                border-color var(--dur-base) var(--ease-out);
}
.service-card__icon-wrap img { width: 52px; height: 52px; object-fit: contain; }
.service-card:hover .service-card__icon-wrap {
    background: rgba(108,59,255,0.18);
    border-color: rgba(108,59,255,0.36);
}

.service-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 10px;
}

.service-card__text {
    font-size: 13px;
    color: var(--c-text-muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 18px;
}

/* CTA bas de section services */
.services__cta {
    text-align: center;
    margin-top: 40px;
}

.btn--magenta-outline {
    color: var(--c-accent);
    border: 1px solid var(--c-accent);
    background: transparent;
}
.btn--magenta-outline:hover {
    background: rgba(255,45,122,0.08);
    box-shadow: 0 0 22px rgba(255,45,122,0.18);
}

/* ═══════════════════════════════════════════════════════════════
   04 — DIFFÉRENCIATION
════════════════════════════════════════════════════════════════ */
.difference__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.difference__left .section-label { margin-bottom: 12px; }
.difference__left .section-title { text-align: left; margin-bottom: 20px; }

.difference__body {
    font-size: 15px;
    color: var(--c-text-muted);
    line-height: 1.75;
    max-width: 380px;
}

.difference__right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.diff-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--c-bg-2);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    transition: border-color var(--dur-base) var(--ease-out),
                box-shadow   var(--dur-base) var(--ease-out);
}
.diff-item:hover {
    border-color: rgba(108,59,255,0.35);
    box-shadow: 0 0 20px rgba(108,59,255,0.10);
}

.diff-item__icon {
    width: 60px;
    height: 60px;
    border-radius: var(--r-sm);
    background: rgba(108,59,255,0.10);
    border: 1px solid rgba(108,59,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.diff-item__icon img { width: 38px; height: 38px; object-fit: contain; }

.diff-item__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 4px;
}

.diff-item__text {
    font-size: 13px;
    color: var(--c-text-muted);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   05 — PROCESS
════════════════════════════════════════════════════════════════ */

/* Label couleur magenta */
.section-label--magenta { color: var(--c-accent); }

/* Sous-titre de section */
.section-subtitle {
    font-size: 15px;
    color: var(--c-text-muted);
    margin-top: 12px;
    line-height: 1.65;
}

.process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.process-step {
    padding: 28px 24px;
    background: var(--c-bg-2);
    border: 1px solid var(--c-border);
    position: relative;
    transition: border-color var(--dur-base) var(--ease-out);
}
.process-step:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg); }
.process-step:last-child  { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.process-step:not(:first-child) { border-left: none; }
.process-step:hover { border-color: rgba(108,59,255,0.35); z-index: 1; }

/* ── Rangée cercle + ligne ───────────────────────────────────── */
.process-step__row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

/* Cercle numéroté dégradé */
.process-step__circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-brand);
    box-shadow: 0 0 18px rgba(108,59,255,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

/* Ligne dégradé entre les cercles */
.process-step__line {
    flex: 1;
    height: 2px;
    margin-left: 10px;
    background: linear-gradient(90deg,
        rgba(108,59,255,0.70) 0%,
        rgba(214,51,255,0.35) 100%);
    border-radius: 2px;
}

/* ── Icône — sans cercle dégradé ─────────────────────────────── */
.process-step__icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: var(--r-md);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.process-step__icon-wrap img { width: 42px; height: 42px; object-fit: contain; }

.process-step__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 8px;
}

.process-step__text {
    font-size: 13px;
    color: var(--c-text-muted);
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   06 — TRUST / PREUVE
════════════════════════════════════════════════════════════════ */
.trust { background: var(--c-bg-2); }

.trust__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.kpi {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

/* Layout horizontal : icône gauche, texte droite */
.kpi--inline {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 20px;
}

.kpi__icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: var(--r-md);
    background: rgba(108,59,255,0.10);
    border: 1px solid rgba(108,59,255,0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.kpi__icon-wrap img { width: 44px; height: 44px; object-fit: contain; }

.kpi__body { flex: 1; }

.kpi__value {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 900;
    line-height: 1;
    display: block;
    margin-bottom: 4px;
}

.kpi__label {
    font-size: 14px;
    color: var(--c-text-muted);
    line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════
   07 — CTA FINAL
════════════════════════════════════════════════════════════════ */
.final-cta {
    padding-block: 100px;
}

.final-cta__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 56px 64px;
    background: linear-gradient(135deg,
        rgba(108,59,255,0.14) 0%,
        rgba(214,51,255,0.08) 50%,
        rgba(255,45,122,0.06) 100%);
    border: 1px solid rgba(108,59,255,0.25);
    border-radius: 24px;
    overflow: hidden;
    text-align: left;
}

.final-cta__left  { flex: 1; position: relative; z-index: 1; }
.final-cta__right { flex-shrink: 0; position: relative; z-index: 1; }

.final-cta__glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse,
        rgba(108,59,255,0.22) 0%,
        transparent 65%);
    filter: blur(40px);
    pointer-events: none;
    border-radius: 50%;
}

.final-cta__title {
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
    font-weight: 900;
    line-height: 1.18;
    color: var(--c-text);
    margin-bottom: 14px;
}

.final-cta__subtitle {
    font-size: 15px;
    color: var(--c-text-muted);
    line-height: 1.65;
    max-width: 480px;
}

/* Bouton sombre */
.btn--dark {
    background: rgba(10,10,16,0.85);
    color: var(--c-text);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
}
.btn--dark:hover {
    background: rgba(10,10,16,0.95);
    border-color: var(--c-accent);
    box-shadow: 0 0 20px rgba(255,45,122,0.18);
}

/* ═══════════════════════════════════════════════════════════════
   08 — FOOTER
════════════════════════════════════════════════════════════════ */
.footer {
    background: var(--c-bg-2);
    border-top: 1px solid var(--c-border-soft);
    padding-top: 64px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer__logo img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1); /* A VALIDER — même traitement que header */
    margin-bottom: 16px;
}

.footer__tagline {
    font-size: 13px;
    color: var(--c-text-muted);
    line-height: 1.7;
    max-width: 240px;
}

.footer__col-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--c-text);
    margin-bottom: 18px;
}

.footer__list { display: flex; flex-direction: column; gap: 10px; }

.footer__link {
    font-size: 13px;
    color: var(--c-text-muted);
    transition: color var(--dur-fast) var(--ease-out);
}
.footer__link:hover { color: var(--c-text); }

.footer__cta { margin-top: 20px; }

.footer__bottom {
    border-top: 1px solid var(--c-border-soft);
    padding-block: 20px;
}
.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer__copy {
    font-size: 13px;
    color: var(--c-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   KEYFRAMES
════════════════════════════════════════════════════════════════ */
@keyframes float-hero {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-10px); }
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33%       { transform: translateY(-7px) rotate(1.5deg); }
    66%       { transform: translateY(3px) rotate(-1deg); }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */

/* Tablette ≤ 1024px */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .hero__visual { display: none; }           /* Masquer le mockup sur tablette — A VALIDER */

    .values__grid    { grid-template-columns: repeat(3, 1fr); }
    .services__grid  { grid-template-columns: repeat(3, 1fr); }
    .process__grid   { grid-template-columns: repeat(2, 1fr); }
    .process-step:first-child  { border-radius: var(--r-lg) 0 0 0; }
    .process-step:nth-child(2) { border-radius: 0 var(--r-lg) 0 0; }
    .process-step:nth-child(3) { border-radius: 0 0 0 var(--r-lg); border-top: none; border-left: 1px solid var(--c-border); }
    .process-step:last-child   { border-radius: 0 0 var(--r-lg) 0; border-top: none; border-left: none; }
    .process-step:nth-child(2) .process-step__line { display: none; }

    .difference__inner { grid-template-columns: 1fr; gap: 40px; }
    .footer__inner     { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {
    :root { --header-h: 60px; }
    .section { padding-block: 64px; }

    .header__nav { display: none; }
    .header__nav.is-open {
        display: flex;
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        flex-direction: column;
        background: rgba(15,15,20,0.97);
        padding: 24px;
        border-bottom: 1px solid var(--c-border);
    }
    .header__nav.is-open .header__nav-list { flex-direction: column; gap: 8px; }
    .header__burger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 6px;
    }
    .header__burger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--c-text);
        border-radius: 2px;
        transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
    }
    .header__burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .header__burger.is-active span:nth-child(2) { opacity: 0; }
    .header__burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero__title { font-size: 2.1rem; }
    .hero__actions { flex-direction: column; align-items: flex-start; }

    .values__grid   { grid-template-columns: 1fr; }
    .services__grid { grid-template-columns: 1fr 1fr; }
    .process__grid  { grid-template-columns: 1fr; }
    .process-step   { border-radius: 0 !important; border-left: 1px solid var(--c-border) !important; }
    .process-step:first-child { border-radius: var(--r-lg) var(--r-lg) 0 0 !important; }
    .process-step:last-child  { border-radius: 0 0 var(--r-lg) var(--r-lg) !important; border-top: none !important; }
    .process-step:not(:first-child) { border-top: none; }
    .process-step__line { display: none; }

    .difference__inner { grid-template-columns: 1fr; gap: 32px; }
    .trust__grid        { grid-template-columns: 1fr; gap: 20px; }

    /* Footer : brand et contact pleine largeur, services + entreprise côte à côte */
    .footer__inner      { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer__brand      { grid-column: 1 / -1; }
    .footer__col:last-child { grid-column: 1 / -1; }

    .final-cta__inner   { flex-direction: column; align-items: flex-start; padding: 40px 28px; gap: 28px; }
    .card--inline       { flex-direction: column; }
}

@media (max-width: 480px) {
    .services__grid { grid-template-columns: 1fr; }
}
