/* ==========================================================================
   SofticPRT - site public store.softic.io
   Charte SOFTIC (celle de la console SofticPRT) : bleu nuit, orange, acier, police Space Grotesk ;
   arabe en Noto Sans Arabic, affiche de droite a gauche. Toutes les ressources sont locales.
   Marges et alignements en proprietes logiques (inline-start / inline-end) : la page arabe se
   retourne sans regle supplementaire. Aucun style en ligne (politique de securite du contenu).
   ========================================================================== */

/* ---------- Polices ---------- */
@font-face {
    font-family: "Space Grotesk";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Space Grotesk";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Noto Sans Arabic";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/noto-sans-arabic-arabic-wght-normal.woff2") format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* ---------- Variables ---------- */
:root {
    --night: #0A2540;
    --night-2: #0F2E50;
    --night-3: #13385F;
    --orange: #FF7200;
    --orange-2: #FF8A2A;
    --orange-soft: #FFF1E5;
    --steel: #3E5C80;
    --blue: #1D5FBF;
    --blue-soft: #E7EFFB;

    --paper: #F3F5F8;
    --surface: #FFFFFF;
    --ink: #101B2D;
    --muted: #5B6B82;
    --line: #DCE2EA;
    --line-strong: #C7D0DC;

    --ok: #1B7F4E;
    --ok-bg: #E7F4EC;
    --run: #1D5FBF;
    --run-bg: #E7EFFB;
    --warn: #A86400;
    --warn-bg: #FBF1DF;

    --font: "Space Grotesk", "Noto Sans Arabic", "Segoe UI", system-ui, -apple-system, sans-serif;
    --mono: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;

    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 8px 24px rgba(10, 37, 64, .07);
    --shadow-lg: 0 2px 4px rgba(10, 37, 64, .08), 0 24px 48px rgba(10, 37, 64, .14);
    --container: 1180px;
    --header-h: 68px;
}

html[dir="rtl"] {
    --font: "Noto Sans Arabic", "Space Grotesk", "Segoe UI", Tahoma, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html[dir="rtl"] body { font-size: 16px; line-height: 1.75; }

img, svg { display: block; max-width: 100%; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--night); }

h1, h2, h3 {
    margin: 0 0 .5em;
    color: var(--night);
    line-height: 1.2;
    letter-spacing: -.015em;
    font-weight: 650;
}

html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.4; }

h1 { font-size: clamp(1.9rem, 1.35rem + 1.9vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem); }
h3 { font-size: 1.12rem; }

p { margin: 0 0 1em; }

code { font-family: var(--mono); font-size: .9em; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

main:focus { outline: none; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    inset-inline-start: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--orange);
    color: var(--night);
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.container.narrow { max-width: 860px; }

/* ---------- Icones ---------- */
.icon {
    width: 1.2em;
    height: 1.2em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    padding: .72em 1.25em;
    border: 1.5px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-weight: 600;
    font-size: .98rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-primary { background: var(--orange); color: var(--night); box-shadow: 0 6px 16px rgba(255, 114, 0, .24); }
.btn-primary:hover { background: var(--orange-2); color: var(--night); }

.btn-secondary { background: var(--surface); color: var(--night); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--night); color: var(--night); }

.btn-ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .32); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }

.btn[disabled], .btn[disabled]:hover {
    background: #E9EDF2;
    color: #7A879A;
    border-color: transparent;
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

.btn-sm { padding: .5em .95em; font-size: .9rem; }
.btn-lg { padding: .9em 1.5em; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }

.btn-icon {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--steel);
    cursor: pointer;
}
.btn-icon:hover { color: var(--night); border-color: var(--line-strong); }
.btn-icon.copied { color: var(--ok); border-color: var(--ok); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    font-weight: 600;
    text-decoration: none;
}
.link-arrow:hover .icon { transform: translateX(3px); }
html[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(3px); }
.link-arrow .icon { transition: transform .15s; }

