@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-gold: #BD9744;
    --gold-soft: #E2C27A;
    --dark-bg: #1a1a1a;
    --darker-bg: #111111;
    --text-light: #f5f5f5;
    --text-dim: #cccccc;
    --text-soft: #9f9f9f;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --panel-bg: rgba(255,255,255,0.03);
    --shadow: 0 20px 60px rgba(0,0,0,0.35);
    --hero-start: #2a2a2a;
    --hero-end: #000000;
    --nav-bg: rgba(17, 17, 17, 0.9);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { overflow-x: hidden; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color .35s ease, color .35s ease;
}

a { text-decoration: none; color: inherit; }

body[data-theme="light"] {
    --dark-bg: #f6f8fb;
    --darker-bg: #edf1f6;
    --text-light: #16181d;
    --text-dim: #5d6572;
    --text-soft: #7d8795;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(16, 18, 20, 0.08);
    --panel-bg: rgba(255,255,255,0.92);
    --shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
    --hero-start: #ffffff;
    --hero-end: #eceff5;
    --nav-bg: rgba(255, 255, 255, 0.82);
}

nav {
    position: fixed; top: 0; width: 100%; padding: 20px 50px;
    display: flex; justify-content: space-between; align-items: center;
    background: var(--nav-bg); backdrop-filter: blur(10px);
    z-index: 1000; border-bottom: 1px solid var(--glass-border);
    transition: background .35s ease, border-color .35s ease;
}
.logo { font-size: 1.8rem; font-weight: 800; color: var(--text-light); text-decoration: none; }
.logo span { color: var(--primary-gold); }
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-light); text-decoration: none; font-weight: 500; transition: 0.3s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-gold); }
.nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
    background: var(--primary-gold); transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-tools { display: flex; align-items: center; gap: 12px; }
.nav-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    color: var(--text-light);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.nav-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .25s ease, opacity .25s ease;
}
.nav-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-panel {
    position: fixed;
    top: 84px;
    left: 16px;
    right: 16px;
    z-index: 1100;
    padding: 18px;
    border-radius: 22px;
    background: rgba(10,14,24,.96);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}
.nav-mobile-panel[hidden] { display: none !important; }
.nav-mobile-links { display: grid; gap: 12px; }
.nav-mobile-links a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.05);
    color: var(--text-light);
    font-weight: 700;
}
.nav-mobile-tools {
    margin-top: 14px;
    display: flex;
    justify-content: flex-start;
}
/* Toutes les cartes placées sur une même rangée gardent exactement la même hauteur. */
.pair-section .grid-2 {
    align-items: stretch;
}
.pair-section .solution-card {
    height: 100%;
}

.software-menu-toggle {
    appearance: none;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    color: var(--text-light);
    cursor: pointer;
    transition: transform .24s ease, border-color .24s ease, color .24s ease, background .24s ease;
}
.software-menu-toggle:hover,
.software-menu-toggle.is-open {
    transform: translateY(-1px);
    border-color: rgba(189,151,68,.55);
    background: rgba(189,151,68,.12);
    color: var(--primary-gold);
}
.software-quick-panel {
    position: fixed;
    top: 84px;
    right: 24px;
    z-index: 1120;
    width: min(520px, calc(100vw - 32px));
    max-height: calc(100vh - 104px);
    overflow: auto;
    padding: 20px;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    background: rgba(10,14,24,.97);
    box-shadow: 0 28px 80px rgba(0,0,0,.46), 0 0 0 1px rgba(189,151,68,.08) inset;
    backdrop-filter: blur(18px);
}
.software-quick-panel[hidden] {
    display: none !important;
}
.software-quick-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}
.software-quick-head span,
.nav-mobile-software > span {
    display: block;
    margin-bottom: 3px;
    color: var(--primary-gold);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.software-quick-head strong {
    color: var(--text-light);
    font-size: 1.2rem;
}
.software-quick-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    color: var(--text-light);
    cursor: pointer;
}
.software-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.software-quick-link {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 16px;
    background: rgba(255,255,255,.035);
    color: var(--text-light);
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.software-quick-link:hover {
    transform: translateY(-2px);
    border-color: rgba(189,151,68,.38);
    background: rgba(189,151,68,.09);
}
.software-quick-link > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(189,151,68,.13);
    color: var(--primary-gold);
}
.software-quick-link strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: .9rem;
}
.nav-mobile-panel {
    max-height: calc(100vh - 104px);
    overflow-y: auto;
}
.nav-mobile-software {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}
.nav-mobile-software > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.nav-mobile-software-link {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
    color: var(--text-light);
}
.nav-mobile-software-link span {
    color: var(--primary-gold);
}
.nav-mobile-software-link strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: .78rem;
}
body[data-theme="light"] .software-quick-panel {
    background: rgba(255,255,255,.98);
    color: #16181d;
}
body[data-theme="light"] .software-quick-link,
body[data-theme="light"] .nav-mobile-software-link {
    background: rgba(15,23,42,.035);
    color: #16181d;
    border-color: rgba(15,23,42,.08);
}
@media (max-width: 860px) {
    .software-menu-toggle,
    .software-quick-panel {
        display: none !important;
    }
}
@media (max-width: 430px) {
    .nav-mobile-software > div {
        grid-template-columns: 1fr;
    }
}
body[data-theme="light"] .nav-menu-toggle,
body[data-theme="light"] .nav-mobile-panel,
body[data-theme="light"] .nav-mobile-links a {
    background: rgba(255,255,255,.96);
    color: #16181d;
}
.theme-toggle {
    appearance: none; border: 1px solid var(--glass-border); background: rgba(255,255,255,0.04);
    color: var(--text-light); border-radius: 999px; min-width: 122px; height: 42px; padding: 0 14px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
    font-weight: 700; letter-spacing: .2px; transition: all .28s ease;
}
.theme-toggle:hover { border-color: rgba(189,151,68,.45); transform: translateY(-1px); }
body[data-theme="light"] .theme-toggle { background: rgba(255,255,255,.9); }
.theme-toggle .toggle-icon {
    width: 24px; height: 24px; border-radius: 999px; display: inline-grid; place-items: center;
    background: rgba(189,151,68,.18); color: var(--primary-gold); font-size: .9rem;
}

.hero-section {
    min-height: 58vh; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle, var(--hero-start) 0%, var(--hero-end) 100%);
    text-align: center; position: relative; overflow: hidden; padding: 120px 20px 60px;
    transition: background .35s ease;
}
.hero-full { min-height: 100vh; }
.hero-title { font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 800; line-height: 1.1; margin-bottom: 18px; }
.hero-title-inline-accent {
    display: inline;
    margin-left: .18em;
    font-size: .95em;
    font-weight: 800;
    line-height: inherit;
    white-space: nowrap;
}
.hero-title-accent {
    display: block;
    margin-top: 10px;
    font-size: clamp(1.15rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}
.text-gold { color: var(--primary-gold); }
.hero-subtitle { font-size: 1.16rem; color: var(--text-dim); max-width: 840px; margin: 0 auto; }

.container { max-width: 1160px; margin: 0 auto; padding: 80px 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stack { display: grid; gap: 18px; }

.glass-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    padding: 32px; border-radius: 18px; transition: 0.3s; box-shadow: var(--shadow);
}
.glass-card:hover { transform: translateY(-5px); border-color: var(--primary-gold); }

.btn-gold {
    padding: 12px 35px; background: var(--primary-gold); color: #000;
    font-weight: 700; text-decoration: none; border-radius: 50px;
    display: inline-block; transition: 0.3s; margin-top: 20px;
}
.btn-gold:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(189,151,68,0.4); }
.btn-outline {
    padding: 12px 35px; background: transparent; color: var(--primary-gold);
    border: 2px solid var(--primary-gold); font-weight: 700; border-radius: 50px;
    display: inline-block; transition: 0.3s; margin-top: 20px;
}
.btn-outline:hover { transform: scale(1.05); box-shadow: 0 0 18px rgba(189,151,68,0.2); }

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-gold);
    margin-bottom: 20px;
}
.lead {
    font-size: 1.12rem;
    color: var(--text-dim);
}

