/* Bluebox Energy — redesign
   Identité : logo officiel, bleu #046bd2, orange chaleur, navy
   Ergonomie : rythme éditorial inspiré d’Exomad Green
*/

:root {
    --blue: #046bd2;
    --blue-deep: #045cb4;
    --blue-bright: #2b8ef0;
    --orange: #e85d04;
    --orange-soft: #ff8a3d;
    --navy: #070d14;
    --navy-2: #0c1622;
    --navy-3: #122033;
    --slate: #1e293b;
    --ink: #e8eef6;
    --ink-dim: #9aa8b8;
    --paper: #f6f8fb;
    --paper-2: #eef2f6;
    --white: #ffffff;
    --line: rgba(255, 255, 255, 0.1);
    --line-dark: rgba(15, 23, 42, 0.08);
    --shadow: 0 24px 60px rgba(4, 20, 40, 0.28);
    --glow: 0 10px 34px rgba(4, 107, 210, 0.35);
    --radius: 20px;
    --nav-h: 96px;
    --max: 1180px;
    --font: "Manrope", "Segoe UI", sans-serif;
    --display: "Sora", "Manrope", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--navy);
    line-height: 1.65;
    font-size: 17px;
}

::selection {
    background: rgba(4, 107, 210, 0.55);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--navy);
}

::-webkit-scrollbar-thumb {
    background: #22364e;
    border-radius: 8px;
    border: 3px solid var(--navy);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

:focus-visible {
    outline: 2px solid var(--blue-bright);
    outline-offset: 2px;
    border-radius: 6px;
}

.skip {
    position: absolute;
    left: -999px;
    top: 0;
}

.skip:focus {
    left: 16px;
    top: 16px;
    z-index: 100;
    background: var(--white);
    color: var(--navy);
    padding: 8px 14px;
    border-radius: 8px;
}

.wrap {
    width: min(var(--max), calc(100% - 48px));
    margin-inline: auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-bright);
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--orange-soft));
    border-radius: 2px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--display);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 0.6em;
}

h1 {
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
    font-size: 1.35rem;
}

p {
    margin: 0 0 1em;
}

.lead {
    font-size: 1.15rem;
    color: var(--ink-dim);
    max-width: 46rem;
}

/* ——— Header ——— */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(7, 13, 20, 0.85), rgba(7, 13, 20, 0.6));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid transparent;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.site-header.is-scrolled {
    background: rgba(7, 13, 20, 0.96);
    border-bottom-color: var(--line);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1280px, calc(100% - 40px));
    margin-inline: auto;
}

/* Logo sur pastille blanche */
.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 16px;
    padding: 8px 18px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(4, 107, 210, 0.12);
    transition: transform 0.2s, box-shadow 0.2s;
}

.brand:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(4, 107, 210, 0.3), inset 0 0 0 1px rgba(4, 107, 210, 0.2);
}