/* ---------- Badges ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: .15em .6em;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.5;
    vertical-align: middle;
    white-space: nowrap;
}
.badge-soon { background: var(--warn-bg); color: var(--warn); }
.badge-preview { background: var(--blue-soft); color: var(--blue); }

/* ---------- En-tete ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--night);
    text-decoration: none;
}
.brand img { border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.brand-by { font-size: .72rem; color: var(--muted); font-weight: 500; }
.brand:hover { color: var(--night); }

.nav { display: flex; gap: 4px; margin-inline-start: 8px; }
.nav a {
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--ink);
    font-weight: 500;
    font-size: .95rem;
    text-decoration: none;
}
.nav a:hover { background: var(--paper); color: var(--night); }
.nav a[aria-current="page"] { color: var(--night); background: var(--paper); box-shadow: inset 0 -2px 0 var(--orange); }

.header-tools { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }

.lang-switch {
    display: flex;
    gap: 2px;
    margin: 0;
    padding: 3px;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--paper);
}
.lang-switch a {
    display: block;
    min-width: 34px;
    padding: 4px 8px;
    border-radius: 6px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}
.lang-switch a:hover { color: var(--night); background: #fff; }
.lang-switch a.active { color: var(--night); background: #fff; box-shadow: 0 1px 2px rgba(10, 37, 64, .12); }
.lang-switch a[lang="ar"] { font-family: "Noto Sans Arabic", var(--font); font-size: .8rem; }

.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--night);
    list-style: none;
    cursor: pointer;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary .icon { width: 22px; height: 22px; }
.mobile-menu .when-open { display: none; }
.mobile-menu[open] .when-open { display: block; }
.mobile-menu[open] .when-closed { display: none; }
.mobile-panel {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 10px);
    width: min(320px, calc(100vw - 32px));
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-lg);
}
.mobile-panel nav { display: flex; flex-direction: column; margin-bottom: 12px; }
.mobile-panel nav a { padding: 11px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; text-decoration: none; }
.mobile-panel nav a:hover, .mobile-panel nav a[aria-current="page"] { background: var(--paper); color: var(--night); }
.mobile-panel .lang-switch { justify-content: space-between; }

/* ---------- Bandeau d'accueil ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 88px;
    color: #DCE6F2;
    background:
        radial-gradient(900px 480px at 85% -10%, rgba(255, 114, 0, .16), transparent 60%),
        radial-gradient(700px 520px at -10% 110%, rgba(29, 95, 191, .28), transparent 60%),
        linear-gradient(180deg, var(--night) 0%, #081D33 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px;
    align-items: center;
}

.hero h1 { color: #fff; max-width: 17em; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.45rem); }
.hero .lead { color: #C2D0E2; font-size: 1.13rem; max-width: 34em; }

.eyebrow {
    margin: 0 0 12px;
    color: var(--orange);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: .88rem; }
.eyebrow-light { color: var(--orange-2); }

.lead { font-size: 1.1rem; color: var(--muted); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero-actions-center { justify-content: center; }

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #AFC0D6;
    font-size: .9rem;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--orange-2); }

/* Illustration de la console */
.console {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FB 100%);
    color: var(--ink);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 6px rgba(255, 255, 255, .04);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
}
html[dir="rtl"] .console { transform: perspective(1400px) rotateY(4deg) rotateX(2deg); }

.console-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 16px;
    background: var(--night);
    color: #fff;
}
.console-dots { display: flex; gap: 6px; }
.console-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.console-dots span:first-child { background: var(--orange); }
.console-title { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; }
.console-title img { border-radius: 4px; }

.console-body { padding: 18px; }

.console-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}
.console-stats div {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}
.console-stats strong { display: block; color: var(--night); font-size: 1.35rem; line-height: 1.1; }
.console-stats strong.ok { color: var(--ok); }
.console-stats strong.run { color: var(--run); }
.console-stats span { color: var(--muted); font-size: .76rem; }