.feature-card i,
.info-icon {
    color: var(--primary-gold);
    font-size: 2rem;
    margin-bottom: 14px;
}

.benefits-list { display: grid; gap: 16px; }
.benefit-item {
    display: grid; grid-template-columns: 42px 1fr; gap: 14px;
    align-items: start; padding: 16px; border-radius: 16px;
    background: var(--panel-bg); border: 1px solid var(--glass-border);
}
.benefit-item .benefit-badge {
    width: 42px; height: 42px; display: grid; place-items: center;
    border-radius: 12px; background: linear-gradient(135deg, var(--primary-gold), var(--gold-soft)); color: #111;
    font-weight: 800;
}
.benefit-item strong { display: block; margin-bottom: 4px; }
.benefit-item p { color: var(--text-dim); }

.mockup-box {
    min-height: 340px; border-radius: 22px; padding: 18px;
    background: radial-gradient(circle at top right, rgba(189,151,68,0.12), transparent 32%), linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid var(--glass-border); position: relative; overflow: hidden;
}
body[data-theme="light"] .mockup-box {
    background: radial-gradient(circle at top right, rgba(189,151,68,0.14), transparent 30%), linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,251,253,0.9));
}
.mockup-panel {
    position: absolute; inset: 18px 120px 18px 18px; border-radius: 18px;
    background: rgba(10,10,10,0.45); border: 1px solid rgba(255,255,255,0.07);
    padding: 14px; display: grid; gap: 10px;
}
.mockup-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-tile, .mock-line, .mock-card, .mock-bar { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; }
.mock-tile { padding: 10px; min-height: 60px; }
.mock-tile strong { display: block; font-size: 0.96rem; }
.mock-tile span { font-size: 0.78rem; color: #bdbdbd; }
.mock-bars { height: 100px; display: flex; align-items: end; gap: 8px; }
.mock-bar { flex: 1; background: linear-gradient(180deg, rgba(226,194,122,.95), rgba(189,151,68,.45)); border-radius: 10px 10px 4px 4px; }
.mock-line { height: 12px; }
.mock-line.w70 { width: 70%; }
.mock-line.w50 { width: 50%; }
.mock-line.w35 { width: 35%; }
.mock-side { display: grid; gap: 10px; }
.mock-card { padding: 12px; min-height: 76px; display: grid; gap: 8px; }
.mock-pill {
    display: inline-flex; width: fit-content; padding: 8px 10px; border-radius: 999px;
    background: rgba(189,151,68,0.18); border: 1px solid rgba(189,151,68,0.2); color: var(--gold-soft); font-size: 0.72rem;
}
.mockup-phone {
    position: absolute; right: 18px; bottom: 18px; width: 160px; height: 300px;
    border-radius: 30px; background: rgba(10,10,10,0.8); border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 40px rgba(0,0,0,0.3); transform: rotate(8deg); padding: 10px;
}
.mockup-phone::before {
    content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 74px; height: 16px; border-radius: 999px; background: rgba(255,255,255,0.09);
}
.mockup-phone-screen {
    height: 100%; border-radius: 22px; padding: 32px 10px 10px; display: grid; gap: 10px;
    background: radial-gradient(circle at top, rgba(226,194,122,0.12), transparent 30%), linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}
.phone-card {
    min-height: 56px; border-radius: 14px; padding: 10px; display: grid; gap: 8px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06);
}
.phone-card strong { font-size: 0.82rem; }

