/* =========================================
   Datalio — Solutions digitales pour entreprises
   Charte : bleu nuit #05045F, jaune doré #F5B800
   Typographie : Poppins
   ========================================= */

:root {
    /* Charte Datalio */
    --navy:        #05045F;
    --navy-700:    #0a0a7a;
    --navy-600:    #14149a;
    --navy-50:     #eef0fb;

    --gold:        #F5B800;
    --gold-600:    #d99e00;
    --gold-300:    #fbd35a;

    --tech-blue:   #2D6BFF;

    --white:       #FFFFFF;
    --light:       #F5F7FA;
    --light-200:   #e6ebf2;
    --gray-text:   #5B6472;
    --gray-strong: #2c3340;

    --radius-sm: 10px;
    --radius:    16px;
    --radius-lg: 24px;

    --shadow-sm: 0 2px 8px rgba(5, 4, 95, 0.06);
    --shadow:    0 12px 32px rgba(5, 4, 95, 0.10);
    --shadow-lg: 0 30px 60px rgba(5, 4, 95, 0.18);

    --max:        1200px;
    --max-narrow: 820px;

    --ease:  cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================
   Base
   ========================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-strong);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { padding: 0; margin: 0; list-style: none; }

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--navy);
    line-height: 1.2;
    margin: 0 0 0.5em;
    letter-spacing: -0.015em;
    font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 2.2vw + 1rem, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

p { margin: 0 0 1em; color: var(--gray-text); }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container--narrow { max-width: var(--max-narrow); }

.text-gold { color: var(--gold); }

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--sm  { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn--lg  { padding: 1rem 1.85rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(5, 4, 95, 0.30);
}
.btn--primary:hover { background: var(--navy-700); box-shadow: 0 12px 28px rgba(5, 4, 95, 0.38); }

.btn--gold {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 8px 20px rgba(245, 184, 0, 0.35);
}
.btn--gold:hover { background: var(--gold-600); box-shadow: 0 12px 28px rgba(245, 184, 0, 0.45); }

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* =========================================
   Icônes SVG (sprite réutilisable)
   ========================================= */
.icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    flex: none;
    fill: none;
    stroke: currentColor;
    vertical-align: middle;
    pointer-events: none;
}
.icon--xs { width: 14px; height: 14px; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 28px; height: 28px; }
.icon--xl { width: 32px; height: 32px; }

/* Cas spéciaux : icônes "pleines" (fill) au lieu de "trait" (stroke) */
.btn .icon, .fab .icon { stroke: none; fill: currentColor; }
/* Mais on garde le stroke pour les flèches dans les boutons */
.btn--ghost .icon { stroke: currentColor; fill: none; }

/* =========================================
   Brand
   ========================================= */
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 700; }

/* Logo image (PNG/SVG fourni dans assets/) */
.brand__logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 8px;
    flex: none;
    display: block;
}
.brand__logo--light {
    /* Le logo a un fond clair par défaut : on ajoute un léger halo sur fond bleu nuit */
    background: rgba(255, 255, 255, 0.04);
    padding: 2px;
}
.dashboard__logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 5px;
    flex: none;
}
.brand__mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--navy);
    box-shadow: 0 4px 12px rgba(5, 4, 95, 0.2);
}
.brand__mark--sm { width: 22px; height: 22px; border-radius: 6px; }
.brand__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.18);
}
.brand__mark--sm .brand__dot { width: 7px; height: 7px; box-shadow: 0 0 0 2px rgba(245, 184, 0, 0.18); }
.brand__name { color: var(--navy); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.brand--light .brand__name { color: var(--white); }
.brand--light .brand__mark { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); }

/* =========================================
   Navbar
   ========================================= */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--light-200);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.5rem;
}
.nav__links { display: none; gap: 1.75rem; }
.nav__links a { color: var(--gray-strong); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; position: relative; }
.nav__links a:hover { color: var(--navy); }
.nav__links a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: none; }
.nav__burger {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    padding: 0.5rem;
}
.nav__burger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.2s; }

@media (min-width: 880px) {
    .nav__links, .nav__cta { display: inline-flex; }
    .nav__burger { display: none; }
}
.nav__links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--light-200);
    padding: 1rem 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow);
}

/* =========================================
   Hero (fond bleu nuit)
   ========================================= */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(60% 50% at 90% 0%, rgba(245, 184, 0, 0.18), transparent 60%),
        radial-gradient(50% 40% at 0% 100%, rgba(45, 107, 255, 0.22), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, #0a0a7a 100%);
    padding: 4.5rem 0 6rem;
}
.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero__bg .grid-lines {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    opacity: 0.6;
}
.dot, .ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.dot { width: 6px; height: 6px; background: var(--gold); box-shadow: 0 0 14px rgba(245, 184, 0, 0.6); }
.dot--1 { top: 18%; left: 8%; animation: pulse-dot 3s ease-in-out infinite; }
.dot--2 { top: 70%; left: 5%; background: var(--tech-blue); box-shadow: 0 0 14px rgba(45, 107, 255, 0.6); animation: pulse-dot 4s ease-in-out infinite 1s; }
.dot--3 { top: 30%; right: 10%; animation: pulse-dot 3.5s ease-in-out infinite 0.5s; }
@keyframes pulse-dot {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.4); }
}
.ring { border: 1px solid rgba(245, 184, 0, 0.18); }
.ring--1 { width: 320px; height: 320px; top: -120px; right: -100px; }
.ring--2 { width: 200px; height: 200px; bottom: -60px; left: -60px; border-color: rgba(45, 107, 255, 0.18); }

.hero__inner {
    position: relative;
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 980px) {
    .hero { padding: 6.5rem 0 8rem; }
    .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}
.badge__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(245, 184, 0, 0.18);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(245, 184, 0, 0.18); }
    50%      { box-shadow: 0 0 0 9px rgba(245, 184, 0, 0.05); }
}

