/* Ru2f Solutions — feuille de style centralisée */
:root {
    --ru2f-blue-950: #062f55;
    --ru2f-blue-900: #073e70;
    --ru2f-blue-800: #0b4f88;
    --ru2f-blue-700: #126ba2;
    --ru2f-cyan-500: #1da9c7;
    --ru2f-green-700: #087a54;
    --ru2f-green-600: #0b9d68;
    --ru2f-green-500: #22bd7a;
    --ru2f-green-100: #daf7e9;
    --ink-950: #102333;
    --ink-800: #263b4b;
    --ink-650: #526575;
    --ink-500: #748491;
    --line: #dce7ee;
    --line-strong: #c5d6e0;
    --surface: #ffffff;
    --surface-soft: #f4f8fb;
    --surface-blue: #edf6fb;
    --danger: #a61b31;
    --danger-soft: #fff0f3;
    --success: #08734e;
    --success-soft: #e8f8f0;
    --shadow-sm: 0 10px 30px rgba(13, 55, 84, 0.08);
    --shadow-md: 0 24px 70px rgba(13, 55, 84, 0.13);
    --radius-sm: 12px;
    --radius-md: 22px;
    --radius-lg: 36px;
    --container: 1180px;
    --header-height: 82px;
    --ease: 180ms ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink-950);
    background: var(--surface);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

a {
    color: var(--ru2f-blue-800);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--ru2f-green-700);
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid rgba(29, 169, 199, 0.42);
    outline-offset: 3px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ink-950);
    font-weight: 780;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

h1 {
    margin-bottom: 1.4rem;
    font-size: clamp(2.55rem, 5.6vw, 5.5rem);
}

h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 3.6vw, 3.4rem);
}

h3 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p {
    color: var(--ink-650);
}

ul,
ol,
dl {
    margin-top: 0;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section {
    padding-block: clamp(76px, 9vw, 132px);
}

.section-soft {
    position: relative;
    overflow: hidden;
    border-block: 1px solid var(--line);
    background:
        radial-gradient(circle at 5% 10%, rgba(29, 169, 199, 0.08), transparent 35%),
        radial-gradient(circle at 95% 85%, rgba(34, 189, 122, 0.08), transparent 32%),
        var(--surface-soft);
}

.eyebrow {
    margin-bottom: 0.85rem;
    color: var(--ru2f-green-700);
    font-size: 0.77rem;
    font-weight: 820;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 12px 16px;
    color: #fff;
    background: var(--ru2f-blue-950);
    border-radius: 8px;
    transform: translateY(-160%);
    transition: transform var(--ease);
}

.skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

/* En-tête */
.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    min-height: var(--header-height);
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    transition: box-shadow var(--ease), border-color var(--ease), background var(--ease);
}

.site-header.is-scrolled {
    border-color: rgba(197, 214, 224, 0.8);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 36px rgba(13, 55, 84, 0.07);
}

.header-inner {
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    color: var(--ink-950);
    text-decoration: none;
}

.brand:hover {
    color: var(--ink-950);
}

.brand img {
    width: 48px;
    height: 56px;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.brand-copy strong {
    color: var(--ru2f-blue-900);
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brand-copy small {
    color: var(--ink-500);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

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

.main-nav > a:not(.button) {
    padding: 10px 12px;
    color: var(--ink-800);
    border-radius: 9px;
    font-size: 0.91rem;
    font-weight: 680;
    text-decoration: none;
    transition: color var(--ease), background var(--ease);
}

.main-nav > a:not(.button):hover,
.main-nav > a[aria-current="page"]:not(.button) {
    color: var(--ru2f-blue-900);
    background: var(--surface-blue);
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--ink-950);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
    font-weight: 700;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle-bars {
    position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    position: absolute;
    left: 0;
    content: "";
}

.nav-toggle-bars::before {
    transform: translateY(-6px);
}

.nav-toggle-bars::after {
    transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
    transform: rotate(-45deg);
}

/* Boutons et liens */
.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 13px 21px;
    color: #fff;
    border: 1px solid var(--ru2f-blue-800);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ru2f-blue-900), var(--ru2f-blue-700));
    box-shadow: 0 12px 28px rgba(11, 79, 136, 0.18);
    font-weight: 760;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background var(--ease);
}