body[data-theme="light"] .mockup-panel {
    background: rgba(255,255,255,0.96); border: 1px solid rgba(16,18,20,0.08); box-shadow: 0 16px 34px rgba(15,23,42,0.08); color: #16181d;
}
body[data-theme="light"] .mock-tile,
body[data-theme="light"] .mock-line,
body[data-theme="light"] .mock-card,
body[data-theme="light"] .phone-card {
    background: rgba(246,248,251,0.96); border: 1px solid rgba(16,18,20,0.08); color: #16181d;
}
body[data-theme="light"] .mock-tile span { color: #6d7684; }
body[data-theme="light"] .mockup-phone {
    background: linear-gradient(180deg, #ffffff, #edf1f6); border: 1px solid rgba(16,18,20,0.12); box-shadow: 0 18px 40px rgba(15,23,42,0.12);
}
body[data-theme="light"] .mockup-phone::before { background: rgba(16,18,20,0.08); }
body[data-theme="light"] .mockup-phone-screen {
    background: radial-gradient(circle at top, rgba(226,194,122,0.16), transparent 30%), linear-gradient(180deg, #ffffff, #f6f8fb);
}
body[data-theme="light"] .mock-pill { color:#7a5f14; background: rgba(189,151,68,0.12); }


.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.cta-note {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(189,151,68,.12), rgba(255,255,255,.03));
    border: 1px solid rgba(189,151,68,.18);
    color: var(--text-dim);
}
.cta-note strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-light);
}

.trust-strip {
    display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; margin: 24px 0 0;
}
.trust-pill,
.trust-card {
    background: var(--glass-bg); border:1px solid var(--glass-border); border-radius: 18px; box-shadow: var(--shadow);
}
.trust-pill { padding: 14px 18px; display:flex; align-items:center; gap:10px; }
.trust-pill i { color: var(--primary-gold); }
.trust-card { padding: 22px; }
.trust-card strong { display:block; margin-bottom:6px; }
.trust-card p { color: var(--text-dim); }

.compare-intro {
    display:grid; grid-template-columns: 1.2fr .8fr; gap:24px; margin-top: 28px; align-items: start;
}
.compare-card {
    background: var(--glass-bg); border:1px solid var(--glass-border); border-radius:18px; padding:22px; box-shadow: var(--shadow);
}
.compare-card h3 { margin-bottom:10px; }
.compare-card p, .compare-card li { color: var(--text-dim); }
.compare-card ul { padding-left: 18px; display:grid; gap:8px; }

.cmp-scroll {
    position: relative; overflow-x:auto; border:1px solid var(--glass-border); border-radius:18px;
    background: var(--glass-bg); box-shadow: var(--shadow); margin-top: 18px; cursor: default;
    scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
}
.cmp-scroll.single-view { overflow-x: hidden; }
.cmp-scroll.is-scrollable { cursor: grab; }
.cmp-scroll.is-dragging { cursor: grabbing; user-select: none; }
.cmp-scroll.is-dragging * { user-select: none; }
.scroll-hint-controls {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 3;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(10, 12, 20, 0.74);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}
.scroll-hint-btn {
    min-width: 42px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center;
    font-size:1rem; font-weight:700; color:#111; background: rgba(226,194,122,.94); padding:8px 11px;
    border-radius:999px; border: 0; box-shadow: 0 10px 24px rgba(0,0,0,.16); cursor:pointer;
    transition: opacity .25s ease, transform .25s ease, filter .25s ease;
}
.scroll-hint-btn:hover { transform: translateY(-1px); }
.scroll-hint-btn:disabled { opacity:.38; cursor:default; filter:saturate(.4); transform:none; }
body[data-theme="light"] .scroll-hint-btn { background: rgba(189,151,68,.95); color:#111; }
body[data-theme="light"] .scroll-hint-controls {
    background: rgba(255,255,255,.92);
}
.cmp-table { width:100%; min-width:0; table-layout: fixed; border-collapse:separate; border-spacing:0; }
.cmp-table th, .cmp-table td {
    padding:14px 16px;
    border-bottom:1px solid var(--glass-border);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    vertical-align: top;
}
.cmp-table thead th { background: rgba(255,255,255,0.04); position: sticky; top:0; z-index:1; text-align:left; }
body[data-theme="light"] .cmp-table thead th { background:#ffffff; }
.cmp-table tbody tr:nth-child(odd) td, .cmp-table tbody tr:nth-child(odd) th { background: rgba(255,255,255,0.01); }
body[data-theme="light"] .cmp-table tbody tr:nth-child(odd) td, body[data-theme="light"] .cmp-table tbody tr:nth-child(odd) th { background:#fafbfd; }
.cmp-table tbody th { text-align:left; color: var(--text-light); width: 24%; min-width:0; }
.cmp-col-center { text-align:center; }
.cmp-badge {
    display:inline-flex; align-items:center; justify-content:center; border-radius:999px; padding:7px 12px; font-weight:700; font-size:.82rem;
}
.cmp-badge.yes { background: rgba(16,185,129,.12); color:#43d39b; border:1px solid rgba(16,185,129,.24); }
.cmp-badge.partial { background: rgba(245,158,11,.12); color:#f8c15f; border:1px solid rgba(245,158,11,.24); }
.cmp-badge.no { background: rgba(239,68,68,.12); color:#ff8a8a; border:1px solid rgba(239,68,68,.24); }
body[data-theme="light"] .cmp-badge.yes { color:#0f6b23; }
body[data-theme="light"] .cmp-badge.partial { color:#8a5a00; }
body[data-theme="light"] .cmp-badge.no { color:#8a1020; }
.cmp-note { display:block; margin-top:8px; color: var(--text-dim); font-size:.82rem; overflow-wrap:anywhere; }

.pack-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; margin-top: 18px; }
.pack-card {
    background: var(--glass-bg); border:1px solid var(--glass-border); border-radius: 22px; padding: 24px; box-shadow: var(--shadow);
    position: relative; overflow:hidden;
}
.pack-card.featured { border-color: rgba(189,151,68,.6); }
.pack-label {
    display:inline-flex; padding:7px 12px; border-radius:999px; font-size:.75rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase;
    background: rgba(189,151,68,.14); color: var(--gold-soft); border: 1px solid rgba(189,151,68,.22); margin-bottom: 12px;
}
body[data-theme="light"] .pack-label { color:#7a5f14; background: rgba(189,151,68,.1); }
.pack-card h3 { font-size:1.5rem; margin-bottom: 8px; }
.pack-price {
    position: relative;
    min-height: 1.35em;
}
.pack-card.pack-price-loading .pack-price {
    padding-bottom: 16px;
}
.pack-card.pack-price-loading .pack-price::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,0.09);
    overflow: hidden;
}
.pack-card.pack-price-loading .pack-price::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42%;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(189,151,68,.15), rgba(226,194,122,.96), rgba(189,151,68,.15));
    animation: itbPackPriceLoad 1.15s ease-in-out infinite;
    z-index: 1;
}
@keyframes itbPackPriceLoad {
    0% { transform: translateX(-20%); opacity: .65; }
    50% { transform: translateX(90%); opacity: 1; }
    100% { transform: translateX(165%); opacity: .65; }
}
.pack-meta {
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height: 24px;
    margin-bottom: 10px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--primary-gold);
}
.pack-card p { color: var(--text-dim); margin-bottom: 14px; }
.pack-list { display:grid; gap:10px; }
.pack-list li { list-style:none; display:flex; gap:10px; color: var(--text-light); }
.pack-list li::before { content:'✓'; color: var(--primary-gold); font-weight:800; }
.pack-note { margin-top: 14px; color: var(--text-dim); font-size:.9rem; }
.pack-action-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.pack-action-row .pack-action-btn {
    margin-top: 0;
    flex: 1 1 180px;
    text-align: center;
}

.pack-detail-stack { display:grid; gap:14px; margin-top: 24px; }
.pack-detail-stack details {
    background: var(--glass-bg); border:1px solid var(--glass-border); border-radius:18px; padding:18px 20px; box-shadow: var(--shadow);
}
.pack-detail-stack summary {
    list-style:none; cursor:pointer; font-weight:700; display:flex; align-items:center; gap:12px;
}
.pack-detail-stack summary > div { flex: 1; }
.pack-detail-stack summary::-webkit-details-marker { display:none; }
.pack-detail-stack summary::before {
    content:'Ouvrir';
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:84px;
    padding:8px 12px;
    border-radius:999px;
    font-size:.76rem;
    font-weight:700;
    color:#111;
    background: rgba(226,194,122,.94);
    border:1px solid rgba(189,151,68,.18);
    margin-left:auto;
}
.pack-detail-stack details[open] summary::before { content:'Refermer'; }
.pack-detail-stack summary::after { content:'▾'; margin-left:8px; transition: transform .2s ease; }
.pack-detail-stack details[open] summary::after { transform: rotate(180deg); }
.pack-detail-stack .summary-kicker { color: var(--gold-soft); font-size:.78rem; letter-spacing:.8px; text-transform:uppercase; }
.pack-detail-stack ul { padding-left: 18px; margin-top: 14px; color: var(--text-dim); display:grid; gap:8px; }

.pack-table-wrap { margin-top: 24px; }
.pack-table-wrap .cmp-scroll::after { content:none; display:none; }
.pack-table-wrap .cmp-table { min-width: 0; }

.info-banner {
    margin-top: 30px; padding: 18px 22px; border-radius: 18px;
    background: linear-gradient(135deg, rgba(189,151,68,.14), rgba(255,255,255,.04));
    border:1px solid rgba(189,151,68,.2); color: var(--text-light);
}
.info-banner strong { display:block; margin-bottom: 6px; }
.info-banner p { color: var(--text-dim); }

.important-note {
    margin-top: 28px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(189,151,68,.14), rgba(255,255,255,.03));
    border: 1px solid rgba(189,151,68,.18);
    box-shadow: var(--shadow);
}

.important-note-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 18px;
    align-items: start;
}

.important-note h3 {
    margin-bottom: 10px;
}

.important-note p {
    color: var(--text-dim);
}

.important-note ul {
    display: grid;
    gap: 10px;
    padding-left: 18px;
    margin-top: 14px;
    color: var(--text-dim);
}

.important-note li::marker {
    color: var(--primary-gold);
}

.important-note details {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 16px 18px;
}

.important-note summary {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.important-note summary::-webkit-details-marker {
    display: none;
}

.important-note summary::after {
    content: 'Ouvrir';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(226,194,122,.94);
    color: #111;
    font-size: .76rem;
    font-weight: 700;
    border: 1px solid rgba(189,151,68,.18);
}

.important-note details[open] summary::after {
    content: 'Refermer';
}

.important-note details p {
    margin-top: 12px;
}

.important-note-details-copy {
    display: grid;
    gap: 10px;
}

.product-photo-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
    margin-top: 24px;
}

.product-photo-frame {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    min-height: 360px;
    background: var(--glass-bg);
}

.product-photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-photo-copy {
    display: grid;
    gap: 14px;
}

.product-photo-copy p {
    color: var(--text-dim);
}

.highlight-list {
    display: grid;
    gap: 10px;
}

.highlight-list li {
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-light);
}

.highlight-list li::before {
    content: '>';
    color: var(--primary-gold);
    font-weight: 800;
}

.gp-tool-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.gp-tool-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 20px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 12px;
}

.gp-tool-card i {
    font-size: 1.8rem;
    color: var(--primary-gold);
}

.gp-tool-card p {
    color: var(--text-dim);
}

.gp-tool-media {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--glass-border);
}

.gp-tool-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-property-shell {
    margin-top: 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.gp-property-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
    align-items: stretch;
}

.gp-property-pills {
    display: grid;
    gap: 10px;
}

.gp-property-pill {
    appearance: none;
    width: 100%;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.02);
    color: var(--text-light);
    border-radius: 18px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.gp-property-pill:hover,
.gp-property-pill.active {
    transform: translateY(-1px);
    border-color: rgba(189,151,68,.55);
    background: rgba(189,151,68,.10);
    box-shadow: 0 14px 32px rgba(0,0,0,.18);
}

.gp-property-pill-number {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: rgba(189,151,68,.16);
    color: var(--primary-gold);
    font-weight: 800;
    flex: 0 0 auto;
}

.gp-property-pill-label {
    display: block;
    font-weight: 700;
}

.gp-property-viewer {
    display: grid;
    gap: 16px;
    min-height: 100%;
}

.gp-property-image {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    aspect-ratio: 16 / 10;
    background: var(--glass-bg);
}

.gp-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .24s ease;
}

.gp-property-copy {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 18px;
    display: grid;
    gap: 10px;
}

.gp-property-copy h3 {
    margin: 0;
}

.gp-property-copy p {
    color: var(--text-dim);
}