.hero__title {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero__subtitle {
    font-size: clamp(1rem, 0.4vw + 0.95rem, 1.15rem);
    color: rgba(255, 255, 255, 0.78);
    max-width: 580px;
    margin-bottom: 1rem;
}
.hero__tagline {
    color: var(--gold);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.75rem; }
.hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.9rem;
}
.hero__points li { display: inline-flex; align-items: center; gap: 0.4rem; }
.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(245, 184, 0, 0.18);
    color: var(--gold);
    flex: none;
}
.check .icon { width: 12px; height: 12px; stroke: var(--gold); fill: none; }

/* Hero visual : dashboard */
.hero__visual { position: relative; }
.dashboard {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    color: var(--gray-strong);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s var(--ease);
}
.dashboard:hover { transform: perspective(1400px) rotateY(0deg) rotateX(0deg) translateY(-6px); }
.dashboard__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--light);
    border-bottom: 1px solid var(--light-200);
}
.dashboard__title { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.dashboard__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.dashboard__pill::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%; background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
    animation: pulse-dot 2s ease-in-out infinite;
}
.dashboard__kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    padding: 1.25rem;
}
.kpi {
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.kpi__label { font-size: 0.68rem; color: var(--gray-text); font-weight: 500; }
.kpi__value { font-weight: 700; color: var(--navy); font-size: 1rem; }
.kpi__trend { font-size: 0.7rem; font-weight: 700; color: var(--gold-600); }

.dashboard__chart {
    padding: 0 1.25rem 0.5rem;
    height: 100px;
}
.dashboard__chart svg { width: 100%; height: 100%; }

.dashboard__rows {
    padding: 0.5rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--gray-strong);
    padding: 0.5rem 0.7rem;
    background: var(--light);
    border-radius: var(--radius-sm);
}
.row__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tech-blue); flex: none; }
.row__dot--ok { background: #10b981; }
.row__time { margin-left: auto; font-size: 0.75rem; color: var(--gray-text); }

/* Floating cards */
.floating {
    position: absolute;
    background: var(--white);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: var(--shadow);
    color: var(--gray-strong);
    animation: float 4.5s ease-in-out infinite;
}
.floating strong { display: block; color: var(--navy); font-size: 0.85rem; line-height: 1.1; }
.floating span { font-size: 0.72rem; color: var(--gray-text); }
.floating__icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--navy);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.floating__icon .icon { width: 20px; height: 20px; stroke: currentColor; fill: none; }
.floating__icon--gold { background: var(--gold); color: var(--navy); }
.floating--bot  { top: 6%; left: -6%; }
.floating--auto { bottom: 8%; right: -4%; animation-delay: 1s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* Strip services */
.services-strip {
    position: relative;
    margin-top: 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.1rem 0;
}
.services-strip__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.dot-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* =========================================
   Sections génériques
   ========================================= */
.section { padding: 5.5rem 0; }
.section--light { background: var(--light); }
.section--dark {
    background:
        radial-gradient(60% 60% at 100% 0%, rgba(245, 184, 0, 0.10), transparent 60%),
        var(--navy);
    color: var(--white);
}
.section__head { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.section__title { margin-bottom: 0.85rem; }
.section__title--light { color: var(--white); }
.section__lead { color: var(--gray-text); font-size: 1.05rem; }
.section__lead--light { color: rgba(255, 255, 255, 0.78); }

.eyebrow {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(5, 4, 95, 0.06);
    color: var(--navy);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.eyebrow--light {
    background: rgba(245, 184, 0, 0.15);
    color: var(--gold);
}

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) {
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--5 { grid-template-columns: repeat(2, 1fr); }
    .grid--solutions { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }
    .grid--5 { grid-template-columns: repeat(5, 1fr); }
    .grid--solutions { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
    .grid--solutions { grid-template-columns: repeat(5, 1fr); }
}

/* =========================================
   Cartes : Problème / Feature / Avantage
   ========================================= */
.problem, .feature, .advantage {
    background: var(--white);
    border: 1px solid var(--light-200);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
    position: relative;
    overflow: hidden;
}
.section--light .problem,
.section--light .feature,
.section--light .advantage { border-color: transparent; box-shadow: var(--shadow-sm); }
.problem:hover, .feature:hover, .advantage:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--navy);
}

.problem__icon, .feature__icon, .advantage__icon {
    width: 52px; height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(5, 4, 95, 0.08), rgba(245, 184, 0, 0.12));
    margin-bottom: 1rem;
    color: var(--navy);
}
.problem__icon .icon,
.feature__icon .icon,
.advantage__icon .icon { width: 24px; height: 24px; stroke: var(--navy); }

/* =========================================
   Solutions (cartes sur fond foncé)
   ========================================= */
.solutions .solution {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}
.solutions .solution::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.solution:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(245, 184, 0, 0.4);
}
.solution:hover::before { transform: scaleX(1); }
.solution--featured {
    background:
        linear-gradient(180deg, rgba(245, 184, 0, 0.10), transparent 50%),
        rgba(255, 255, 255, 0.04);
    border-color: rgba(245, 184, 0, 0.35);
}
.solution--featured::before { transform: scaleX(1); }

.solution__icon {
    width: 48px; height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 6px 16px rgba(245, 184, 0, 0.3);
}
.solution__icon .icon { width: 24px; height: 24px; stroke: var(--navy); fill: none; }
.solution h3 { color: var(--white); margin: 0; }
.solution p  { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; margin: 0; }
.solution__list { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.25rem; }
.solution__list li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    padding-left: 1.1rem;
    position: relative;
}
.solution__list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.55em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
}
.solutions .solution .btn { margin-top: auto; }

/* =========================================
   Étapes
   ========================================= */
