/* ============================================
   NEWTECH-IA — Thème clair professionnel
   Inspiré de trevys.fr : fond blanc, bleu marine,
   accents bleus, titres avec mot en italique.
   ============================================ */

:root {
    --navy: #0b1b3f;
    --navy-2: #13275a;
    --blue: #2563eb;
    --blue-600: #1d4ed8;
    --blue-50: #eef3ff;
    --blue-100: #dbe6ff;
    --green: #059669;
    --green-50: #e7f7f1;
    --amber: #b45309;
    --amber-50: #fdf3e3;
    --violet: #6d28d9;
    --violet-50: #f1ebfe;

    --text: #0b1b3f;
    --text-2: #4a5672;
    --muted: #7a849b;
    --bg: #ffffff;
    --bg-soft: #f5f7fb;
    --border: #e4e8f1;
    --border-2: #d3d9e6;

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(11, 27, 63, .06);
    --shadow-md: 0 6px 24px -8px rgba(11, 27, 63, .14);
    --shadow-lg: 0 24px 60px -20px rgba(11, 27, 63, .25);

    --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --serif: "Instrument Serif", Georgia, serif;
    --nav-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--blue-100); color: var(--navy); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: none; margin: 0 auto; padding: 0 clamp(16px, 4vw, 72px); }

/* Icônes SVG (sprite) */
.ic {
    width: 18px; height: 18px; flex-shrink: 0;
    fill: none; stroke: currentColor; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
    vertical-align: middle;
}

/* Titres : mot en italique serif, comme trevys.fr */
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 em, h2 em, h3 em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--blue);
    letter-spacing: -0.01em;
}
.gt { color: var(--blue); }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    font-size: 15px; font-weight: 600; line-height: 1;
    border: 1px solid transparent;
    transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.btn .ic { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover .ic { transform: translateX(2px); }
.btn-p { background: var(--navy); color: #fff; }
.btn-p:hover { background: var(--blue); box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .6); }
.btn-p:disabled { background: var(--border-2); color: #fff; box-shadow: none; cursor: not-allowed; }
.btn-o { background: #fff; color: var(--navy); border-color: var(--border-2); }
.btn-o:hover { border-color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-50); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; font-size: 15px; color: var(--blue);
}
.link-arrow .ic { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
    position: sticky; top: 0; z-index: 1000;
    height: var(--nav-h);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-sym {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--navy); color: #fff;
    display: grid; place-items: center;
    font-weight: 800; font-size: 14px; letter-spacing: .02em;
}
.logo-name { font-weight: 800; font-size: 19px; color: var(--navy); letter-spacing: -0.02em; }
.logo-name b { color: var(--blue); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav-links > li { position: relative; }
.nav-links > li > a {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 10px 12px; border-radius: var(--r-sm);
    font-size: 15px; font-weight: 500; color: var(--text-2);
    transition: color .2s, background .2s;
}
.nav-links > li > a:hover,
.has-dd:hover > a,
.has-dd:focus-within > a { color: var(--navy); background: var(--bg-soft); }
.ic-chev { width: 15px; height: 15px; transition: transform .2s; }
.has-dd:hover .ic-chev, .has-dd:focus-within .ic-chev, .has-dd.dd-open .ic-chev { transform: rotate(180deg); }

/* Menu déroulant (style mega-menu Trevys) */
.dd {
    position: absolute; top: calc(100% + 10px); left: -8px;
    min-width: 320px; padding: 8px;
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--r-md); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility .18s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-dd:hover .dd, .has-dd:focus-within .dd, .has-dd.dd-open .dd { opacity: 1; visibility: visible; transform: translateY(0); }
.dd a { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); transition: background .15s; }
.dd a:hover { background: var(--bg-soft); }
.dd-ico {
    width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
    display: grid; place-items: center;
    background: var(--blue-50); color: var(--blue);
}
.dd-txt { display: flex; flex-direction: column; gap: 2px; }
.dd-txt b { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.dd-txt small { font-size: 13px; color: var(--muted); line-height: 1.4; }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-client {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 14.5px; font-weight: 600; color: var(--navy);
    padding: 9px 12px; border-radius: 999px;
}
.nav-client:hover { background: var(--bg-soft); }
.nav-client .ic { width: 17px; height: 17px; }

.lang-switch { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.lang-btn { border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.lang-btn.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--border); background: #fff; border-radius: 10px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.mobile-menu-header, .mobile-menu-footer, .mobile-overlay { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: 72px 0 88px;
    min-height: calc(100vh - var(--nav-h));
    display: flex; align-items: center;
    background:
        radial-gradient(800px 400px at 85% 10%, var(--blue-50), transparent 70%),
        linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(600px 300px at 80% 20%, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(600px 300px at 80% 20%, #000, transparent 75%);
    opacity: .55;
}
.hero-grid { width: 100%; position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px;
    background: #fff; border: 1px solid var(--border);
    font-size: 13px; font-weight: 600; color: var(--text-2);
    box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-50); }

.hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); margin: 22px 0 18px; letter-spacing: -0.035em; }
.hero h1 > span, .hero h1 > em { display: block; }
.hero h1 em { font-size: 1.08em; line-height: 1.05; }
.hero-lead { font-size: 1.2rem; font-weight: 600; color: var(--navy); margin-bottom: 12px; min-height: 1.6em; }
.typing-wrap .gt { border-right: 2px solid var(--blue); padding-right: 3px; }
.hero-desc { font-size: 1.06rem; color: var(--text-2); max-width: 540px; margin-bottom: 30px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-checks li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--text-2); font-weight: 500; }
.hero-checks .ic { width: 16px; height: 16px; color: var(--green); stroke-width: 2.4; }

/* Tableau de bord illustratif */
.hero-dash {
    background: #fff; border: 1px solid var(--border);
    border-radius: 20px; box-shadow: var(--shadow-lg);
    padding: 18px; display: grid; gap: 14px;
    transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
}
.dash-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.dash-dots { display: flex; gap: 5px; }
.dash-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border-2); }
.dash-title { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.dash-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-50); padding: 4px 10px; border-radius: 999px; }
.dash-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px; }
.kpi-ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #fff; color: var(--blue); border: 1px solid var(--border); margin-bottom: 10px; }
.kpi-ico .ic { width: 15px; height: 15px; }
.hm-val { font-size: 1.55rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1.1; }
.hm-label { font-size: 12px; color: var(--muted); font-weight: 500; }