.jobs { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.job {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
}
.job-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
}
.job-icon.ok { background: var(--ok-bg); color: var(--ok); }
.job-icon.run { background: var(--run-bg); color: var(--run); }
.job-main { display: flex; flex-direction: column; min-width: 0; }
.job-main strong { font-size: .9rem; color: var(--night); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-main > span { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.progress { display: block; height: 5px; margin-top: 7px; border-radius: 99px; background: var(--run-bg); overflow: hidden; }
.progress span { display: block; width: 64%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--run), #4E8BE0); animation: progress 3.2s ease-in-out infinite alternate; }
html[dir="rtl"] .progress span { margin-inline-start: auto; }

@keyframes progress {
    from { width: 52%; }
    to { width: 71%; }
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 99px;
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
}
.chip .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.chip-run { background: var(--run-bg); color: var(--run); }
.chip-run .icon { animation: spin 2.4s linear infinite; }

@keyframes spin { to { transform: rotate(-360deg); } }

.console-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-top: 14px;
    color: var(--muted);
    font-size: .78rem;
}
.console-foot span { display: inline-flex; align-items: center; gap: 6px; }
.console-foot .icon { width: 15px; height: 15px; color: var(--steel); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 48px 0 72px; }
.section-alt { background: var(--paper); }

.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { margin-bottom: .45em; }
.section-lead { color: var(--muted); font-size: 1.06rem; margin: 0; }
.section-more { margin: 32px 0 0; text-align: center; }

.page-hero {
    padding: 64px 0 40px;
    background:
        radial-gradient(700px 300px at 90% 0%, rgba(255, 114, 0, .08), transparent 70%),
        linear-gradient(180deg, var(--paper) 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 20em; }
.page-hero .lead { max-width: 44em; margin-bottom: 0; }
.page-hero-small { padding: 48px 0 28px; }
.page-hero-center { text-align: center; padding: 96px 0; }
.page-hero-center .lead { margin-inline: auto; }

/* Piliers */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pillar {
    padding: 30px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}
.pillar-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 13px;
    background: var(--night);
    color: var(--orange);
}
.pillar-icon .icon { width: 26px; height: 26px; }
.pillar p { margin: 0; color: var(--muted); }

/* Fonctions */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.feature {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 22px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}
.feature-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--orange-soft);
    color: #C25500;
}
.feature-icon .icon { width: 22px; height: 22px; }
.feature h3 { margin-bottom: .3em; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Etapes */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}
.step { position: relative; padding: 28px 26px; border-radius: var(--radius); background: var(--paper); }
.step-number {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--night);
    font-weight: 700;
}
.step p { margin: 0; color: var(--muted); }

.data-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 860px;
    margin: 36px auto 0;
    padding: 18px 22px;
    border: 1px solid #CFE3D7;
    border-radius: var(--radius);
    background: var(--ok-bg);
    color: #1F4D35;
}
.data-note .icon { width: 24px; height: 24px; color: var(--ok); margin-top: 2px; }
.data-note p { margin: 0; }
.data-note strong { color: #123A26; }

/* ---------- Editions ---------- */
.editions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.edition {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 26px 26px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}
.edition-featured { border: 2px solid var(--orange); box-shadow: var(--shadow-lg); }
.edition-badge {
    position: absolute;
    top: -13px;
    inset-inline-start: 24px;
    padding: 4px 12px;
    border-radius: 99px;
    background: var(--orange);
    color: var(--night);
    font-size: .74rem;
    font-weight: 700;
}
.edition-name { margin-bottom: .2em; font-size: 1.35rem; }
.edition-tag { min-height: 3em; margin-bottom: 18px; color: var(--muted); font-size: .95rem; }
.edition-price { display: flex; flex-direction: column; margin-bottom: 18px; }
.edition-price .amount { color: var(--night); font-size: 2.1rem; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.edition-price .amount-unknown { color: var(--line-strong); }
.edition-price .period { color: var(--muted); font-size: .9rem; }
.edition-price .trial { margin-top: 6px; color: var(--ok); font-size: .85rem; font-weight: 600; }
.edition-alt { margin: -8px 0 16px; color: var(--muted); font-size: .88rem; }
.edition-action { margin-bottom: 20px; }
.edition-note { margin: 8px 0 0; color: var(--muted); font-size: .8rem; text-align: center; }
.edition-includes { margin: 0 0 10px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--night); font-size: .88rem; font-weight: 600; }
.edition-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: .93rem; }
.edition-list li { display: flex; align-items: flex-start; gap: 9px; }
.edition-list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--ok); stroke-width: 2.2; }
.edition-list li.soon { color: var(--muted); }
.edition-list li.soon .icon { color: var(--warn); stroke-width: 1.8; }
.edition-list .badge { margin-inline-start: 4px; }

.pricing-notes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: .88rem;
}
.pricing-notes li { display: flex; align-items: flex-start; gap: 10px; }
.pricing-notes .icon { width: 20px; height: 20px; color: var(--steel); margin-top: 1px; }