.brand img {
    height: 62px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav > li,
.drop {
    list-style: none;
}

.nav {
    margin: 0;
    padding: 0;
}

.nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 11px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-dim);
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.nav a:hover,
.nav a.is-on {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.drop {
    position: relative;
}

.drop > button {
    background: none;
    border: 0;
    color: var(--ink-dim);
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}

.drop:hover > button,
.drop.is-open > button,
.drop:focus-within > button {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.chev {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s;
}

.drop:hover .chev,
.drop.is-open .chev {
    transform: rotate(225deg) translateY(-2px);
}

/* Panneau : ouvert au survol, zone tampon + délai de fermeture */
.drop-panel {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 270px;
    padding-top: 14px;
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.35s;
}

.drop:hover .drop-panel,
.drop:focus-within .drop-panel,
.drop.is-open .drop-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition-delay: 0s;
}

.drop-inner {
    display: grid;
    padding: 10px;
    background: rgba(14, 23, 35, 0.97);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(4, 107, 210, 0.3);
    border-radius: 16px;
    box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.drop-inner a {
    border-radius: 10px;
    padding: 11px 14px;
    display: block;
}

.drop-inner a:hover {
    background: linear-gradient(90deg, rgba(4, 107, 210, 0.28), rgba(4, 107, 210, 0.08));
    color: var(--white);
}

.nav-cta {
    background: linear-gradient(135deg, var(--blue-bright), var(--blue)) !important;
    color: var(--white) !important;
    padding: 10px 20px !important;
    box-shadow: 0 6px 18px rgba(4, 107, 210, 0.35);
}

.nav-cta:hover {
    box-shadow: var(--glow);
}

.burger {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--white);
    margin: 5px auto;
    transition: transform 0.2s, opacity 0.2s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ——— Hero ——— */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    padding: calc(var(--nav-h) + 40px) 0 84px;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media video,
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.05);
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 13, 20, 0.4) 0%, rgba(7, 13, 20, 0.55) 40%, rgba(7, 13, 20, 0.94) 100%),
        radial-gradient(ellipse at 18% 82%, rgba(4, 107, 210, 0.32), transparent 52%),
        radial-gradient(ellipse at 85% 90%, rgba(232, 93, 4, 0.14), transparent 45%);
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-copy h1 {
    max-width: 14ch;
    background: linear-gradient(120deg, var(--white) 55%, #9cc8f5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-copy .lead {
    color: #c5d0dc;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-bright), var(--blue));
    color: var(--white);
    box-shadow: 0 8px 24px rgba(4, 107, 210, 0.35);
}

.btn-primary:hover {
    box-shadow: var(--glow);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
}

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

.btn-dark {
    background: linear-gradient(135deg, #16283e, var(--navy));
    color: var(--white);
    box-shadow: 0 8px 20px rgba(7, 13, 20, 0.35);
}

.btn-dark:hover {
    box-shadow: 0 12px 30px rgba(7, 13, 20, 0.5);
}

.btn-line {
    border-color: rgba(4, 107, 210, 0.35);
    color: var(--blue-deep);
    background: var(--white);
}

.btn-line:hover {
    border-color: var(--blue);
    box-shadow: 0 8px 22px rgba(4, 107, 210, 0.18);
}

/* ——— Sections ——— */
section {
    padding: 104px 0;
    position: relative;
}

.section-head {
    display: grid;
    gap: 16px;
    margin-bottom: 52px;
    max-width: 720px;
}

.light {
    background:
        radial-gradient(ellipse at 90% 0%, rgba(4, 107, 210, 0.06), transparent 40%),
        var(--paper);
    color: var(--slate);
}

.light .lead,
.light .muted {
    color: #5b6b7c;
}

.light h2,
.light h3 {
    color: var(--navy);
}

.soft {
    background:
        radial-gradient(ellipse at 10% 10%, rgba(4, 107, 210, 0.1), transparent 45%),
        var(--navy-2);
}

.band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* ——— Story / compare ——— */
.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.split-media {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    min-height: 420px;
    box-shadow: var(--shadow);
}

.split-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 420px;
    transition: transform 0.6s ease;
}

.split-media:hover img {
    transform: scale(1.03);
}

.badge-float {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: rgba(7, 13, 20, 0.84);
    color: var(--white);
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid rgba(4, 107, 210, 0.4);
    backdrop-filter: blur(10px);
}

.badge-float strong {
    display: block;
    font-size: 1.6rem;
    font-family: var(--display);
}

.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.compare article {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--navy-3);
    border: 1px solid var(--line);
    transition: transform 0.25s, border-color 0.25s;
}

.compare article:hover {
    transform: translateY(-3px);
}

.compare .tag {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange-soft);
    margin-bottom: 10px;
}

.compare .win {
    border-color: rgba(4, 107, 210, 0.5);
    background: linear-gradient(180deg, rgba(4, 107, 210, 0.2), rgba(18, 32, 51, 0.92));
    box-shadow: 0 14px 40px rgba(4, 107, 210, 0.18);
}

.compare ul {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.compare li {
    padding: 8px 0;
    border-top: 1px solid var(--line);
    color: var(--ink-dim);
    font-size: 15px;
}

.compare li strong {
    color: var(--white);
    font-weight: 700;
}

/* ——— Process ——— */
.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 26px 22px 30px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--line);
    min-height: 220px;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s;
}