.free-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(189,151,68,.14);
    border: 1px solid rgba(189,151,68,.22);
    color: var(--gold-soft);
    font-size: .86rem;
    font-weight: 700;
}

body[data-theme="light"] .gp-property-pill {
    background: rgba(255,255,255,.92);
}

body[data-theme="light"] .gp-property-copy,
body[data-theme="light"] .gp-property-shell,
body[data-theme="light"] .gp-tool-card,
body[data-theme="light"] .product-photo-frame {
    background: rgba(255,255,255,.92);
}

footer { background: var(--darker-bg); padding: 50px; text-align: center; border-top: 1px solid var(--glass-border); margin-top: 50px; transition: background .35s ease; }

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(226,194,122,.98), rgba(189,151,68,.96));
    color: #111;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 18px 34px rgba(0,0,0,.24);
    cursor: pointer;
    z-index: 1200;
    opacity: 0;
    transform: translateY(18px) scale(.92);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease;
}

.back-to-top:hover {
    transform: translateY(-2px) scale(1);
    box-shadow: 0 20px 38px rgba(189,151,68,.28);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.itb-assistant-launch {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 1210;
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(226,194,122,.98), rgba(189,151,68,.96));
    color: #111;
    font-weight: 800;
    box-shadow: 0 18px 34px rgba(0,0,0,.24);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.itb-assistant-launch-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.itb-assistant-launch-icon svg {
    width: 34px;
    height: 34px;
    display: block;
}

.itb-assistant-launch-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.itb-assistant-teaser {
    position: fixed;
    right: 82px;
    bottom: 138px;
    z-index: 1210;
    max-width: min(340px, calc(100vw - 128px));
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(10,14,24,.94);
    color: var(--text-light);
    border: 1px solid var(--glass-border);
    box-shadow: 0 18px 36px rgba(0,0,0,.26);
    display: flex;
    gap: 12px;
    align-items: start;
    pointer-events: auto;
}

.itb-assistant-teaser::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: -8px;
    width: 18px;
    height: 18px;
    background: rgba(10,14,24,.94);
    border-left: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    transform: rotate(45deg);
    pointer-events: none;
}

.itb-assistant-teaser[hidden] {
    display: none !important;
}

.itb-assistant-teaser > span {
    flex: 1 1 auto;
    min-width: 0;
}

.itb-assistant-teaser-close {
    display: none !important;
}

.itb-assistant-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1400;
    pointer-events: auto;
}

.itb-checkout-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.58);
    backdrop-filter: blur(10px);
    z-index: 1400;
    display: grid;
    place-items: center;
    padding: 18px;
}

.itb-assistant-panel {
    position: fixed;
    right: 22px;
    bottom: 164px;
    width: min(420px, calc(100vw - 28px));
    max-height: min(78vh, 760px);
    overflow: auto;
    background: var(--darker-bg);
    color: var(--text-light);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 24px;
    pointer-events: auto;
}

.itb-checkout-panel {
    width: min(760px, 100%);
    max-height: min(88vh, 940px);
    overflow: auto;
    background: var(--darker-bg);
    color: var(--text-light);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 24px;
    position: relative;
    isolation: isolate;
}

.itb-assistant-close {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    display: grid;
    place-items: center;
    line-height: 1;
    pointer-events: auto;
}

.itb-checkout-close {
    z-index: 40;
}

.itb-assistant-head {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
    padding-right: 86px;
    position: relative;
    z-index: 1;
}

.itb-assistant-head .pack-label {
    display: inline-flex;
    width: fit-content;
    max-width: calc(100% - 92px);
    margin-right: 56px;
    white-space: nowrap;
    font-size: .82rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.itb-assistant-quick {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.itb-assistant-chip {
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,.05);
    color: var(--text-light);
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 700;
}

.itb-assistant-thread {
    display: grid;
    gap: 12px;
    max-height: 260px;
    overflow: auto;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--glass-border);
    margin-bottom: 14px;
}

.itb-assistant-msg {
    max-width: 88%;
    padding: 12px 14px;
    border-radius: 16px;
    line-height: 1.5;
}

.itb-assistant-msg.assistant {
    background: rgba(255,255,255,.06);
    color: var(--text-light);
}

.itb-assistant-msg.user {
    justify-self: end;
    background: rgba(189,151,68,.16);
    color: var(--text-light);
}

.itb-assistant-msg.pending {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.itb-assistant-spinner {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid rgba(226,194,122,.22);
    border-top-color: var(--primary-gold);
    animation: itbAssistantSpin .85s linear infinite;
    flex: 0 0 auto;
}

@keyframes itbAssistantSpin {
    to { transform: rotate(360deg); }
}

.itb-assistant-form,
.itb-contact-form {
    display: grid;
    gap: 12px;
}

.itb-assistant-form textarea,
.itb-contact-form textarea,
.itb-contact-form input,
.itb-checkout-panel input,
.itb-checkout-panel select {
    width: 100%;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,.04);
    color: var(--text-light);
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
}

.itb-checkout-panel select,
.itb-checkout-panel select option {
    background: #ffffff;
    color: #111111;
}

.itb-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.itb-assistant-form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.itb-assistant-status {
    color: var(--text-dim);
    font-size: .92rem;
}

.btn-gold.is-loading,
.btn-outline.is-loading {
    position: relative;
    padding-left: 52px;
    pointer-events: none;
    opacity: .88;
}

.btn-gold.is-loading::before,
.btn-outline.is-loading::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border-radius: 999px;
    border: 2px solid rgba(17,17,17,.22);
    border-top-color: rgba(17,17,17,.9);
    animation: itbAssistantSpin .85s linear infinite;
}

.btn-outline.is-loading::before {
    border-color: rgba(189,151,68,.18);
    border-top-color: var(--primary-gold);
}

.itb-assistant-contact {
    margin-top: 14px;
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 16px;
    background: rgba(255,255,255,.03);
}

.itb-assistant-contact summary {
    cursor: pointer;
    font-weight: 700;
}

#itbSiteAssistantRoot.chatbot-disabled #itbAssistantThread,
#itbSiteAssistantRoot.chatbot-disabled #itbAssistantChatForm,
#itbSiteAssistantRoot.chatbot-disabled .itb-assistant-chip[data-action="packs"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.itb-assistant-thread[hidden],
.itb-assistant-form[hidden],
.itb-assistant-chip[hidden] {
    display: none !important;
}