.button:hover {
    color: #fff;
    border-color: var(--ru2f-green-700);
    background: linear-gradient(135deg, var(--ru2f-blue-900), var(--ru2f-green-700));
    box-shadow: 0 16px 34px rgba(8, 122, 84, 0.19);
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button:disabled {
    opacity: 0.62;
    cursor: progress;
    transform: none;
}

.button-small {
    min-height: 42px;
    margin-left: 8px;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.88rem;
}

.button-secondary {
    color: var(--ru2f-blue-900);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: none;
}

.button-secondary:hover {
    color: var(--ru2f-blue-950);
    border-color: var(--ru2f-cyan-500);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.button-light {
    color: var(--ru2f-blue-950);
    border-color: #fff;
    background: #fff;
    box-shadow: 0 18px 40px rgba(1, 35, 63, 0.2);
}

.button-light:hover {
    color: var(--ru2f-blue-950);
    border-color: var(--ru2f-green-100);
    background: var(--ru2f-green-100);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 770;
    text-decoration: none;
}

.text-link span {
    transition: transform var(--ease);
}

.text-link:hover span {
    transform: translateX(4px);
}

/* Accueil */
.hero {
    position: relative;
    overflow: hidden;
    min-height: min(820px, calc(100vh - var(--header-height)));
    background:
        linear-gradient(90deg, rgba(247, 251, 253, 0.98) 0%, rgba(247, 251, 253, 0.93) 46%, rgba(247, 251, 253, 0.68) 100%),
        url("../images/network-bg.webp?v=1.0.10") right top / min(58vw, 980px) auto no-repeat,
        var(--surface-soft);
}

.hero::before {
    position: absolute;
    width: 560px;
    height: 560px;
    top: -330px;
    left: -190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 169, 199, 0.14), transparent 68%);
    content: "";
}

.hero-grid {
    position: relative;
    display: grid;
    min-height: min(820px, calc(100vh - var(--header-height)));
    align-items: center;
    gap: clamp(42px, 7vw, 94px);
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    padding-block: clamp(70px, 8vw, 110px);
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 710px;
}

.hero-copy h1 {
    max-width: 800px;
    margin-bottom: 1.6rem;
    color: var(--ru2f-blue-950);
}

.hero-lead {
    max-width: 690px;
    margin-bottom: 2rem;
    color: var(--ink-650);
    font-size: clamp(1.12rem, 1.8vw, 1.35rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 28px 0 0;
    padding: 0;
    color: var(--ink-650);
    list-style: none;
    font-size: 0.91rem;
    font-weight: 680;
}

.trust-list li {
    position: relative;
    padding-left: 19px;
}

.trust-list li::before {
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ru2f-green-500);
    box-shadow: 0 0 0 5px rgba(34, 189, 122, 0.12);
    content: "";
    transform: translateY(-50%);
}

.hero-visual {
    position: relative;
    min-height: 540px;
    isolation: isolate;
}

.hero-visual::before {
    position: absolute;
    z-index: -2;
    inset: 6% 0 0 12%;
    border: 1px solid rgba(18, 107, 162, 0.16);
    border-radius: 48% 52% 46% 54% / 48% 45% 55% 52%;
    background:
        radial-gradient(circle at 68% 22%, rgba(34, 189, 122, 0.28), transparent 25%),
        radial-gradient(circle at 26% 78%, rgba(29, 169, 199, 0.24), transparent 30%),
        rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow-md);
    content: "";
    transform: rotate(-4deg);
}

.hero-logo-wrap {
    position: absolute;
    z-index: 2;
    top: 5%;
    right: 9%;
    bottom: 8%;
    left: 10%;
    display: grid;
    place-items: center;
}

.hero-logo-wrap img {
    width: min(70%, 360px);
    max-height: 430px;
    object-fit: contain;
    filter: drop-shadow(0 28px 34px rgba(9, 69, 112, 0.16));
}

.metric-card {
    position: absolute;
    z-index: 3;
    display: grid;
    width: 210px;
    padding: 16px 18px;
    border: 1px solid rgba(197, 214, 224, 0.88);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.metric-card span {
    margin-bottom: 4px;
    color: var(--ru2f-green-700);
    font-size: 0.72rem;
    font-weight: 820;
    letter-spacing: 0.14em;
}

.metric-card strong {
    color: var(--ru2f-blue-950);
    font-size: 1.02rem;
}

.metric-card small {
    margin-top: 2px;
    color: var(--ink-500);
    font-size: 0.75rem;
}

.metric-card-one {
    top: 8%;
    left: -4%;
}

.metric-card-two {
    right: -3%;
    bottom: 24%;
}

.metric-card-three {
    bottom: 3%;
    left: 2%;
}

.split-heading {
    display: grid;
    align-items: end;
    gap: clamp(32px, 8vw, 110px);
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    margin-bottom: 48px;
}

.split-heading h2 {
    max-width: 770px;
    margin-bottom: 0;
}

.split-heading > p {
    margin-bottom: 0.5rem;
    font-size: 1.06rem;
}

.card-grid {
    display: grid;
    gap: 22px;
}

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

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

.feature-card,
.sector-card {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 3vw, 36px);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 5px 18px rgba(13, 55, 84, 0.035);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.feature-card::after,
.sector-card::after {
    position: absolute;
    right: -56px;
    bottom: -56px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 189, 122, 0.12), transparent 68%);
    content: "";
}

