/* ============================================================
   Matys — Editorial design system
   Couleurs marque : navy #0a192f + cyan #64ffda + periwinkle #5b9cf5
   Theme par défaut = navy (palette logo). Light = alternate.
   ============================================================ */

/* ============ THEME VARIABLES ============ */

/* Default = navy/cyan/blue — directement issu du logo Matys */
:root {
    --bg-primary: #0a192f;
    --bg-secondary: #061222;
    --bg-card: rgba(17, 34, 64, 0.5);
    --bg-soft: rgba(17, 34, 64, 0.7);

    /* Identité marque */
    --navy: #0a192f;
    --navy-deep: #061222;
    --cyan: #64ffda;
    --cyan-soft: rgba(100, 255, 218, 0.12);
    --periwinkle: #5b9cf5;
    --brand-gradient: linear-gradient(135deg, #64ffda, #5b9cf5);

    --accent: #64ffda;
    --accent-soft: rgba(100, 255, 218, 0.12);
    --accent-line: rgba(100, 255, 218, 0.3);
    --blue: #5b9cf5;
    --blue-soft: rgba(91, 156, 245, 0.12);
    --gradient: linear-gradient(135deg, #64ffda, #5b9cf5);

    --text-primary: #e6f1ff;
    --text-secondary: #a8b2cc;
    --text-muted: #6c7a99;

    --border: rgba(100, 255, 218, 0.12);
    --border-strong: rgba(100, 255, 218, 0.32);

    --btn-primary-bg: #64ffda;
    --btn-primary-text: #0a192f;
    --btn-primary-hover-bg: #4fd1c5;
    --btn-primary-shadow: rgba(100, 255, 218, 0.28);

    --error: #f87171;
    --error-soft: rgba(248, 113, 113, 0.4);

    /* Nav : navy solide pour rester identique sur toutes les pages */
    --nav-bg: rgba(10, 25, 47, 0.97);
    --nav-bg-solid: #0a192f;
    --footer-bg: linear-gradient(180deg, #061222 0%, #04091a 100%);
    --hover-bg: rgba(100, 255, 218, 0.04);

    --glow-1-color: rgba(100, 255, 218, 0.18);
    --glow-1-size: 720px;
    --glow-2-color: rgba(91, 156, 245, 0.14);
    --glow-2-size: 560px;

    --font-display: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-hand: 'Caveat', 'Comic Sans MS', cursive;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ SECTION LIGHT — alternance blanche dans le thème navy ============ */
section.section-light {
    background: #ffffff !important;
    color: #0a192f;
    --text-primary: #0a192f;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e4e8ef;
    --border-strong: rgba(13, 148, 136, 0.3);
    --accent: #0d9488;
    --accent-soft: rgba(13, 148, 136, 0.08);
    --accent-line: rgba(13, 148, 136, 0.22);
    --gradient: linear-gradient(135deg, #0d9488, #2563eb);
    --bg-card: #ffffff;
    --bg-secondary: #f4f7fb;
    --hover-bg: rgba(13, 148, 136, 0.04);
    --error: #dc2626;
    --error-soft: rgba(220, 38, 38, 0.4);
    /* Primary button : navy sober sur blanc, hover teal */
    --btn-primary-bg: #0a192f;
    --btn-primary-text: #ffffff;
    --btn-primary-hover-bg: #0d9488;
    --btn-primary-shadow: rgba(10, 25, 47, 0.15);
    position: relative;
}
section.section-light h1, section.section-light h2,
section.section-light h3, section.section-light h4 { color: #0a192f; }

/* ============ ÉLÉMENTS PERSO ============ */

/* Marker highlight derrière .gradient-text (hand-drawn rotation, subtil) */
.gradient-text {
    position: relative;
    display: inline-block;
    isolation: isolate;
    padding: 0 0.08em;
}
.gradient-text::before {
    content: '';
    position: absolute;
    inset: 0.06em -0.15em;
    background: linear-gradient(110deg,
        rgba(100, 255, 218, 0) 0%,
        rgba(100, 255, 218, 0.18) 8%,
        rgba(91, 156, 245, 0.22) 50%,
        rgba(100, 255, 218, 0.16) 92%,
        rgba(100, 255, 218, 0) 100%);
    transform: rotate(-1.2deg) skew(-2deg);
    border-radius: 3px;
    z-index: -1;
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.gradient-text:hover::before {
    transform: rotate(-1.2deg) skew(-2deg) scaleX(1.04);
}
section.section-light .gradient-text::before {
    background: linear-gradient(110deg,
        rgba(13, 148, 136, 0) 0%,
        rgba(13, 148, 136, 0.16) 8%,
        rgba(37, 99, 235, 0.18) 50%,
        rgba(13, 148, 136, 0.14) 92%,
        rgba(13, 148, 136, 0) 100%);
}

/* ============ ANIMATIONS — entrance & reveal ============ */

/* Hero stagger entrance au chargement de page */
@keyframes hero-rise {
    from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
    to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero .binche-pin,
.hero .hero-eyebrow {
    animation: hero-rise 0.7s 0.05s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero .hero-title  { animation: hero-rise 0.85s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero .hero-subtitle { animation: hero-rise 0.85s 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero .hero-cta { animation: hero-rise 0.7s 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero .hero-paths { animation: hero-rise 0.7s 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero .hero-meta { animation: hero-rise 0.7s 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

@keyframes glow-bloom {
    from { opacity: 0; transform: scale(0.4); }
    to   { opacity: 1; transform: scale(1); }
}
.hero-glow-1 { animation: glow-bloom 2.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-glow-2 { animation: glow-bloom 3s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

/* Page-curtain : scan-bar gradient qui balaie le top à l'arrivée */
.page-curtain {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 9999;
    pointer-events: none;
    overflow: hidden;
}
.page-curtain::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--periwinkle), var(--cyan), transparent);
    transform: translateX(-100%);
    animation: curtain-sweep 1.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.page-curtain::after {
    content: '';
    position: fixed;
    inset: 0 0 auto 0;
    height: 100vh;
    background: radial-gradient(ellipse at top, rgba(100, 255, 218, 0.06), transparent 60%);
    pointer-events: none;
    animation: curtain-glow 1.4s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}
@keyframes curtain-sweep {
    0%   { transform: translateX(-100%); }
    55%  { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}
@keyframes curtain-glow {
    0%   { opacity: 0; }
    40%  { opacity: 1; }
    100% { opacity: 0; }
}

/* Scroll-triggered reveal : chaque section monte/se révèle quand on scrolle */
@supports (animation-timeline: view()) {
    main > section {
        animation: section-rise 1s cubic-bezier(0.2, 0.8, 0.2, 1);
        animation-timeline: view();
        animation-range: entry 0% entry 60%;
    }
    @keyframes section-rise {
        from { opacity: 0.2; transform: translateY(60px); filter: blur(2px); }
        to   { opacity: 1; transform: translateY(0); filter: blur(0); }
    }
    /* Cards staggered : audience cards, optim rows, projects, offres */
    .audience-card, .optim-row, .proj-card, .offre, .approche-item, .enjeu-block {
        animation: card-stagger 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
        animation-timeline: view();
        animation-range: entry 0% entry 70%;
    }
    @keyframes card-stagger {
        from { opacity: 0; transform: translateY(40px) scale(0.97); }
        to   { opacity: 1; transform: translateY(0) scale(1); }
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero .binche-pin, .hero .hero-eyebrow, .hero .hero-title,
    .hero .hero-subtitle, .hero .hero-cta, .hero .hero-paths, .hero .hero-meta,
    .hero-glow-1, .hero-glow-2 { animation: none; }
    .page-curtain { display: none; }
}

/* Signature manuscrite "— Lionel" */
.signature {
    font-family: var(--font-hand);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    display: inline-block;
    transform: rotate(-3deg);
    transform-origin: left center;
}
.signature::before { content: '— '; opacity: 0.7; }

/* Badge / pin "Binche, Wallonie" */
.binche-pin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.95rem;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.02em;
}
.binche-pin i { font-size: 0.72rem; }
.binche-pin::before {
    content: '';
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft), 0 0 12px var(--accent);
    animation: pin-pulse 2.4s ease-in-out infinite;
}
@keyframes pin-pulse {
    0%, 100% { box-shadow: 0 0 0 4px var(--accent-soft), 0 0 12px var(--accent); }
    50% { box-shadow: 0 0 0 6px var(--accent-soft), 0 0 18px var(--accent); }
}

/* Bloc code-snippet décoratif */
.code-deco {
    font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
    font-size: 0.78rem;
    line-height: 1.6;
    background: rgba(100, 255, 218, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}
.code-deco::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 60%; height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}
.code-deco-comment { color: var(--text-muted); font-style: italic; }
.code-deco-keyword { color: var(--blue); }
.code-deco-string { color: var(--accent); }

/* Sticky note manuscrite (annotation perso) */
.handnote {
    font-family: var(--font-hand);
    font-size: 1.4rem;
    line-height: 1.3;
    color: var(--accent);
    padding: 1rem 1.3rem;
    background: rgba(100, 255, 218, 0.05);
    border-left: 3px solid var(--accent);
    border-radius: 0 8px 8px 0;
    transform: rotate(-0.5deg);
    max-width: 32ch;
    position: relative;
    text-align: left;
    display: inline-block;
}
.handnote::before {
    content: '✱';
    position: absolute;
    top: -0.6rem; left: -0.4rem;
    color: var(--accent);
    font-size: 1.6rem;
    transform: rotate(15deg);
}
section.section-light .handnote {
    background: rgba(13, 148, 136, 0.06);
}


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

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    overflow-x: hidden;
}

/* Page-level glows (fixed, baignent tout : nav + hero + footer) */
.page-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
}
.page-glow--1 {
    width: 720px; height: 720px;
    background: var(--glow-1-color);
    top: -250px; right: -300px;
}
.page-glow--2 {
    width: 560px; height: 560px;
    background: var(--glow-2-color);
    bottom: -200px; left: -200px;
}
main, nav, footer { position: relative; z-index: 1; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--text-primary); }

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* ============ NAV ============ */

.navbar {
    position: sticky;
    top: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 100;
    color: #f5f7fa;
    transition: background 0.3s ease;
}
.navbar::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.4), rgba(91, 156, 245, 0.4), transparent);
    opacity: 0.55;
    pointer-events: none;
}
@supports not (backdrop-filter: blur(20px)) {
    .navbar { background: var(--nav-bg-solid); }
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}
.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo__mark {
    width: 28px;
    height: 28px;
    display: inline-block;
    flex-shrink: 0;
    border-radius: 7px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 4px 18px rgba(100, 255, 218, 0.12);
}
.nav-logo__word {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.nav-menu { display: flex; gap: 2.5rem; align-items: center; flex: 1; justify-content: center; }
.nav-link {
    font-size: 0.82rem;
    color: rgba(230, 241, 255, 0.7);
    transition: color var(--transition);
    font-weight: 500;
    letter-spacing: 0.01em;
}
.nav-link:hover, .nav-link.active { color: var(--cyan); }


/* Nav WhatsApp pill — action permanente dans le header */
.nav-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25d366;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    flex-shrink: 0;
}
.nav-whatsapp i { font-size: 0.95rem; }
.nav-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.32);
}
@media (max-width: 700px) {
    .nav-whatsapp__label { display: none; }
    .nav-whatsapp { padding: 0.5rem 0.6rem; }
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: rgba(230, 241, 255, 0.85);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ============ BUTTONS ============ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 2rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid;
    border-radius: 100px;
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: var(--btn-primary-bg);
    border-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}
.btn-primary:hover {
    background: var(--btn-primary-hover-bg);
    border-color: var(--btn-primary-hover-bg);
}
.btn-ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text-primary);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

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

.hero {
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}
.hero-glow-1, .hero-glow-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
}
.hero-glow-1 {
    width: var(--glow-1-size); height: var(--glow-1-size);
    background: var(--glow-1-color);
    top: -250px; right: -300px;
}
.hero-glow-2 {
    width: var(--glow-2-size); height: var(--glow-2-size);
    background: var(--glow-2-color);
    bottom: -200px; left: -200px;
}
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: end;
}
.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--accent-soft);
    margin-bottom: 2rem;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 1.8rem;
    line-height: 1.05;
    max-width: 22ch;
}
.hero-title em { font-style: italic; font-weight: 400; }
.hero-subtitle {
    font-size: 1.18rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 52ch;
    margin-bottom: 3rem;
}
.hero-cta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.hero-meta {
    text-align: right;
    border-left: 1px solid var(--border);
    padding-left: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.hero-meta-item small {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    font-weight: 600;
}
.hero-meta-item strong {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

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

section { padding: 8rem 0; position: relative; }
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

.section-header {
    margin-bottom: 5rem;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: end;
}
.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--accent-soft);
    margin-bottom: 1.5rem;
}
.section-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin-bottom: 0;
    line-height: 1.05;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 56ch;
    padding-bottom: 0.5rem;
}