.steps {
    display: grid;
    gap: 1.5rem;
    align-items: stretch;
}
@media (min-width: 880px) {
    .steps { grid-template-columns: 1fr auto 1fr auto 1fr; }
}
.step {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    position: relative;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(5, 4, 95, 0.25);
}
.step__line {
    align-self: center;
    height: 2px;
    background: linear-gradient(90deg, var(--navy), var(--gold));
    border-radius: 2px;
    min-width: 40px;
    opacity: 0.4;
    display: none;
}
@media (min-width: 880px) { .step__line { display: block; width: 100%; } }

/* =========================================
   Témoignages
   ========================================= */
.testimonial {
    background: var(--white);
    border: 1px solid var(--light-200);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin: 0;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial__stars { color: var(--gold); letter-spacing: 0.15em; font-size: 0.95rem; }
.testimonial blockquote {
    margin: 0;
    color: var(--gray-strong);
    font-size: 1rem;
    line-height: 1.6;
}
.testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}
.avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.testimonial figcaption strong { display: block; color: var(--navy); font-weight: 600; }
.testimonial figcaption span { font-size: 0.82rem; color: var(--gray-text); }

/* =========================================
   FAQ
   ========================================= */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq__item {
    background: var(--white);
    border: 1px solid var(--light-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.faq__item[open] { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 1.5rem;
    font-weight: 600;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: '+';
    font-size: 1.5rem;
    line-height: 1;
    color: var(--gold);
    transition: transform 0.2s;
    flex: none;
}
.faq__item[open] summary::after { content: '−'; }
.faq__item p { padding: 0 1.5rem 1.25rem; margin: 0; color: var(--gray-text); }

/* =========================================
   CTA finale
   ========================================= */
.cta { padding: 5rem 0; }
.cta__card {
    background:
        radial-gradient(60% 60% at 90% 10%, rgba(245, 184, 0, 0.30), transparent 60%),
        radial-gradient(50% 60% at 0% 100%, rgba(45, 107, 255, 0.25), transparent 60%),
        linear-gradient(135deg, var(--navy) 0%, #0a0a7a 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.cta__eyebrow {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(245, 184, 0, 0.18);
    color: var(--gold);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.cta__title {
    color: var(--white);
    font-size: clamp(1.7rem, 2.2vw + 1rem, 2.5rem);
}
.cta__lead { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; max-width: 580px; margin: 0 auto 2rem; }
.cta__note { margin-top: 1.25rem; color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; }

/* =========================================
   Footer
   ========================================= */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.78);
    padding: 4rem 0 1.5rem;
}
.footer h4 { color: var(--white); margin-bottom: 1rem; }
.footer__inner {
    display: grid;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 720px) {
    .footer__inner { grid-template-columns: 1.6fr 1fr 1fr; }
}
.footer__tag { color: rgba(255, 255, 255, 0.65); margin-top: 0.85rem; max-width: 360px; font-size: 0.92rem; }
.footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links a { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}
.footer__slogan { color: var(--gold); font-weight: 500; }

/* =========================================
   Floating WhatsApp button
   ========================================= */
.fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
    z-index: 60;
    transition: transform 0.2s var(--ease);
    animation: bob 3s ease-in-out infinite;
}
.fab::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.4);
    animation: ripple 2.2s ease-out infinite;
}
@keyframes ripple {
    0%   { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0;   }
}
.fab:hover { transform: scale(1.08); }
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* =========================================
   Reveal on scroll
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .dashboard { transform: none; }
}


/* =========================================
   À PROPOS — section "qui sommes-nous"
   ========================================= */
.about {
    position: relative;
    overflow: hidden;
}
.about__inner {
    display: grid;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 980px) {
    .about__inner { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; }
}
.about__title { margin-bottom: 1rem; }
.about__lead { font-size: 1.05rem; color: var(--gray-text); margin-bottom: 1.25rem; }
.about__text p { margin-bottom: 1rem; }
.about__signature {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-200);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.about__signature .avatar { width: 48px; height: 48px; font-size: 1.05rem; }
.about__signature .avatar--logo {
    background: var(--white);
    border: 1px solid var(--light-200);
    padding: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(5, 4, 95, 0.08);
}
.about__signature .avatar--logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}
.about__signature strong { color: var(--navy); display: block; }
.about__signature span { font-size: 0.85rem; color: var(--gray-text); }

/* Bloc visuel "image entreprise africaine" */
.about__visual {
    position: relative;
}
.about__figure {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-200);
    background: linear-gradient(160deg, rgba(5, 4, 95, 0.06), rgba(245, 184, 0, 0.08));
    aspect-ratio: 4 / 3;
}
.about__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.about__figure:hover .about__image { transform: scale(1.03); }
.about__figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 4, 95, 0) 50%, rgba(5, 4, 95, 0.75) 100%);
    pointer-events: none;
}
.about__caption {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    color: var(--white);
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.about__caption-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    font-weight: 600;
}
.about__caption-title {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
}
.stat__value {
    display: block;
    color: var(--gold);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.stat__label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 0.2rem;
}

/* =========================================
   BLOG — page d'index (liste d'articles)
   ========================================= */
.page-hero {
    position: relative;
    color: var(--white);
    padding: 5rem 0 4rem;
    background:
        radial-gradient(60% 50% at 90% 0%, rgba(245, 184, 0, 0.18), transparent 60%),
        radial-gradient(50% 40% at 0% 100%, rgba(45, 107, 255, 0.18), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, #0a0a7a 100%);
    text-align: center;
    overflow: hidden;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.85rem; }
.page-hero p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
}
.page-hero .eyebrow--light { margin-bottom: 1rem; }
.crumbs {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
}
.crumbs a { color: rgba(255, 255, 255, 0.85); border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; }
.crumbs a:hover { color: var(--gold); border-color: var(--gold); }
.crumbs span { color: var(--gold); }

.posts {
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 720px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .posts { grid-template-columns: repeat(3, 1fr); } }