.itb-checkbox {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: var(--text-dim);
}
.itb-checkbox input {
    margin-top: 4px;
}
.itb-checkbox span {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

body.itb-modal-open {
    overflow: hidden;
}

body.mobile-nav-open {
    overflow: hidden;
}

body[data-theme="light"] .itb-assistant-panel,
body[data-theme="light"] .itb-checkout-panel {
    background: #ffffff;
    color: #16181d;
}

body[data-theme="light"] .itb-assistant-chip,
body[data-theme="light"] .itb-assistant-teaser,
body[data-theme="light"] .itb-assistant-msg.assistant,
body[data-theme="light"] .itb-assistant-thread,
body[data-theme="light"] .itb-assistant-contact,
body[data-theme="light"] .itb-assistant-form textarea,
body[data-theme="light"] .itb-contact-form textarea,
body[data-theme="light"] .itb-contact-form input,
body[data-theme="light"] .itb-checkout-panel input,
body[data-theme="light"] .itb-checkout-panel select,
body[data-theme="light"] .itb-assistant-close {
    background: rgba(255,255,255,.96);
    color: #16181d;
}

body[data-theme="light"] .itb-assistant-teaser::after {
    background: rgba(255,255,255,.96);
}

body[data-theme="light"] .pack-card.pack-price-loading .pack-price::after {
    background: rgba(16,18,20,0.08);
}

.pack-list li::before {
    content: '\2713';
}

.cmp-scroll.is-scrollable { padding-bottom: 50px; }

.contact-hero-card,
.legal-hero-card {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 26px;
    align-items: start;
}

.contact-form-card,
.contact-side-card,
.legal-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form-card label {
    display: grid;
    gap: 8px;
    color: var(--text-dim);
    font-weight: 700;
    font-size: .92rem;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: rgba(255,255,255,.05);
    color: var(--text-light);
    padding: 13px 14px;
    font: inherit;
}

.contact-form-card select option {
    color: #111;
    background: #fff;
}

.contact-form-card textarea {
    resize: vertical;
    min-height: 170px;
}

.contact-is-submitting {
    position: relative;
}

.contact-is-submitting::after {
    content: 'Envoi en cours... merci de patienter';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    border-radius: 24px;
    background: rgba(7, 8, 10, .62);
    color: #f8e8ad;
    font-weight: 900;
    letter-spacing: .02em;
    backdrop-filter: blur(6px);
    z-index: 5;
    text-align: center;
}

.itb-site-flash {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 5200;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: min(440px, calc(100vw - 34px));
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 28px 70px rgba(0,0,0,.36);
    transform: translate(-50%, -48%) scale(.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    text-align: left;
}

.itb-site-flash.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.itb-site-flash.success {
    background: linear-gradient(135deg, rgba(21,128,61,.96), rgba(20,83,45,.96));
    color: #f0fdf4;
}

.itb-site-flash.error {
    background: linear-gradient(135deg, rgba(185,28,28,.96), rgba(127,29,29,.96));
    color: #fff7f7;
}

.itb-site-flash.loading {
    background: linear-gradient(135deg, rgba(28,28,30,.96), rgba(70,57,25,.96));
    color: #fff4c7;
}

.itb-site-flash-spinner {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 3px solid rgba(255,255,255,.24);
    border-top-color: currentColor;
    animation: spin .8s linear infinite;
    flex: 0 0 auto;
}

.contact-full {
    grid-column: 1 / -1;
}

.contact-side-stack {
    display: grid;
    gap: 18px;
}

.contact-mini-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    color: var(--text-dim);
}

.contact-mini-list span {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    max-width: 980px;
    margin: 0 auto;
}

.legal-card h2,
.legal-card h3 {
    color: var(--primary-gold);
    margin-bottom: 12px;
}

.legal-card p,
.legal-card li {
    color: var(--text-dim);
}

.legal-card ul {
    margin: 12px 0 0 22px;
    display: grid;
    gap: 8px;
}

.legal-card[data-managed-legal] {
    position: relative;
    overflow: hidden;
}

html.js .legal-card[data-managed-legal].is-managed-loading > * {
    filter: blur(6px);
    opacity: .38;
    user-select: none;
    pointer-events: none;
}

html.js .legal-card[data-managed-legal].is-managed-loading::before {
    content: 'Chargement des informations légales à jour...';
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: min(360px, calc(100% - 38px));
    padding: 18px 18px 34px;
    border: 1px solid rgba(189,151,68,.34);
    border-radius: 18px;
    background: rgba(12,14,18,.88);
    color: #f8e8ad;
    font-weight: 900;
    text-align: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 24px 60px rgba(0,0,0,.32);
    backdrop-filter: blur(10px);
}

html.js .legal-card[data-managed-legal].is-managed-loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(50% + 28px);
    z-index: 4;
    width: min(260px, calc(100% - 90px));
    height: 7px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, transparent 0%, rgba(242,209,123,.95) 45%, transparent 90%),
        rgba(255,255,255,.11);
    background-size: 55% 100%, 100% 100%;
    background-repeat: no-repeat;
    animation: legalLoadBar 1.1s ease-in-out infinite;
    transform: translateX(-50%);
}

html.js body[data-theme="light"] .legal-card[data-managed-legal].is-managed-loading::before {
    background: rgba(255,255,255,.94);
    color: #4b3a10;
}

@keyframes legalLoadBar {
    0% { background-position: -70% 0, 0 0; }
    100% { background-position: 170% 0, 0 0; }
}