/* ============ ENJEU (2 colonnes border-left) ============ */

.enjeu-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.enjeu-block {
    border-left: 2px solid var(--accent-soft);
    padding-left: 2rem;
    transition: border-color var(--transition);
}
.enjeu-block:hover { border-left-color: var(--accent); }
.enjeu-block--problem { border-left-color: var(--error-soft); }
.enjeu-block--problem:hover { border-left-color: var(--error); }
.enjeu-block-num {
    font-family: var(--font-display);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
    font-weight: 600;
}
.enjeu-block h3 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.enjeu-block > p { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 1rem; }
.enjeu-list { display: flex; flex-direction: column; gap: 0.8rem; }
.enjeu-list li {
    display: flex; gap: 0.9rem; align-items: flex-start;
    color: var(--text-secondary); font-size: 0.95rem;
    line-height: 1.6;
}
.enjeu-list li i { color: var(--accent); font-size: 0.78rem; margin-top: 0.4rem; flex-shrink: 0; }
.enjeu-block--problem .enjeu-list li i { color: var(--error); }

/* ============ OPTIMISATIONS / ROW LIST ============ */

/* Sections plus profondes — alternance navy / navy-deep pour rythmer */
.optims, .realisations {
    background: var(--bg-secondary);
    position: relative;
}
.optims::before, .realisations::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
    pointer-events: none;
}
.optim-list { display: flex; flex-direction: column; }
.optim-row {
    display: grid;
    grid-template-columns: 80px 1fr 2fr;
    gap: 3rem;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    align-items: start;
    transition: background var(--transition);
}
.optim-row:last-child { border-bottom: 1px solid var(--border); }
.optim-row:hover { background: var(--hover-bg); }
.optim-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.7;
    line-height: 1;
}
.optim-row h4 { font-size: 1.4rem; line-height: 1.2; }
.optim-row p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; }

