/* Nexscal — feuille de style commune (Bootstrap 5.3 + ces règles) */

@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk-Variable.woff2') format('woff2');
    font-weight: 300 700;
    font-display: swap;
}

:root {
    --nx-green: #27ae60;
    --nx-green-dark: #219150;
    --nx-green-soft: rgba(39, 174, 96, 0.1);
    --nx-mint: #edf2f0;
    --nx-ink: #333;
    --nx-text: #555;
    --nx-muted: #777;
    --nx-light: #f9f9f9;
    --nx-line: #eee;
    --nx-navy: #2c3e50;
    --hm-indigo: var(--nx-green);
    --hm-indigo-dark: var(--nx-green-dark);
    --hm-indigo-soft: var(--nx-mint);
    --header-h: 76px;

    --bs-body-font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --bs-body-color: var(--nx-ink);
    --bs-link-color-rgb: 39, 174, 96;
    --bs-link-hover-color-rgb: 33, 145, 80;
}

html { scroll-padding-top: calc(var(--header-h) + 10px); }
body { font-size: 15px; line-height: 1.6; }
h1, h2, h3, h4, h5 { color: var(--nx-ink); }
.text-green { color: var(--nx-green); }
.text-muted-nx { color: var(--nx-muted); }

/* ---------- En-tête ---------- */
.site-header {
    background: #fff;
    box-shadow: 0 1px 0 var(--nx-line);
    transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.site-header .navbar { min-height: var(--header-h); }
.site-header .navbar-brand img { height: 45px; width: auto; }
.site-header .nav-link {
    color: var(--nx-ink);
    font-weight: 500;
    padding: .5rem .8rem !important;
}
.site-header .nav-link:hover,
.site-header .nav-link.active { color: var(--nx-green); }
.site-header .nav-link.nav-hm { color: var(--hm-indigo); }
.site-header .nav-link.nav-hm.active,
.site-header .nav-link.nav-hm:hover { color: var(--hm-indigo-dark); }
.site-header .navbar-toggler { border: 0; box-shadow: none; }

/* ---------- Boutons ---------- */
.btn-nx, .btn-nx-outline, .btn-hm {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-decoration: none;
    text-align: center;
    transition: .3s;
}
.btn-nx { background: var(--nx-green); color: #fff; border: 0; box-shadow: 0 4px 0 var(--nx-green-dark); }
.btn-nx:hover, .btn-nx:focus-visible { background: var(--nx-green-dark); color: #fff; }
.btn-nx:disabled { opacity: .7; }
.btn-nx-outline { background: transparent; color: var(--nx-ink); border: 2px solid var(--nx-ink); }
.btn-nx-outline:hover { background: var(--nx-ink); color: #fff; }
.btn-hm { background: var(--hm-indigo); color: #fff; border: 0; box-shadow: 0 4px 0 var(--hm-indigo-dark); }
.btn-hm:hover, .btn-hm:focus-visible { background: var(--hm-indigo-dark); color: #fff; }
.btn-sm-nx { padding: 8px 16px; font-size: 13px; box-shadow: none; }
.btn-group-nx { display: flex; flex-wrap: wrap; gap: 15px; }

/* ---------- Bannière d'accueil ---------- */
.hero {
    position: relative;
    min-height: 600px;
    margin-top: var(--header-h);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #fff;
}
.hero-bg {
    position: absolute;
    inset: 0 0 0 auto;
    width: 60%;
    background: no-repeat left center / cover;
}
.hero-bg-home { background-image: url('../images/banner-asym-bg.webp'); }
.hero-bg-freelance { background-image: url('../images/banner-freelance.webp'); background-position: right center; }
.hero .container { position: relative; z-index: 2; }
.hero-kicker {
    color: var(--nx-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 15px;
}
.hero h1 { font-size: 50px; font-weight: 700; line-height: 1.1; margin-bottom: 25px; }
.hero-lead {
    font-size: 18px;
    color: #666;
    max-width: 540px;
    border-left: 3px solid var(--nx-line);
    padding-left: 20px;
}
.hero .btn-group-nx { margin-top: 45px; }

/* ---------- Bandeau de titre (pages intérieures) ---------- */
.page-title {
    margin-top: var(--header-h);
    background: linear-gradient(135deg, var(--nx-light) 0%, var(--nx-mint) 100%);
    padding: 60px 0;
    border-bottom: 1px solid var(--nx-line);
}
.page-title .kicker {
    color: var(--nx-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}
.page-title h1 { font-weight: 700; text-transform: uppercase; margin: 0; }
.page-title .lead-nx { color: #666; max-width: 760px; margin: 15px 0 0; font-size: 17px; }

/* ---------- Sections et titres ---------- */
.section { padding: 80px 0; }
.section-gray { background: var(--nx-light); }
.section-bordered { border-top: 1px solid var(--nx-line); border-bottom: 1px solid var(--nx-line); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 50px; }
.section-head h2 { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.section-head p { font-size: 18px; color: #666; line-height: 1.8; }
.bar { width: 60px; height: 3px; background: var(--nx-green); margin: 20px auto; }
.bar-left { width: 50px; height: 3px; background: var(--nx-green); margin-top: 15px; }
.h-block { font-weight: 700; text-transform: uppercase; color: var(--nx-ink); font-size: 1.4rem; }
.h-card { font-weight: 700; text-transform: uppercase; font-size: 16px; margin-bottom: 12px; }
.ic { color: var(--nx-green); margin-right: 10px; }
.quote-nx { font-weight: 700; font-style: italic; text-align: center; margin-top: 30px; }

/* ---------- Listes ---------- */
.list-check { list-style: none; padding: 0; font-size: 16px; color: var(--nx-text); line-height: 2; }
.list-check li i { color: var(--nx-green); margin-right: 10px; }
.list-job { list-style: none; padding: 0; }
.list-job li { font-size: 15px; color: var(--nx-text); line-height: 2; margin-bottom: 8px; }
.list-job li i { color: var(--nx-green); margin-right: 10px; }

/* ---------- Cartes ---------- */
.card-nx {
    background: #fff;
    padding: 30px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,.05);
    transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card-nx > i, .card-nx .card-icon { color: var(--nx-green); margin-bottom: 18px; transition: transform .3s; }
.card-nx p { font-size: 14px; color: var(--nx-muted); }
.card-hover:hover { transform: translateY(-5px); border-color: var(--nx-green); box-shadow: 0 10px 20px rgba(0,0,0,.1); }
.card-hover:hover > i { transform: scale(1.1); }
.service-card { display: flex; flex-direction: column; justify-content: space-between; }
.service-card p { font-size: 13px; color: #888; }
.pillar {
    background: #fdfdfd;
    padding: 25px;
    border-left: 4px solid var(--nx-green);
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,.02);
}
.pillar h4 { font-weight: 700; font-size: 16px; text-transform: uppercase; }
.pillar p { font-size: 14px; color: #666; margin: 0; }
.accent-box {
    background: #fff;
    padding: 30px;
    border-left: 4px solid var(--nx-green);
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,.03);
    margin-bottom: 30px;
}
.accent-box h4, .ai-card h4 { font-weight: 700; text-transform: uppercase; font-size: 1.1rem; margin: 0 0 12px; }
.accent-box p { font-size: 14px; color: #666; margin: 0; }
.ai-card {
    background: var(--nx-mint);
    border: 1px dashed var(--nx-green);
    border-radius: 12px;
    padding: 30px;
}
.ai-card h4 { color: var(--nx-green-dark); }
.ai-card p { font-size: 14px; color: #444; }
.ai-card ul { padding-left: 20px; font-size: 13px; color: var(--nx-text); line-height: 1.8; margin: 0; }
.prose { font-size: 16px; color: #666; line-height: 1.8; }
.block { margin-bottom: 40px; }

/* Schéma « avant / IA / après » des pages métier */
.visual-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, var(--nx-mint) 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0,0,0,.04);
    height: 100%;
}
.visual-card .bg-icon {
    position: absolute;
    right: -15px;
    bottom: -25px;
    font-size: 180px;
    color: var(--nx-green);
    opacity: .04;
    transform: rotate(-12deg);
}
.visual-card > div { position: relative; z-index: 2; }
.pill {
    display: inline-block;
    background: var(--nx-green-soft);
    color: var(--nx-green);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.visual-card h4 { font-weight: 700; text-transform: uppercase; font-size: 16px; margin: 15px 0 25px; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; text-align: center; }
.flow-box { padding: 16px 12px; border-radius: 8px; background: #fff; border: 1px solid #f0f0f0; box-shadow: 0 4px 12px rgba(0,0,0,.02); }
.flow-box i { font-size: 18px; margin-bottom: 5px; }
.flow-box strong { display: block; font-size: 12px; color: var(--nx-text); }
.flow-box small { display: block; font-size: 10px; color: #888; }
.flow-box.dark { background: var(--nx-navy); border-color: var(--nx-navy); }
.flow-box.dark i { color: var(--nx-green); }
.flow-box.dark strong { color: #fff; }
.flow-box.dark small { color: #cbd5e1; }
.flow-mid i { color: var(--nx-green); font-size: 26px; animation: pulse 3s infinite ease-in-out; }
.flow-mid small { display: block; font-size: 9px; color: var(--nx-green); font-weight: 700; text-transform: uppercase; margin-top: 6px; }
.visual-card blockquote {
    font-size: 13px; color: #666; font-style: italic; text-align: center;
    border-top: 1px solid rgba(0,0,0,.05); padding-top: 15px; margin: 25px 0 0;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: .85; }
    50% { transform: scale(1.08); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .flow-mid i { animation: none; }
    * { transition: none !important; }
}

.table-nx { font-size: 14px; color: var(--nx-text); margin-top: 15px; }
.table-nx thead tr { border-bottom: 2px solid var(--nx-green); }
.table-nx th { text-transform: uppercase; color: var(--nx-ink); }

.reference-block { background: #fafafa; border: 1px solid var(--nx-line); border-radius: 8px; padding: 30px; margin-top: 40px; }
.reference-block h4 { font-weight: 700; text-transform: uppercase; margin-bottom: 20px; font-size: 1.1rem; }
.client-badge {
    background: #fff; padding: 15px 25px; border: 1px solid #e2e8f0; border-radius: 6px;
    text-align: center; font-weight: 700; color: #4a5568; font-size: 14px; letter-spacing: .5px;
}
.impact-note { font-size: 13px; color: var(--nx-muted); font-style: italic; margin-top: 15px; border-left: 2px solid var(--nx-green); padding-left: 10px; }
.page-cta { margin-top: 40px; border-top: 1px solid var(--nx-line); padding-top: 30px; text-align: center; }
.page-cta .btn-group-nx { justify-content: center; }

/* Encart « outil Nexscal » dans les pages métier */
.hm-callout {
    display: flex; gap: 20px; align-items: center;
    background: var(--hm-indigo-soft); border: 1px solid #c8eed8; border-radius: 12px;
    padding: 22px 26px; margin-top: 30px;
}
.hm-callout img { width: 90px; flex-shrink: 0; }
.hm-callout p { margin: 0; font-size: 14px; color: #1e5b3a; }
.hm-callout a { color: var(--hm-indigo-dark); font-weight: 700; }

/* ---------- Chiffres et logos ---------- */
.stat { text-align: center; padding: 20px; }
.stat i { color: var(--nx-green); opacity: .8; margin-bottom: 15px; }
.stat .num { font-size: 48px; font-weight: 700; margin: 0; }
.stat .bar { width: 30px; margin: 10px auto; }
.stat p { text-transform: uppercase; letter-spacing: 1px; font-weight: 700; color: var(--nx-muted); font-size: 14px; }
.logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 40px; }
.logos img { height: 50px; width: auto; filter: grayscale(100%); opacity: .6; transition: .3s; }
.logos img:hover { filter: none; opacity: 1; }

/* ---------- Formulaires ---------- */
.form-card {
    background: #fff; padding: 40px; border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    position: relative; z-index: 10;
}
.form-card h2 { font-weight: 700; text-transform: uppercase; font-size: 24px; margin-bottom: 25px; }
.form-card .form-label { color: #666; font-size: 12px; text-transform: uppercase; }
.form-card .form-control, .form-card .form-select { border-color: #ddd; min-height: 45px; }
.form-card .form-control:focus, .form-card .form-select:focus { border-color: var(--nx-green); box-shadow: 0 0 0 .2rem var(--nx-green-soft); }
.form-note { font-size: 12px; color: #888; margin: 15px 0 0; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--nx-mint); padding-top: 60px; border-top: 1px solid var(--nx-line); }
.site-footer .overlap { margin-bottom: -50px; }
.site-footer h3 { color: var(--nx-green); font-weight: 700; text-transform: uppercase; margin-bottom: 25px; }
.contact-line { font-size: 16px; margin-bottom: 18px; color: var(--nx-text); }
.contact-line i { color: var(--nx-green); width: 20px; margin-right: 12px; }
.contact-line a { color: inherit; text-decoration: none; }
.social a {
    background: var(--nx-ink); color: #fff; width: 45px; height: 45px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; font-size: 20px; transition: .3s;
}
.social a:hover { background: var(--nx-green); }
.footer-bottom { background: #1a1a1a; padding: 25px 0; margin-top: 100px; font-size: 13px; color: #999; }
.footer-bottom.no-overlap { margin-top: 40px; }
.footer-bottom a { color: #bbb; text-decoration: none; }
.footer-bottom a:hover { color: var(--nx-green); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; list-style: none; padding: 0; margin: 10px 0 0; }
.footer-links button { background: none; border: 0; padding: 0; color: #bbb; }
.footer-links button:hover { color: var(--nx-green); }

/* ---------- Notification et bandeau cookies ---------- */
.toast-nx {
    display: none; position: fixed; top: 20px; right: 20px; z-index: 10000;
    min-width: 250px; max-width: calc(100% - 40px); padding: 15px 20px; border-radius: 8px;
    color: #fff; font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,.15);
    align-items: center; gap: 12px; transition: opacity .3s;
}
.toast-nx.ok { background: var(--nx-green); }
.toast-nx.ko { background: #c0392b; }
.consent {
    position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 9000;
    max-width: 560px; margin-left: auto;
    background: #fff; border-radius: 12px; padding: 22px 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,.2);
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.consent p { font-size: 13px; color: #666; margin-bottom: 15px; }
.consent .btn-group-nx { gap: 10px; }
.consent .btn-nx, .consent .btn-nx-outline { flex: 1; padding: 10px 16px; font-size: 13px; box-shadow: none; }

/* ---------- Missions (page Freelance) ---------- */
.mission-card {
    padding: 25px; border: 1px solid #eaeaea; border-radius: 8px; height: 100%;
    background: #fff; text-align: left; display: flex; flex-direction: column;
}
.mission-card h3 { font-size: 18px; margin: 10px 0 6px; }
.mission-card .desc { color: #666; flex: 1; }
.mission-card .rate { color: var(--nx-green); font-weight: 700; }
.badge-mission { background: var(--nx-navy); }
.badge-new { background: var(--nx-green); }
.mission-details { padding: 15px; background: #f8f9fa; border-radius: 8px; max-height: 400px; overflow-y: auto; font-size: 14px; color: #444; }
.live-tag { font-size: 13px; color: var(--nx-green); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Pages légales ---------- */
.legal { max-width: 860px; }
.legal h2 { font-size: 1.3rem; font-weight: 700; margin-top: 40px; text-transform: uppercase; }
.legal p, .legal li { color: var(--nx-text); }
.todo { background: #fff3cd; color: #7a5b00; padding: 0 4px; border-radius: 3px; }

/* ---------- Huginn & Muninn ---------- */
.hm-hero {
    margin-top: var(--header-h);
    padding: 80px 0 70px;
    color: #fff;
    background: linear-gradient(135deg, #14532d 0%, #1e7a46 50%, #27ae60 100%);
    overflow: hidden;
}
.hm-hero .kicker { color: #c8eed8; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; font-size: 14px; }
.hm-hero h1 { color: #fff; font-size: 48px; font-weight: 700; line-height: 1.1; margin: 15px 0 20px; }
.hm-hero .h1-sub { display: block; font-size: 24px; font-weight: 500; color: #c8eed8; margin-top: 12px; }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--nx-line); border-radius: 10px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; position: relative; padding-right: 50px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 14px; font-size: 22px; color: var(--nx-green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: #666; }
.hm-hero .lead-hm { font-size: 19px; color: #e3f5ea; max-width: 560px; }
.hm-hero .ravens { width: 100%; max-width: 420px; display: block; margin: 0 auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.25)); }
.hm-hero .btn-nx-outline { color: #fff; border-color: #fff; }
.hm-hero .btn-nx-outline:hover { background: #fff; color: var(--hm-indigo-dark); }
.hm-hero .btn-group-nx { margin-top: 35px; }
.hm-tagline { margin-top: 25px; font-size: 15px; color: #c8eed8; }
.hm-tagline b { color: #fff; }

.pain {
    background: #fff; border-radius: 12px; padding: 26px; height: 100%;
    border: 1px solid #f0f0f0; border-top: 4px solid var(--nx-green);
    box-shadow: 0 4px 15px rgba(0,0,0,.04);
}
.pain i { color: var(--nx-green); font-size: 24px; margin-bottom: 14px; }
.pain h3 { font-size: 17px; font-weight: 700; }
.pain p { font-size: 14px; color: #666; margin-bottom: 12px; }
.pain .answer { font-size: 14px; color: var(--hm-indigo-dark); font-weight: 600; margin: 0; padding-top: 12px; border-top: 1px dashed #e5e7eb; }
.pain .answer i { color: var(--hm-indigo); font-size: 14px; margin: 0 6px 0 0; }

.uses { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.uses span {
    background: var(--hm-indigo-soft); color: var(--hm-indigo-dark); border-radius: 30px;
    padding: 10px 22px; font-weight: 700;
}
.duo { background: #fff; border-radius: 12px; padding: 30px; height: 100%; border: 1px solid #e3f5ea; }
.duo h3 { font-size: 20px; font-weight: 700; color: var(--hm-indigo-dark); }
.duo p { color: #555; margin: 0; }

.feature { padding: 60px 0; }
.feature + .feature { border-top: 1px solid var(--nx-line); }
.feature .num { color: var(--hm-indigo); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; }
.feature h3 { font-size: 26px; font-weight: 700; margin: 8px 0 18px; }
.feature ul { list-style: none; padding: 0; }
.feature li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--nx-text); }
.feature li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: 1px; color: var(--hm-indigo);
}
.shot {
    display: block; border-radius: 12px; overflow: hidden; background: #fff;
    border: 1px solid #e5e7eb; box-shadow: 0 20px 45px rgba(20, 60, 40, .15);
}
.shot img { display: block; width: 100%; height: auto; }
.shot-caption { font-size: 13px; color: var(--nx-muted); text-align: center; margin-top: 12px; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.shot-stack { display: grid; gap: 16px; }
.shot-stack .shot:last-child { width: 88%; margin-left: auto; margin-top: -60px; position: relative; }

.film { max-width: 960px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: 0 25px 60px rgba(20, 60, 40, .2); background: #000; }
.film video { display: block; width: 100%; height: auto; }

.code-hm {
    background: #17402a; color: #e3f5ea; border-radius: 12px; padding: 28px;
    font-size: 14px; line-height: 1.6; margin: 0; box-shadow: 0 20px 45px rgba(20, 60, 40, .2);
    white-space: pre-wrap;
}
.code-hm .c { color: #9be3b8; }

.trust {
    background: #fff; border-radius: 12px; padding: 24px; height: 100%;
    border: 1px solid #e3f5ea;
}
.trust i { color: var(--hm-indigo); font-size: 22px; margin-bottom: 12px; }
.trust h3 { font-size: 16px; font-weight: 700; }
.trust p { font-size: 14px; color: #666; margin: 0; }

.steps { counter-reset: step; }
.step { text-align: center; padding: 10px 20px; }
.step::before {
    counter-increment: step; content: counter(step);
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--hm-indigo); color: #fff; font-weight: 700; font-size: 20px; margin-bottom: 15px;
}
.step h3 { font-size: 18px; font-weight: 700; }
.step p { color: #666; font-size: 14px; }

.demo-section { background: linear-gradient(135deg, #edf2f0 0%, #f6faf8 100%); }
.demo-section .form-card h2 span { color: var(--hm-indigo); }
.demo-section .form-control:focus, .demo-section .form-select:focus { border-color: var(--hm-indigo); box-shadow: 0 0 0 .2rem rgba(39,174,96,.15); }
.demo-list { list-style: none; padding: 0; margin: 25px 0 0; }
.demo-list li { margin-bottom: 12px; color: #1e5b3a; }
.demo-list i { color: var(--hm-indigo); margin-right: 10px; }

/* Méthode IAgile */
.loop-badge {
    width: 260px; height: 260px; margin: 0 auto; border-radius: 50%;
    border: 3px dashed rgba(255,255,255,.5); display: flex; flex-direction: column;
    align-items: center; justify-content: center; color: #fff; text-align: center;
}
.loop-badge i { font-size: 56px; color: #c8eed8; margin-bottom: 12px; animation: spin 12s linear infinite; }
.loop-badge span { font-size: 34px; font-weight: 700; }
.loop-badge small { color: #c8eed8; font-size: 15px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loop-badge i { animation: none; } }
.loop-step { background: #fff; border-radius: 12px; padding: 26px; height: 100%; border: 1px solid #f0f0f0; border-top: 4px solid var(--nx-green); box-shadow: 0 4px 15px rgba(0,0,0,.04); }
.loop-step .day { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--nx-green); margin-bottom: 12px; }
.loop-step i { color: var(--nx-green); font-size: 24px; margin-bottom: 12px; }
.loop-step h3 { font-size: 17px; font-weight: 700; }
.loop-step p { font-size: 14px; color: #666; margin: 0; }
.principles { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.principle { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--nx-line); border-radius: 12px; padding: 20px 24px; }
.principle > span {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--nx-green); color: #fff;
    font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.principle h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.principle p { margin: 0; color: #666; font-size: 14px; }
.hm-callout > i { font-size: 40px; color: var(--nx-green); width: 90px; text-align: center; flex-shrink: 0; }
.iagile-band {
    margin-top: 24px; border-radius: 16px; padding: 30px 40px; background: var(--nx-mint);
    border: 1px solid #d5e6dc; display: flex; gap: 30px; align-items: center; flex-wrap: wrap;
}
.iagile-band > i { font-size: 46px; color: var(--nx-green); }
.iagile-band .txt { flex: 1; min-width: 260px; }
.iagile-band h3 { font-weight: 700; font-size: 22px; margin-bottom: 6px; }
.iagile-band p { margin: 0; color: #555; }

/* Chaîne BotWeb */
.chain { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: maillon; }
.chain-step {
    position: relative; background: #fff; border: 1px solid #f0f0f0; border-top: 4px solid var(--nx-green);
    border-radius: 12px; padding: 22px 14px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,.04);
}
.chain-step i { display: block; font-size: 26px; color: var(--nx-green); margin-bottom: 10px; }
.chain-step b { display: block; font-size: 16px; }
.chain-step small { display: block; color: var(--nx-muted); font-size: 13px; margin-top: 4px; }
.chain-step:not(:last-child)::after {
    content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--nx-green);
    position: absolute; right: -12px; top: 50%; transform: translateY(-50%); font-size: 13px; z-index: 2;
}
@media (max-width: 991.98px) { .chain { grid-template-columns: repeat(3, 1fr); } .chain-step:nth-child(3)::after { display: none; } }
@media (max-width: 575.98px) { .chain { grid-template-columns: repeat(2, 1fr); } .chain-step::after { display: none; } }

/* Comparatif BotWeb */
.compare { background: #fff; border-radius: 14px; border: 1px solid var(--nx-line); box-shadow: 0 4px 15px rgba(0,0,0,.04); }
.compare table { font-size: 14px; min-width: 720px; }
.compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--nx-muted); text-align: center; padding: 16px 10px; border-bottom: 2px solid var(--nx-line); }
.compare tbody th { font-weight: 600; color: var(--nx-ink); padding: 12px 18px; }
.compare td { text-align: center; }
.compare .col-bw { background: rgba(39,174,96,.07); }
.compare thead .col-bw { color: var(--nx-green-dark); font-size: 15px; border-bottom-color: var(--nx-green); }
.cmp { font-size: 18px; line-height: 1; }
.cmp-oui { color: var(--nx-green); }
.cmp-part { color: #9bbfa9; }
.cmp-non { color: #c7cdc9; }
.compare-note { font-size: 13px; color: var(--nx-muted); text-align: center; margin: 18px auto 0; max-width: 820px; }
.compare-note .cmp { font-size: 14px; }

/* Teaser sur l'accueil */
.hm-teaser {
    margin-top: 40px; border-radius: 16px; overflow: hidden;
    background: linear-gradient(135deg, #14532d 0%, #219150 100%); color: #e3f5ea;
}
.hm-teaser .body { padding: 40px; }
.hm-teaser .pill { background: rgba(255,255,255,.15); color: #fff; }
.hm-teaser h3 { color: #fff; font-weight: 700; font-size: 28px; margin: 15px 0; }
.hm-teaser ul { list-style: none; padding: 0; margin: 20px 0 30px; }
.hm-teaser li { margin-bottom: 8px; }
.hm-teaser li i { color: #9be3b8; margin-right: 10px; }
.hm-teaser .shot-wrap { padding: 30px 30px 30px 0; display: flex; align-items: center; height: 100%; }
.hm-teaser .shot { box-shadow: 0 20px 45px rgba(0,0,0,.35); border: 0; }
.hm-teaser .btn-nx-outline { color: #fff; border-color: #fff; }
.hm-teaser .btn-nx-outline:hover { background: #fff; color: var(--hm-indigo-dark); }
.hm-teaser .btn-hm { background: #fff; color: var(--hm-indigo-dark); box-shadow: none; }
.hm-teaser .btn-hm:hover { background: #e3f5ea; }

/* ---------- Mobile ---------- */
@media (max-width: 991.98px) {
    .site-header .navbar-collapse { padding-bottom: 15px; }
    .hero-bg { width: 100%; opacity: .15; }
    .hm-teaser .shot-wrap { padding: 0 30px 30px; }
}
@media (max-width: 767.98px) {
    .section { padding: 60px 0; }
    .hero { min-height: 520px; }
    .hero h1, .hm-hero h1 { font-size: 36px; }
    .form-card { padding: 25px; }
    .site-footer .overlap { margin-bottom: 30px; }
    .footer-bottom { margin-top: 0; }
    .shot-pair { grid-template-columns: 1fr; }
    .hm-callout { flex-direction: column; text-align: center; }
    .consent { left: 12px; right: 12px; bottom: 12px; }
}