.footer-legal {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-legal a {
    color: var(--primary-gold);
    font-weight: 700;
}

@media (max-width: 900px) {
    .contact-grid,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
}
.cmp-scroll.is-scrollable .cmp-table { margin-bottom: 0; }
.scroll-hint-status {
    min-width: 50px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: .82rem;
    font-weight: 700;
}
body[data-theme="light"] .scroll-hint-status {
    background: rgba(255,255,255,.94);
}

@media (max-width: 768px) {
    .container { padding: 64px 16px; }
    .glass-card, .compare-card, .pack-card { padding: 20px; }
    .hero-title { font-size: clamp(2.2rem, 9vw, 3.4rem); }
    .hero-subtitle, .lead { font-size: 1rem; }
    .mockup-box { min-height: 300px; }
    .cmp-scroll { margin-top: 14px; border-radius: 16px; }
    .scroll-hint-controls {
        left: auto;
        right: 10px;
        transform: none;
    }
    .cmp-table { min-width: 680px; table-layout: auto; }
    .cmp-scroll.single-view { overflow-x: auto; }
    .pack-table-wrap .cmp-table { min-width: 720px; }
    .cmp-table th, .cmp-table td { padding: 12px 14px; }
    .back-to-top {
        right: 14px;
        bottom: 84px;
    }
    .itb-assistant-launch {
        right: 14px;
        bottom: 14px;
        width: 58px;
        height: 58px;
    }
    .itb-assistant-teaser {
        right: 14px;
        left: 14px;
        bottom: 150px;
        max-width: none;
    }
    .itb-assistant-teaser::after {
        right: 34px;
        bottom: -8px;
    }
    .itb-assistant-panel {
        right: 14px;
        left: 14px;
        bottom: 84px;
        width: auto;
        max-height: 72vh;
    }
    .itb-assistant-head {
        padding-right: 78px;
    }
    .itb-assistant-head .pack-label {
        max-width: calc(100% - 86px);
        margin-right: 48px;
        font-size: .76rem;
    }
    .itb-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    nav { padding: 14px 14px; }
    .logo { font-size: 1.45rem; }
    .hero-section { padding: 104px 14px 40px; }
    .container { padding: 56px 14px; }
    .glass-card, .compare-card, .pack-card, .benefit-item, .info-banner { padding: 18px; }
    .theme-toggle { min-width: auto; height: 40px; padding: 0 10px; gap: 8px; }
    .theme-toggle .toggle-label { font-size: .82rem; }
    .section-title { margin-bottom: 14px; }
    .cta-row { gap: 10px; }
    .cmp-table { min-width: 620px; }
}

@media (max-width: 940px) {
    .grid-2, .grid-3, .mockup-top, .trust-strip, .compare-intro, .pack-grid, .product-photo-shell, .gp-tool-grid, .gp-property-grid, .important-note-grid { grid-template-columns: 1fr; }
    .mockup-panel { inset: 18px; }
    .mockup-phone { display: none; }
    .gp-property-pills { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-menu-toggle { display: inline-flex; }
    .grid-2, .grid-3, .trust-strip, .compare-intro, .pack-grid, .product-photo-shell, .gp-tool-grid, .gp-property-grid { grid-template-columns: 1fr; }
    .hero-section { min-height: 50vh; }
    .hero-full { min-height: 90vh; }
    nav { padding: 18px 22px; }
    .cta-row { flex-direction: column; }
    .btn-gold, .btn-outline { width: 100%; text-align: center; }
    .theme-toggle { min-width: 98px; padding: 0 12px; }
    .gp-property-pills { grid-template-columns: 1fr; }
}


/* --- CognitiShop showcase on ITaiB home --- */
.nav-cognitishop-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(70, 168, 255, 0.30);
    background: linear-gradient(135deg, rgba(7,24,53,0.96), rgba(6,16,34,0.96));
    box-shadow: 0 10px 28px rgba(0,0,0,0.22), inset 0 0 0 1px rgba(255,255,255,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.nav-cognitishop-badge::after { display: none !important; }
.nav-cognitishop-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(189,151,68,0.55);
    box-shadow: 0 14px 32px rgba(0,0,0,0.28), 0 0 0 1px rgba(189,151,68,0.14) inset;
}
.nav-cognitishop-badge img {
    display: block;
    width: 132px;
    height: auto;
}
.cognitishop-home-section {
    background:
        radial-gradient(circle at 80% 20%, rgba(0,178,255,0.16), transparent 34%),
        radial-gradient(circle at 20% 15%, rgba(189,151,68,0.16), transparent 28%),
        linear-gradient(180deg, #10161f 0%, #0c1017 52%, #10161f 100%);
    overflow: hidden;
}
.cognitishop-home-shell {
    display: grid;
    grid-template-columns: 1.02fr 1.1fr;
    gap: 40px;
    align-items: center;
}
.cognitishop-logo-hero {
    display: inline-flex;
    margin-bottom: 24px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}
.cognitishop-logo-hero img {
    display: block;
    width: min(100%, 250px);
    height: auto;
}
.cognitishop-bullet-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 24px;
}
.cognitishop-bullet-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    color: var(--text-light);
    font-size: 0.92rem;
    font-weight: 600;
}
.cognitishop-bullet-badges span i { color: var(--primary-gold); }
.cognitishop-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}
.cognitishop-proof-card {
    padding: 18px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: var(--shadow);
}
.cognitishop-proof-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 1rem;
}
.cognitishop-proof-card p {
    color: var(--text-dim);
    font-size: 0.94rem;
    margin: 0;
}
.cognitishop-visual-wrap { position: relative; }
.cognitishop-visual-shell {
    position: relative;
    padding: 18px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 35px 80px rgba(0,0,0,0.34), inset 0 0 0 1px rgba(255,255,255,0.03);
    overflow: hidden;
}
.cognitishop-visual-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(189,151,68,0.11), transparent 34%, rgba(0,163,255,0.10) 74%, transparent 100%);
    pointer-events: none;
}
.cognitishop-visual-shell img {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(0,0,0,0.25);
}
.cognitishop-floating-note {
    position: absolute;
    max-width: 240px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(10,18,34,0.88);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
    backdrop-filter: blur(12px);
    z-index: 4;
}
.cognitishop-floating-note strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-light);
    font-size: 0.96rem;
}
.cognitishop-floating-note span {
    display: block;
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.45;
}
.cognitishop-note-top { top: -18px; right: -8px; }
.cognitishop-note-bottom { left: -12px; bottom: 18px; }
.cognitishop-cta-group {
    width: auto;
    justify-content: flex-start;
    margin: 0;
    max-width: none;
}
body[data-theme="light"] .cognitishop-home-section {
    background: linear-gradient(180deg, #f4f6fb 0%, #eef2f8 100%);
}
body[data-theme="light"] .cognitishop-proof-card,
body[data-theme="light"] .cognitishop-floating-note,
body[data-theme="light"] .cognitishop-logo-hero,
body[data-theme="light"] .cognitishop-visual-shell,
body[data-theme="light"] .cognitishop-bullet-badges span,
body[data-theme="light"] .nav-cognitishop-badge {
    background: rgba(255,255,255,0.92);
}
body[data-theme="light"] .cognitishop-floating-note strong,
body[data-theme="light"] .cognitishop-proof-card strong {
    color: #16181d;
}
@media (max-width: 980px) {
    .cognitishop-home-shell,
    .cognitishop-proof-grid {
        grid-template-columns: 1fr;
    }
    .cognitishop-floating-note {
        position: static;
        max-width: none;
        margin-top: 14px;
    }
}
@media (max-width: 640px) {
    .nav-cognitishop-badge img { width: 112px; }
    .cognitishop-logo-hero img { width: min(100%, 220px); }
}


/* CognitiShop logo swap dark/light */
.cognitishop-logo-swap {
    display: inline-grid;
    place-items: center;
}
.cognitishop-logo-swap img {
    grid-area: 1 / 1;
    display: block;
    width: 100%;
    height: auto;
}
.cognitishop-logo-light {
    display: none !important;
}
body[data-theme="light"] .cognitishop-logo-dark {
    display: none !important;
}
body[data-theme="light"] .cognitishop-logo-light {
    display: block !important;
}
.nav-cognitishop-badge .cognitishop-logo-swap {
    width: 132px;
}
.cognitishop-logo-hero .cognitishop-logo-swap {
    width: min(100%, 250px);
}
@media (max-width: 640px) {
    .nav-cognitishop-badge .cognitishop-logo-swap { width: 112px; }
    .cognitishop-logo-hero .cognitishop-logo-swap { width: min(100%, 220px); }
}

/* ==========================================================
   PARCOURS DE DÉCOUVERTE ITAIB
   Un langage commun, une identité propre à chaque logiciel.
   ========================================================== */
.itb-product-discovery {
    display: grid;
    gap: 28px;
    margin: 0 0 64px;
}

.itb-promise-card {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(230px, .65fr);
    gap: 28px;
    align-items: center;
    min-height: 330px;
    padding: clamp(28px, 5vw, 58px);
    overflow: hidden;
    border: 1px solid rgba(var(--product-accent-rgb), .54);
    border-radius: 34px;
    background:
        radial-gradient(circle at 84% 18%, rgba(var(--product-accent-rgb), .22), transparent 32%),
        radial-gradient(circle at 9% 88%, rgba(var(--product-accent-rgb), .12), transparent 34%),
        linear-gradient(145deg, rgba(var(--product-accent-rgb), .10), var(--glass-bg) 48%, rgba(255,255,255,.025));
    box-shadow:
        0 28px 75px rgba(0,0,0,.30),
        0 0 0 1px rgba(var(--product-accent-rgb), .08) inset,
        0 0 46px rgba(var(--product-accent-rgb), .13);
    animation: itbPromiseBreath 3.8s ease-in-out infinite;
    will-change: border-color, box-shadow;
}
.itb-promise-card::before,
.itb-promise-card::after {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
}
.itb-promise-card::before {
    width: 260px;
    height: 260px;
    right: -110px;
    top: -120px;
    border: 1px solid rgba(var(--product-accent-rgb), .32);
}
.itb-promise-card::after {
    width: 170px;
    height: 170px;
    right: 16%;
    bottom: -120px;
    background: rgba(var(--product-accent-rgb), .12);
    filter: blur(25px);
}
@keyframes itbPromiseBreath {
    0%, 100% {
        border-color: rgba(var(--product-accent-rgb), .48);
        box-shadow:
            0 28px 75px rgba(0,0,0,.30),
            0 0 0 1px rgba(var(--product-accent-rgb), .08) inset,
            0 0 28px rgba(var(--product-accent-rgb), .12);
    }
    50% {
        border-color: rgba(var(--product-accent-rgb), .98);
        box-shadow:
            0 30px 84px rgba(0,0,0,.35),
            0 0 0 2px rgba(var(--product-accent-rgb), .22) inset,
            0 0 0 4px rgba(var(--product-accent-rgb), .10),
            0 0 86px rgba(var(--product-accent-rgb), .42);
    }
}
.itb-promise-copy { position: relative; z-index: 2; }
.itb-promise-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--product-accent, var(--primary-gold));
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.itb-promise-copy h2 {
    max-width: 760px;
    margin: 14px 0 18px;
    color: var(--text-light);
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.06;
    letter-spacing: -.045em;
}
.itb-promise-copy > p {
    max-width: 780px;
    margin: 0;
    color: var(--text-dim);
    font-size: clamp(1.04rem, 1.6vw, 1.24rem);
    line-height: 1.72;
}
.itb-proof-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.itb-proof-chips span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid rgba(var(--product-accent-rgb), .24);
    border-radius: 999px;
    background: rgba(var(--product-accent-rgb), .08);
    color: var(--text-light);
    font-size: .82rem;
    font-weight: 700;
}
.itb-proof-chips i { color: var(--product-accent); }
.itb-promise-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 250px;
}
.itb-promise-visual img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: 360px;
    max-height: 290px;
    object-fit: contain;
    filter: drop-shadow(0 24px 34px rgba(0,0,0,.36));
}
.itb-visual-orbit {
    position: absolute;
    inset: 8% 2%;
    border: 1px solid rgba(var(--product-accent-rgb), .36);
    border-radius: 50%;
    transform: rotate(-12deg);
    box-shadow: 0 0 34px rgba(var(--product-accent-rgb), .12) inset;
}
.itb-promise-visual-symbol {
    border-radius: 30px;
    color: var(--product-accent);
    font-size: 5rem;
    background: radial-gradient(circle, rgba(var(--product-accent-rgb), .20), transparent 66%);
}