.post-card {
    background: var(--white);
    border: 1px solid var(--light-200);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--navy); }
.post-card__cover {
    height: 170px;
    background:
        radial-gradient(60% 80% at 80% 20%, rgba(245, 184, 0, 0.35), transparent 60%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.post-card__cover .icon { width: 56px; height: 56px; stroke: var(--gold); }
.post-card__cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}
.post-card__body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.post-card__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-text);
    flex-wrap: wrap;
}
.post-card__tag {
    background: rgba(5, 4, 95, 0.08);
    color: var(--navy);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.7rem;
}
.post-card h2 {
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--navy);
    margin: 0;
    transition: color 0.2s;
}
.post-card:hover h2 { color: var(--navy-700); }
.post-card p { margin: 0; color: var(--gray-text); font-size: 0.92rem; }
.post-card__more {
    margin-top: auto;
    padding-top: 0.75rem;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.post-card:hover .post-card__more { color: var(--gold-600); }
.post-card__more .icon { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.post-card:hover .post-card__more .icon { transform: translateX(3px); }

/* =========================================
   BLOG — page article (typographie de lecture)
   ========================================= */
.article-hero {
    position: relative;
    color: var(--white);
    padding: 4rem 0 3.5rem;
    background:
        radial-gradient(60% 50% at 90% 0%, rgba(245, 184, 0, 0.18), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, #0a0a7a 100%);
    overflow: hidden;
}
.article-hero__inner { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.article-hero h1 { color: var(--white); font-size: clamp(1.9rem, 2.4vw + 1rem, 2.9rem); }
.article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    margin-top: 1rem;
}
.article-hero__meta .post-card__tag {
    background: rgba(245, 184, 0, 0.18);
    color: var(--gold);
}

.article-prose {
    max-width: 760px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4rem;
    color: var(--gray-strong);
    font-size: 1.04rem;
    line-height: 1.75;
}
.article-prose h2 {
    font-size: 1.55rem;
    margin: 2.5rem 0 0.85rem;
    color: var(--navy);
}
.article-prose h2::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
    margin-bottom: 0.85rem;
}
.article-prose h3 {
    font-size: 1.15rem;
    margin: 1.75rem 0 0.6rem;
    color: var(--navy);
}
.article-prose p { color: var(--gray-strong); margin: 0 0 1.15rem; }
.article-prose ul, .article-prose ol {
    margin: 0 0 1.4rem 0;
    padding: 0 0 0 1.4rem;
    list-style: disc;
    color: var(--gray-strong);
}
.article-prose ol { list-style: decimal; }
.article-prose li { margin-bottom: 0.45rem; }
.article-prose li::marker { color: var(--gold); }
.article-prose strong { color: var(--navy); }
.article-prose a {
    color: var(--navy);
    border-bottom: 2px solid var(--gold);
    transition: color 0.2s;
}
.article-prose a:hover { color: var(--gold-600); }

.article-prose blockquote {
    margin: 1.75rem 0;
    padding: 1.1rem 1.5rem;
    border-left: 4px solid var(--gold);
    background: rgba(245, 184, 0, 0.08);
    color: var(--navy);
    font-style: italic;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.callout {
    background: linear-gradient(160deg, rgba(5, 4, 95, 0.04), rgba(245, 184, 0, 0.08));
    border: 1px solid var(--light-200);
    border-left: 4px solid var(--navy);
    border-radius: var(--radius);
    padding: 1.25rem 1.4rem;
    margin: 1.75rem 0;
}
.callout__title {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.callout__title .icon { width: 18px; height: 18px; stroke: var(--gold); }
.callout p:last-child { margin-bottom: 0; }
.callout ul:last-child { margin-bottom: 0; }

.article-cta {
    margin: 2.5rem 0 0;
    padding: 1.85rem 1.85rem 2rem;
    border-radius: var(--radius-lg);
    color: var(--white);
    background:
        radial-gradient(60% 60% at 90% 10%, rgba(245, 184, 0, 0.30), transparent 60%),
        linear-gradient(135deg, var(--navy) 0%, #0a0a7a 100%);
    text-align: center;
}
.article-cta h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 0.5rem; }
.article-cta p { color: rgba(255, 255, 255, 0.85); margin: 0 0 1.2rem; }

.article-footer {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
    border-top: 1px solid var(--light-200);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.article-footer a {
    color: var(--navy);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}
.article-footer a:hover { color: var(--gold-600); }
.article-footer .icon { width: 16px; height: 16px; }



/* =========================================
   CHATBOT WIDGET
   ========================================= */
.chatbot {
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 100;
    font-family: 'Poppins', sans-serif;
}

/* Bouton déclencheur */
.chatbot__trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy) 0%, #0a0a7a 100%);
    border: none;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(5, 4, 95, 0.40);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    position: relative;
}
.chatbot__trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 36px rgba(5, 4, 95, 0.50);
}
.chatbot__trigger::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(245, 184, 0, 0.4);
    animation: chatbot-pulse 2.5s ease-out infinite;
}
@keyframes chatbot-pulse {
    0%   { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}
.chatbot__icon-open { display: block; }
.chatbot__icon-close { display: none; }
.chatbot.is-open .chatbot__icon-open { display: none; }
.chatbot.is-open .chatbot__icon-close { display: block; }
.chatbot.is-open .chatbot__trigger::before { display: none; }

/* Badge notification */
.chatbot__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(245, 184, 0, 0.5);
    animation: badge-bounce 2s ease-in-out infinite;
}
@keyframes badge-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.chatbot.is-open .chatbot__badge,
.chatbot.badge-hidden .chatbot__badge { display: none; }

/* Fenêtre du chatbot */
.chatbot__window {
    position: absolute;
    bottom: 75px;
    left: 0;
    width: 380px;
    max-width: calc(100vw - 2rem);
    height: 520px;
    max-height: calc(100vh - 150px);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(5, 4, 95, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.chatbot.is-open .chatbot__window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header du chatbot */
.chatbot__header {
    background: linear-gradient(135deg, var(--navy) 0%, #0a0a7a 100%);
    color: var(--white);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.chatbot__header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.chatbot__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.chatbot__avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}
.chatbot__header-info strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}
.chatbot__status {
    font-size: 0.78rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.chatbot__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    animation: status-pulse 2s infinite;
}
@keyframes status-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.chatbot__close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.chatbot__close:hover {
    background: rgba(255, 255, 255, 0.2);
}
.chatbot__close .icon {
    width: 20px;
    height: 20px;
}

/* Zone des messages */
.chatbot__messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: var(--light);
}

/* Messages individuels */
.chatbot__message {
    max-width: 85%;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    font-size: 0.92rem;
    line-height: 1.5;
    animation: message-appear 0.3s var(--ease);
}
@keyframes message-appear {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.chatbot__message--bot {
    background: var(--white);
    color: var(--gray-strong);
    align-self: flex-start;
    border-bottom-left-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.chatbot__message--bot a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    transition: color 0.2s, border-color 0.2s;
}
.chatbot__message--bot a:hover {
    color: var(--gold-600);
    border-color: var(--gold-600);
}
.chatbot__message--user {
    background: var(--navy);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 6px;
}
.chatbot__message--typing {
    display: flex;
    gap: 4px;
    padding: 1rem 1.25rem;
}
.chatbot__message--typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-text);
    opacity: 0.6;
    animation: typing-dot 1.4s infinite ease-in-out;
}
.chatbot__message--typing span:nth-child(1) { animation-delay: 0s; }
.chatbot__message--typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot__message--typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1.2); opacity: 1; }
}