/* Comparatif */
.compare-wrap {
    position: relative;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .94rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { position: sticky; top: 0; background: var(--paper); }
.compare thead th:first-child, .compare tbody th { text-align: start; }
.compare-feature { width: 40%; }
.compare-edition { display: block; color: var(--night); font-size: 1.02rem; font-weight: 700; }
.compare-price { display: block; color: var(--muted); font-size: .85rem; font-weight: 500; }
.compare tbody th { font-weight: 500; color: var(--ink); }
.compare tbody tr:hover { background: #FAFBFC; }
.row-label { margin-inline-end: 6px; }
.row-detail { display: block; margin-top: 2px; color: var(--muted); font-size: .82rem; font-weight: 400; }
.mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.mark .icon { width: 17px; height: 17px; stroke-width: 2.4; }
.mark-yes { background: var(--ok-bg); color: var(--ok); }
.mark-soon { background: var(--warn-bg); color: var(--warn); }
.mark-soon .icon { stroke-width: 2; }
.mark-no { color: #A5B1C2; }
.compare-note { margin: 16px 0 0; color: var(--muted); font-size: .88rem; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 20px;
    color: var(--night);
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--steel); transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { padding: 14px 20px 18px; color: var(--muted); }
.faq-answer p { margin: 0; }

/* Bandeau d'appel */
.cta-band {
    padding: 56px 0;
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(255, 114, 0, .18), transparent 70%),
        var(--night);
    color: #C2D0E2;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cta-inner > div:first-child { flex: 1 1 380px; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 1 auto; }

/* ---------- Telechargement ---------- */
.release-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-lg);
}
.release-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.release-head img { border-radius: 14px; }
.release-head h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 .15em; }
.release-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; color: var(--muted); font-size: .92rem; }
.release-main { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 20px; }
.release-file { margin: 0; color: var(--muted); font-size: .9rem; }
.checksum {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--paper);
}
.checksum-label { color: var(--steel); font-size: .78rem; font-weight: 700; letter-spacing: .05em; }
.checksum code { flex: 1; min-width: 0; overflow-wrap: anywhere; color: var(--ink); font-size: .8rem; }
.release-notes { margin-top: 22px; }
.release-notes h3 { margin-bottom: .3em; }
.release-notes p { color: var(--muted); white-space: pre-line; }
.release-files { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.release-files summary { display: flex; align-items: center; justify-content: space-between; color: var(--night); font-weight: 600; list-style: none; cursor: pointer; }
.release-files summary::-webkit-details-marker { display: none; }
.release-files summary .icon { color: var(--steel); transition: transform .2s; }
.release-files[open] summary .icon { transform: rotate(45deg); }
.release-files-hint { margin: 10px 0 12px; color: var(--muted); font-size: .88rem; }
.release-files ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.release-files li {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 4px 14px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: .9rem;
}
.file-lang { color: var(--night); font-weight: 600; }
.file-size { color: var(--muted); }
.file-hash { grid-column: 1 / -1; color: var(--muted); font-size: .74rem; overflow-wrap: anywhere; }
.release-soon { display: flex; gap: 22px; align-items: flex-start; }
.release-soon-icon { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 14px; background: var(--warn-bg); color: var(--warn); }
.release-soon-icon .icon { width: 28px; height: 28px; }
.release-soon p { color: var(--muted); }

.two-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.two-columns h2 { font-size: 1.4rem; }

.numbered { margin: 0; padding-inline-start: 1.3em; display: grid; gap: 12px; }
.numbered li { padding-inline-start: 6px; color: var(--muted); }
.numbered li::marker { color: var(--orange); font-weight: 700; }
.numbered strong { color: var(--night); }

.checklist { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.checklist .icon { width: 19px; height: 19px; margin-top: 3px; color: var(--ok); stroke-width: 2.2; }

.code-block {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--night);
    color: #DCE6F2;
}
.code-block code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: .82rem; line-height: 1.6; text-align: left; }
.code-block .btn-icon { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #DCE6F2; }
.hint { margin-top: 10px; color: var(--muted); font-size: .86rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.contact-card {
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}
.contact-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 12px; background: var(--night); color: var(--orange); }
.contact-icon .icon { width: 24px; height: 24px; }
.contact-card h2 { font-size: 1.15rem; }
.contact-card p { flex: 1; color: var(--muted); font-size: .95rem; }
.contact-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 28px 0 0; color: var(--muted); }