.step::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-bright), var(--orange));
    opacity: 0;
    transition: opacity 0.25s;
}

.step:hover {
    transform: translateY(-4px);
    border-color: rgba(4, 107, 210, 0.45);
}

.step:hover::before {
    opacity: 1;
}

.step .num {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 700;
    color: var(--orange-soft);
    letter-spacing: 0.06em;
    border: 1px solid rgba(232, 93, 4, 0.4);
    background: rgba(232, 93, 4, 0.08);
}

.step h3 {
    margin: 18px 0 10px;
    font-size: 1.15rem;
}

.step p {
    color: var(--ink-dim);
    font-size: 15px;
    margin: 0;
}

/* ——— Stats ——— */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.stat {
    background:
        radial-gradient(ellipse at 50% -30%, rgba(4, 107, 210, 0.16), transparent 65%),
        var(--navy-2);
    padding: 40px 28px;
    position: relative;
}

.stat::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 26px;
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--orange), var(--orange-soft));
}

.stat b {
    display: block;
    font-family: var(--display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    letter-spacing: -0.04em;
    background: linear-gradient(120deg, var(--white) 60%, var(--blue-bright));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 14px;
}

.stat span {
    color: var(--ink-dim);
    font-size: 14px;
}

/* ——— Cards ——— */
.grid-4,
.grid-3,
.grid-2 {
    display: grid;
    gap: 18px;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, #142438, var(--navy-3));
    border: 1px solid var(--line);
    min-height: 100%;
    transition: transform 0.28s, border-color 0.28s, box-shadow 0.28s;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-bright), var(--blue), var(--orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(4, 107, 210, 0.55);
    box-shadow: 0 22px 50px rgba(4, 40, 80, 0.35);
}

.card:hover::after {
    transform: scaleX(1);
}

.light .card {
    background: var(--white);
    border-color: var(--line-dark);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.light .card:hover {
    box-shadow: 0 24px 54px rgba(4, 60, 120, 0.16);
}

.card-fig {
    aspect-ratio: 16 / 11;
    background:
        linear-gradient(160deg, rgba(4, 107, 210, 0.35), transparent 50%),
        #0a1522;
    position: relative;
    overflow: hidden;
}

.card-fig img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-fig img {
    transform: scale(1.06);
}

.card-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body .status {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
}

.card-body p {
    color: var(--ink-dim);
    font-size: 15px;
    flex: 1;
}

.light .card-body p {
    color: #5b6b7c;
}

.more {
    margin-top: 16px;
    font-weight: 800;
    font-size: 14px;
    color: var(--blue-bright);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.more::after {
    content: "→";
    transition: transform 0.2s;
}

.card:hover .more::after,
.more:hover::after {
    transform: translateX(4px);
}

.light .more {
    color: var(--blue);
}

.kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 14px 0 4px;
}

.kpis div {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px 12px;
}

.kpis b {
    display: block;
    font-family: var(--display);
    font-size: 1.15rem;
    color: var(--white);
}

.kpis span {
    font-size: 12px;
    color: var(--ink-dim);
}

/* ——— Partners ——— */
.logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.logo-tile {
    min-height: 92px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: var(--ink-dim);
    transition: transform 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.logo-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(4, 107, 210, 0.55);
    color: var(--white);
    box-shadow: 0 14px 34px rgba(4, 40, 80, 0.3);
}

/* ——— Team ——— */
.person {
    padding: 30px;
    border-radius: 22px;
    background: var(--white);
    border: 1px solid var(--line-dark);
    transition: transform 0.25s, box-shadow 0.25s;
}

.person:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(4, 60, 120, 0.14);
}

.avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--display);
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-bright), #1a3d6e);
    box-shadow: 0 8px 20px rgba(4, 107, 210, 0.3);
    margin-bottom: 16px;
}

.person h3 {
    margin-bottom: 4px;
}

.person .role {
    color: var(--blue);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
}

.person p,
.person li {
    color: #4b5b6c;
    font-size: 15px;
}

.person ul {
    margin: 0;
    padding-left: 18px;
}