/* Suggestions rapides */
.chatbot__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--white);
    border-top: 1px solid var(--light-200);
}
.chatbot__suggestion {
    background: var(--light);
    border: 1px solid var(--light-200);
    color: var(--navy);
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    font-family: 'Poppins', sans-serif;
}
.chatbot__suggestion:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* Formulaire d'envoi */
.chatbot__form {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: var(--white);
    border-top: 1px solid var(--light-200);
}
.chatbot__input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-200);
    border-radius: 999px;
    font-size: 0.92rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.chatbot__input:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(5, 4, 95, 0.1);
}
.chatbot__input::placeholder {
    color: var(--gray-text);
    opacity: 0.7;
}
.chatbot__send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}
.chatbot__send:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(245, 184, 0, 0.4);
}
.chatbot__send .icon {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 480px) {
    .chatbot {
        left: 1rem;
    }
    .chatbot__window {
        width: calc(100vw - 2rem);
        left: -0.5rem;
        height: 450px;
    }
    .chatbot__trigger {
        width: 54px;
        height: 54px;
    }
}



/* =========================================
   MICRO-ANIMATIONS PREMIUM
   Animations subtiles pour UX premium
   ========================================= */

/* Animation stagger pour les éléments révélés */
.reveal { 
    --stagger: 0;
    transition-delay: calc(var(--stagger) * 0.1s);
}
.grid .reveal:nth-child(1) { --stagger: 0; }
.grid .reveal:nth-child(2) { --stagger: 1; }
.grid .reveal:nth-child(3) { --stagger: 2; }
.grid .reveal:nth-child(4) { --stagger: 3; }
.grid .reveal:nth-child(5) { --stagger: 4; }
.grid .reveal:nth-child(6) { --stagger: 5; }

/* Animation d'entrée améliorée pour les cartes */
.problem, .feature, .advantage, .solution, .step, .testimonial, .value {
    opacity: 0;
    transform: translateY(30px);
    transition: 
        opacity 0.6s var(--ease),
        transform 0.6s var(--ease),
        box-shadow 0.3s var(--ease),
        border-color 0.3s;
}
.problem.is-visible, .feature.is-visible, .advantage.is-visible, 
.solution.is-visible, .step.is-visible, .testimonial.is-visible, .value.is-visible,
.reveal.is-visible .problem, .reveal.is-visible .feature, .reveal.is-visible .advantage,
.problem.reveal.is-visible, .feature.reveal.is-visible, .advantage.reveal.is-visible,
.solution.reveal.is-visible, .step.reveal.is-visible, .testimonial.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation survol icônes premium */
.problem__icon, .feature__icon, .advantage__icon, .solution__icon, .value__icon {
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.problem:hover .problem__icon,
.feature:hover .feature__icon,
.advantage:hover .advantage__icon,
.solution:hover .solution__icon,
.value:hover .value__icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Animation des icônes SVG au survol */
.problem__icon .icon, .feature__icon .icon, .advantage__icon .icon,
.solution__icon .icon, .value__icon .icon {
    transition: stroke 0.3s, transform 0.3s var(--ease);
}
.problem:hover .problem__icon .icon,
.feature:hover .feature__icon .icon,
.advantage:hover .advantage__icon .icon {
    stroke: var(--gold);
    transform: scale(1.05);
}
.solution:hover .solution__icon .icon {
    transform: scale(1.1);
}

/* Animation boutons CTA premium */
.btn {
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s var(--ease), height 0.6s var(--ease);
}
.btn:hover::before {
    width: 300px;
    height: 300px;
}
.btn--gold::before {
    background: rgba(5, 4, 95, 0.08);
}

/* Animation numéros d'étapes */
.step__num {
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step:hover .step__num {
    transform: scale(1.15);
    box-shadow: 0 12px 30px rgba(5, 4, 95, 0.35);
}

/* Animation ligne de progression entre étapes */
.step__line {
    position: relative;
    overflow: hidden;
}
.step__line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--gold);
    transition: width 1.5s var(--ease);
}
.step__line.is-visible::after {
    width: 100%;
}

