/* ==========================================================================
   Bird Solutions — feuille de style principale
   Palette issue du logo : bleu royal #1C57A5 (oiseau), gris bleuté #5E7387 (texte)
   ========================================================================== */

:root {
    --blue: #1C57A5;
    --blue-600: #164A8F;
    --blue-700: #0E3A73;
    --ink: #0A1A33;
    --ink-2: #0F2547;
    --cyan: #22B5E5;
    --cyan-soft: #7FD6F2;
    --slate: #5E7387;
    --bg: #F6F8FB;
    --bg-alt: #EDF2F8;
    --white: #FFFFFF;
    --text: #0F1C2E;
    --text-soft: #4A5B70;
    --border: #E1E7EF;
    --success: #13865A;
    --danger: #C23B3B;

    --grad: linear-gradient(120deg, #1C57A5 0%, #1F7CC6 55%, #22B5E5 100%);
    --grad-soft: linear-gradient(135deg, rgba(28, 87, 165, .08) 0%, rgba(34, 181, 229, .10) 100%);
    --grad-ink: radial-gradient(1200px 600px at 85% -10%, rgba(34, 181, 229, .22), transparent 60%),
                radial-gradient(900px 600px at -10% 110%, rgba(28, 87, 165, .45), transparent 60%),
                linear-gradient(160deg, #0A1A33 0%, #0D2140 55%, #0A1A33 100%);

    --font-head: 'Sora', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(10, 26, 51, .06);
    --shadow-md: 0 12px 32px rgba(10, 26, 51, .10);
    --shadow-lg: 0 24px 60px rgba(10, 26, 51, .18);
    --ease: cubic-bezier(.22, 1, .36, 1);

    --container: 1200px;
    --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--cyan); }
h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.18;
    letter-spacing: -.02em;
    margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 3.6vw + 1rem, 3.6rem); }