.dash-chart { border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 12px 4px; }
.dash-chart-head { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.dash-up { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 700; }
.dash-up .ic { width: 14px; height: 14px; }
.chart-svg { width: 100%; height: 100px; display: block; }

.dash-feed { display: grid; gap: 8px; }
.feed-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: var(--bg-soft); }
.feed-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.feed-ico .ic { width: 15px; height: 15px; }
.f-blue { background: var(--blue-50); color: var(--blue); }
.f-green { background: var(--green-50); color: var(--green); }
.feed-txt { font-size: 13px; font-weight: 500; color: var(--navy); }
.feed-ok { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.feed-ok .ic { width: 12px; height: 12px; stroke-width: 3; }

/* ---------- Bande de confiance + logos ---------- */
.trust { padding: 36px 0 44px; border-bottom: 1px solid var(--border); }
.trust-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.trust-items li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.trust-items .ic { width: 20px; height: 20px; color: var(--blue); }
.marquee-label { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.marquee-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.m-logo { font-size: 18px; font-weight: 700; color: #a3abbd; letter-spacing: -0.01em; white-space: nowrap; transition: color .2s; }
.m-logo:hover { color: var(--navy); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.sec-head { max-width: 820px; margin: 0 auto 52px; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 14px 0 14px; }
.sec-head .desc, .desc { color: var(--text-2); font-size: 1.05rem; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; text-align: left; }
.sec-head-row h2 { margin-bottom: 0; }
.sec-head-row .desc { max-width: 440px; }
.sec-head-left { text-align: left; margin: 0; }
.sec-head-left .link-arrow { margin-top: 10px; }
.tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--blue);
}
.tag::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

/* Métiers (2 grandes cartes) */
.metiers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.metier {
    position: relative; overflow: hidden;
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: 40px; display: flex; flex-direction: column; gap: 14px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.metier:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.metier h3 { font-size: 1.6rem; }
.metier p { color: var(--text-2); }
.metier .link-arrow { margin-top: auto; padding-top: 8px; }
.metier-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.metier-ico .ic { width: 24px; height: 24px; }
.metier-dark { background: var(--navy); border-color: var(--navy); }
.metier-dark::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.45), transparent 70%); }
.metier-dark h3 { color: #fff; }
.metier-dark p { color: #c4cde3; }
.metier-dark .metier-ico { background: rgba(255,255,255,.1); color: #fff; }
.metier-dark .svc-tag { background: rgba(255,255,255,.08); color: #dbe3f5; border-color: rgba(255,255,255,.14); }
.metier-dark .link-arrow { color: #fff; }

.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tag { font-size: 12.5px; font-weight: 600; color: var(--text-2); background: var(--bg-soft); border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px; }

.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc { display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; transition: border-color .2s, box-shadow .2s; }
.svc:hover { border-color: var(--border-2); box-shadow: var(--shadow-md); }
.svc h4 { font-size: 1.1rem; margin-bottom: 6px; }
.svc p { color: var(--text-2); font-size: 15px; }
.svc-ico { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--border); color: var(--navy); }
.svc-ico .ic { width: 21px; height: 21px; }

/* À propos / expertise */
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.exp-img { position: relative; }
.exp-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }
.exp-badge {
    position: absolute; left: -24px; bottom: 32px;
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--border); border-radius: 14px;
    padding: 14px 18px; box-shadow: var(--shadow-md);
}
.exp-badge b { display: block; font-size: 14.5px; color: var(--navy); }
.exp-badge small { font-size: 12.5px; color: var(--muted); }
.exp-badge-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--green-50); color: var(--green); }
.exp-content h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin: 14px 0; }
.exp-list { display: grid; gap: 4px; margin-top: 28px; }
.exp-item { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); }
.exp-item:last-child { border-bottom: 1px solid var(--border); }
.exp-item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.exp-item p { color: var(--text-2); font-size: 15px; }
.exp-ico { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); color: var(--blue); }