/* ============ QUALIFICATION (Quand m'appeler / Pas pour moi) ============ */

.qualif { padding: 7rem 0; }
.qualif-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.qualif-col { padding: 3rem 0; }
.qualif-col + .qualif-col {
    border-left: 1px solid var(--border);
    padding-left: 3rem;
}
.qualif-col:first-child { padding-right: 3rem; }
.qualif-label {
    font-family: var(--font-display);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    margin-bottom: 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.qualif-yes .qualif-label { color: var(--accent); }
.qualif-yes .qualif-label::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
}
.qualif-no .qualif-label { color: var(--text-muted); }
.qualif-no .qualif-label::before {
    content: '';
    width: 8px; height: 8px;
    border: 1.5px solid var(--text-muted);
    border-radius: 50%;
}
.qualif-group { margin-bottom: 2.4rem; }
.qualif-group:last-child { margin-bottom: 0; }
.qualif-group-label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--border);
}
.qualif-group-label i {
    color: var(--accent);
    font-size: 0.95rem;
}

.qualif-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.qualif-list li {
    padding-left: 1.7rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}
.qualif-yes .qualif-list li::before {
    content: '↳';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.95rem;
    top: 0.1em;
    font-weight: 600;
}
.qualif-no .qualif-list li::before {
    content: '×';
    position: absolute;
    left: 0.2rem;
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1.1rem;
    top: -0.05em;
}

@media (max-width: 880px) {
    .qualif-grid { grid-template-columns: 1fr; }
    .qualif-col + .qualif-col {
        border-left: none;
        border-top: 1px solid var(--border);
        padding-left: 0;
        padding-top: 3rem;
    }
    .qualif-col:first-child { padding-right: 0; padding-bottom: 0; }
}

/* ============ OFFRES (2 cards : application + site avec logique) ============ */

.offres { padding: 8rem 0; }
.offres-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.offre {
    background: var(--bg-card);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.offre::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity var(--transition);
}
.offre:hover {
    transform: translateY(-4px);
    border-color: var(--accent-line);
    box-shadow: 0 12px 40px rgba(13, 148, 136, 0.08);
}
.offre:hover::before { opacity: 1; }
.offre-num {
    font-family: var(--font-display);
    font-size: 0.74rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}
.offre h3 {
    font-size: 1.9rem;
    margin-bottom: 0.7rem;
    line-height: 1.15;
}
.offre-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.2rem;
    font-style: italic;
    line-height: 1.55;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--border);
}
.offre-section { margin-bottom: 1.6rem; }
.offre-section:last-child { margin-bottom: 0; }
.offre-section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.6rem;
}
.offre-section > p {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.6;
}
.offre-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.offre-section ul li {
    font-size: 0.95rem;
    color: var(--text-primary);
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
}
.offre-section ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent);
}
@media (max-width: 880px) {
    .offres-grid { grid-template-columns: 1fr; }
    .offre { padding: 2.4rem 1.8rem; }
}

/* ============ DOCS / SPLIT ============ */