.itb-discovery-heading {
    max-width: 820px;
    margin: 18px auto 0;
    text-align: center;
}
.itb-discovery-heading h2 {
    margin: 10px 0;
    color: var(--text-light);
    font-size: clamp(1.85rem, 3.5vw, 2.8rem);
    line-height: 1.12;
}
.itb-discovery-heading p {
    color: var(--text-dim);
    font-size: 1.02rem;
}
.itb-discovery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.itb-discovery-card {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    min-height: 360px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 26px;
    background: var(--glass-bg);
    box-shadow: var(--shadow);
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.itb-discovery-card > div {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
}
.itb-discovery-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--product-accent-rgb), .54);
    box-shadow: 0 24px 54px rgba(0,0,0,.26), 0 0 30px rgba(var(--product-accent-rgb), .10);
}
.itb-discovery-card.is-guided {
    background: linear-gradient(145deg, rgba(var(--product-accent-rgb), .12), var(--glass-bg) 52%);
}
.itb-discovery-card.is-complete {
    background: linear-gradient(145deg, rgba(189,151,68,.10), var(--glass-bg) 52%);
}
.itb-discovery-number {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    color: #071015;
    background: linear-gradient(145deg, var(--product-accent, var(--primary-gold)), rgba(var(--product-accent-rgb), .66));
    box-shadow: 0 12px 26px rgba(var(--product-accent-rgb), .22);
    font-size: 1.25rem;
    font-weight: 900;
}
.itb-discovery-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--product-accent, var(--primary-gold));
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.itb-discovery-card h3 {
    margin: 9px 0 10px;
    color: var(--text-light);
    font-size: clamp(1.55rem, 2.25vw, 1.95rem);
}
.itb-discovery-card p,
.itb-discovery-card li {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.65;
}
.itb-discovery-card ul {
    display: grid;
    gap: 7px;
    margin: 17px 0 24px;
    padding-left: 20px;
}
.itb-discovery-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: fit-content;
    max-width: 100%;
    margin-top: auto;
}
.itb-discovery-cta.is-disabled {
    cursor: not-allowed;
    opacity: .62;
    filter: grayscale(.25);
}
.itb-device-recommendation {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 4px 0 0;
    padding: 7px 11px;
    border: 1px solid rgba(var(--product-accent-rgb), .34);
    border-radius: 999px;
    background: rgba(var(--product-accent-rgb), .10);
    color: var(--product-accent, var(--primary-gold));
    font-size: .76rem;
    font-weight: 800;
}
.itb-device-choice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 13px 0 0 !important;
    font-size: .82rem !important;
    line-height: 1.45 !important;
}
.itb-device-choice i {
    margin-top: 3px;
    color: var(--product-accent, var(--primary-gold));
}
.itb-device-choice a {
    color: var(--product-accent, var(--primary-gold));
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(var(--product-accent-rgb), .42);
    text-underline-offset: 4px;
}
.itb-device-choice a:hover {
    color: var(--text-light);
    text-decoration-color: var(--product-accent, var(--primary-gold));
}
.itb-discovery-safety {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 15px 18px;
    border: 1px solid rgba(var(--product-accent-rgb), .22);
    border-radius: 18px;
    background: rgba(var(--product-accent-rgb), .07);
    color: var(--text-dim);
    font-size: .88rem;
    text-align: center;
}
.itb-discovery-safety i { margin-top: 3px; color: var(--product-accent); }

.itb-home-discovery-section {
    --product-accent: var(--primary-gold);
    --product-accent-rgb: 189, 151, 68;
    padding: 86px 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(189,151,68,.13), transparent 30%),
        var(--dark-bg);
}
.itb-home-discovery-intro {
    max-width: 820px;
    margin: 0 auto 30px;
    text-align: center;
}
.itb-home-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 960px;
    margin: 0 auto;
}
.itb-home-paths article {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    background: var(--glass-bg);
    box-shadow: var(--shadow);
}
.itb-home-paths strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-light);
    font-size: 1.12rem;
}
.itb-home-paths p {
    margin: 0;
    color: var(--text-dim);
    font-size: .92rem;
}
.itb-card-availability {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 12px;
}
.itb-card-availability span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: .73rem;
    font-weight: 800;
}
.itb-card-availability .is-ready {
    border: 1px solid rgba(54,211,153,.30);
    background: rgba(54,211,153,.10);
    color: #68e8b3;
}
.itb-card-availability .is-soon {
    border: 1px solid rgba(245,185,66,.30);
    background: rgba(245,185,66,.10);
    color: #f5c765;
}