.feature-card:hover,
.sector-card:hover {
    border-color: rgba(29, 169, 199, 0.45);
    box-shadow: var(--shadow-sm);
    transform: translateY(-5px);
}

.feature-card p,
.sector-card p {
    margin-bottom: 0;
}

.card-index {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--ru2f-blue-900);
    border-radius: 50%;
    background: var(--surface-blue);
    font-size: 0.74rem;
    font-weight: 820;
    letter-spacing: 0.08em;
}

.solution-showcase {
    display: grid;
    align-items: start;
    gap: clamp(48px, 9vw, 130px);
    grid-template-columns: 0.85fr 1.15fr;
}

.showcase-copy {
    position: sticky;
    top: calc(var(--header-height) + 35px);
}

.showcase-copy p:not(.eyebrow) {
    font-size: 1.05rem;
}

.solution-list {
    display: grid;
    border-top: 1px solid var(--line-strong);
}

.solution-list a {
    display: grid;
    gap: 5px;
    padding: 24px 4px;
    color: var(--ink-950);
    border-bottom: 1px solid var(--line-strong);
    text-decoration: none;
    grid-template-columns: minmax(0, 1fr);
    transition: padding var(--ease), color var(--ease), background var(--ease);
}

.solution-list a::after {
    position: absolute;
}

.solution-list a:hover {
    padding-left: 14px;
    color: var(--ru2f-blue-800);
    background: linear-gradient(90deg, rgba(29, 169, 199, 0.07), transparent);
}

.solution-list span {
    font-size: 1.28rem;
    font-weight: 770;
    letter-spacing: -0.02em;
}

.solution-list small {
    color: var(--ink-500);
    font-size: 0.9rem;
}

.process-grid {
    display: grid;
    align-items: start;
    gap: clamp(48px, 10vw, 140px);
    grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
}

.process-intro {
    position: sticky;
    top: calc(var(--header-height) + 35px);
}

.process-intro > p:not(.eyebrow) {
    font-size: 1.05rem;
}

.steps-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps-list li {
    display: grid;
    gap: 22px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 56px 1fr;
}

.steps-list li:first-child {
    padding-top: 0;
}

.steps-list > li > span {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    color: #fff;
    border-radius: 15px;
    background: linear-gradient(145deg, var(--ru2f-blue-900), var(--ru2f-green-600));
    box-shadow: 0 12px 26px rgba(8, 122, 84, 0.17);
    font-size: 0.88rem;
    font-weight: 820;
}

.steps-list p {
    margin-bottom: 0;
}

.cta-section {
    padding-top: 0;
}

.cta-panel {
    position: relative;
    display: flex;
    overflow: hidden;
    min-height: 250px;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: clamp(38px, 6vw, 70px);
    color: #fff;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(105deg, rgba(6, 47, 85, 0.97), rgba(11, 79, 136, 0.94) 55%, rgba(8, 122, 84, 0.91)),
        url("../images/network-bg.webp?v=1.0.10") right center / 60% auto no-repeat;
    box-shadow: var(--shadow-md);
}

.cta-panel::after {
    position: absolute;
    width: 330px;
    height: 330px;
    right: -145px;
    bottom: -230px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    content: "";
}

.cta-panel > * {
    position: relative;
    z-index: 1;
}

.cta-panel h2 {
    max-width: 760px;
    margin-bottom: 0;
    color: #fff;
}

.cta-panel .eyebrow {
    color: #a9f0cf;
}

/* Héros intérieurs */
.page-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(246, 250, 252, 0.98), rgba(246, 250, 252, 0.88)),
        url("../images/network-bg.webp?v=1.0.10") right center / min(58vw, 950px) auto no-repeat,
        var(--surface-soft);
}

.page-hero::after {
    position: absolute;
    width: 420px;
    height: 420px;
    right: -230px;
    bottom: -260px;
    border: 1px solid rgba(18, 107, 162, 0.18);
    border-radius: 50%;
    content: "";
}

.page-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 440px;
    align-items: center;
    gap: clamp(45px, 9vw, 130px);
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
    padding-block: clamp(68px, 8vw, 104px);
}