/* ——— Page hero ——— */
.page-hero {
    padding: calc(var(--nav-h) + 76px) 0 68px;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(4, 107, 210, 0.28), transparent 46%),
        radial-gradient(ellipse at 5% 100%, rgba(232, 93, 4, 0.1), transparent 40%),
        linear-gradient(180deg, var(--navy-2), var(--navy));
    border-bottom: 1px solid var(--line);
}

.crumbs {
    color: var(--ink-dim);
    font-size: 13px;
    margin-bottom: 18px;
}

.crumbs a:hover {
    color: var(--white);
}

/* ——— Article ——— */
.prose {
    max-width: 760px;
}

.prose p,
.prose li {
    color: #3d4d5f;
    font-size: 1.05rem;
}

.prose ul {
    padding-left: 20px;
}

.meta {
    color: var(--ink-dim);
    font-size: 14px;
    margin-bottom: 20px;
}

.news-list {
    display: grid;
    gap: 14px;
}

.news-item {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 24px 26px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid var(--line-dark);
    transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.news-item:hover {
    transform: translateX(6px);
    border-color: rgba(4, 107, 210, 0.4);
    box-shadow: 0 14px 34px rgba(4, 60, 120, 0.1);
}

.news-item time {
    color: var(--blue);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.news-item h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
}

.news-item p {
    margin: 0;
    color: #5b6b7c;
    font-size: 15px;
}

/* ——— Contact ——— */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.panel {
    padding: 34px;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid var(--line-dark);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.panel dt {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-top: 16px;
}

.panel dd {
    margin: 6px 0 0;
}

.field {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

.field label {
    font-size: 13px;
    font-weight: 700;
}

.field input,
.field textarea,
.field select {
    border: 1px solid #d5dee8;
    border-radius: 12px;
    padding: 12px 14px;
    background: #fbfcfe;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(4, 107, 210, 0.15);
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.map-note {
    margin-top: 18px;
    color: #5b6b7c;
    font-size: 15px;
}

/* ——— Footer ——— */
.site-footer {
    padding: 72px 0 28px;
    background:
        radial-gradient(ellipse at 50% -20%, rgba(4, 107, 210, 0.12), transparent 55%),
        #05090e;
    border-top: 1px solid var(--line);
}

.foot-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 32px;
}

.site-footer .brand {
    padding: 6px 14px;
    border-radius: 14px;
}

.site-footer .brand img {
    height: 48px;
}

.site-footer h4 {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 16px;
}

.site-footer a {
    display: block;
    padding: 4px 0;
    color: #c7d2de;
    font-size: 14px;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--white);
}

.site-footer .brand {
    display: inline-flex;
}

.foot-copy {
    margin-top: 44px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: #6d7c8c;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* ——— Apparition au défilement ——— */
.io {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.io.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .io {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ——— Spec table ——— */
.specs {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 8px;
}

.specs th,
.specs td {
    text-align: left;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 15px;
}

.specs th {
    color: #6b7a8a;
    font-weight: 600;
    width: 42%;
}

.specs tr:hover td {
    color: var(--navy);
}

/* ——— Responsive ——— */
@media (max-width: 1080px) {
    .steps,
    .grid-4,
    .stats,
    .logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .split,
    .foot-top,
    .contact-grid,
    .news-item {
        grid-template-columns: 1fr;
    }

    .news-item {
        gap: 8px;
    }
}

@media (max-width: 1180px) {
    .burger {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(9, 16, 25, 0.98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--line);
        padding: 12px 16px 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        padding: 12px 14px;
        font-size: 15px;
    }
}

@media (max-width: 860px) {
    :root {
        --nav-h: 78px;
    }

    .brand {
        padding: 6px 12px;
        border-radius: 12px;
    }

    .brand img {
        height: 46px;
    }

    .grid-3,
    .grid-2,
    .compare,
    .steps,
    .grid-4,
    .stats,
    .logos {
        grid-template-columns: 1fr;
    }

    section {
        padding: 72px 0;
    }

    .wrap {
        width: min(var(--max), calc(100% - 32px));
    }
}