.mimo-home-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 16%, rgba(240,138,103,.23), transparent 28%),
        radial-gradient(circle at 5% 88%, rgba(247,195,137,.12), transparent 33%),
        linear-gradient(180deg, #171321, #201522);
}
.mimo-home-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
    gap: 38px;
    align-items: center;
    min-height: 510px;
    padding: clamp(30px, 5vw, 62px);
    overflow: hidden;
    border: 1px solid rgba(240,138,103,.36);
    border-radius: 38px;
    background:
        radial-gradient(circle at 70% 14%, rgba(240,138,103,.18), transparent 35%),
        rgba(255,255,255,.035);
    box-shadow: 0 30px 80px rgba(0,0,0,.36), 0 0 44px rgba(240,138,103,.10);
}
.mimo-home-card .btn-gold {
    border-color: #f08a67;
    background: linear-gradient(135deg, #ff9d7d, #f08a67);
    color: #23161d;
    box-shadow: 0 16px 34px rgba(240,138,103,.24);
}
.mimo-home-card .btn-ghost {
    border-color: rgba(240,138,103,.66);
    color: #ffd3c5;
}
.mimo-home-card .btn-ghost:hover {
    border-color: #f08a67;
    background: rgba(240,138,103,.10);
}
.mimo-home-copy h2 {
    margin: 12px 0 18px;
    color: #fff8f2;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: .96;
    letter-spacing: -.05em;
}
.mimo-home-copy h2 small {
    display: block;
    margin-top: 12px;
    color: #f0a684;
    font-size: .35em;
    letter-spacing: .02em;
}
.mimo-home-copy > p {
    max-width: 720px;
    color: #e3d6d0;
    font-size: 1.06rem;
    line-height: 1.72;
}
.mimo-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.mimo-home-visual {
    position: relative;
    display: grid;
    place-items: end center;
    min-height: 390px;
}
.mimo-home-main {
    position: relative;
    z-index: 2;
    width: min(100%, 330px);
    filter: drop-shadow(0 28px 42px rgba(0,0,0,.38));
    animation: mimoFloat 4.2s ease-in-out infinite;
}
.mimo-home-float {
    position: absolute;
    z-index: 3;
    right: -4%;
    top: 2%;
    width: 126px;
    filter: drop-shadow(0 18px 26px rgba(0,0,0,.30));
    animation: mimoFloat 4.2s .8s ease-in-out infinite;
}
.mimo-speech {
    position: absolute;
    z-index: 4;
    left: -8%;
    top: 12%;
    max-width: 210px;
    padding: 13px 15px;
    border: 1px solid rgba(240,138,103,.28);
    border-radius: 18px 18px 18px 5px;
    background: rgba(255,248,242,.96);
    color: #442922;
    box-shadow: 0 18px 32px rgba(0,0,0,.25);
    font-size: .84rem;
    font-weight: 800;
}
.mimo-orbit {
    position: absolute;
    border: 1px solid rgba(240,138,103,.28);
    border-radius: 50%;
}
.mimo-orbit-a { width: 320px; height: 320px; }
.mimo-orbit-b { width: 420px; height: 210px; transform: rotate(-18deg); }
@keyframes mimoFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

body[data-theme="light"] .itb-promise-card,
body[data-theme="light"] .itb-discovery-card,
body[data-theme="light"] .itb-home-paths article {
    box-shadow: 0 20px 55px rgba(15,23,42,.10), 0 0 34px rgba(var(--product-accent-rgb), .08);
}
body[data-theme="light"] .itb-card-availability .is-ready { color: #087b55; }
body[data-theme="light"] .itb-card-availability .is-soon { color: #9a6410; }

@media (max-width: 900px) {
    .itb-promise-card,
    .mimo-home-card {
        grid-template-columns: 1fr;
    }
    .itb-promise-visual {
        min-height: 210px;
    }
    .itb-promise-visual img { max-height: 230px; }
    .mimo-home-visual { min-height: 330px; }
}
@media (max-width: 760px) {
    .itb-product-discovery { margin-bottom: 42px; }
    .itb-promise-card {
        min-height: 0;
        padding: 28px 22px;
        border-radius: 26px;
    }
    .itb-promise-copy h2 { font-size: clamp(1.75rem, 9vw, 2.55rem); }
    .itb-promise-copy > p { font-size: 1rem; }
    .itb-proof-chips { align-items: stretch; flex-direction: column; }
    .itb-proof-chips span { width: 100%; border-radius: 14px; }
    .itb-discovery-grid,
    .itb-home-paths {
        grid-template-columns: 1fr;
    }
    .itb-discovery-card {
        grid-template-columns: 44px 1fr;
        gap: 13px;
        min-height: 0;
        padding: 22px 18px;
        border-radius: 22px;
    }
    .itb-discovery-number {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 1.05rem;
    }
    .itb-discovery-cta { width: 100%; }
    .itb-discovery-safety { text-align: left; }
    .mimo-home-card {
        min-height: 0;
        padding: 28px 22px;
        border-radius: 28px;
    }
    .mimo-home-visual { min-height: 300px; }
    .mimo-home-float { right: 0; width: 100px; }
    .mimo-speech { left: 0; top: 0; max-width: 180px; }
}

/* Deuxième porte commerciale : conception de solutions métier sur mesure. */
.software-quick-service {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, .85fr);
    gap: 14px;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(189, 151, 68, .22);
}
.software-quick-service p {
    margin: 0;
    color: var(--text-dim);
    font-size: .78rem;
    line-height: 1.55;
}
.software-quick-link.is-custom-service,
.nav-mobile-software-link.is-custom-service {
    border-color: rgba(189, 151, 68, .48);
    background: linear-gradient(135deg, rgba(189, 151, 68, .18), rgba(75, 201, 240, .08));
}
.software-quick-link.is-custom-service > span,
.nav-mobile-software-link.is-custom-service span {
    color: #f1cf79;
    background: rgba(189, 151, 68, .18);
}
.nav-mobile-custom-service {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(189, 151, 68, .22);
}

.itb-custom-bridge {
    position: relative;
    padding: 54px 0 72px;
    overflow: hidden;
}
.itb-custom-bridge::before,
.custom-studio-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--product-accent-rgb, 189, 151, 68), .17), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
}
.itb-custom-bridge::before { right: -150px; top: -170px; }
.itb-custom-bridge-shell,
.custom-studio-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(350px, .8fr);
    gap: 36px;
    align-items: center;
    padding: clamp(30px, 4vw, 54px);
    border: 1px solid rgba(var(--product-accent-rgb, 189, 151, 68), .38);
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(var(--product-accent-rgb, 189, 151, 68), .09), transparent 43%),
        rgba(16, 17, 20, .88);
    box-shadow:
        0 26px 80px rgba(0, 0, 0, .24),
        0 0 44px rgba(var(--product-accent-rgb, 189, 151, 68), .10);
    overflow: hidden;
}
.itb-custom-bridge-shell::after,
.custom-studio-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.itb-custom-bridge-copy h2,
.custom-studio-copy h2 {
    margin: 14px 0 16px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.03;
    letter-spacing: -.045em;
}
.itb-custom-bridge-copy > p,
.custom-studio-copy > p {
    max-width: 760px;
    color: var(--text-dim);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.75;
}
.itb-custom-bridge-actions,
.custom-studio-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}
.itb-custom-steps,
.custom-studio-steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.itb-custom-steps li,
.custom-studio-steps li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    background: rgba(255, 255, 255, .035);
    transition: transform .24s ease, border-color .24s ease, background .24s ease;
}
.itb-custom-steps li:hover,
.custom-studio-steps li:hover {
    transform: translateX(5px);
    border-color: rgba(var(--product-accent-rgb, 189, 151, 68), .38);
    background: rgba(var(--product-accent-rgb, 189, 151, 68), .08);
}
.itb-custom-steps li > span,
.custom-studio-steps li > span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    color: #111;
    background: linear-gradient(145deg, var(--product-accent, #d6b35d), #f0d990);
    font-weight: 900;
    box-shadow: 0 9px 22px rgba(var(--product-accent-rgb, 189, 151, 68), .2);
}
.itb-custom-steps strong,
.custom-studio-steps strong {
    display: block;
    margin-bottom: 3px;
    font-size: .98rem;
}
.itb-custom-steps small,
.custom-studio-steps small {
    display: block;
    color: var(--text-dim);
    font-size: .78rem;
    line-height: 1.45;
}

.custom-studio-section {
    --product-accent: #d6b35d;
    --product-accent-rgb: 214, 179, 93;
    position: relative;
    padding: 96px 0 38px;
    overflow: hidden;
}
.custom-studio-section::before { left: -170px; top: 0; }
.custom-studio-shell {
    background:
        radial-gradient(circle at 88% 15%, rgba(75, 201, 240, .10), transparent 35%),
        linear-gradient(135deg, rgba(214, 179, 93, .13), transparent 42%),
        rgba(18, 19, 23, .94);
}
.custom-studio-punchline {
    display: inline-flex;
    margin-top: 14px;
    color: #efd482 !important;
    font-weight: 800;
}
.custom-studio-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
}
.custom-studio-proof span {
    padding: 11px 12px;
    border: 1px solid rgba(214, 179, 93, .18);
    border-radius: 14px;
    color: var(--text-dim);
    background: rgba(214, 179, 93, .045);
    font-size: .76rem;
    line-height: 1.35;
}
.custom-studio-proof strong {
    display: block;
    margin-bottom: 3px;
    color: var(--text-color);
    font-size: .9rem;
}
body[data-theme="light"] .itb-custom-bridge-shell,
body[data-theme="light"] .custom-studio-shell {
    background:
        linear-gradient(135deg, rgba(var(--product-accent-rgb, 189, 151, 68), .10), rgba(255, 255, 255, .96) 48%);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .10), 0 0 40px rgba(var(--product-accent-rgb, 189, 151, 68), .10);
}
body[data-theme="light"] .itb-custom-steps li,
body[data-theme="light"] .custom-studio-steps li {
    border-color: rgba(15, 23, 42, .09);
    background: rgba(255, 255, 255, .62);
}

@media (max-width: 900px) {
    .itb-custom-bridge-shell,
    .custom-studio-shell {
        grid-template-columns: 1fr;
    }
    .software-quick-service {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .itb-custom-bridge { padding: 38px 0 54px; }
    .custom-studio-section { padding: 64px 0 22px; }
    .itb-custom-bridge-shell,
    .custom-studio-shell {
        gap: 26px;
        padding: 26px 20px;
        border-radius: 24px;
    }
    .itb-custom-bridge-copy h2,
    .custom-studio-copy h2 {
        font-size: clamp(1.8rem, 9vw, 2.55rem);
    }
    .itb-custom-bridge-actions > *,
    .custom-studio-actions > * {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .custom-studio-proof { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .itb-promise-card,
    .mimo-home-main,
    .mimo-home-float {
        animation: none !important;
    }
    .itb-discovery-card,
    .glass-card,
    .solution-card {
        transition: none !important;
    }
}

/* Le bouton d'aide ne doit jamais masquer le premier contenu sur téléphone. */
@media (max-width: 640px) {
    .itb-assistant-launch {
        right: 12px !important;
        bottom: 12px !important;
        max-width: min(48px, calc(100vw - 24px));
        min-width: 48px;
        width: 48px;
        height: 48px;
        padding: 0 !important;
        overflow: hidden;
        border-radius: 50% !important;
        font-size: 0 !important;
    }
    .itb-assistant-launch i {
        margin: 0 !important;
        font-size: 1.1rem !important;
    }
    .back-to-top {
        display: none !important;
    }
    body.mobile-nav-open .itb-assistant-launch,
    body.mobile-nav-open .itb-assistant-teaser {
        opacity: 0 !important;
        pointer-events: none !important;
    }
}