/* Réalisations */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sol-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.img-wrap { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sol-card:hover .img-wrap img { transform: scale(1.04); }
.sol-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sol-body h3 { font-size: 1.2rem; }
.sol-body p { color: var(--text-2); font-size: 15px; flex: 1; }
.sol-cat { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.sol-cat .ic { width: 13px; height: 13px; }
.c-auto { background: var(--blue-50); color: var(--blue-600); }
.c-crm { background: var(--green-50); color: var(--green); }
.c-agent { background: var(--violet-50); color: var(--violet); }
.c-edu { background: var(--amber-50); color: var(--amber); }
.c-rag { background: #e9f6fb; color: #0e7490; }

/* Méthode */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.step-box { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; }
.step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.step-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.step-ico .ic { width: 21px; height: 21px; }
.step-num { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--border-2); line-height: 1; }
.step-box h4 { font-size: 1.15rem; margin-bottom: 8px; }
.step-box p { color: var(--text-2); font-size: 15px; }

/* Bloc prise de rendez-vous */
.audit-cta { background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 44px; box-shadow: var(--shadow-md); scroll-margin-top: calc(var(--nav-h) + 16px); }
.audit-head { text-align: center; max-width: 640px; margin: 0 auto 30px; }
.audit-head h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 10px; }
.audit-head p { color: var(--text-2); }

.bk-steps { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.bk-step { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.bk-step.bk-active { color: var(--navy); font-weight: 600; }
.bk-step.bk-done { color: var(--green); }
.bk-step-num { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border-2); display: grid; place-items: center; font-size: 12px; font-weight: 700; background: #fff; }
.bk-step.bk-active .bk-step-num { border-color: var(--blue); background: var(--blue); color: #fff; }
.bk-step.bk-done .bk-step-num { border-color: var(--green); background: var(--green); color: #fff; }
.bk-step-line { width: 36px; height: 1.5px; background: var(--border-2); }

.bk-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.bk-left, .bk-right { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.bk-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.bk-month-label { font-size: 15.5px; font-weight: 700; color: var(--navy); text-transform: capitalize; }
.bk-nav { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border); background: #fff; color: var(--navy); display: grid; place-items: center; transition: border-color .2s, color .2s; }
.bk-nav:hover { border-color: var(--blue); color: var(--blue); }
.bk-nav .ic { width: 16px; height: 16px; }
.bk-day-names, .bk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bk-day-names { margin-bottom: 6px; }
.bk-dn { text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.bk-cell { aspect-ratio: 1; display: grid; place-items: center; font-size: 13px; font-weight: 500; border-radius: 9px; position: relative; color: var(--text-2); border: 1px solid transparent; transition: background .15s, border-color .15s; }
.bk-cell.bk-past, .bk-cell.bk-unavail { color: #c2c8d6; }
.bk-cell.bk-loading { animation: pulse .9s infinite; }
.bk-cell.bk-avail { background: #fff; border-color: var(--blue-100); color: var(--navy); font-weight: 600; cursor: pointer; }
.bk-cell.bk-avail:hover { border-color: var(--blue); background: var(--blue-50); }
.bk-cell.bk-sel { background: var(--blue) !important; border-color: var(--blue) !important; color: #fff !important; font-weight: 700; }
.bk-cell.bk-today::after { content: ""; position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }
.bk-cell.bk-sel.bk-today::after { background: #fff; }
.bk-slots-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 16px 0 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.bk-slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 6px; }
.bk-slot { background: #fff; border: 1px solid var(--border); color: var(--navy); padding: 8px 4px; border-radius: 9px; font-size: 13px; font-weight: 600; transition: border-color .15s, color .15s; }
.bk-slot:hover { border-color: var(--blue); color: var(--blue); }
.bk-slot.bk-sel { background: var(--blue); border-color: var(--blue); color: #fff; }
.bk-slot-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 13px; padding: 12px 0; }
.bk-spin { width: 22px; height: 22px; margin: 0 auto; border: 2px solid var(--border-2); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.bk-banner { display: flex; align-items: center; gap: 8px; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-600); border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.bk-change { margin-left: auto; font-size: 12.5px; font-weight: 500; color: var(--text-2); cursor: pointer; text-decoration: underline; }
.bk-fg { margin-bottom: 12px; }
.bk-fg label, .fg label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.bk-req { color: var(--blue); }
.bk-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bk-input, .fg input, .fg textarea, .lead-input {
    width: 100%; font: inherit; font-size: 15px; color: var(--navy);
    background: #fff; border: 1px solid var(--border-2); border-radius: 10px;
    padding: 11px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.bk-input:focus, .fg input:focus, .fg textarea:focus, .lead-input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.bk-input::placeholder, .fg input::placeholder, .fg textarea::placeholder, .lead-input::placeholder { color: #9aa3b8; }
textarea.bk-input { resize: vertical; }
.bk-btn { width: 100%; margin-top: 4px; border-radius: 12px; }
.bk-err, .form-err { background: #fdecec; border: 1px solid #f6c6c6; color: #b42318; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; margin-bottom: 12px; }
.bk-success { text-align: center; padding: 28px 10px; }
.bk-success h3 { font-size: 1.3rem; margin: 14px 0 6px; }
.bk-success p { color: var(--text-2); font-size: 14.5px; }
.bk-success-icon { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; }
.bk-success-icon .ic { width: 26px; height: 26px; stroke-width: 2.6; }
.bk-success-detail { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-weight: 600; font-size: 14px; color: var(--navy); }
.bk-success-detail .ic { width: 16px; height: 16px; color: var(--blue); }
.bk-success-sub { margin-top: 10px; font-size: 13px !important; }
.bk-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 24px; }
.bk-trust > span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.bk-trust .ic { width: 16px; height: 16px; color: var(--blue); }

/* Résultats (bandeau marine) */
.stats { padding: 96px 0; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; left: 50%; top: -200px; width: 900px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(37,99,235,.35), transparent); }
.stats .container { position: relative; }
.stats h2 { color: #fff; }
.stats h2 em { color: #8fb3ff; }
.tag-light { color: #8fb3ff; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.stat-box { padding: 32px 24px 8px; border-left: 1px solid rgba(255,255,255,.14); }
.stat-box:first-child { border-left: 0; padding-left: 0; }
.stat-val { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 12px; }
.stat-lbl { font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.stat-sub { color: #aeb9d4; font-size: 14.5px; }

/* Témoignages */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.testi-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 34px; display: flex; flex-direction: column; gap: 18px; }
.testi-stars { display: flex; gap: 3px; color: #f5a524; }
.testi-stars .ic { width: 17px; height: 17px; }
.testi-card blockquote { font-size: 1.12rem; line-height: 1.6; color: var(--navy); flex: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); font-weight: 700; font-size: 14px; flex-shrink: 0; }
.testi-name { display: block; font-weight: 700; color: var(--navy); font-size: 15px; }
.testi-role { display: block; color: var(--muted); font-size: 13.5px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; color: var(--navy); font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { width: 20px; height: 20px; color: var(--blue); transition: transform .25s; }
.faq-item[open] summary .ic { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: var(--text-2); font-size: 15px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin: 14px 0; }
.contact-info .desc { margin-bottom: 28px; }
.c-detail { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 14px; transition: border-color .2s; }
.c-detail:hover { border-color: var(--blue); }
.c-detail-ico { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.c-detail-txt { display: flex; flex-direction: column; font-size: 15px; color: var(--text-2); }
.c-detail-txt strong { color: var(--navy); font-size: 14px; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.office { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--border); border-radius: 14px; }
.office > div { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; color: var(--text-2); }
.office strong { color: var(--navy); }
.office a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; margin-top: 4px; }
.office a .ic { width: 15px; height: 15px; }

.contact-form { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 22px; padding: 34px; }
.fg { margin-bottom: 16px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg textarea { min-height: 140px; resize: vertical; }
#contactStatus { margin-bottom: 14px; font-size: 14px; padding: 10px 14px; border-radius: 10px; }
.contact-status.success, #contactStatus.success { background: var(--green-50); color: var(--green); }
.contact-status.error, #contactStatus.error { background: #fdecec; color: #b42318; }

/* CTA final */
.final-cta { padding: 0 0 96px; }
.cta-inner {
    position: relative; overflow: hidden;
    background: var(--navy); border-radius: 26px;
    padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-inner::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.5), transparent 70%); }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 10px; }
.cta-inner h2 em { color: #8fb3ff; }
.cta-inner p { color: #c4cde3; max-width: 520px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* Footer */
.footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; margin-bottom: 52px; }
.footer-brand p { color: var(--text-2); font-size: 14.5px; margin: 16px 0 20px; max-width: 300px; }
.footer-col h4 { font-size: 14px; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14.5px; color: var(--text-2); transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-bot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--muted); }
.footer-bot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bot-links a:hover { color: var(--navy); }

/* ---------- Popups (solutions, légal, équipe) ---------- */
.sol-overlay, .team-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(11, 27, 63, .45); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; padding: 16px;
    opacity: 0; pointer-events: none; transition: opacity .25s;
}
.sol-overlay.active, .team-overlay.active { opacity: 1; pointer-events: auto; }
.sol-popup-modal, .team-popup {
    position: relative; width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto;
    background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
    padding: 40px 36px 34px;
    transform: translateY(16px) scale(.98); transition: transform .25s;
}
.sol-overlay.active .sol-popup-modal, .team-overlay.active .team-popup { transform: none; }
.legal-popup-modal { max-width: 760px; }
.team-close {
    position: absolute; top: 14px; right: 14px;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border); background: #fff; color: var(--text-2);
    font-size: 22px; line-height: 1; display: grid; place-items: center;
}
.team-close:hover { color: var(--navy); border-color: var(--border-2); }
.sol-popup-badge { margin-bottom: 12px; background: var(--blue-50); color: var(--blue-600); }
.sol-popup-title { font-size: 1.6rem; margin-bottom: 16px; padding-right: 30px; }
.sol-popup-body { color: var(--text-2); line-height: 1.75; font-size: 15px; }
.sol-popup-body p { margin-bottom: .8rem; }
.sol-popup-body .sp-intro { font-size: 1.05rem; color: var(--navy); margin-bottom: 1.2rem; }
.sol-popup-body .sp-h { font-size: .9rem; font-weight: 700; color: var(--blue); margin: 1.4rem 0 .5rem; text-transform: uppercase; letter-spacing: .06em; }
.sol-popup-body .sp-list { margin-bottom: 1rem; }
.sol-popup-body .sp-list li { padding: .25rem 0 .25rem 1.3rem; position: relative; }
.sol-popup-body .sp-list li::before { content: ""; position: absolute; left: 2px; top: .85rem; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.sol-popup-body .sp-steps li::before { display: none; }
.sol-popup-body .sp-closing { margin-top: 1.2rem; color: var(--navy); font-style: italic; }
.sol-popup-body .sp-tags { margin-top: 1rem; font-size: .8rem; color: var(--muted); }
.sol-popup-body .sp-example { background: var(--bg-soft); border-left: 3px solid var(--blue); padding: .75rem 1rem; border-radius: 0 10px 10px 0; margin: .5rem 0 1rem; }
.sol-popup-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.team-popup { max-width: 860px; text-align: center; }
.team-popup-header h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 10px 0 30px; }
.team-members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-medallion { width: 132px; height: 132px; margin: 0 auto 14px; border-radius: 50%; padding: 4px; background: linear-gradient(135deg, var(--blue), var(--navy)); }
.medallion-photo { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.team-name { font-size: 1.1rem; }
.team-role { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Popup newsletter */
.lead-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(11, 27, 63, .45); backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: 16px; }
.lead-popup { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 36px 30px 26px; }
.lead-head { text-align: center; margin-bottom: 22px; }
.lead-ico { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.lead-ico .ic { width: 24px; height: 24px; }
.lead-head h3 { font-size: 1.3rem; margin-bottom: 6px; }
.lead-head p { color: var(--text-2); font-size: 14px; }
.lead-input { margin-bottom: 10px; }
#leadForm .btn { margin-top: 6px; }
.lead-legal { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; }
.lead-success { text-align: center; padding: 16px 0; }
.lead-success h3 { margin: 14px 0 6px; }
.lead-success p { color: var(--text-2); font-size: 14px; }

/* ---------- Avatar Eythan + chatbot ---------- */
.eythan-bubble { position: fixed; right: 0; bottom: 0; z-index: 900; cursor: pointer; user-select: none; animation: eythanEnter .8s cubic-bezier(.34, 1.4, .64, 1) forwards; }
.eythan-img { width: min(240px, 34vw); height: auto; filter: drop-shadow(0 10px 24px rgba(11, 27, 63, .2)); animation: eythanFloat 3s ease-in-out infinite; }
@keyframes eythanEnter { 0% { opacity: 0; transform: translateY(100%) scale(.7); } 70% { opacity: 1; transform: translateY(-8px); } 100% { opacity: 1; transform: none; } }
@keyframes eythanFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.eythan-bubble.dissolving { animation: fadeAway 1s ease forwards; }
@keyframes fadeAway { to { opacity: 0; transform: scale(.6); pointer-events: none; } }

.chat-bubble {
    position: fixed; right: 20px; bottom: 20px; z-index: 9998;
    width: 360px; max-height: 500px; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg);
    opacity: 0; pointer-events: none; transform: translateY(16px) scale(.97);
    transition: opacity .2s, transform .2s;
}
.chat-bubble--open { opacity: 1; pointer-events: auto; transform: none; }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--navy); border-radius: 18px 18px 0 0; }
.chat-title { color: #fff; font-weight: 700; font-size: 14.5px; }
.chat-close { background: none; border: 0; color: #c4cde3; font-size: 16px; padding: 2px 6px; }
.chat-close:hover { color: #fff; }
.chat-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; max-height: 330px; background: var(--bg-soft); }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; word-break: break-word; }
.chat-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--border); color: var(--navy); border-bottom-left-radius: 4px; }
.chat-msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.chat-typing { display: flex; gap: 5px; align-items: center; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: typingDot 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot { 0%, 80%, 100% { transform: scale(.7); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
.chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.chat-input { flex: 1; font: inherit; font-size: 14px; color: var(--navy); background: #fff; border: 1px solid var(--border-2); border-radius: 10px; padding: 9px 12px; outline: none; }
.chat-input:focus { border-color: var(--blue); }
.chat-send { border: 0; background: var(--navy); color: #fff; border-radius: 10px; padding: 0 14px; }
.chat-send:hover { background: var(--blue); }

/* Retour en haut */
.back-top {
    position: fixed; left: 20px; bottom: 20px; z-index: 800;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--border); background: #fff; color: var(--navy); box-shadow: var(--shadow-md);
    display: grid; place-items: center;
    opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s, transform .2s;
}
.back-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { color: var(--blue); }

/* Apparition au scroll */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.rv.visible { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .05s; } .rv-d2 { transition-delay: .12s; }
.rv-d3 { transition-delay: .19s; } .rv-d4 { transition-delay: .26s; }

/* Ancre : compenser la barre de navigation fixe */
section[id] { scroll-margin-top: var(--nav-h); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .nav-inner { gap: 18px; }
    .nav-links > li > a { padding: 10px 9px; font-size: 14.5px; }
    .nav-client span { display: none; }
}

@media (max-width: 1240px) {
    .burger { display: flex; }
    .nav-client, .nav-right .btn, .nav-right .lang-switch { display: none; }
    .nav-right { margin-left: auto; }

    /* Le menu est déplacé dans <body> par main.js quand il s'ouvre */
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column; align-items: stretch; gap: 0;
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 3000;
        width: min(380px, 88vw); margin: 0; padding: 0 0 24px;
        background: #fff; box-shadow: var(--shadow-lg); overflow-y: auto;
        animation: slideIn .25s ease;
    }
    @keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
    .mobile-overlay.active { display: block; position: fixed; inset: 0; z-index: 2999; background: rgba(11, 27, 63, .4); }
    .nav-links.open > .mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
    .nav-links.open > li > a { display: flex; justify-content: space-between; padding: 14px 20px; border-radius: 0; font-size: 16px; color: var(--navy); font-weight: 600; }
    .nav-links.open > li > a:hover { background: var(--bg-soft); }
    .nav-links.open .dd { position: static; min-width: 0; box-shadow: none; border: 0; border-radius: 0; padding: 0 12px 8px; opacity: 1; visibility: visible; transform: none; display: none; }
    .nav-links.open .has-dd.dd-open .dd { display: block; }
    .nav-links.open .has-dd:hover .dd { display: none; }
    .nav-links.open .has-dd.dd-open:hover .dd { display: block; }
    .nav-links.open > .mobile-menu-footer { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding: 20px; border-top: 1px solid var(--border); }
    .mobile-utils-row { display: flex; justify-content: center; }
    .mobile-utils-row .lang-switch { display: inline-flex; }
    .nav-links.open > li > a.mobile-contact, .mobile-contact { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; }
    .nav-links.open > li > a.mobile-contact.alt, .mobile-contact.alt { background: #fff; color: var(--navy); border: 1px solid var(--border-2); }

    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-dash { transform: none; max-width: 560px; }
    .trust-items { grid-template-columns: 1fr 1fr; }
    .exp-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
    .exp-img img { aspect-ratio: 16/10; }
    .exp-badge { left: 16px; bottom: 16px; }
    .sol-grid { grid-template-columns: 1fr 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .stat-box:nth-child(3) { border-left: 0; padding-left: 0; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
    :root { --nav-h: 66px; }
    .container { padding: 0 16px; }
    .section, .stats { padding: 64px 0; }
    .hero { padding: 40px 0 56px; min-height: 0; }
    .sec-head { margin-bottom: 36px; }
    .sec-head-row { flex-direction: column; align-items: flex-start; gap: 14px; }
    .metiers, .svc-row, .sol-grid, .steps-row, .testi-grid, .offices, .bk-body, .fg-row { grid-template-columns: 1fr; }
    .metier { padding: 28px; }
    .dash-kpis { gap: 8px; }
    .kpi { padding: 10px; }
    .hm-val { font-size: 1.25rem; }
    .trust-items { gap: 14px; }
    .trust-items li { font-size: 13.5px; }
    .audit-cta { padding: 24px 16px; border-radius: 18px; }
    .bk-left, .bk-right { padding: 16px; }
    .bk-step-line { display: none; }
    .contact-form { padding: 22px; }
    .cta-inner { padding: 36px 24px; }
    .cta-btns, .cta-btns .btn { width: 100%; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .stat-box { padding: 24px 12px 0; }
    .stat-box:nth-child(odd) { border-left: 0; padding-left: 0; }
    .team-members { grid-template-columns: 1fr; }
    .sol-popup-modal, .team-popup { padding: 32px 20px 24px; }
    .footer-grid { gap: 28px; }
    .eythan-img { width: min(150px, 34vw); }
    .chat-bubble { width: calc(100vw - 24px); right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .rv { opacity: 1; transform: none; }
}

/* ---------- Carrousel (géré dans le back office) ---------- */
.carousel-sec { padding: 0; background: var(--navy); }
.carousel { position: relative; height: clamp(380px, 62vh, 640px); overflow: hidden; }
.carousel.car-small { height: clamp(220px, 32vh, 340px); }
.carousel.car-medium { height: clamp(320px, 48vh, 500px); }
.carousel.car-full { height: calc(100vh - var(--nav-h)); min-height: 460px; }
.car-small .car-text h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.car-small .car-text p { margin-bottom: 16px; }
.car-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.car-slide.is-active { opacity: 1; visibility: visible; }
.car-slide > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease; }
.car-slide.is-active > img { transform: scale(1); }
.car-slide.has-overlay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,27,63,.82) 0%, rgba(11,27,63,.45) 55%, rgba(11,27,63,.15) 100%); }
.car-slide.align-center.has-overlay::after { background: rgba(11,27,63,.55); }
.car-content { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; }
.car-text { max-width: 620px; color: #fff; }
.align-center .car-content { justify-content: center; text-align: center; }
.align-center .car-text { margin: 0 auto; }
.car-text h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3.2rem); margin-bottom: 14px; }
.car-text p { font-size: 1.12rem; color: #dbe3f5; margin-bottom: 26px; }
.car-slide:not(.has-overlay) .car-text h2, .car-slide:not(.has-overlay) .car-text p { text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.car-arrow {
    position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff;
    display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s;
}
.car-arrow:hover { background: rgba(255,255,255,.28); }
.car-prev { left: clamp(12px, 2vw, 32px); }
.car-next { right: clamp(12px, 2vw, 32px); }
.car-dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.car-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); transition: width .3s, background .3s; }
.car-dot.is-active { width: 28px; background: #fff; }

/* Petits éléments gérés dans le back office */
.logo-img { height: 38px; width: auto; border-radius: 8px; }
.m-logo img { height: 30px; width: auto; filter: grayscale(1); opacity: .6; transition: filter .2s, opacity .2s; }
.m-logo img:hover { filter: none; opacity: 1; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-2); background: #fff; color: var(--navy); display: grid; place-items: center; transition: color .2s, border-color .2s; }
.footer-social a:hover { color: var(--blue); border-color: var(--blue); }
.medallion-initials { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; background: var(--blue-50); color: var(--navy); display: grid; place-items: center; font-size: 2.6rem; font-weight: 800; }
.svc .link-arrow { margin-top: 10px; font-size: 14px; }

@media (max-width: 720px) {
    .carousel, .carousel.car-medium, .carousel.car-large { height: 440px; }
    .carousel.car-small { height: 300px; }
    .car-arrow { display: none; }
    .car-slide.has-overlay::after { background: linear-gradient(0deg, rgba(11,27,63,.88) 0%, rgba(11,27,63,.45) 70%); }
    .car-content { align-items: flex-end; padding-bottom: 60px; }
}

/* Le texte du carrousel ne passe pas sous les flèches */
@media (min-width: 721px) {
    .carousel .car-content { padding-left: max(96px, clamp(16px, 4vw, 72px)); padding-right: max(96px, clamp(16px, 4vw, 72px)); }
}

/* Bloc « Logos clients » séparé des engagements */
.trust { padding: 36px 0; border-bottom: 1px solid var(--border); }
.trust-items { margin-bottom: 0; }
.logos-sec { padding: 36px 0 44px; border-bottom: 1px solid var(--border); }

/* Bloc « Notre expertise » enrichi : 2 colonnes d'expertises + technologies */
.exp-grid { grid-template-columns: .85fr 1.15fr; align-items: start; }
.exp-img { position: sticky; top: calc(var(--nt-sticky, var(--nav-h)) + 24px); }
.exp-list { grid-template-columns: 1fr 1fr; gap: 14px; }
.exp-item { flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; transition: border-color .2s, box-shadow .2s; }
.exp-item:last-child { border-bottom: 1px solid var(--border); }
.exp-item:hover { border-color: var(--border-2); box-shadow: var(--shadow-md); }
.exp-item p { font-size: 14.5px; }
.exp-ico { background: var(--blue-50); border-color: transparent; }
.exp-tech { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.exp-tech-label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.exp-tech-list { display: flex; flex-wrap: wrap; gap: 8px; }
.exp-chip { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--navy); }
@media (max-width: 1024px) {
    .exp-img { position: relative; top: auto; }
}
@media (max-width: 720px) {
    .exp-list { grid-template-columns: 1fr; }
}
/* Listes doublées FR / EN : on montre celle de la langue choisie */
html[lang="en"] .lang-fr, html:not([lang="en"]) .lang-en { display: none !important; }

/* Menu : jamais de libellé coupé sur deux lignes (libellés modifiables dans le back office) */
.nav-links > li > a, .nav-client, .nav-right .btn { white-space: nowrap; }
.nav-inner { gap: 20px; }
@media (max-width: 1320px) {
    .nav-links > li > a { padding: 10px 8px; font-size: 14.5px; }
    .nav-client span { display: none; }
}

/* Bloc « Services » enrichi : petites cartes sur 3 colonnes + « Pourquoi nous choisir » */
.svc-row { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { flex-direction: column; gap: 14px; padding: 26px; }
.svc > div { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc .svc-tags { margin-top: 4px; }
.svc .link-arrow { margin-top: auto; padding-top: 6px; }
.svc-ico { background: var(--blue-50); border-color: transparent; color: var(--blue); }
.svc-why {
    margin-top: 28px; padding: 26px 30px; border-radius: var(--r-lg);
    background: var(--navy); color: #fff;
    display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.svc-why-title { font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: #8fb3ff; white-space: nowrap; }
.svc-why-list { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px; }
.svc-why-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; font-weight: 500; color: #dbe3f5; line-height: 1.45; }
.svc-why-list .ic { width: 18px; height: 18px; flex-shrink: 0; color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; stroke-width: 3; }
@media (max-width: 1240px) {
    .svc-row { grid-template-columns: repeat(2, 1fr); }
    .svc-why-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .svc-row, .svc-why-list { grid-template-columns: 1fr; }
    .svc-why { padding: 22px; gap: 16px; }
}

/* Fenêtre « Espace client » */
.client-form { display: grid; gap: 6px; }
.client-label { font-size: 13px; font-weight: 600; color: var(--navy); margin-top: 6px; }
.client-form .btn { margin-top: 12px; }
.client-help { display: block; text-align: center; margin-top: 16px; font-size: 13.5px; color: var(--blue); font-weight: 500; }
.client-help:hover { text-decoration: underline; }

/* Haut de page enrichi : équipe, clients, 3e activité, carte flottante */
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.hero-team { display: inline-flex; align-items: center; gap: 12px; }
.hero-avatars { display: flex; }
.hero-avatars img, .hero-avatars span { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -10px; box-shadow: var(--shadow-sm); background: var(--blue-50); display: grid; place-items: center; font-weight: 700; color: var(--navy); }
.hero-avatars > :first-child { margin-left: 0; }
.hero-team-txt { font-size: 14px; font-weight: 600; color: var(--navy); max-width: 210px; line-height: 1.35; }
.hero-team:hover .hero-team-txt { color: var(--blue); }
.hero-trusted { display: flex; flex-direction: column; gap: 4px; }
.hero-trusted-label { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero-trusted-names { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14.5px; font-weight: 700; color: #8f98ad; }
.hero-dash { position: relative; }
.f-violet { background: var(--violet-50); color: var(--violet); }
.dash-float {
    position: absolute; left: -32px; top: 50%;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border-radius: 14px; background: #fff;
    border: 1px solid var(--border); box-shadow: var(--shadow-lg);
    animation: dashFloat 4s ease-in-out infinite;
}
.dash-float-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.dash-float b { display: block; font-size: 13.5px; color: var(--navy); }
.dash-float small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--green); font-weight: 600; }
.dash-float small i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
@keyframes dashFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 720px) {
    .dash-float { position: static; margin-top: 4px; animation: none; box-shadow: none; }
    .hero-proof { gap: 16px; }
}

/* ---------- Graphique « Avant / Avec l'IA » (bloc Chiffres clés, fond bleu marine) ----------
   Couleurs validées pour le fond #0b1b3f : orange #d95926 / bleu #3987e5 (daltonisme OK) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.impact-chart { position: relative; margin: 44px auto 0; max-width: 980px; padding: 28px 30px 22px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); }
.ic-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 22px; }
.ic-title { font-size: 1.1rem; font-weight: 700; color: #fff; }
.ic-legend { display: flex; gap: 18px; font-size: 13.5px; color: #c4cde3; }
.ic-key { display: inline-flex; align-items: center; gap: 8px; }
.ic-swatch { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.ic-before { background: #d95926; }
.ic-after { background: #3987e5; }
.ic-rows { display: grid; gap: 22px; }
.ic-row { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: 20px; align-items: center; }
.ic-label { font-size: 14.5px; font-weight: 600; color: #dbe3f5; }
.ic-bars { display: grid; gap: 2px; }
.ic-track { display: flex; align-items: center; gap: 10px; height: 18px; }
.ic-bar { display: block; height: 14px; width: 0; border-radius: 0 4px 4px 0; cursor: default; transition: width 1.1s cubic-bezier(.2,.7,.2,1), filter .15s; }
.impact-chart.visible .ic-bar { width: calc(var(--w) * .88); }
.ic-bar:hover { filter: brightness(1.15); }
.ic-val { font-size: 13px; color: #fff; font-variant-numeric: tabular-nums; }
.ic-note { margin-top: 18px; font-size: 12.5px; color: #aeb9d4; }
.ic-tip { position: absolute; z-index: 5; pointer-events: none; padding: 7px 10px; border-radius: 8px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-md); white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); }
@media (max-width: 720px) {
    .impact-chart { padding: 22px 18px; }
    .ic-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Carrousel v2 : vidéos, compteur, progression, pause ---------- */
.carousel { --car-h: clamp(380px, 62vh, 640px); height: var(--car-h); }
.carousel.car-small { --car-h: clamp(220px, 32vh, 340px); }
.carousel.car-medium { --car-h: clamp(320px, 48vh, 500px); }
.carousel.car-large { --car-h: clamp(380px, 62vh, 640px); }
.carousel.car-full { --car-h: max(460px, calc(100vh - var(--nav-h))); }
.car-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
video.car-media { transform: none; }
/* Vidéo YouTube recadrée pour remplir toute la zone, sans bandes noires */
.car-yt { position: absolute; inset: 0; overflow: hidden; background: var(--navy); }
.car-yt iframe {
    position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
    width: max(100%, calc(var(--car-h) * 16 / 9)); height: max(100%, 56.25vw);
    transform: translate(-50%, -50%);
}
.car-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.car-slide.is-active .car-poster { opacity: 0; transition: opacity 1.2s ease 1.5s; }
.car-yt { z-index: 0; }
.car-slide.has-overlay::after { z-index: 1; }
.car-content { z-index: 2; }

/* Le texte arrive en douceur à chaque diapositive */
.car-text > * { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.car-slide.is-active .car-text > * { opacity: 1; transform: none; }
.car-slide.is-active .car-text > :nth-child(2) { transition-delay: .12s; }
.car-slide.is-active .car-text > :nth-child(3) { transition-delay: .24s; }

/* Barre du bas : compteur, points avec progression, pause */
.car-bottom { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; display: flex; align-items: center; gap: 18px; }
.carousel .car-dots { position: static; flex: 1; justify-content: flex-start; gap: 8px; }
.carousel .car-dot { position: relative; width: 36px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.35); overflow: hidden; padding: 0; }
.carousel .car-dot.is-active { width: 56px; background: rgba(255,255,255,.35); }
.car-dot i { position: absolute; inset: 0; width: 0; background: #fff; border-radius: 4px; }
.car-dot.is-active i { width: 100%; }
.carousel.is-running .car-dot.is-active i { width: 0; animation: carProgress var(--car-delay, 6000ms) linear forwards; }
@keyframes carProgress { from { width: 0; } to { width: 100%; } }
.car-count { font-size: 14px; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.car-count b { color: #fff; font-size: 16px; }
.car-pause { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); display: grid; place-items: center; backdrop-filter: blur(6px); }
.car-pause:hover { background: rgba(255,255,255,.25); }
.car-pause-ico { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.car-pause.is-paused .car-pause-ico { width: 0; height: 0; border: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
@media (max-width: 720px) {
    .carousel, .carousel.car-medium, .carousel.car-large { --car-h: 440px; }
    .carousel.car-small { --car-h: 300px; }
    .car-bottom { bottom: 16px; }
    .car-content { padding-bottom: 80px; }
}

/* ---------- Carrousel d'avis (Nos clients en parlent) ---------- */
.testi-track {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    grid-auto-columns: calc((100% - 48px) / 3); gap: 24px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 4px 2px 12px; scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-track > .testi-card { scroll-snap-align: start; }
.testi-nav { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.testi-nav[hidden] { display: none; }
.testi-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-2); background: #fff; color: var(--navy); display: grid; place-items: center; transition: border-color .2s, color .2s; }
.testi-arrow:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.testi-arrow:disabled { opacity: .35; cursor: default; }
@media (max-width: 1024px) { .testi-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 720px) { .testi-track { grid-auto-columns: 88%; gap: 14px; } }
.testi-track { justify-content: safe center; }

/* Logos clients : en couleur si l'option est cochée dans les Réglages du site */
.m-logo img { height: 34px; max-width: 150px; object-fit: contain; }
.logos-color .m-logo img { filter: none; opacity: 1; }
.logos-color .m-logo { color: var(--navy); }

/* ---------- Haut de page par-dessus le carrousel ---------- */
.carousel.has-hero { height: auto; min-height: max(var(--car-h), calc(100vh - var(--nav-h))); }
.carousel.has-hero .car-slide.has-overlay::after,
.carousel.has-hero .car-slide::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(11,27,63,.88) 0%, rgba(11,27,63,.62) 50%, rgba(11,27,63,.35) 100%);
}
.car-hero { position: relative; z-index: 2; }
.car-hero .hero { background: transparent; min-height: max(var(--car-h), calc(100vh - var(--nav-h))); padding-bottom: 96px; }
.car-hero .hero::after { display: none; }
.car-hero .hero h1, .car-hero .hero-lead, .car-hero .hero-team-txt { color: #fff; }
.car-hero .hero h1 em, .car-hero .typing-wrap .gt { color: #8fb3ff; }
.car-hero .typing-wrap .gt { border-right-color: #8fb3ff; }
.car-hero .hero-desc { color: #dbe3f5; }
.car-hero .eyebrow { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; box-shadow: none; backdrop-filter: blur(6px); }
.car-hero .btn-o { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.car-hero .btn-o:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.car-hero .btn-p { background: #fff; color: var(--navy); }
.car-hero .btn-p:hover { background: var(--blue-50); }
.car-hero .hero-checks li { color: #dbe3f5; }
.car-hero .hero-checks .ic { color: #6ee7b7; }
.car-hero .hero-proof { border-top-color: rgba(255,255,255,.18); }
.car-hero .hero-trusted-label { color: #aeb9d4; }
.car-hero .hero-trusted-names { color: #dbe3f5; }
.car-hero .hero-avatars img, .car-hero .hero-avatars span { border-color: rgba(255,255,255,.85); }
.carousel.has-hero .car-arrow { top: auto; bottom: 18px; transform: none; width: 40px; height: 40px; }
.carousel.has-hero .car-prev { left: auto; right: 72px; }
.carousel.has-hero .car-next { right: 24px; }
.carousel.has-hero .car-bottom { padding-right: 130px; }
@media (max-width: 720px) {
    .car-hero .hero { padding-bottom: 90px; }
    .carousel.has-hero .car-arrow { display: none; }
    .carousel.has-hero .car-bottom { padding-right: 16px; }
}

/* ---------- Bloc « Formations » : cartes avec durée et prix ---------- */
.train-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; }
.train-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px 26px; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; transition: transform .25s, box-shadow .25s; }
.train-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.train-card h3 { font-size: 1.35rem; }
.train-badge { position: absolute; top: -12px; left: 26px; padding: 5px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.train-duration { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.train-duration .ic { width: 16px; height: 16px; color: var(--blue); }
.train-price { display: flex; align-items: baseline; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.train-price b { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); line-height: 1; }
.train-price small { font-size: 13px; color: var(--muted); }
.train-points { display: grid; gap: 9px; flex: 1; }
.train-points li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.train-points .ic { width: 16px; height: 16px; margin-top: 2px; color: var(--green); stroke-width: 2.6; }
.train-card .btn { margin-top: 6px; }
/* Formation mise en avant : carte bleu marine */
.train-card.is-featured { background: var(--navy); border-color: var(--navy); }
.train-card.is-featured h3, .train-card.is-featured .train-price b { color: #fff; }
.train-card.is-featured .train-duration, .train-card.is-featured .train-points li { color: #dbe3f5; }
.train-card.is-featured .train-duration .ic { color: #8fb3ff; }
.train-card.is-featured .train-price { border-bottom-color: rgba(255,255,255,.15); }
.train-card.is-featured .train-price small { color: #aeb9d4; }
.train-card.is-featured .train-points .ic { color: #6ee7b7; }
.train-card.is-featured .train-badge { background: #fff; color: var(--navy); }
.train-points { align-content: start; }

/* ---------- Fond personnalisé d'un bloc (couleur et/ou image, back office) ---------- */
.pb-bg {
    position: relative; isolation: isolate;
    background-color: var(--pb-color, transparent);
    background-image: var(--pb-image, none);
    background-size: cover; background-position: center;
}
.pb-bg::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pb-ov-dark::before { background: rgba(11, 27, 63, .62); }
.pb-ov-light::before { background: rgba(255, 255, 255, .74); }
.pb-bg > * { position: relative; z-index: 1; }
/* Le fond du bloc remplace celui de la section */
.pb-bg > section, .pb-bg > section.section-soft, .pb-bg > .stats, .pb-bg > .final-cta, .pb-bg > .trust, .pb-bg > .logos-sec { background: transparent !important; border-color: transparent; }
.pb-bg > .stats::before { display: none; }
/* Titres en blanc sur fond foncé */
.pb-light .sec-head h2, .pb-light .exp-content > h2, .pb-light .contact-info > h2,
.pb-light .trust-items li, .pb-light .marquee-label { color: #fff; }
.pb-light .sec-head h2 em, .pb-light .exp-content > h2 em, .pb-light .contact-info > h2 em { color: #8fb3ff; }
.pb-light .sec-head .desc, .pb-light .exp-content > .desc, .pb-light .contact-info > .desc { color: #dbe3f5; }
.pb-light .tag { color: #8fb3ff; }
.pb-light .trust-items .ic { color: #8fb3ff; }
.pb-light .m-logo { color: rgba(255,255,255,.75); }

/* ---------- Formations v2 : prix dans un carré de couleur ----------
   Teintes foncées : texte blanc lisible (contraste >= 4,5:1) */
.train-card, .train-card.is-featured { background: #fff; border: 1px solid var(--border); padding: 14px 14px 22px; gap: 16px; }
.train-card.is-featured { border: 2px solid var(--blue); box-shadow: 0 18px 40px -18px rgba(37, 99, 235, .45); }
.train-card .train-points, .train-card .btn { margin-left: 12px; margin-right: 12px; width: auto; }
.train-card.is-featured .train-points li { color: var(--text-2); }
.train-card.is-featured .train-points .ic { color: var(--green); }
.train-card.is-featured .train-badge { background: var(--blue); color: #fff; }
.train-badge { z-index: 2; left: 50%; transform: translateX(-50%); white-space: nowrap; box-shadow: var(--shadow-sm); }

.train-tile {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; gap: 10px;
    aspect-ratio: 4 / 3; justify-content: flex-end;
    padding: 22px; border-radius: 14px; color: #fff;
}
.train-tile::after { /* reflet décoratif */
    content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
    border-radius: 50%; background: rgba(255,255,255,.12); pointer-events: none;
}
.train-tile h3, .train-card.is-featured .train-tile h3 { color: #fff; font-size: 1.4rem; }
.train-tile .train-duration, .train-card.is-featured .train-tile .train-duration { color: rgba(255,255,255,.9); }
.train-tile .train-duration .ic, .train-card.is-featured .train-tile .train-duration .ic { color: #fff; }
.train-tile .train-price { border-bottom: 0; padding-bottom: 0; }
.train-tile .train-price b, .train-card.is-featured .train-tile .train-price b { color: #fff; font-size: 2.6rem; }
.train-tile .train-price small, .train-card.is-featured .train-tile .train-price small { color: rgba(255,255,255,.85); }
.tile-blue   { background: linear-gradient(135deg, #2563eb, #1e40af); }
.tile-violet { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.tile-green  { background: linear-gradient(135deg, #047857, #065f46); }
.tile-orange { background: linear-gradient(135deg, #c2410c, #9a3412); }
.tile-pink   { background: linear-gradient(135deg, #be185d, #9d174d); }
.tile-navy   { background: linear-gradient(135deg, #13275a, #0b1b3f); }

/* Formations : image facultative dans le carré, sous un voile de sa couleur */
.tile-blue   { --tile-a: #2563eb; --tile-b: #1e40af; }
.tile-violet { --tile-a: #7c3aed; --tile-b: #5b21b6; }
.tile-green  { --tile-a: #047857; --tile-b: #065f46; }
.tile-orange { --tile-a: #c2410c; --tile-b: #9a3412; }
.tile-pink   { --tile-a: #be185d; --tile-b: #9d174d; }
.tile-navy   { --tile-a: #13275a; --tile-b: #0b1b3f; }
.train-tile.has-image { background: var(--tile-b); isolation: isolate; }
.train-tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.train-tile.has-image::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(160deg, var(--tile-a) 0%, var(--tile-b) 100%);
    opacity: .78;
}
.train-card:hover .train-tile-img { transform: scale(1.05); }
.train-tile.has-image::after { display: none; }
/* Voile renforcé : texte blanc lisible même sur une photo très claire (contraste >= 4,9:1) */
.train-tile.has-image::before {
    background:
        linear-gradient(to top, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 65%),
        linear-gradient(160deg, var(--tile-a) 0%, var(--tile-b) 100%);
    opacity: .85;
}

/* ---------- Carrousel + haut de page superposés : format encadré (moins large) ---------- */
.carousel-sec.is-boxed, .carousel-sec:has(.carousel.has-hero) { background: transparent; padding: 20px clamp(16px, 4vw, 72px) 8px; }
.carousel.has-hero {
    max-width: 1440px; margin: 0 auto;
    border-radius: 28px; overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(11, 27, 63, .45);
    min-height: max(560px, calc(100vh - var(--nav-h) - 48px));
}
.carousel.has-hero .car-hero .hero { min-height: max(560px, calc(100vh - var(--nav-h) - 48px)); }
.carousel.has-hero .container { padding: 0 clamp(24px, 4vw, 64px); }
@media (max-width: 720px) {
    .carousel-sec.is-boxed, .carousel-sec:has(.carousel.has-hero) { padding: 10px 10px 4px; }
    .carousel.has-hero { border-radius: 20px; min-height: 0; }
    .carousel.has-hero .car-hero .hero { min-height: 0; }
    .carousel.has-hero .container { padding: 0 18px; }
}

/* ---------- Haut de page par-dessus le carrousel : largeur et hauteur au choix ----------
   Largeur : Petit / Moyen / Grand / Plein écran (back office → Carrousels)
   Hauteur : « Plein écran » = toute la hauteur de l'écran, sinon selon le contenu */
.carousel.has-hero, .carousel.has-hero .car-hero .hero { min-height: 0; }
.carousel.has-hero.car-full,
.carousel.has-hero.car-full .car-hero .hero { min-height: calc(100vh - var(--nav-h) - 28px); }
.carousel-sec.box-small .carousel.has-hero  { max-width: 1080px; }
.carousel-sec.box-medium .carousel.has-hero { max-width: 1260px; }
.carousel-sec.box-large .carousel.has-hero  { max-width: 1440px; }
/* Plein écran : bord à bord, sans marge ni coins arrondis */
.carousel-sec.box-full { padding: 0; }
.carousel-sec.box-full .carousel.has-hero { max-width: none; border-radius: 0; box-shadow: none; }
.carousel-sec.box-full .carousel.has-hero.car-full,
.carousel-sec.box-full .carousel.has-hero.car-full .car-hero .hero { min-height: calc(100vh - var(--nav-h)); }
/* Largeur « Petit » : le tableau de bord passe sous le texte pour garder de la place */
.carousel-sec.box-small .car-hero .hero-grid { grid-template-columns: 1fr; gap: 36px; }
.carousel-sec.box-small .car-hero .hero-dash { max-width: 560px; transform: none; }
.carousel-sec.box-small .car-hero .dash-float { left: auto; right: -12px; }
@media (max-width: 720px) {
    .carousel-sec.box-full .carousel.has-hero.car-full,
    .carousel-sec.box-full .carousel.has-hero.car-full .car-hero .hero,
    .carousel.has-hero.car-full, .carousel.has-hero.car-full .car-hero .hero { min-height: 0; }
}
/* « Plein écran » doit l'emporter sur la marge du format encadré */
.carousel-sec.is-boxed.box-full { padding: 0 !important; }

/* ---------- Notre méthode : frise d'étapes + livrables + appel à l'action ---------- */
.steps-timeline {
    position: relative; list-style: none; padding: 0; margin: 0 0 32px;
    display: grid; gap: 20px;
    grid-template-columns: repeat(min(var(--steps, 4), 4), 1fr);
}
/* Ligne qui relie les étapes, au niveau des pastilles */
.steps-timeline::before {
    content: ""; position: absolute; top: 49px; left: 48px; right: 48px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--blue-100) 0 10px, transparent 10px 18px);
    z-index: 0;
}
.step-card {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; gap: 10px;
    padding: 26px 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.step-dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--blue-100); flex-shrink: 0; }
.step-dot .ic { width: 20px; height: 20px; }
.step-card:first-child .step-dot { background: var(--green); }
.step-index { font-family: var(--serif); font-style: italic; font-size: 2rem; line-height: 1; color: var(--border-2); }
.step-duration { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-600); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.step-duration .ic { width: 13px; height: 13px; }
.step-card h4 { font-size: 1.12rem; }
.step-card > p { color: var(--text-2); font-size: 14.5px; }
.step-get { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border-2); }
.step-get-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.step-get ul { display: grid; gap: 6px; }
.step-get li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--navy); line-height: 1.4; }
.step-get .ic { width: 15px; height: 15px; margin-top: 2px; color: var(--green); stroke-width: 2.6; }

.steps-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    padding: 24px 30px; border-radius: var(--r-lg);
    background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff;
}

@media (max-width: 1100px) {
    .steps-timeline { grid-template-columns: repeat(2, 1fr); }
    .steps-timeline::before { display: none; }
}
@media (max-width: 720px) {
    /* Sur mobile : frise verticale */
    .steps-timeline { grid-template-columns: 1fr; padding-left: 22px; }
    .steps-timeline::before { display: block; top: 20px; bottom: 20px; left: 22px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--blue-100) 0 10px, transparent 10px 18px); }
    .step-card { margin-left: 8px; }
    .steps-cta { padding: 22px; }
    .steps-cta .btn { width: 100%; }
}

/* ---------- Bandeau « premier pas » de la méthode (v2) ---------- */
.steps-cta {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: 0;
    padding: 0; border-radius: 24px;
    background: var(--navy); color: #fff;
    box-shadow: 0 30px 60px -30px rgba(11, 27, 63, .55);
}
/* Halo de lumière décoratif */
.steps-cta::before {
    content: ""; position: absolute; left: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, .55), transparent 70%); pointer-events: none;
}
.steps-cta-msg { position: relative; padding: 36px 40px; }
.steps-cta-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #dbe3f5; }
.steps-cta-kicker .ic { width: 14px; height: 14px; color: #6ee7b7; }
.steps-cta-msg h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 16px 0 10px; max-width: 620px; }
.steps-cta-msg p { color: #c4cde3; font-size: 15.5px; max-width: 600px; }
.steps-cta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.steps-cta-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 13.5px; font-weight: 600; color: #fff; }
.steps-cta-chips .ic { width: 15px; height: 15px; color: #8fb3ff; }
.steps-cta-book {
    position: relative; margin: 12px; padding: 28px 26px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
    border-radius: 18px; background: #fff; color: var(--navy);
}
.steps-cta-cal { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.steps-cta-cal .ic { width: 28px; height: 28px; }
.steps-cta-book small { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.steps-cta-book small .ic { width: 14px; height: 14px; color: var(--green); stroke-width: 2.6; }
@media (max-width: 860px) {
    .steps-cta { grid-template-columns: 1fr; }
    .steps-cta-msg { padding: 28px 24px 8px; }
}

/* ---------- Services v3 : un panneau en grille, cases séparées par de fines lignes ---------- */
.svc-panel {
    display: grid; grid-template-columns: repeat(3, 1fr);
    margin-top: 4px; border: 1px solid var(--border); border-radius: var(--r-lg);
    background: #fff; overflow: hidden;
}
.svc-item {
    position: relative; display: flex; gap: 16px; align-items: flex-start;
    padding: 26px 26px 28px; color: inherit;
    border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
    transition: background .2s;
}
.svc-panel .svc-item:nth-child(3n) { border-right: 0; }
.svc-panel .svc-item:nth-last-child(-n+3):nth-child(3n+1),
.svc-panel .svc-item:nth-last-child(-n+3):nth-child(3n+1) ~ .svc-item { border-bottom: 0; }
.svc-item.is-link:hover { background: var(--bg-soft); }
.svc-item-ico { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; }
.svc-item-ico .ic { width: 22px; height: 22px; }
/* Couleur des icônes : elles tournent automatiquement */
.svc-item:nth-child(6n+1) .svc-item-ico { background: var(--blue-50); color: var(--blue); }
.svc-item:nth-child(6n+2) .svc-item-ico { background: var(--violet-50); color: var(--violet); }
.svc-item:nth-child(6n+3) .svc-item-ico { background: var(--green-50); color: var(--green); }
.svc-item:nth-child(6n+4) .svc-item-ico { background: var(--amber-50); color: var(--amber); }
.svc-item:nth-child(6n+5) .svc-item-ico { background: #fdeff3; color: #be185d; }
.svc-item:nth-child(6n+6) .svc-item-ico { background: #e9f6fb; color: #0e7490; }
.svc-item-body { flex: 1; min-width: 0; }
.svc-item h4 { font-size: 1.05rem; margin-bottom: 6px; padding-right: 26px; }
.svc-item-body > p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.svc-item-body > p.svc-item-tags { margin-top: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.svc-item-go {
    position: absolute; top: 24px; right: 22px;
    width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--border); color: var(--navy); transition: background .2s, color .2s, transform .2s;
}
.svc-item-go .ic { width: 14px; height: 14px; }
.svc-item.is-link:hover .svc-item-go { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateX(2px); }
@media (max-width: 1100px) {
    .svc-panel { grid-template-columns: repeat(2, 1fr); }
    .svc-panel .svc-item { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
    .svc-panel .svc-item:nth-child(2n) { border-right: 0; }
}
@media (max-width: 720px) {
    .svc-panel { grid-template-columns: 1fr; }
    .svc-panel .svc-item { border-right: 0; padding: 22px 20px; }
    .svc-panel .svc-item:last-child { border-bottom: 0; }
}

/* ---------- Flèche « retour en haut » : à droite, avec anneau de progression ---------- */
.back-top {
    left: auto; right: 22px; bottom: var(--back-top-bottom, 22px);
    width: 52px; height: 52px; border: 0;
    background: var(--navy); color: #fff;
    box-shadow: 0 12px 28px -10px rgba(11, 27, 63, .55);
    transition: opacity .25s, transform .25s, background .2s, bottom .3s;
    z-index: 950;
}
.back-top:hover { background: var(--blue); color: #fff; }
.back-top .ic { width: 20px; height: 20px; position: relative; }
/* Anneau qui se remplit selon la position dans la page */
.back-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.back-top-ring circle {
    fill: none; stroke: #8fb3ff; stroke-width: 3; stroke-linecap: round;
    stroke-dasharray: 138.2; stroke-dashoffset: calc(138.2 * (1 - var(--scroll, 0)));
}
@media (max-width: 720px) {
    .back-top { right: 14px; width: 46px; height: 46px; }
}

/* ---------- Écart réduit entre les blocs ---------- */
.section, .stats { padding: 64px 0; }
.final-cta { padding-bottom: 64px; }
.sec-head { margin-bottom: 36px; }
.trust, .logos-sec { padding: 28px 0; }
@media (max-width: 720px) {
    .section, .stats { padding: 44px 0; }
    .final-cta { padding-bottom: 44px; }
    .sec-head { margin-bottom: 26px; }
}