.docs-split {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: start;
}
.docs-quote {
    border-left: 2px solid var(--accent);
    padding-left: 2rem;
}
.docs-quote-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}
.docs-quote-text em { color: var(--accent); }
.docs-quote-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.docs-list { display: flex; flex-direction: column; }
.docs-list li {
    padding: 1.3rem 0;
    border-top: 1px solid var(--border);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
}
.docs-list li:last-child { border-bottom: 1px solid var(--border); }
.docs-list li strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
}

/* ============ RÉALISATIONS ============ */

.realisations { background: linear-gradient(180deg, #061222 0%, #0a192f 100%); }
.proj-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem 3rem;
}
.proj-card { transition: transform var(--transition); }
.proj-card:hover { transform: translateY(-6px); }
.proj-img {
    aspect-ratio: 3/2;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.proj-card:hover .proj-img img { transform: scale(1.04); }
.proj-type {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 3px;
    color: var(--accent); margin-bottom: 0.8rem; font-weight: 600;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--accent-soft);
}
.proj-card h3 { font-size: 1.5rem; margin-bottom: 0.8rem; }
.proj-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.proj-link { color: var(--accent); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }
.proj-link:hover { color: var(--blue); }
.proj-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 3px;
}

/* ============ APPROCHE / 3 COLONNES BORDÉES ============ */

.approche {
    background: var(--bg-primary);
}
.approche-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.approche-item {
    padding: 3rem 2rem 3rem 0;
    border-right: 1px solid var(--border);
    transition: background var(--transition);
}
.approche-item:last-child { border-right: none; padding-right: 0; }
.approche-item:nth-child(n+2) { padding-left: 2.5rem; }
.approche-item:hover { background: var(--hover-bg); }
.approche-num {
    font-family: var(--font-display);
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}
.approche-item h4 { font-size: 1.5rem; margin-bottom: 1rem; line-height: 1.2; }
.approche-item p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ============ CONTACT ============ */

.contact { padding-bottom: 8rem; text-align: left; }
.contact-block {
    border-top: 1px solid var(--border);
    padding-top: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.contact-block h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}
.contact-block p { color: var(--text-secondary); font-size: 1.05rem; }
.contact-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

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

.footer {
    background: var(--footer-bg);
    padding: 4.5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(245, 247, 250, 0.55);
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.35), rgba(91, 156, 245, 0.35), transparent);
    opacity: 0.5;
    pointer-events: none;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-col-title {
    font-family: var(--font-display);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(230, 241, 255, 0.65);
    font-weight: 700;
    margin-bottom: 1.3rem;
}
.footer-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    list-style: none;
    padding: 0;
}
.footer-list a {
    color: rgba(230, 241, 255, 0.72);
    font-size: 0.92rem;
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
}
.footer-list a:hover { color: var(--cyan); }
.footer-list a i {
    color: var(--accent);
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.2rem;
}
.footer-logo__mark {
    width: 32px; height: 32px;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 4px 18px rgba(100, 255, 218, 0.12);
}
.footer-logo__word {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(230, 241, 255, 0.65);
    margin-bottom: 1.4rem;
    max-width: 36ch;
}
.footer-tagline strong { color: rgba(230, 241, 255, 0.92); font-weight: 600; }
.footer-location {
    font-size: 0.82rem;
    color: rgba(230, 241, 255, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    letter-spacing: 0.02em;
}
.footer-location i {
    color: var(--accent);
    font-size: 0.78rem;
}
.footer-bottom {
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
}
.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(230, 241, 255, 0.4);
    margin: 0;
}
.footer-sig {
    transform: rotate(-3deg);
    transform-origin: left center;
}
.footer-sig .signature { font-size: 1.6rem; }

@media (max-width: 880px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2.4rem; }
    .footer { padding: 3rem 0 1.5rem; }
}

/* ============ AUDIENCE ROTATOR (home) ============ */

.audience-rotator {
    margin: 0 auto 2.5rem;
    max-width: 760px;
    text-align: center;
}
.audience-rotator__quickpicks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
}
.audience-rotator__quickpick {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}
.audience-rotator__quickpick i {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color var(--transition);
}
.audience-rotator__quickpick:hover {
    border-color: var(--accent-line);
    color: var(--text-primary);
    transform: translateY(-1px);
}
.audience-rotator__quickpick:hover i { color: var(--accent); }
.audience-rotator__quickpick.is-active {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
}
.audience-rotator__quickpick.is-active i { color: var(--accent); }

.audience-rotator__slot {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0.85rem 0.85rem 1.6rem;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 30px var(--accent-soft);
    font-family: var(--font-body);
}
.audience-rotator__slot:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 50px var(--accent-line);
}
.audience-rotator__words {
    position: relative;
    display: inline-block;
    height: 1.6em;
    line-height: 1.6em;
    width: clamp(260px, 75vw, 460px);
    overflow: hidden;
    vertical-align: middle;
}
.audience-rotator__word {
    position: absolute;
    inset: 0;
    color: var(--accent);
    font-weight: 600;
    font-size: 1.05rem;
    opacity: 0;
    transform: translateY(110%);
    transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-align: center;
}
.audience-rotator__word.is-active { opacity: 1; transform: translateY(0); }
.audience-rotator__word.is-leaving { opacity: 0; transform: translateY(-110%); }
.audience-rotator__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 50%;
    color: var(--btn-primary-text);
    font-size: 0.85rem;
    transition: transform var(--transition);
    flex-shrink: 0;
}
.audience-rotator__slot:hover .audience-rotator__check { transform: scale(1.1); }
.audience-rotator__slot.is-confirmed {
    animation: slotPulse 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes slotPulse {
    0%, 100% { box-shadow: 0 4px 30px var(--accent-soft); }
    50% { box-shadow: 0 8px 40px var(--accent-line); }
}
.audience-rotator__hint {
    margin-top: 0.9rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* ============ HERO PATHS (PME — application vs site) ============ */

.hero-paths {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 3rem;
    max-width: 760px;
}
.hero-path {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.hero-path::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 0;
    height: 100%;
    background: var(--gradient);
    opacity: 0.08;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-path:hover {
    border-color: var(--accent);
    transform: translateX(4px);
    box-shadow: 0 8px 30px var(--accent-soft);
}
.hero-path:hover::before { width: 100%; }
.hero-path__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: 10px;
    color: var(--accent);
    font-size: 1.2rem;
    transition: all var(--transition);
    position: relative;
    z-index: 2;
}
.hero-path:hover .hero-path__icon {
    background: var(--accent);
    color: var(--btn-primary-text);
    transform: scale(1.05);
}
.hero-path__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    position: relative;
    z-index: 2;
}
.hero-path__label {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}
.hero-path__hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
.hero-path__arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: all var(--transition);
    position: relative;
    z-index: 2;
}
.hero-path:hover .hero-path__arrow {
    color: var(--accent);
    transform: translateX(3px);
}