h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; color: var(--text-soft); }
ul, ol.steps { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(34, 181, 229, .25); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon--xs { width: 14px; height: 14px; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 28px; height: 28px; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    font-family: var(--font-head);
    font-weight: 600; font-size: .98rem; line-height: 1.2;
    cursor: pointer; white-space: nowrap;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s, background-position .6s var(--ease);
}
.btn .btn-arrow { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn--primary {
    background: var(--grad); background-size: 160% 100%; background-position: 0 0;
    color: #fff; box-shadow: 0 10px 24px rgba(28, 87, 165, .28);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 34px rgba(28, 87, 165, .36); }
.btn--outline { background: #fff; color: var(--blue); border-color: var(--border); }
.btn--outline:hover { color: var(--blue); border-color: var(--cyan); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .55); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--blue-700); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn--light:hover { color: var(--blue); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: .9rem; border-radius: 10px; }
.btn--block { width: 100%; }

/* ---------- Eyebrow ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head);
    font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 18px;
}
.eyebrow::before {
    content: ''; width: 26px; height: 2px; border-radius: 2px; background: var(--grad);
}
.eyebrow--light { color: var(--cyan-soft); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    height: var(--header-h);
    display: flex; align-items: center;
    transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease), backdrop-filter .35s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; z-index: 120; display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand-bird { width: 47px; height: 40px; color: #fff; transition: color .35s, transform .5s var(--ease); }
.brand:hover .brand-bird { transform: rotate(-6deg) translateY(-2px); }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.32rem; letter-spacing: -.01em; }
.brand-name span { font-weight: 400; opacity: .85; }

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav ul a {
    position: relative; display: block;
    padding: 8px 14px; border-radius: 10px;
    font-family: var(--font-head); font-weight: 500; font-size: .95rem;
    color: rgba(255, 255, 255, .86);
}
.main-nav ul a::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
    background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav ul a:hover { color: #fff; }
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
.main-nav ul a.is-active { color: #fff; }

.site-header.is-scrolled {
    height: 64px;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 1px 0 var(--border), 0 8px 24px rgba(10, 26, 51, .06);
}
.site-header.is-scrolled .brand { color: var(--ink); }
.site-header.is-scrolled .brand-bird { color: var(--blue); }
.site-header.is-scrolled .brand-name span { color: var(--slate); opacity: 1; }
.site-header.is-scrolled .main-nav ul a { color: var(--text-soft); }
.site-header.is-scrolled .main-nav ul a:hover,
.site-header.is-scrolled .main-nav ul a.is-active { color: var(--blue); }

.nav-toggle {
    display: none; width: 46px; height: 46px; border-radius: 12px; padding: 0;
    border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer;
    align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; margin: 0 auto; }
.nav-toggle-close { display: none; }
.site-header.is-scrolled .nav-toggle { color: var(--ink); border-color: var(--border); background: #fff; }

/* ---------- Sous-menu (menu déroulant) ---------- */
.has-sub { position: relative; }
.sub-head { display: flex; align-items: center; }
.sub-toggle {
    display: grid; place-items: center; width: 26px; height: 32px; margin-left: -10px; padding: 0;
    border: 0; background: none; color: inherit; cursor: pointer; border-radius: 8px;
    color: rgba(255, 255, 255, .8);
}
.site-header.is-scrolled .sub-toggle { color: var(--text-soft); }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.has-sub:hover .sub-toggle .icon, .has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
.main-nav .sub-menu {
    position: absolute; top: 100%; left: -6px; z-index: 50;
    min-width: 300px; margin-top: 12px; padding: 10px;
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.main-nav .sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-header .main-nav .sub-menu li a {
    display: block; padding: 12px 14px; border-radius: 10px; color: var(--text);
    transition: background .25s, color .25s;
}
.site-header .main-nav .sub-menu li a::after { display: none; }
.site-header .main-nav .sub-menu li a strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); }
.site-header .main-nav .sub-menu li a small { display: block; font-family: var(--font-body); font-size: .8rem; color: var(--text-soft); line-height: 1.4; margin-top: 2px; }
.site-header .main-nav .sub-menu li a:hover, .site-header .main-nav .sub-menu li a.is-current { background: var(--grad-soft); }
.site-header .main-nav .sub-menu li a:hover strong, .site-header .main-nav .sub-menu li a.is-current strong { color: var(--blue); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--white { background: #fff; }
.section--tight { padding: 40px 0 96px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.08rem; }
.lead { font-size: 1.15rem; line-height: 1.7; }
.hl {
    background: linear-gradient(100deg, #5CC8F0 0%, #22B5E5 50%, #9BE2F7 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl-dark {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Fonds techniques : grille de points */
.hero-grid {
    position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(127, 214, 242, .16) 1px, transparent 1.2px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }

/* ---------- Hero accueil ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--grad-ink); color: #fff;
    padding: calc(var(--header-h) + 72px) 0 120px;
    min-height: min(860px, 100svh);
    display: flex; align-items: center;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 36px; }
.hero .lead { color: rgba(255, 255, 255, .78); max-width: 580px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags li {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 999px;
    font-size: .86rem; color: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04);
}
.hero-tags .icon { width: 16px; height: 16px; color: var(--cyan-soft); }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: end; }
.hero-orbit {
    position: absolute; inset: 6%; border-radius: 50%;
    border: 1px dashed rgba(127, 214, 242, .22);
    animation: spin 80s linear infinite;
}
.hero-orbit--2 { inset: 20%; border-style: solid; border-color: rgba(127, 214, 242, .10); animation-duration: 120s; animation-direction: reverse; }
.hero-halo {
    position: absolute; inset: 22%; border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 181, 229, .35) 0%, rgba(28, 87, 165, .15) 45%, transparent 70%);
    filter: blur(10px);
}
.hero-bird {
    position: absolute; inset: 24% 12% 22% 14%;
    animation: float 9s ease-in-out infinite;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35));
}
.hero-bird svg { width: 100%; height: 100%; overflow: visible; }
.hero-bird .facet { transition: transform .8s var(--ease); transform-box: fill-box; transform-origin: center; }
.hero-visual:hover .facet:nth-child(odd) { transform: translate(-2px, -2px); }
.hero-visual:hover .facet:nth-child(even) { transform: translate(2px, 1px); }

.chip {
    position: absolute; z-index: 3;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 16px 10px 10px; border-radius: 14px;
    background: rgba(15, 37, 71, .66);
    border: 1px solid rgba(127, 214, 242, .22);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    font-family: var(--font-head); font-size: .86rem; font-weight: 500; color: #fff;
    animation: float 7s ease-in-out infinite;
}
.chip-icon {
    width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
    background: var(--grad); color: #fff;
}
.chip-icon .icon { width: 18px; height: 18px; }
.chip--1 { top: 6%; left: 2%; animation-delay: -1s; }
.chip--2 { top: 16%; right: -2%; animation-delay: -3s; }
.chip--3 { top: 50%; left: -8%; animation-delay: -5s; }
.chip--4 { bottom: 14%; right: -4%; animation-delay: -2s; }
.chip--5 { bottom: 2%; left: 14%; animation-delay: -4s; }

.scroll-hint {
    position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%);
    width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .35);
}
.scroll-hint::before {
    content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
    background: var(--cyan-soft); animation: scrollHint 2.2s var(--ease) infinite;
}

/* ---------- Bannière pages intérieures ---------- */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--grad-ink); color: #fff;
    padding: calc(var(--header-h) + 64px) 0 88px;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-inner > * { max-width: 780px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 2.8vw + 1rem, 3.1rem); }
.page-hero .lead { color: rgba(255, 255, 255, .78); margin: 0; max-width: 680px; }
.hero-watermark {
    position: absolute; z-index: 1; right: -60px; top: 50%; width: 520px; height: 445px;
    transform: translateY(-46%) rotate(-8deg);
    color: rgba(127, 214, 242, .07);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: .88rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .62); }
.breadcrumb li + li::before { content: '/'; opacity: .45; }
.breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .78); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Cartes génériques ---------- */
.card {
    position: relative;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.icon-badge {
    width: 54px; height: 54px; border-radius: 14px;
    display: grid; place-items: center;
    background: var(--grad-soft); color: var(--blue);
    margin-bottom: 22px;
    transition: background .45s var(--ease), color .45s, transform .45s var(--ease);
}
.icon-badge .icon { width: 26px; height: 26px; }
.card:hover .icon-badge { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Cartes de services (accueil) */
.service-card { display: flex; flex-direction: column; overflow: hidden; }
.service-card::before {
    content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--grad);
    transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .card-num {
    position: absolute; top: 22px; right: 26px;
    font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1;
    color: rgba(28, 87, 165, .07);
}
.service-card p { flex: 1; }
.link-more {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
    font-family: var(--font-head); font-weight: 600; font-size: .92rem;
}
.link-more .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-more:hover .icon { transform: translateX(4px); }
.services-grid { grid-template-columns: repeat(6, 1fr); }
.services-grid > * { grid-column: span 2; }
.services-grid > :nth-child(4) { grid-column: 2 / span 2; }
.services-grid > :nth-child(5) { grid-column: 4 / span 2; }

/* ---------- Pourquoi nous ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.why-panel {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: var(--radius-lg); background: var(--grad-ink); color: #fff;
    padding: 48px 40px; min-height: 440px;
    display: flex; flex-direction: column; justify-content: flex-end;
}
.why-panel h2 { color: #fff; }
.why-panel p { color: rgba(255, 255, 255, .76); }
.why-panel .hero-grid { opacity: .8; }
.why-panel-bird { position: absolute; top: -30px; right: -40px; width: 290px; height: 248px; color: rgba(127, 214, 242, .08); z-index: -1; transform: rotate(-10deg); }
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
.why-item { display: flex; gap: 16px; }
.why-item .icon-badge { width: 48px; height: 48px; margin: 0; flex-shrink: 0; }
.why-item .icon-badge .icon { width: 22px; height: 22px; }
.why-item h3 { margin-bottom: 6px; font-size: 1.08rem; }
.why-item p { margin: 0; font-size: .96rem; }

/* ---------- Démarche (étapes) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: step; }
.steps::before {
    content: ''; position: absolute; top: 31px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(28, 87, 165, .35) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
    position: relative; z-index: 1;
    width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 18px;
    display: grid; place-items: center;
    background: #fff; border: 1px solid var(--border); color: var(--blue);
    box-shadow: var(--shadow-sm);
    transition: background .45s var(--ease), color .45s, transform .45s var(--ease), box-shadow .45s;
}
.step-num .icon { width: 26px; height: 26px; }
.step-num::after {
    counter-increment: step; content: '0' counter(step);
    position: absolute; top: -10px; right: -12px;
    min-width: 28px; height: 22px; padding: 0 6px; border-radius: 999px;
    display: grid; place-items: center;
    background: var(--grad); color: #fff;
    font-family: var(--font-head); font-size: .72rem; font-weight: 700;
}
.step:hover .step-num { background: var(--grad); color: #fff; transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .95rem; margin: 0; }

/* ---------- Pour qui ---------- */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.audience-item {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--border);
    font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: .98rem;
    transition: border-color .35s, box-shadow .35s, transform .35s var(--ease);
}
.audience-item:hover { border-color: rgba(34, 181, 229, .6); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.audience-item .icon { color: var(--blue); }

/* ---------- Bandeau technologies ---------- */
.tech-strip { padding: 34px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; overflow: hidden; }
.tech-strip-inner { display: flex; align-items: center; gap: 36px; }
.tech-strip-label { flex-shrink: 0; font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.marquee { position: relative; overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg);
    font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--text-soft); white-space: nowrap;
}
.marquee-track li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

/* ---------- Carrousel des solutions (accueil) ---------- */
.solutions-carousel {
    position: relative; overflow: hidden; padding: 12px 0 24px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.solutions-track { display: flex; gap: 24px; width: max-content; padding-right: 24px; animation: marquee 90s linear infinite; }
.solutions-carousel:hover .solutions-track, .solutions-carousel:focus-within .solutions-track { animation-play-state: paused; }
.solutions-track .solution-card { width: 340px; flex-shrink: 0; }
.h3-like { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; line-height: 1.18; letter-spacing: -.01em; color: var(--ink); margin: 0 0 .6em; padding-right: 56px; }

/* ---------- Page Produits ---------- */
.products-row {
    max-width: var(--container); margin: 0 auto; padding: 0 24px;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 24px; align-items: stretch;
}
.products-row .product-card { flex: 0 0 calc((100% - 48px) / 3); }
.product-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-shot { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.product-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-shot img { transform: scale(1.04); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 28px 26px 30px; }
.product-body > p { font-size: .97rem; }
.product-sector {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
    padding: 6px 14px; border-radius: 999px; background: rgba(28, 87, 165, .07); color: var(--blue);
    font-family: var(--font-head); font-size: .8rem; font-weight: 600;
}
.product-sector .icon { width: 16px; height: 16px; }
.product-name { font-size: 1.6rem; margin-bottom: .25em; }
.product-tagline { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--blue); }
.product-body .check-list { margin: 6px 0 26px; gap: 10px; }
.product-body .check-list li { font-size: .95rem; }
.product-actions { margin-top: auto; display: grid; gap: 10px; }

/* ---------- Page Services : blocs détaillés ---------- */
.service-nav { position: sticky; top: 64px; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.service-nav ul { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav a {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    padding: 9px 16px; border-radius: 10px;
    font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--text-soft);
    transition: background .3s, color .3s;
}
.service-nav a .icon { width: 17px; height: 17px; }
.service-nav a:hover, .service-nav a.is-active { background: var(--grad-soft); color: var(--blue); }

.service-block { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.service-block + .service-block { margin-top: 112px; }
.service-block:nth-of-type(even) .service-text { order: 2; }
.service-text .icon-badge { margin-bottom: 20px; }
.check-list { display: grid; gap: 12px; margin: 26px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.check-list .icon {
    width: 22px; height: 22px; padding: 4px; border-radius: 50%;
    background: rgba(34, 181, 229, .14); color: var(--blue); margin-top: 2px;
}
.service-visual {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: var(--radius-lg); background: var(--grad-ink); color: #fff;
    padding: 40px 36px; min-height: 380px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.service-visual .hero-grid { opacity: .9; }
.service-visual-icon {
    width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(127, 214, 242, .25); color: var(--cyan-soft);
}
.service-visual-icon .icon { width: 36px; height: 36px; }
.service-visual-big {
    position: absolute; right: -30px; top: -30px; z-index: -1; width: 260px; height: 260px;
    color: rgba(127, 214, 242, .07);
}
.service-visual-big .icon { width: 100%; height: 100%; stroke-width: 1; }
.service-visual h3 { color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; margin: 28px 0 16px; opacity: .7; }
.benefits { display: grid; gap: 12px; }
.benefits li {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: 12px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
    font-family: var(--font-head); font-weight: 500; font-size: .98rem;
    transition: background .35s, transform .35s var(--ease);
}
.benefits li:hover { background: rgba(255, 255, 255, .1); transform: translateX(4px); }
.benefits .icon { color: var(--cyan); width: 20px; height: 20px; }

/* ---------- Page Solutions : filtres et cartes ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--border); background: #fff; color: var(--text-soft);
    font-family: var(--font-head); font-weight: 500; font-size: .92rem;
    transition: all .3s var(--ease);
}
.filter-btn .icon { width: 16px; height: 16px; }
.filter-btn:hover { border-color: var(--cyan); color: var(--blue); }
.filter-btn.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(28, 87, 165, .25); }
.solution-card { display: flex; flex-direction: column; }
.solution-card.is-hidden { display: none; }
.solution-tag {
    align-self: flex-start;
    display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px;
    background: rgba(28, 87, 165, .07); color: var(--blue);
    font-family: var(--font-head); font-size: .74rem; font-weight: 600; letter-spacing: .04em;
}
.solution-card .icon-badge { position: absolute; top: 28px; right: 26px; margin: 0; width: 46px; height: 46px; }
.solution-card .icon-badge .icon { width: 22px; height: 22px; }
.solution-card h3 { padding-right: 56px; }
.solution-points { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--border); display: grid; gap: 8px; }
.solution-points li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--text); }
.solution-points .icon { width: 16px; height: 16px; color: var(--cyan); }
.filter-empty { text-align: center; color: var(--text-soft); }
.center-actions { display: flex; justify-content: center; margin-top: 44px; }

.reference-card .ref-client { font-family: var(--font-head); font-weight: 600; color: var(--blue); font-size: .9rem; margin-bottom: 4px; }

/* ---------- À propos ---------- */
.about-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.mv-grid { display: grid; gap: 20px; }
.mv-card { display: flex; gap: 20px; align-items: flex-start; }
.mv-card .icon-badge { flex-shrink: 0; margin: 0; }
.mv-card h3 { margin-bottom: 6px; }
.value-card { text-align: left; }
.value-card .value-index { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--cyan); display: block; margin-bottom: 10px; }
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pillar {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
    padding: 26px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border);
    transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.pillar .icon-badge { margin: 0; }
.pillar span { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); line-height: 1.35; }
.commit-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
.commit-list li { display: flex; gap: 14px; align-items: flex-start; }
.commit-list .icon { width: 24px; height: 24px; color: var(--blue); margin-top: 2px; }
.commit-list strong { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 2px; }
.commit-list span { color: var(--text-soft); font-size: .96rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.contact-aside { position: sticky; top: 96px; display: grid; gap: 20px; }
.contact-panel {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: var(--radius-lg); background: var(--grad-ink); color: #fff; padding: 36px 32px;
}
.contact-panel h2 { color: #fff; font-size: 1.5rem; }
.contact-panel p { color: rgba(255, 255, 255, .75); }
.contact-panel .hero-grid { opacity: .7; }
.contact-list { display: grid; gap: 18px; margin-top: 26px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(127, 214, 242, .22); color: var(--cyan-soft);
}
.contact-list .ci .icon { width: 19px; height: 19px; }
.contact-list small { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.contact-list a, .contact-list span { color: #fff; font-weight: 500; }
.contact-list a:hover { color: var(--cyan-soft); }
.promise { display: grid; gap: 14px; }
.promise li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; color: var(--text); }
.promise .icon { width: 20px; height: 20px; color: var(--cyan); margin-top: 3px; }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 44px 40px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--ink); }
.form-field label .req { color: var(--cyan); margin-left: 2px; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; font: inherit; font-size: .98rem; color: var(--text);
    padding: 13px 15px; border-radius: var(--radius-sm);
    border: 1.5px solid var(--border); background: var(--bg);
    transition: border-color .3s, background .3s, box-shadow .3s;
    -webkit-appearance: none; appearance: none;
}
.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E7387' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: #C9D3E0; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none; background: #fff; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 181, 229, .15);
}
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--danger); background: #fff; }
.field-error { font-size: .84rem; color: var(--danger); }
.form-hint { font-size: .86rem; color: var(--text-soft); margin: 18px 0 22px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-family: var(--font-body) !important; font-weight: 400 !important; font-size: .9rem !important; color: var(--text-soft) !important; cursor: pointer; }
.consent input[type="checkbox"] {
    -webkit-appearance: none; appearance: none; flex-shrink: 0;
    width: 20px; height: 20px; margin: 2px 0 0; padding: 0; border-radius: 6px;
    border: 1.5px solid #C2CDDB; background: #fff; cursor: pointer; display: grid; place-items: center;
    transition: background .25s, border-color .25s;
}
.consent input[type="checkbox"]::after {
    content: ''; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0;
    transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease);
}
.consent input[type="checkbox"]:checked { background: var(--blue); border-color: var(--blue); }
.consent input[type="checkbox"]:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.consent input[type="checkbox"]:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.has-error .consent input[type="checkbox"] { border-color: var(--danger); }
.visually-hidden-heading { margin: 0; font-size: inherit; }
.alert {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 16px 18px; border-radius: 12px; margin-bottom: 24px; font-size: .96rem;
}
.alert .icon { margin-top: 2px; }
.alert p { margin: 0; color: inherit; }
.alert--success { background: rgba(19, 134, 90, .08); color: var(--success); border: 1px solid rgba(19, 134, 90, .2); }
.alert--error { background: rgba(194, 59, 59, .07); color: var(--danger); border: 1px solid rgba(194, 59, 59, .2); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item.is-open { border-color: rgba(34, 181, 229, .5); box-shadow: var(--shadow-sm); }
.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 24px; border: 0; background: none; cursor: pointer; text-align: left;
    font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.faq-q .faq-icon {
    width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center;
    background: var(--grad-soft); color: var(--blue); transition: transform .4s var(--ease), background .3s, color .3s;
}
.faq-q .faq-icon .icon { width: 18px; height: 18px; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-a { padding: 0 24px 22px; }
.faq-a p { margin: 0; }
.js .faq-a { display: grid; grid-template-rows: 0fr; padding-bottom: 0; transition: grid-template-rows .45s var(--ease), padding .45s var(--ease); }
.js .faq-a > div { overflow: hidden; }
.js .faq-item.is-open .faq-a { grid-template-rows: 1fr; padding-bottom: 22px; }

/* ---------- Bandeau CTA ---------- */
.cta-band {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
    padding: 56px 56px; border-radius: var(--radius-lg);
    background: var(--grad); color: #fff;
    box-shadow: 0 30px 60px rgba(28, 87, 165, .25);
}
.cta-band::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(600px 300px at 90% 0%, rgba(255, 255, 255, .22), transparent 60%),
                radial-gradient(500px 300px at 0% 120%, rgba(10, 26, 51, .35), transparent 60%);
}
.cta-band-facets { position: absolute; z-index: -1; right: 24%; bottom: -70px; width: 300px; height: 255px; color: rgba(255, 255, 255, .1); transform: rotate(12deg); }
.cta-band-facets svg { width: 100%; height: 100%; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .86); margin: 0; max-width: 600px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .7); padding: 80px 0 0; }
.footer-glow { position: absolute; inset: auto -10% 60% auto; width: 600px; height: 400px; background: radial-gradient(closest-side, rgba(34, 181, 229, .14), transparent); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.1fr; gap: 48px; padding-bottom: 56px; }
.brand--footer { margin-bottom: 18px; }
.footer-brand p { color: rgba(255, 255, 255, .62); max-width: 340px; font-size: .95rem; }
.footer-title { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; font-weight: 600; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, .68); font-size: .95rem; }
.footer-col a:hover { color: var(--cyan-soft); }
.footer-contact { margin-bottom: 22px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.footer-contact .icon { color: var(--cyan-soft); margin-top: 3px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .15); color: #fff; transition: background .3s, border-color .3s; }
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-social .icon { width: 18px; height: 18px; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, .5); }
.footer-bottom a { color: rgba(255, 255, 255, .6); }
.footer-bottom a:hover { color: var(--cyan-soft); }

.back-to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
    background: var(--grad); color: #fff; box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .35s, transform .35s var(--ease), visibility .35s;
}
.back-to-top .icon { transform: rotate(180deg); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: #fff; transform: translateY(-3px); }

/* ---------- Pages texte (mentions légales, 404) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; color: var(--text-soft); }
.prose li { margin-bottom: .4em; }
.prose .todo { color: var(--slate); font-style: italic; }
.error-page { min-height: 100svh; display: flex; align-items: center; }
.error-code { font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; margin: 0 0 10px; }
.error-actions { margin: 34px 0 0; }

/* ---------- Titre en saisie clavier ---------- */
.js [data-typewriter] { opacity: 0; animation: twFallback 0s 2.5s forwards; }
.js [data-typewriter].tw-on { opacity: 1; animation: none; }
.tw-caret {
    display: inline-block; width: .08em; height: .95em; margin-left: .06em;
    vertical-align: -.08em; border-radius: 2px;
    background: var(--cyan); box-shadow: 0 0 12px rgba(34, 181, 229, .6);
    animation: caretBlink 1s steps(1) infinite;
}
.tw-done .tw-caret { animation: caretBlink 1s steps(1) 4, caretOut .4s 4s forwards; }
@keyframes caretBlink { 50% { opacity: 0; } }
@keyframes caretOut { to { opacity: 0; } }
@keyframes twFallback { to { opacity: 1; } }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .js .reveal { opacity: 1; transform: none; }
    .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
    .solutions-track { animation: none; }
    .solutions-carousel { overflow-x: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .chip--3 { left: -2%; }
    .chip--2 { right: 0; }
    .chip--4 { right: 0; }
    .pillars { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
    .section { padding: 84px 0; }
    .hero-inner, .why, .service-block, .about-intro, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero { min-height: 0; padding-bottom: 96px; }
    .hero-visual { justify-self: center; max-width: 440px; }
    .service-block:nth-of-type(even) .service-text { order: 0; }
    .service-block + .service-block { margin-top: 84px; }
    .grid--3, .grid--4, .audience { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid > *, .services-grid > :nth-child(4), .services-grid > :nth-child(5) { grid-column: auto; }
    .services-grid > :nth-child(5) { grid-column: 1 / -1; }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
    .products-row {
        flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px;
        padding-bottom: 18px; scrollbar-width: thin;
    }
    .products-row .product-card { flex: 0 0 min(420px, 82vw); scroll-snap-align: center; }
    .steps::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-band { grid-template-columns: 1fr; padding: 44px 36px; }
    .cta-band-actions { justify-content: flex-start; }
    .contact-aside { position: static; }
    .why-panel { min-height: 0; }
}

@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; position: relative; z-index: 120; }
    .main-nav {
        position: fixed; inset: 0; z-index: 110;
        flex-direction: column; justify-content: center; gap: 32px;
        background: radial-gradient(800px 500px at 100% 0%, rgba(34, 181, 229, .2), transparent 60%), var(--ink);
        opacity: 0; visibility: hidden; transform: translateY(-12px);
        transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
    }
    .main-nav ul { flex-direction: column; gap: 6px; }
    .main-nav ul a, .site-header.is-scrolled .main-nav ul a { font-size: 1.5rem; padding: 10px 20px; color: rgba(255, 255, 255, .85); text-align: center; }
    .site-header.is-scrolled .main-nav ul a.is-active, .main-nav ul a.is-active { color: #fff; }
    .main-nav ul a::after { left: 30%; right: 30%; }
    .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
    .main-nav { overflow-y: auto; }
    .has-sub { display: flex; flex-direction: column; align-items: center; }
    .sub-toggle { display: none; }
    .main-nav .sub-menu {
        position: static; min-width: 0; margin: 0; padding: 0; gap: 0; align-items: center;
        background: none; border: 0; box-shadow: none;
        opacity: 1; visibility: visible; transform: none;
    }
    .main-nav .sub-menu::before, .main-nav .sub-menu .sub-same { display: none; }
    .site-header .main-nav .sub-menu li a { padding: 4px 16px; text-align: center; background: none; }
    .site-header .main-nav .sub-menu li a strong { font-size: 1.05rem; font-weight: 500; color: rgba(255, 255, 255, .62); }
    .site-header .main-nav .sub-menu li a strong::before { content: '↳ '; color: var(--cyan); }
    .site-header .main-nav .sub-menu li a.is-current strong, .site-header .main-nav .sub-menu li a:hover strong { color: #fff; }
    .site-header .main-nav .sub-menu li a small { display: none; }
    .nav-open .nav-toggle-open { display: none; }
    .nav-open .nav-toggle-close { display: block; }
    .nav-open .site-header .brand, .nav-open .site-header .brand-name span { color: #fff; }
    .nav-open .site-header .brand-bird { color: #fff; }
    .nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .nav-open .site-header .nav-toggle { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); }
    .nav-open { overflow: hidden; }
}

@media (max-width: 760px) {
    :root { --header-h: 68px; }
    .section { padding: 64px 0; }
    .section--tight { padding: 24px 0 64px; }
    .section-head { margin-bottom: 40px; }
    .container { padding: 0 18px; }
    .hero { padding-top: calc(var(--header-h) + 44px); padding-bottom: 80px; }
    .hero-actions .btn { flex: 1 1 auto; }
    .hero-visual { max-width: 340px; }
    .chip { font-size: .78rem; padding: 7px 12px 7px 7px; gap: 8px; }
    .chip-icon { width: 28px; height: 28px; border-radius: 8px; }
    .chip-icon .icon { width: 15px; height: 15px; }
    .chip--3, .chip--5 { display: none; }
    .scroll-hint { display: none; }
    .page-hero { padding: calc(var(--header-h) + 40px) 0 64px; }
    .hero-watermark { width: 320px; height: 275px; right: -90px; }
    .grid--2, .grid--3, .grid--4, .audience, .services-grid, .why-list, .commit-list, .form-grid, .footer-grid { grid-template-columns: 1fr; }
    .services-grid > :nth-child(5) { grid-column: auto; }
    .steps { grid-template-columns: 1fr; }
    .pillars { grid-template-columns: repeat(2, 1fr); }
    .card { padding: 28px 22px; }
    .why-panel, .service-visual { padding: 32px 24px; min-height: 0; }
    .form-card { padding: 30px 20px; }
    .cta-band { padding: 36px 24px; }
    .cta-band-actions .btn { flex: 1 1 auto; }
    .tech-strip-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .marquee { width: 100%; }
    .service-nav { top: 60px; }
    .solutions-track .solution-card { width: 290px; }
    .footer-bottom { flex-direction: column; }
}