.page-hero h1 {
    max-width: 900px;
    margin-bottom: 1.25rem;
    color: var(--ru2f-blue-950);
    font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.page-hero-grid > div > p:last-child {
    max-width: 760px;
    margin-bottom: 0;
    font-size: clamp(1.06rem, 1.7vw, 1.28rem);
}

.page-hero-note {
    padding: 27px 28px;
    border: 1px solid rgba(197, 214, 224, 0.86);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.page-hero-note strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ru2f-green-700);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-hero-note p {
    margin-bottom: 0;
    color: var(--ink-800);
}

.page-hero-compact .page-hero-grid {
    min-height: 350px;
}

/* Solutions et fonctionnalités */
.solution-sections {
    display: grid;
    gap: 0;
}

.solution-detail {
    display: grid;
    gap: clamp(28px, 6vw, 78px);
    padding-block: 64px;
    border-bottom: 1px solid var(--line);
    grid-template-columns: minmax(90px, 0.28fr) minmax(0, 1.5fr);
}

.solution-detail:first-child {
    padding-top: 0;
}

.solution-detail:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.solution-detail > div:last-child {
    max-width: 820px;
}

.solution-number {
    color: transparent;
    -webkit-text-stroke: 1px rgba(11, 79, 136, 0.48);
    font-size: clamp(3.8rem, 9vw, 7.8rem);
    font-weight: 850;
    letter-spacing: -0.08em;
    line-height: 0.9;
}

.check-list,
.large-check-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li,
.large-check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--ink-800);
}

.check-list li::before,
.large-check-list li::before {
    position: absolute;
    top: 0.67em;
    left: 0;
    width: 16px;
    height: 16px;
    border: 2px solid var(--ru2f-green-600);
    border-radius: 50%;
    content: "";
    transform: translateY(-50%);
}

.check-list li::after,
.large-check-list li::after {
    position: absolute;
    top: calc(0.67em - 1px);
    left: 5px;
    width: 6px;
    height: 3px;
    border-bottom: 2px solid var(--ru2f-green-700);
    border-left: 2px solid var(--ru2f-green-700);
    content: "";
    transform: translateY(-50%) rotate(-45deg);
}

.feature-catalog .feature-card h2 {
    font-size: 1.5rem;
}

.large-check-list {
    gap: 0;
    margin: 0;
}

.large-check-list li {
    padding: 21px 0 21px 44px;
    border-bottom: 1px solid var(--line);
    font-size: 1.04rem;
    font-weight: 680;
}

.large-check-list li:first-child {
    padding-top: 5px;
}