@media (max-width: 700px) {
    .hero-paths { grid-template-columns: 1fr; }
}

/* ============ AUDIENCE SIDE DOORS (home — agences + recherche, en retrait) ============ */

.audience-side {
    margin: 5rem auto 0;
    max-width: 920px;
    padding-top: 3.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    position: relative;
}
.audience-side::before {
    content: '';
    position: absolute;
    top: -1px; left: 50%;
    width: 80px; height: 2px;
    background: var(--gradient);
    transform: translateX(-50%);
}
.audience-side-intro {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}
.audience-side-intro em {
    color: var(--accent);
    font-style: normal;
    font-weight: 700;
}
.audience-side-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}
.audience-side-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.6rem 1.8rem;
    background: rgba(100, 255, 218, 0.04);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
}
.audience-side-link::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.audience-side-link:hover {
    border-color: var(--accent);
    background: rgba(100, 255, 218, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(100, 255, 218, 0.12);
}
.audience-side-link:hover::before { transform: scaleX(1); }
.audience-side-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    border-radius: 12px;
    color: var(--accent);
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all var(--transition);
}
.audience-side-link:hover .audience-side-icon {
    background: var(--accent);
    color: var(--bg-primary);
    transform: scale(1.05) rotate(-4deg);
}
.audience-side-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.audience-side-label {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.35rem;
}
.audience-side-hint {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.45;
}
.audience-side-arrow {
    color: var(--accent);
    font-size: 1rem;
    transition: all var(--transition);
    flex-shrink: 0;
}
.audience-side-link:hover .audience-side-arrow {
    transform: translateX(5px);
}
@media (max-width: 700px) {
    .audience-side-grid { grid-template-columns: 1fr; }
}

/* ============ AUDIENCE CARDS (home — UX experience) ============ */

.audience-cards {
    margin: 2.5rem auto 0;
    max-width: 1100px;
}
.audience-cards__intro {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.3px;
    font-style: italic;
}

/* Couleurs uniques par audience (override de --card-accent dans chaque carte) */
.audience-card--pme       { --card-accent: var(--accent);  --card-glow: rgba(100, 255, 218, 0.18); }
.audience-card--agence    { --card-accent: var(--blue);    --card-glow: rgba(91, 156, 245, 0.18); }
.audience-card--recherche { --card-accent: #c084fc;        --card-glow: rgba(192, 132, 252, 0.18); }
.audience-card--asbl      { --card-accent: #fb923c;        --card-glow: rgba(251, 146, 60, 0.18); }

/* En light theme, on adapte les accents */
[data-theme="light"] .audience-card--pme       { --card-accent: #0d9488; --card-glow: rgba(13, 148, 136, 0.16); }
[data-theme="light"] .audience-card--agence    { --card-accent: #2563eb; --card-glow: rgba(37, 99, 235, 0.14); }
[data-theme="light"] .audience-card--recherche { --card-accent: #9333ea; --card-glow: rgba(147, 51, 234, 0.14); }
[data-theme="light"] .audience-card--asbl      { --card-accent: #ea580c; --card-glow: rgba(234, 88, 12, 0.14); }

.audience-cards__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.audience-card {
    aspect-ratio: 1 / 1.18;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.8rem 1.6rem 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    isolation: isolate;
}
.audience-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1.3rem;
    flex: 1;
}
.audience-card__hint {
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
    transition: color 0.4s ease, transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.audience-card__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--card-accent);
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.audience-card:hover .audience-card__cta {
    opacity: 1;
    transform: translateY(0);
}
.audience-card:hover .audience-card__hint {
    color: var(--text-secondary);
    transform: translateY(-2px);
}

/* Background animé : un cercle accent qui grandit depuis le coin */
.audience-card__bg {
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--card-glow), transparent 70%);
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: -1;
}

/* Icone : grosse et expressive */
.audience-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 1.55rem;
    color: var(--card-accent);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-theme="light"] .audience-card__icon {
    background: rgba(255, 255, 255, 0.6);
}

.audience-card__label {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.015em;
    transition: color 0.4s ease;
}
.audience-card:hover .audience-card__label { color: var(--card-accent); }

.audience-card__arrow {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.78rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* HOVER — l'expérience principale */
.audience-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--card-accent);
    box-shadow: 0 20px 60px var(--card-glow);
}
.audience-card:hover .audience-card__bg {
    width: 200%;
    height: 200%;
    bottom: -50%;
    right: -50%;
    opacity: 1.5;
}
.audience-card:hover .audience-card__icon {
    background: var(--card-accent);
    border-color: var(--card-accent);
    color: #ffffff;
    transform: scale(1.1) rotate(-6deg);
}
.audience-card:hover .audience-card__arrow {
    background: var(--card-accent);
    border-color: var(--card-accent);
    color: #ffffff;
    transform: rotate(-45deg) scale(1.1);
}

/* Animations spécifiques par audience pour un peu de personnalité */
.audience-card--pme:hover .audience-card__icon       { animation: tilt 0.6s ease; }
.audience-card--agence:hover .audience-card__icon    { animation: shake 0.6s ease; }
.audience-card--recherche:hover .audience-card__icon { animation: bounce 0.6s ease; }
.audience-card--asbl:hover .audience-card__icon      { animation: pulse 0.6s ease; }

@keyframes tilt {
    0%, 100% { transform: scale(1.1) rotate(-6deg); }
    50% { transform: scale(1.15) rotate(-12deg); }
}
@keyframes shake {
    0%, 100% { transform: scale(1.1) rotate(-6deg); }
    25% { transform: scale(1.1) rotate(-3deg); }
    75% { transform: scale(1.1) rotate(-9deg); }
}
@keyframes bounce {
    0%, 100% { transform: scale(1.1) rotate(-6deg) translateY(0); }
    50% { transform: scale(1.15) rotate(-6deg) translateY(-4px); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1.1) rotate(-6deg); }
    50% { transform: scale(1.2) rotate(-6deg); }
}