/* ---------- Pages legales ---------- */
.legal-updated { margin: 0; color: var(--muted); font-size: .92rem; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.legal-nav ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; border-inline-start: 2px solid var(--line); }
.legal-nav a { display: block; margin-inline-start: -2px; padding: 8px 14px; border-inline-start: 2px solid transparent; color: var(--muted); font-size: .92rem; text-decoration: none; }
.legal-nav a:hover { color: var(--night); }
.legal-nav a[aria-current="page"] { border-color: var(--orange); color: var(--night); font-weight: 600; }

.prose { max-width: 760px; color: var(--ink); }
.prose h2 { margin: 2em 0 .6em; font-size: 1.3rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.5em 0 .5em; font-size: 1.06rem; }
.prose p, .prose li { color: #2B3A50; }
.prose ul, .prose ol { padding-inline-start: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; margin: 0 0 1.2em; border-collapse: collapse; font-size: .92rem; }
.prose th, .prose td { padding: 9px 12px; border: 1px solid var(--line); text-align: start; vertical-align: top; }
.prose th { background: var(--paper); color: var(--night); font-weight: 600; }
.prose .callout { padding: 14px 18px; border-inline-start: 4px solid var(--orange); border-radius: 0 10px 10px 0; background: var(--orange-soft); }
html[dir="rtl"] .prose .callout { border-radius: 10px 0 0 10px; }
.legal-missing { padding: 0 4px; border-radius: 4px; background: #FFE3E3; color: #A61B1B; font-family: var(--mono); font-size: .85em; }

/* ---------- Avis ---------- */
.notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 920px;
    margin: 0 auto 26px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: .95rem;
}
.notice p { margin: 0; }
.notice .icon { width: 20px; height: 20px; margin-top: 2px; }
.notice-info { background: var(--blue-soft); color: #173E78; }
.notice-warn { background: var(--warn-bg); color: #6B4100; margin: 18px 0 0; }

/* ---------- Pied de page ---------- */
.site-footer { padding: 64px 0 28px; background: #071A2E; color: #9FB0C6; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-brand p { max-width: 30em; margin: 16px 0 0; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-light .brand-by { color: #8FA3BC; }
.footer-softic { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 600; }
.footer-softic .icon { width: 15px; height: 15px; }
.site-footer h2 { margin: 0 0 14px; color: #fff; font-size: .92rem; letter-spacing: .02em; }
.site-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #C2D0E2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; margin-top: 48px; padding-top: 22px; font-size: .84rem; }
.footer-bottom::before { content: ""; position: absolute; top: 0; inset-inline: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom p { margin: 0; }
.footer-paddle { max-width: 640px; }

/* ---------- Ecrans moyens et petits ---------- */
@media (max-width: 1080px) {
    .nav { display: none; }
    .header-tools > .lang-switch { display: none; }
    .mobile-menu { display: block; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 560px; }
    .editions { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .edition-tag { min-height: 0; }
    .pricing-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .pillars, .steps, .contact-grid { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    .two-columns { grid-template-columns: 1fr; gap: 36px; }
    .legal-layout { grid-template-columns: 1fr; gap: 24px; }
    .legal-nav { position: static; }
    .legal-nav ul { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
    .legal-nav a { margin: 0; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; }
    .legal-nav a[aria-current="page"] { border-color: var(--orange); background: var(--orange-soft); }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .container { padding-inline: 18px; }
    .header-cta span { display: none; }
    .header-cta { padding: .55em .7em; }
    .hero { padding: 48px 0 64px; }
    .section { padding: 60px 0; }
    .console { transform: none; }
    html[dir="rtl"] .console { transform: none; }
    .console-stats span { font-size: .7rem; }
    .pricing-notes { grid-template-columns: 1fr; }
    .release-card { padding: 22px; }
    .release-head img { width: 44px; height: 44px; }
    .release-files li { grid-template-columns: 1fr auto; }
    .release-files li .file-lang { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
    .site-header, .site-footer, .cta-band, .legal-nav, .skip-link { display: none !important; }
    .page-hero { background: none; border: 0; padding: 0 0 12px; }
    .legal-layout { display: block; }
    body { font-size: 11pt; }
}