.large-check-list li::before {
    left: 4px;
    width: 24px;
    height: 24px;
    background: var(--green-100, #daf7e9);
}

.large-check-list li::after {
    top: calc(0.67em + 9px);
    left: 11px;
    width: 8px;
    height: 4px;
}

/* Secteurs */
.sector-card {
    min-height: 260px;
}

.sector-card > span {
    display: inline-flex;
    margin-bottom: 26px;
    padding: 7px 11px;
    color: var(--ru2f-green-700);
    border: 1px solid var(--ru2f-green-100);
    border-radius: 999px;
    background: rgba(218, 247, 233, 0.56);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-cloud span {
    padding: 12px 18px;
    color: var(--ru2f-blue-950);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: 0 5px 18px rgba(13, 55, 84, 0.035);
    font-weight: 690;
}

/* À propos */
.story-grid {
    display: grid;
    gap: clamp(50px, 10vw, 150px);
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.prose {
    max-width: 760px;
}

.prose p {
    font-size: 1.08rem;
}

.values-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.values-grid article {
    min-height: 310px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.values-grid span {
    display: block;
    margin-bottom: 50px;
    color: var(--ru2f-green-700);
    font-size: 0.75rem;
    font-weight: 820;
    letter-spacing: 0.12em;
}

.values-grid h2 {
    font-size: 1.48rem;
}

.values-grid p {
    margin-bottom: 0;
}

/* Contact */
.contact-grid {
    display: grid;
    align-items: start;
    gap: clamp(50px, 9vw, 125px);
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.contact-intro {
    position: sticky;
    top: calc(var(--header-height) + 34px);
}

.contact-intro h2 {
    font-size: clamp(2rem, 3.3vw, 3.25rem);
}

.contact-facts {
    display: grid;
    gap: 18px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.contact-facts > div {
    display: grid;
    gap: 4px;
}

.contact-facts strong {
    color: var(--ink-500);
    font-size: 0.76rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.contact-facts a,
.contact-facts span {
    color: var(--ink-950);
    font-weight: 680;
}

.form-card {
    padding: clamp(25px, 4vw, 48px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

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

.form-field {
    display: grid;
    gap: 8px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label,
.consent-field {
    color: var(--ink-800);
    font-size: 0.9rem;
    font-weight: 730;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    color: var(--ink-950);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: #fff;
    transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

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

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
    border-color: #9bbacb;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--ru2f-cyan-500);
    box-shadow: 0 0 0 4px rgba(29, 169, 199, 0.11);
}

.field-error {
    margin: 0;
    color: var(--danger);
    font-size: 0.83rem;
    font-weight: 650;
}

.consent-field {
    display: grid;
    align-items: start;
    gap: 12px;
    margin-top: 25px;
    grid-template-columns: 20px 1fr;
    cursor: pointer;
}

.consent-field input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--ru2f-green-700);
}

.recaptcha-wrap {
    display: grid;
    gap: 10px;
    margin-top: 24px;
    overflow: auto;
}

.recaptcha-title {
    margin: 0;
    color: var(--ink-800);
    font-size: 0.9rem;
    font-weight: 730;
}

.recaptcha-legal {
    max-width: 620px;
    margin: 0;
    color: var(--ink-500);
    font-size: 0.76rem;
    line-height: 1.55;
}

.recaptcha-legal a {
    color: var(--ru2f-blue-800);
}

.form-submit {
    width: 100%;
    margin-top: 26px;
}

.form-note {
    margin: 13px 0 0;
    color: var(--ink-500);
    font-size: 0.8rem;
    text-align: center;
}

.field-trap {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.alert {
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid;
    border-radius: 10px;
    font-weight: 650;
}

.alert-success {
    color: var(--success);
    border-color: #a9dec7;
    background: var(--success-soft);
}

.alert-error {
    color: var(--danger);
    border-color: #efb8c3;
    background: var(--danger-soft);
}

/* Pages légales */
.legal-section {
    background: var(--surface-soft);
}

.legal-layout {
    display: grid;
    align-items: start;
    gap: clamp(48px, 8vw, 110px);
    grid-template-columns: 250px minmax(0, 1fr);
}

.legal-nav {
    position: sticky;
    top: calc(var(--header-height) + 30px);
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.legal-nav strong {
    padding: 18px 20px;
    color: var(--ru2f-blue-950);
    border-bottom: 1px solid var(--line);
    font-size: 0.83rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-nav a {
    padding: 12px 20px;
    color: var(--ink-650);
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
    text-decoration: none;
}

.legal-nav a:last-child {
    border-bottom: 0;
}

.legal-nav a:hover {
    color: var(--ru2f-blue-900);
    background: var(--surface-blue);
}

.legal-content {
    display: grid;
    gap: 26px;
}

.legal-introduction {
    padding: 22px 24px;
    color: var(--ink-800);
    border: 1px solid rgba(29, 169, 199, 0.28);
    border-left: 4px solid var(--ru2f-cyan-500);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(227, 246, 250, 0.72), rgba(255, 255, 255, 0.96));
}

.legal-introduction p {
    margin: 0;
}

.legal-content article {
    scroll-margin-top: calc(var(--header-height) + 28px);
    padding: clamp(26px, 4vw, 46px);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.legal-content article h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
}

.legal-content article > p:last-child {
    margin-bottom: 0;
}

.legal-data {
    display: grid;
    margin: 0;
}

.legal-data > div {
    display: grid;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr);
}

.legal-data > div:last-child {
    border-bottom: 0;
}

.legal-data dt {
    color: var(--ink-500);
    font-size: 0.83rem;
    font-weight: 730;
}

.legal-data dd {
    margin: 0;
    color: var(--ink-950);
    font-weight: 620;
}

.table-wrap {
    max-width: 100%;
    margin: 24px 0;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
}

table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    background: var(--surface);
}

th,
td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--ru2f-blue-950);
    background: var(--surface-blue);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

td {
    color: var(--ink-650);
    font-size: 0.91rem;
}

tr:last-child td {
    border-bottom: 0;
}

/* Erreurs */
.error-page {
    display: grid;
    min-height: calc(100vh - var(--header-height));
    place-items: center;
    padding-block: 80px;
    background:
        linear-gradient(90deg, rgba(246, 250, 252, 0.97), rgba(246, 250, 252, 0.87)),
        url("../images/network-bg.webp?v=1.0.10") right center / min(65vw, 1000px) auto no-repeat;
}

.error-inner {
    max-width: 780px;
    text-align: center;
}

.error-code {
    margin-bottom: 0;
    color: transparent;
    -webkit-text-stroke: 1px rgba(11, 79, 136, 0.35);
    font-size: clamp(7rem, 20vw, 14rem);
    font-weight: 880;
    letter-spacing: -0.08em;
    line-height: 0.82;
}

.error-inner .hero-actions {
    justify-content: center;
    margin-top: 30px;
}

/* Pied de page */
.site-footer {
    color: rgba(255, 255, 255, 0.82);
    background:
        linear-gradient(115deg, rgba(5, 41, 73, 0.99), rgba(7, 62, 112, 0.98)),
        url("../images/network-bg.webp?v=1.0.10") right top / min(68vw, 1000px) auto no-repeat;
}

.footer-grid {
    display: grid;
    gap: clamp(35px, 6vw, 80px);
    padding-block: 72px 54px;
    grid-template-columns: 1.5fr repeat(3, 0.75fr);
}

.brand-footer {
    margin-bottom: 18px;
}

.brand-footer .brand-copy strong,
.brand-footer .brand-copy small {
    color: #fff;
}

.footer-brand > p {
    max-width: 340px;
    color: rgba(255, 255, 255, 0.68);
}

.site-footer h2 {
    margin-bottom: 18px;
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-footer ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a,
.site-footer li {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding-block: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.78rem;
}

/* Responsive */
@media (max-width: 1080px) {
    .main-nav {
        gap: 0;
    }

    .main-nav > a:not(.button) {
        padding-inline: 9px;
        font-size: 0.86rem;
    }

    .hero-grid {
        gap: 45px;
        grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
    }

    .metric-card {
        width: 185px;
    }

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

    .footer-grid {
        grid-template-columns: 1.35fr repeat(3, 0.8fr);
        gap: 34px;
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 72px;
    }

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

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: fixed;
        z-index: 99;
        top: var(--header-height);
        right: 0;
        left: 0;
        display: grid;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        padding: 18px 16px 24px;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.99);
        box-shadow: var(--shadow-md);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity var(--ease), transform var(--ease);
    }

    .main-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .no-js .nav-toggle {
        display: none;
    }

    .no-js .main-nav {
        position: static;
        display: flex;
        max-height: none;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .main-nav > a:not(.button) {
        padding: 14px 12px;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        font-size: 1rem;
    }

    .main-nav .button {
        width: 100%;
        margin: 16px 0 0;
    }

    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: none;
    }

    .hero-visual {
        min-height: 480px;
        max-width: 660px;
        width: 100%;
        margin-inline: auto;
    }

    .split-heading,
    .solution-showcase,
    .process-grid,
    .story-grid,
    .contact-grid {
        gap: 42px;
        grid-template-columns: 1fr;
    }

    .showcase-copy,
    .process-intro,
    .contact-intro {
        position: static;
    }

    .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-hero-note {
        max-width: 620px;
    }

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

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-nav {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal-nav strong {
        grid-column: 1 / -1;
    }

    .legal-nav a:nth-last-child(1):nth-child(even) {
        border-bottom: 0;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .no-js .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding-block: 12px;
    }

    .no-js .main-nav {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .section {
        padding-block: 68px;
    }

    .brand-copy small {
        display: none;
    }

    .hero {
        background:
            linear-gradient(rgba(247, 251, 253, 0.94), rgba(247, 251, 253, 0.98)),
            url("../images/network-bg.webp?v=1.0.10") right top / auto 45% no-repeat,
            var(--surface-soft);
    }

    .hero-grid {
        padding-block: 58px 70px;
    }

    .hero-copy h1 {
        font-size: clamp(2.55rem, 13vw, 4rem);
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .trust-list {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-visual {
        min-height: 420px;
    }

    .hero-logo-wrap img {
        width: min(66%, 290px);
    }

    .metric-card {
        width: 168px;
        padding: 12px 14px;
    }

    .metric-card-one {
        left: -2%;
    }

    .metric-card-two {
        right: -2%;
    }

    .metric-card-three {
        left: 1%;
    }

    .card-grid-three,
    .card-grid-two,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .sector-card {
        min-height: 0;
    }

    .solution-detail {
        gap: 18px;
        padding-block: 46px;
        grid-template-columns: 1fr;
    }

    .solution-number {
        font-size: 4.5rem;
    }

    .steps-list li {
        gap: 16px;
        grid-template-columns: 48px 1fr;
    }

    .steps-list > li > span {
        width: 44px;
        height: 44px;
    }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 24px;
    }

    .cta-panel .button {
        width: 100%;
    }

    .page-hero-grid {
        min-height: 360px;
        padding-block: 58px;
    }

    .page-hero h1 {
        font-size: clamp(2.4rem, 12vw, 3.6rem);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full {
        grid-column: auto;
    }

    .form-card {
        border-radius: 20px;
    }

    .legal-nav {
        grid-template-columns: 1fr;
    }

    .legal-nav strong,
    .legal-nav a {
        grid-column: auto;
    }

    .legal-data > div {
        gap: 4px;
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 440px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .brand img {
        width: 40px;
        height: 47px;
    }

    .brand-copy strong {
        font-size: 0.96rem;
    }

    .nav-toggle span:first-child {
        display: none;
    }

    .hero-visual {
        min-height: 375px;
    }

    .metric-card {
        width: 155px;
    }

    .metric-card small {
        display: none;
    }

    .metric-card-one {
        top: 4%;
    }

    .metric-card-two {
        bottom: 18%;
    }

    .metric-card-three {
        bottom: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .g-recaptcha {
        transform: scale(0.88);
        transform-origin: left top;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .site-header,
    .site-footer,
    .nav-toggle,
    .button,
    .legal-nav {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 11pt;
    }

    .section,
    .page-hero-grid {
        padding-block: 24px;
    }

    .legal-layout {
        display: block;
    }

    .legal-content article {
        break-inside: avoid;
        border: 0;
        box-shadow: none;
        padding-inline: 0;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* Contrôle automatisé de production */
.audit-hero .page-hero-grid {
    min-height: 390px;
}

.audit-hero-note {
    border-color: rgba(34, 189, 122, 0.35);
    background: linear-gradient(145deg, rgba(7, 62, 112, 0.96), rgba(8, 122, 84, 0.94));
}

.audit-section {
    padding-top: 64px;
    background: var(--surface-soft);
}

.audit-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.audit-toolbar h2 {
    margin-bottom: 8px;
    font-size: clamp(1.85rem, 3vw, 2.8rem);
}

.audit-toolbar p:last-child {
    margin-bottom: 0;
}

.audit-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.audit-actions .button {
    min-height: 46px;
    border: 0;
    cursor: pointer;
}

.audit-actions .button:disabled {
    cursor: wait;
    opacity: 0.55;
}

.button-ghost {
    color: var(--ru2f-blue-900);
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--line-strong);
}

.button-ghost:hover {
    color: var(--ru2f-green-700);
    background: var(--surface);
}

.audit-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.audit-summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.audit-summary-card span {
    color: var(--ink-650);
    font-size: 0.88rem;
    font-weight: 720;
}

.audit-summary-card strong {
    color: var(--ink-950);
    font-size: 1.8rem;
    line-height: 1;
}

.audit-summary-pass strong {
    color: var(--success);
}

.audit-summary-warning strong {
    color: #8a5a00;
}

.audit-summary-fail strong {
    color: var(--danger);
}

.audit-progress-wrap {
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.audit-progress-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    color: var(--ink-650);
    font-size: 0.88rem;
}

.audit-progress-copy strong {
    color: var(--ink-950);
}

.audit-progress {
    display: block;
    width: 100%;
    height: 12px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: var(--line);
}

.audit-progress::-webkit-progress-bar {
    background: var(--line);
    border-radius: 999px;
}

.audit-progress::-webkit-progress-value {
    background: linear-gradient(90deg, var(--ru2f-blue-700), var(--ru2f-green-500));
    border-radius: 999px;
}

.audit-progress::-moz-progress-bar {
    background: linear-gradient(90deg, var(--ru2f-blue-700), var(--ru2f-green-500));
    border-radius: 999px;
}

.audit-status-banner {
    display: grid;
    gap: 4px;
    margin-bottom: 28px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-left-width: 5px;
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.audit-status-banner strong {
    color: var(--ink-950);
}

.audit-status-banner span {
    color: var(--ink-650);
}

.audit-status-banner.is-pass {
    border-left-color: var(--success);
    background: var(--success-soft);
}

.audit-status-banner.is-warning {
    border-left-color: #c47a00;
    background: #fff8e5;
}

.audit-status-banner.is-fail {
    border-left-color: var(--danger);
    background: var(--danger-soft);
}

.audit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
    align-items: start;
    gap: 24px;
}

.audit-main,
.audit-sidebar {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.audit-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.audit-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.audit-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 26px;
    border-bottom: 1px solid var(--line);
}

.audit-panel-heading h2,
.audit-sidebar h2 {
    margin-bottom: 0;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.audit-panel-heading .eyebrow {
    margin-bottom: 6px;
}

.audit-panel-heading > span,
.audit-running-indicator {
    flex: 0 0 auto;
    color: var(--ink-650);
    font-size: 0.82rem;
    font-weight: 750;
}

.audit-running-indicator.is-running {
    color: var(--ru2f-green-700);
}

.audit-running-indicator.is-running::before {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    content: "";
    border-radius: 50%;
    background: var(--ru2f-green-500);
    animation: audit-pulse 1.2s ease-in-out infinite;
}

@keyframes audit-pulse {
    0%, 100% { opacity: 0.35; transform: scale(0.82); }
    50% { opacity: 1; transform: scale(1); }
}

.audit-live-results,
.audit-groups {
    display: grid;
}

.audit-placeholder {
    margin: 0;
    padding: 28px;
}

.audit-group {
    border-bottom: 1px solid var(--line);
}

.audit-group:last-child {
    border-bottom: 0;
}

.audit-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 26px;
    color: var(--ink-950);
    font-weight: 780;
    cursor: pointer;
    list-style: none;
}

.audit-group > summary::-webkit-details-marker {
    display: none;
}

.audit-group > summary::after {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-left: 8px;
    content: "";
    border-right: 2px solid var(--ru2f-blue-700);
    border-bottom: 2px solid var(--ru2f-blue-700);
    transform: rotate(45deg) translateY(-2px);
    transition: transform var(--ease);
}

.audit-group[open] > summary::after {
    transform: rotate(225deg) translate(-2px, -2px);
}

.audit-group-counts {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    color: var(--ink-500);
    font-size: 0.76rem;
    font-weight: 650;
}

.audit-group-counts b {
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 760;
}

.audit-count-pass {
    color: var(--success);
    background: var(--success-soft);
}

.audit-count-warning {
    color: #7b5000;
    background: #fff3cf;
}

.audit-count-fail {
    color: var(--danger);
    background: var(--danger-soft);
}

.audit-check-list {
    display: grid;
    gap: 1px;
    padding: 0 26px 22px;
}

.audit-check {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
}

.audit-check h3 {
    margin-bottom: 3px;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
}

.audit-check p {
    margin-bottom: 0;
    font-size: 0.86rem;
    overflow-wrap: anywhere;
}

.audit-check-icon {
    position: relative;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.audit-check.is-pass .audit-check-icon,
.audit-dot.is-pass {
    color: var(--success);
}

.audit-check.is-warning .audit-check-icon,
.audit-dot.is-warning {
    color: #b06d00;
}

.audit-check.is-fail .audit-check-icon,
.audit-dot.is-fail {
    color: var(--danger);
}

.audit-check.is-pass .audit-check-icon::after {
    position: absolute;
    top: 2px;
    left: 4px;
    width: 5px;
    height: 8px;
    content: "";
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.audit-check.is-warning .audit-check-icon::after,
.audit-check.is-fail .audit-check-icon::after {
    position: absolute;
    top: 2px;
    left: 6px;
    width: 2px;
    height: 8px;
    content: "";
    border-radius: 2px;
    background: currentColor;
    box-shadow: 0 10px 0 -0.3px currentColor;
}

.audit-scope,
.audit-legend {
    padding: 24px;
}

.audit-scope ul {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding-left: 22px;
    color: var(--ink-650);
}

.audit-legend dl {
    display: grid;
    gap: 15px;
    margin: 18px 0 0;
}

.audit-legend dl > div {
    display: grid;
    gap: 2px;
}

.audit-legend dt {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink-950);
    font-weight: 760;
}

.audit-legend dd {
    margin-left: 21px;
    color: var(--ink-650);
    font-size: 0.84rem;
}

.audit-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: currentColor;
}

.audit-iframe-stage {
    position: fixed;
    z-index: -1;
    top: 0;
    left: -12000px;
    width: 1500px;
    height: 1000px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.audit-test-frame {
    display: block;
    border: 0;
    background: #fff;
}

@media (max-width: 1080px) {
    .audit-layout {
        grid-template-columns: 1fr;
    }

    .audit-sidebar {
        position: static;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .audit-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .audit-actions {
        justify-content: flex-start;
    }

    .audit-summary {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .audit-section {
        padding-top: 44px;
    }

    .audit-actions,
    .audit-actions .button {
        width: 100%;
    }

    .audit-summary,
    .audit-sidebar {
        grid-template-columns: 1fr;
    }

    .audit-panel-heading,
    .audit-group > summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .audit-panel-heading,
    .audit-group > summary,
    .audit-check-list {
        padding-inline: 18px;
    }

    .audit-group-counts {
        justify-content: flex-start;
    }
}

/* Empêche les tableaux légaux de forcer la largeur du document. */
.legal-content,
.legal-content article,
.table-wrap {
    min-width: 0;
}

.table-wrap {
    width: 100%;
}