/* Responsive : 2x2 puis 1 colonne */
@media (max-width: 900px) {
    .audience-cards__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .audience-cards__grid { grid-template-columns: 1fr; gap: 0.8rem; }
    .audience-card { aspect-ratio: auto; padding: 1.4rem; }
}

/* ============ HOME-SPECIFIC: hero centered ============ */

/* ============ HOME — Single viewport, fond blanc éditorial ============ */

.hero--home {
    min-height: calc(100vh - 70px - 88px);
    display: flex;
    align-items: center;
    padding: 3rem 0 !important;
}
.home-stack {
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
}
.hero--home .hero-title {
    font-size: clamp(2.6rem, 6.2vw, 4.6rem);
    margin: 1.6rem 0 1.6rem;
    max-width: 22ch;
    line-height: 1.02;
}
.hero--home .hero-subtitle {
    font-size: 1.25rem;
    max-width: 56ch;
    margin-bottom: 2.8rem;
    line-height: 1.65;
}
.home-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

/* CTAs home — primaire en bleu brand vif, WhatsApp en solide vert */
.hero--home .btn-primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}
.hero--home .btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.42);
    transform: translateY(-2px);
}
.btn--whatsapp {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.28);
}
.btn--whatsapp i { font-size: 1.05em; color: #ffffff; }
.btn--whatsapp:hover {
    background: #1ebe5d;
    border-color: #1ebe5d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.42);
}

/* Partners row : divider + 2 cards mini avec icônes — plus discret que le hero */
.home-partners-row {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    opacity: 0.95;
}
.home-partners-divider {
    font-family: var(--font-display);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}
.home-partners-divider::before {
    content: '';
    width: 20px; height: 1px;
    background: var(--text-muted);
}
.home-partners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}
.home-partner-mini {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.15rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.home-partner-mini::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--gradient);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.home-partner-mini:hover {
    border-color: var(--accent);
    background: rgba(13, 148, 136, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(13, 148, 136, 0.08);
}
.home-partner-mini:hover::before { transform: scaleY(1); }
.home-partner-mini__icon {
    width: 38px; height: 38px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.92rem;
    flex-shrink: 0;
    transition: all var(--transition);
}
.home-partner-mini:hover .home-partner-mini__icon {
    background: var(--accent);
    color: #ffffff;
    transform: rotate(-4deg);
}
.home-partner-mini__body { flex: 1; min-width: 0; }
.home-partner-mini__label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    line-height: 1.25;
}
.home-partner-mini__hint {
    display: block;
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.home-partner-mini__arrow {
    color: var(--accent);
    font-size: 0.88rem;
    flex-shrink: 0;
    transition: transform var(--transition);
}
.home-partner-mini:hover .home-partner-mini__arrow { transform: translateX(4px); }

@media (max-width: 760px) {
    .home-partners-grid { grid-template-columns: 1fr; }
    .home-cta-row { flex-direction: column; align-items: stretch; }
    .home-cta-row .btn { justify-content: center; }
}

/* ============ HOME (legacy, conservé) — split asymétrique ============ */

.hero--manifesto {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    padding: 4rem 0 5rem !important;
    position: relative;
}
.hero--manifesto .container { max-width: 980px; }
.hero--manifesto .hero-title {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    margin: 1.6rem 0 1.8rem;
    max-width: 18ch;
    line-height: 1.02;
}
.hero--manifesto .hero-subtitle {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    max-width: 52ch;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.hero-scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    transition: color var(--transition);
    font-weight: 600;
}
.hero-scroll-cue__arrow {
    width: 36px; height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all var(--transition);
    animation: scroll-cue-bounce 2.4s ease-in-out infinite;
}
.hero-scroll-cue:hover { color: var(--accent); }
.hero-scroll-cue:hover .hero-scroll-cue__arrow {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
    animation: none;
}
@keyframes scroll-cue-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* Mon offre — section blanche éditoriale */
.home-offer { padding: 7rem 0; }
.home-offer__inner {
    max-width: 720px;
    margin: 0 auto;
}
.home-offer__inner .section-title {
    font-size: clamp(2.2rem, 4.4vw, 3.4rem);
    margin: 0.6rem 0 1.5rem;
    max-width: 18ch;
}
.home-offer__lead {
    font-size: 1.18rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 56ch;
}
.home-offer__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    margin: 2rem 0 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.home-offer__features li {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    font-size: 1.02rem;
    color: var(--text-primary);
    line-height: 1.5;
}
.home-offer__features li i {
    color: var(--accent);
    font-size: 0.78rem;
    width: 22px; height: 22px;
    background: var(--accent-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.home-offer__cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}
.btn--large {
    padding: 1.1rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Partenariats — section navy contrastée */
.home-partners {
    padding: 7rem 0;
    background: var(--bg-secondary);
    position: relative;
}
.home-partners::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
}
.home-partners__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}
.home-partner {
    background: rgba(100, 255, 218, 0.04);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2.6rem 2.4rem;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.home-partner::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.home-partner:hover {
    border-color: var(--accent);
    background: rgba(100, 255, 218, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 14px 38px rgba(100, 255, 218, 0.12);
}
.home-partner:hover::before { transform: scaleX(1); }
.home-partner__icon {
    width: 56px; height: 56px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 1.6rem;
    transition: all var(--transition);
}
.home-partner:hover .home-partner__icon {
    background: var(--accent);
    color: var(--bg-primary);
    transform: rotate(-4deg) scale(1.05);
}
.home-partner h3 {
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
    line-height: 1.25;
    color: var(--text-primary);
}
.home-partner p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.6rem;
    flex: 1;
}
.home-partner__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 700;
    transition: gap var(--transition);
}
.home-partner:hover .home-partner__cta { gap: 0.9rem; }

@media (max-width: 880px) {
    .home-partners__grid { grid-template-columns: 1fr; }
    .home-offer { padding: 5rem 0; }
    .home-partners { padding: 5rem 0; }
}

/* ============ HOME (legacy, conservé pour compat) — split asymétrique ============ */

.hero--split {
    min-height: calc(100vh - 70px - 88px);
    display: flex;
    align-items: center;
    padding: 3rem 0 !important;
    overflow: hidden;
}
.hero-split-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
    max-width: 720px;
}
.hero-split-content { display: flex; flex-direction: column; }
.hero-split-content .hero-title {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    margin: 1.4rem 0 1.4rem;
    max-width: 22ch;
    line-height: 1.05;
}
.hero-split-content .hero-subtitle {
    font-size: 1.1rem;
    max-width: 50ch;
    margin-bottom: 0;
    line-height: 1.65;
}
.hero-split-content .signature { margin-top: 2.5rem; font-size: 2.6rem; }