/* Animation FAQ accordion fluide */
.faq__item {
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s var(--ease);
}
.faq__item:hover {
    transform: translateX(4px);
}
.faq__item[open] {
    transform: none;
}
.faq__item summary::after {
    transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after {
    transform: rotate(180deg);
}
.faq__item p {
    animation: faq-expand 0.3s var(--ease);
}
@keyframes faq-expand {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Hero title - entrée caractère par caractère effet */
.hero__title {
    animation: hero-title-in 0.8s var(--ease) 0.2s both;
}
.hero__subtitle {
    animation: hero-fade-up 0.7s var(--ease) 0.4s both;
}
.hero__tagline {
    animation: hero-fade-up 0.7s var(--ease) 0.55s both;
}
.hero__cta {
    animation: hero-fade-up 0.7s var(--ease) 0.7s both;
}
.hero__points {
    animation: hero-fade-up 0.7s var(--ease) 0.85s both;
}
@keyframes hero-title-in {
    from {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}
@keyframes hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Dashboard Hero - entrée élégante */
.hero__visual .dashboard {
    animation: dashboard-in 1s var(--ease) 0.5s both;
}
@keyframes dashboard-in {
    from {
        opacity: 0;
        transform: perspective(1400px) rotateY(-15deg) rotateX(5deg) translateY(40px);
    }
    to {
        opacity: 1;
        transform: perspective(1400px) rotateY(-5deg) rotateX(2deg) translateY(0);
    }
}

/* Animation statistiques compteur */
.stat__value {
    display: inline-block;
    transition: transform 0.3s var(--ease);
}
.stat:hover .stat__value {
    transform: scale(1.1);
}

/* Animation KPIs dashboard */
.kpi {
    transition: transform 0.3s var(--ease), background 0.3s;
}
.kpi:hover {
    transform: translateY(-3px);
    background: var(--white);
}

/* Animation liens navbar */
.nav__links a {
    position: relative;
}
.nav__links a::after {
    transform-origin: right;
}
.nav__links a:hover::after {
    transform-origin: left;
}

/* Animation CTA card */
.cta__card {
    animation: cta-glow 4s ease-in-out infinite;
}
@keyframes cta-glow {
    0%, 100% {
        box-shadow: 0 30px 60px rgba(5, 4, 95, 0.25);
    }
    50% {
        box-shadow: 0 35px 70px rgba(5, 4, 95, 0.35), 0 0 60px rgba(245, 184, 0, 0.15);
    }
}

/* Animation section eyebrow */
.eyebrow {
    animation: eyebrow-in 0.5s var(--ease) both;
}
.reveal.is-visible .eyebrow,
.eyebrow.is-visible {
    animation-play-state: running;
}

/* Animation services strip - défilement infini subtil */
.services-strip__inner {
    animation: strip-glow 3s ease-in-out infinite;
}
@keyframes strip-glow {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

/* Animation avatar témoignages */
.testimonial .avatar {
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.testimonial:hover .avatar {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(5, 4, 95, 0.2);
}

/* Animation étoiles témoignages */
.testimonial__stars {
    display: inline-flex;
    gap: 2px;
}
.testimonial:hover .testimonial__stars {
    animation: stars-bounce 0.6s var(--ease);
}
@keyframes stars-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Animation scroll indicator subtil */
@keyframes scroll-hint {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* Animation post cards blog */
.post-card {
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.post-card:hover {
    transform: translateY(-8px);
}
.post-card__cover {
    transition: transform 0.5s var(--ease);
    overflow: hidden;
}
.post-card:hover .post-card__cover img {
    transform: scale(1.05);
}
.post-card__cover img {
    transition: transform 0.5s var(--ease);
}

/* Animation footer links */
.footer__links a {
    transition: color 0.2s, transform 0.2s var(--ease);
    display: inline-block;
}
.footer__links a:hover {
    transform: translateX(4px);
}

/* Amélioration animation floating cards hero */
.floating--bot {
    animation: float 4.5s ease-in-out infinite, float-in 0.8s var(--ease) 0.8s both;
}
.floating--auto {
    animation: float 4.5s ease-in-out infinite 1s, float-in 0.8s var(--ease) 1s both;
}
@keyframes float-in {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Smooth scroll behavior amélioré */
html {
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Animation focus states pour accessibilité */
.btn:focus-visible,
.nav__links a:focus-visible,
.faq__item summary:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* Animation loading skeleton pour images */
.post-card__cover img {
    background: linear-gradient(90deg, var(--light) 25%, var(--light-200) 50%, var(--light) 75%);
    background-size: 200% 100%;
}




/* =========================================
   HIÉRARCHIE VISUELLE & MOBILE OPTIMISÉ
   Espacement, lisibilité et touch targets
   ========================================= */

/* ===== Amélioration typographie mobile ===== */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.7;
    }
    
    h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        line-height: 1.15;
    }
    
    h2 {
        font-size: clamp(1.4rem, 5vw, 2rem);
        line-height: 1.2;
    }
    
    h3 {
        font-size: 1.05rem;
    }
    
    p {
        font-size: 0.95rem;
    }
}

/* ===== Hero mobile optimisé ===== */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0 4rem;
    }
    
    .hero__title {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .hero__subtitle {
        text-align: center;
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .hero__tagline {
        text-align: center;
        font-size: 0.88rem;
        margin-bottom: 1.5rem;
    }
    
    .hero__cta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .hero__cta .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero__points {
        justify-content: center;
        gap: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero__points li {
        flex: 0 0 auto;
    }
    
    /* Dashboard caché sur très petit écran */
    .hero__visual {
        display: none;
    }
    
    .services-strip {
        margin-top: 2rem;
    }
    
    .services-strip__inner {
        font-size: 0.75rem;
        gap: 0.6rem;
    }
}

@media (min-width: 769px) and (max-width: 979px) {
    .hero__visual .dashboard {
        transform: none;
        max-width: 100%;
    }
    
    .floating--bot,
    .floating--auto {
        display: none;
    }
}

/* ===== Sections spacing mobile ===== */
@media (max-width: 768px) {
    .section {
        padding: 3.5rem 0;
    }
    
    .section__head {
        margin-bottom: 2rem;
    }
    
    .section__title {
        margin-bottom: 0.75rem;
    }
    
    .section__lead {
        font-size: 0.95rem;
    }
    
    .eyebrow {
        font-size: 0.68rem;
        padding: 0.3rem 0.75rem;
    }
}

/* ===== Cartes mobile - touch-friendly ===== */
@media (max-width: 768px) {
    .problem, .feature, .advantage {
        padding: 1.5rem 1.25rem;
    }
    
    .problem__icon, .feature__icon, .advantage__icon {
        width: 46px;
        height: 46px;
        margin-bottom: 0.85rem;
    }
    
    .problem h3, .feature h3, .advantage h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .problem p, .feature p, .advantage p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* ===== Solutions mobile ===== */
@media (max-width: 768px) {
    .section--dark {
        padding: 3.5rem 0;
    }
    
    .solutions .solution {
        padding: 1.5rem 1.25rem;
    }
    
    .solution__icon {
        width: 44px;
        height: 44px;
    }
    
    .solution h3 {
        font-size: 1.05rem;
    }
    
    .solution p {
        font-size: 0.88rem;
    }
    
    .solution__list {
        margin-top: 0.5rem;
    }
    
    .solution__list li {
        font-size: 0.85rem;
        padding-left: 1rem;
    }
    
    .solution .btn {
        padding: 0.9rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ===== Steps mobile ===== */
@media (max-width: 879px) {
    .steps {
        gap: 1.25rem;
    }
    
    .step {
        padding: 1.5rem 1.25rem;
    }
    
    .step__num {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }
    
    .step h3 {
        font-size: 1rem;
    }
    
    .step p {
        font-size: 0.9rem;
    }
}

/* ===== Témoignages mobile ===== */
@media (max-width: 768px) {
    .testimonial {
        padding: 1.5rem 1.25rem;
    }
    
    .testimonial blockquote {
        font-size: 0.95rem;
        line-height: 1.65;
    }
    
    .testimonial figcaption {
        gap: 0.65rem;
    }
    
    .avatar {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    
    .testimonial figcaption strong {
        font-size: 0.95rem;
    }
    
    .testimonial figcaption span {
        font-size: 0.78rem;
    }
}

/* ===== FAQ mobile ===== */
@media (max-width: 768px) {
    .faq__item summary {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .faq__item p {
        padding: 0 1.25rem 1.1rem;
        font-size: 0.9rem;
        line-height: 1.65;
    }
}

/* ===== About mobile ===== */
@media (max-width: 979px) {
    .about__inner {
        gap: 2rem;
    }
    
    .about__lead {
        font-size: 1rem;
    }
    
    .about__text p {
        font-size: 0.95rem;
    }

    .about__figure {
        aspect-ratio: 16 / 11;
        max-width: 560px;
        margin: 0 auto;
    }
    .about__caption-title { font-size: 1.05rem; }
}

@media (max-width: 480px) {
    .about__figure { aspect-ratio: 4 / 3; }

    .about__signature {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* ===== CTA mobile ===== */
@media (max-width: 768px) {
    .cta {
        padding: 3rem 0;
    }
    
    .cta__card {
        padding: 2.5rem 1.5rem;
    }
    
    .cta__title {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }
    
    .cta__lead {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .cta__card .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta__note {
        font-size: 0.8rem;
    }
}

/* ===== Footer mobile ===== */
@media (max-width: 719px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer__inner {
        gap: 2rem;
        text-align: center;
    }
    
    .footer h4 {
        font-size: 0.85rem;
    }
    
    .footer__tag {
        font-size: 0.88rem;
    }
    
    .footer__links a {
        font-size: 0.9rem;
        padding: 0.25rem 0;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* ===== Navbar mobile améliorée ===== */
@media (max-width: 879px) {
    .nav__inner {
        padding: 0.75rem 1rem;
    }
    
    .brand__logo {
        width: 34px;
        height: 34px;
    }
    
    .brand__name {
        font-size: 1.05rem;
    }
    
    .nav__links--open {
        padding: 1.25rem 1rem;
        gap: 0.25rem;
    }
    
    .nav__links--open a {
        padding: 0.85rem 1rem;
        font-size: 1rem;
        border-radius: var(--radius-sm);
        transition: background 0.2s;
    }
    
    .nav__links--open a:hover {
        background: var(--light);
    }
    
    /* Touch target minimum 44px */
    .nav__burger {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===== Touch targets minimum 44x44px ===== */
@media (max-width: 768px) {
    .btn {
        min-height: 48px;
    }
    
    .btn--sm {
        min-height: 44px;
    }
    
    .faq__item summary {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .footer__links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* ===== Grilles responsive améliorées ===== */
@media (max-width: 719px) {
    .grid--3,
    .grid--4,
    .grid--5,
    .grid--solutions {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 480px) and (max-width: 719px) {
    /* 2 colonnes sur tablette portrait pour certaines grilles */
    .grid--5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Blog mobile ===== */
@media (max-width: 768px) {
    .page-hero {
        padding: 3.5rem 0 3rem;
    }
    
    .page-hero h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .page-hero p {
        font-size: 0.95rem;
    }
    
    .crumbs {
        font-size: 0.8rem;
    }
    
    .post-card__body {
        padding: 1.25rem;
    }
    
    .post-card h2 {
        font-size: 1.05rem;
    }
    
    .post-card p {
        font-size: 0.88rem;
    }
    
    .post-card__cover {
        height: 150px;
    }
}

/* ===== Article mobile ===== */
@media (max-width: 768px) {
    .article-hero {
        padding: 3rem 0 2.5rem;
    }
    
    .article-hero h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .article-prose {
        padding: 2.5rem 1rem 3rem;
        font-size: 1rem;
    }
    
    .article-prose h2 {
        font-size: 1.35rem;
        margin-top: 2rem;
    }
    
    .article-prose h3 {
        font-size: 1.1rem;
    }
    
    .article-cta {
        padding: 1.5rem;
    }
    
    .article-cta h3 {
        font-size: 1.15rem;
    }
    
    .article-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .article-footer {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem 3rem;
    }
    
    .article-footer a {
        font-size: 0.9rem;
    }
}

/* ===== Safe area pour notch iPhone ===== */
@supports (padding: max(0px)) {
    .nav {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }
    
    .footer {
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    }
    
    .fab {
        right: max(1.25rem, calc(env(safe-area-inset-right) + 0.5rem));
        bottom: max(1.25rem, calc(env(safe-area-inset-bottom) + 0.5rem));
    }
    
    .chatbot {
        left: max(1.25rem, calc(env(safe-area-inset-left) + 0.5rem));
        bottom: max(1.25rem, calc(env(safe-area-inset-bottom) + 0.5rem));
    }
}

/* ===== Amélioration contraste et lisibilité ===== */
.section__lead {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Amélioration espacement sections */
.section + .section--light,
.section--light + .section {
    margin-top: 0;
}

/* Séparateur visuel subtil entre sections */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(80%, 600px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--light-200), transparent);
    opacity: 0;
}

.section--light::before {
    opacity: 0;
}




/* =========================================
   POSITIONNEMENT WHATSAPP & CHATBOT
   Sans superposition - mobile optimisé
   ========================================= */

/* ===== WhatsApp FAB - bas droite ===== */
.fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 56px;
    height: 56px;
    z-index: 90;
}

/* ===== Chatbot - bas gauche ===== */
.chatbot {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 100;
}

/* ===== Mobile : ajustement positions ===== */
@media (max-width: 480px) {
    /* WhatsApp légèrement plus petit sur mobile */
    .fab {
        width: 52px;
        height: 52px;
        right: 1rem;
        bottom: 1rem;
    }
    
    /* Chatbot trigger légèrement plus petit */
    .chatbot {
        left: 1rem;
        bottom: 1rem;
    }
    
    .chatbot__trigger {
        width: 52px;
        height: 52px;
    }
    
    /* Fenêtre chatbot plein écran sur mobile */
    .chatbot__window {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        width: 100%;
        max-width: 100%;
        height: 85vh;
        max-height: 85vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    
    /* Quand chatbot ouvert, cacher le badge WhatsApp pour éviter confusion */
    .chatbot.is-open ~ .fab {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

/* ===== Tablette ===== */
@media (min-width: 481px) and (max-width: 768px) {
    .fab {
        right: 1.25rem;
        bottom: 1.25rem;
    }
    
    .chatbot {
        left: 1.25rem;
        bottom: 1.25rem;
    }
    
    .chatbot__window {
        width: 360px;
        max-width: calc(100vw - 3rem);
        left: 0;
    }
}

/* ===== Desktop ===== */
@media (min-width: 769px) {
    .fab {
        right: 1.5rem;
        bottom: 1.5rem;
        width: 60px;
        height: 60px;
    }
    
    .chatbot {
        left: 1.5rem;
        bottom: 1.5rem;
    }
    
    .chatbot__trigger {
        width: 60px;
        height: 60px;
    }
}

/* ===== Espacement entre les deux boutons flottants ===== */
/* S'assurer qu'ils ne se chevauchent jamais même sur petit écran */
@media (max-width: 380px) {
    .fab {
        right: 0.75rem;
        bottom: 0.75rem;
        width: 48px;
        height: 48px;
    }
    
    .chatbot {
        left: 0.75rem;
        bottom: 0.75rem;
    }
    
    .chatbot__trigger {
        width: 48px;
        height: 48px;
    }
    
    .chatbot__badge {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
}

/* ===== Animation coordonnée ===== */
/* WhatsApp bob animation - décalée du chatbot */
.fab {
    animation: fab-bob 3s ease-in-out infinite;
}

@keyframes fab-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Chatbot pulse - timing différent */
.chatbot__trigger::before {
    animation: chatbot-ring 2.8s ease-out infinite;
}

@keyframes chatbot-ring {
    0% { transform: scale(0.95); opacity: 0.7; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* ===== États interactifs distincts ===== */
.fab:hover {
    transform: scale(1.1) translateY(-3px);
    animation: none;
}

.chatbot__trigger:hover {
    transform: scale(1.1);
}

.chatbot.is-open .chatbot__trigger {
    animation: none;
}

/* ===== Z-index hierarchy claire ===== */
/* Nav: 50, WhatsApp: 90, Chatbot: 100 (chatbot au-dessus car interactif) */
.nav { z-index: 50; }
.fab { z-index: 90; }
.chatbot { z-index: 100; }

/* ===== Accessibilité - focus visible ===== */
.fab:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 3px;
}

.chatbot__trigger:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* ===== Transition quand chatbot s'ouvre ===== */
.chatbot__window {
    transition: 
        opacity 0.3s var(--ease),
        transform 0.3s var(--ease),
        visibility 0.3s;
}

/* ===== Labels accessibles visibles au focus ===== */
.fab::after,
.chatbot__trigger::after {
    content: attr(aria-label);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy);
    color: var(--white);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
    margin-bottom: 8px;
}

.fab:hover::after,
.fab:focus-visible::after,
.chatbot__trigger:hover::after,
.chatbot__trigger:focus-visible::after {
    opacity: 1;
    visibility: visible;
}

/* Masquer tooltip quand chatbot ouvert */
.chatbot.is-open .chatbot__trigger::after {
    display: none;
}