/* Doors stack — 3 entrées numérotées comme un sommaire de concierge */
.hero-doors {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.hero-doors-intro {
    font-family: var(--font-display);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.hero-doors-intro::before {
    content: '';
    width: 28px; height: 1px;
    background: var(--accent);
}
.hero-door {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 1.5rem 1.7rem;
    background: rgba(100, 255, 218, 0.035);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.hero-door::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--gradient);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-door:hover {
    border-color: var(--accent);
    background: rgba(100, 255, 218, 0.07);
    transform: translateX(6px);
    box-shadow: 0 12px 30px rgba(100, 255, 218, 0.1);
}
.hero-door:hover::before { transform: scaleY(1); }
.hero-door-num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1.5px;
    flex-shrink: 0;
    width: 26px;
    opacity: 0.8;
}
.hero-door-body { flex: 1; min-width: 0; }
.hero-door-label {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}
.hero-door-hint {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.45;
}
.hero-door-arrow {
    color: var(--accent);
    font-size: 0.95rem;
    transition: transform var(--transition);
    flex-shrink: 0;
}
.hero-door:hover .hero-door-arrow { transform: translateX(5px); }

/* Primary door — l'offre principale (PME) prominente */
.hero-door--primary {
    padding: 2rem 2.2rem;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(91, 156, 245, 0.06));
    border: 1px solid var(--accent);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(100, 255, 218, 0.1);
    position: relative;
}
.hero-door--primary::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    width: 100%;
    height: 3px;
    background: var(--gradient);
    border-radius: 18px 18px 0 0;
    transform: none;
    opacity: 1;
}
.hero-door--primary:hover {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.16), rgba(91, 156, 245, 0.1));
    transform: translateX(6px);
    box-shadow: 0 18px 40px rgba(100, 255, 218, 0.18);
}
.hero-door-eyebrow {
    font-family: var(--font-display);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.hero-door-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: pin-pulse 2.4s ease-in-out infinite;
}
.hero-door--primary .hero-door-label {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}
.hero-door--primary .hero-door-hint { font-size: 0.92rem; }
.hero-door--primary .hero-door-arrow { font-size: 1.05rem; }

/* WhatsApp shortcut sous l'offre principale */
.hero-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.2rem;
    margin-top: 0.8rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
    align-self: flex-start;
}
.hero-whatsapp-link:hover {
    border-color: #25d366;
    color: #25d366;
    background: rgba(37, 211, 102, 0.08);
    transform: translateX(3px);
}
.hero-whatsapp-link i { font-size: 1rem; color: #25d366; }

/* Secondary doors — cas particuliers, plus discrets */
.hero-doors-secondary {
    margin-top: 1.8rem;
}
.hero-doors-secondary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 0.7rem;
}
@media (max-width: 700px) {
    .hero-doors-secondary-grid { grid-template-columns: 1fr; }
}
.hero-doors-divider {
    font-family: var(--font-display);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.4rem;
    text-align: center;
    position: relative;
}
.hero-doors-divider::before, .hero-doors-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 75px);
    height: 1px;
    background: var(--border);
}
.hero-doors-divider::before { left: 0; }
.hero-doors-divider::after { right: 0; }

.hero-door--small {
    padding: 0.95rem 1.3rem;
    background: transparent;
    border: 1px dashed var(--border);
    box-shadow: none;
    gap: 1rem;
}
.hero-door--small::before { display: none; }
.hero-door--small:hover {
    border-style: solid;
    border-color: var(--accent);
    background: rgba(100, 255, 218, 0.04);
    transform: translateX(4px);
    box-shadow: none;
}
.hero-door-icon {
    width: 34px; height: 34px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
    transition: all var(--transition);
}
.hero-door--small:hover .hero-door-icon {
    background: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
}
.hero-door--small .hero-door-body {
    flex: 1;
    min-width: 0;
}
.hero-door--small .hero-door-label {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}
.hero-door--small .hero-door-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: block;
}

@media (max-width: 880px) {
    .hero--split { padding: 2rem 0 !important; }
    .hero-split-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-split-content .hero-title { max-width: none; }
}
.hero--centered .hero-meta {
    border-left: none;
    padding-left: 0;
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 3rem auto 0;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    max-width: 760px;
    text-align: center;
}
.hero--centered .hero-meta-item { text-align: center; }
.hero--centered .audience-side { margin-top: 3.5rem; }
.hero--centered .audience-side::before { background: var(--bg-primary); }

/* Home signoff (handnote + signature + CTA final) */
.home-signoff { padding: 6rem 0; text-align: center; }
.home-signoff__inner { max-width: 580px; margin: 0 auto; }

/* Hero stats inline (home) */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    max-width: 760px;
    margin: 0 auto;
}
.stat-pill { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.stat-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; }

/* ============ AGENCES-SPECIFIC: highlight (double casquette) ============ */

.casquette {
    background: var(--bg-primary);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}
.casquette::before {
    content: '';
    position: absolute;
    inset: 50% 50% auto auto;
    width: 600px; height: 600px;
    transform: translate(50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.08), transparent 70%);
    pointer-events: none;
}
.casquette-content {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}
.casquette-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--accent-soft);
}
.casquette-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}
.casquette-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2rem;
}
.casquette-text strong { color: var(--text-primary); }

/* ============ MIGRATION SECTION (PME / ASBL) ============ */

.migration { background: var(--bg-primary); }
.migration-content {
    max-width: 900px;
    margin: 0 auto;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 980px) {
    .hero-content,
    .section-header,
    .enjeu-blocks,
    .docs-split,
    .proj-grid,
    .approche-grid,
    .contact-block { grid-template-columns: 1fr; gap: 2rem; }
    .approche-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 2rem 0 !important;
    }
    .approche-item:last-child { border-bottom: none; }
    .optim-row { grid-template-columns: 1fr; gap: 1rem; }
    .hero-meta {
        border-left: none;
        padding-left: 0;
        flex-direction: row;
        gap: 2rem;
        flex-wrap: wrap;
        text-align: left;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right var(--transition);
        z-index: 99;
    }
    .nav-menu.active { right: 0; }
    .hamburger { display: flex; z-index: 101; position: relative; }
}

@media (max-width: 600px) {
    section { padding: 5rem 0; }
    .hero { padding: 5rem 0 4rem; }
    .container { padding: 0 1.2rem; }
    .nav-container { padding: 1rem 1.2rem; }
}

/* ============ RESPONSIVE FINE-TUNE — mobile-first polish ============ */

/* Tablet 768-980 */
@media (max-width: 980px) {
    .hero-title { font-size: clamp(2rem, 6vw, 3rem); }
    .hero-subtitle { font-size: 1.05rem; }
    .home-partners-grid,
    .audience-side-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col--brand { grid-column: 1 / -1; }
}

/* Mobile 600 et moins */
@media (max-width: 600px) {
    .container { padding: 0 1.1rem; }
    .nav-container { padding: 0.85rem 1.1rem; gap: 0.8rem; }
    .nav-logo { font-size: 1.2rem; gap: 0.5rem; }
    .nav-logo__mark { width: 26px; height: 26px; }
    .nav-whatsapp { padding: 0.45rem 0.7rem; font-size: 0.78rem; }
    .nav-whatsapp__label { display: none; }

    section { padding: 4rem 0; }
    .hero, .hero--manifesto, .hero--home, .hero--centered, .hero--split { padding: 3.5rem 0 3rem !important; }
    .hero--home { min-height: auto; }
    .home-stack { max-width: 100%; }

    .hero-title { font-size: clamp(1.7rem, 8vw, 2.4rem); line-height: 1.1; max-width: 100%; }
    .hero-subtitle { font-size: 1rem; line-height: 1.6; }
    .section-title { font-size: clamp(1.7rem, 6.5vw, 2.2rem); }

    .binche-pin { font-size: 0.72rem; padding: 0.4rem 0.85rem; line-height: 1.4; flex-wrap: wrap; }

    .btn { padding: 0.85rem 1.3rem; font-size: 0.88rem; letter-spacing: 0.5px; }
    .btn--large { padding: 1rem 1.6rem; font-size: 0.92rem; }

    .home-cta-row,
    .hero-cta { flex-direction: column; gap: 0.7rem; align-items: stretch; }
    .home-cta-row .btn,
    .hero-cta .btn,
    .hero-cta-row .btn { width: 100%; justify-content: center; }

    .hero-meta { gap: 1.2rem 1.6rem; padding-top: 1.8rem; }
    .hero-meta-item { flex: 1 1 calc(50% - 0.8rem); min-width: 120px; }
    .hero-meta-item small { font-size: 0.62rem; letter-spacing: 1.5px; }
    .hero-meta-item strong { font-size: 0.95rem; }

    .home-partners-row { padding-top: 2rem; }
    .home-partner-mini { padding: 0.95rem 1.05rem; gap: 0.8rem; }
    .home-partner-mini__icon { width: 38px; height: 38px; font-size: 0.9rem; }
    .home-partner-mini__label { font-size: 0.9rem; }
    .home-partner-mini__hint { font-size: 0.76rem; }

    /* Offres / qualif cards mobile */
    .offre { padding: 2rem 1.5rem; }
    .offre h3 { font-size: 1.5rem; }
    .qualif-col { padding: 2rem 0 !important; }

    /* Audience cards (legacy) */
    .audience-card { aspect-ratio: auto; padding: 1.3rem 1.4rem; min-height: 200px; }
    .audience-card__icon { width: 46px; height: 46px; font-size: 1.2rem; }
    .audience-card__label { font-size: 1.15rem; }

    /* Footer */
    .footer { padding: 3rem 0 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .footer-col--brand { grid-column: auto; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.8rem; padding-top: 1.5rem; }
    .footer-bottom p { font-size: 0.74rem; }

    /* Section headers mobile */
    .section-header { gap: 1.5rem; margin-bottom: 3rem; }

    /* Project cards */
    .proj-card h3 { font-size: 1.3rem; }
    .proj-card p { font-size: 0.9rem; }

    /* Optim rows */
    .optim-row { padding: 1.8rem 0; }
    .optim-num { font-size: 1.6rem; }
    .optim-row h4 { font-size: 1.2rem; }

    /* Approche items */
    .approche-item { padding: 2rem 0 !important; border-right: none !important; }

    /* Handnote mobile */
    .handnote { font-size: 1.2rem; padding: 0.85rem 1.1rem; max-width: 100%; }

    /* Page-curtain plus discret */
    .page-curtain { height: 2px; }
}

/* Très petit mobile <400 */
@media (max-width: 400px) {
    .nav-logo__word { font-size: 1.1rem; }
    .hero-title { font-size: clamp(1.55rem, 9vw, 2rem); }
    .home-partner-mini { flex-wrap: wrap; }
    .home-partner-mini__body { flex-basis: 100%; order: 3; }
    .home-partner-mini__arrow { order: 2; margin-left: auto; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
</content>
