/*
 * MISSION PAY - feuille de style unique du back-office, des pages
 * d'authentification et de la page publique de paiement.
 *
 * Contraintes (SetSecurityHeaders, v15 58.11) : fichier statique servi par
 * l'application elle-meme, aucune police ni ressource distante, aucun
 * framework, aucune etape de build. Palette inspiree des maquettes Financea
 * (ardoise #202833, vert d'eau) avec des teintes assombries pour tenir un
 * contraste de lecture AA.
 */

:root {
    --ink: #1f2937;
    --muted: #4b5563;
    --dark: #202833;
    --dark-2: #2d3744;
    --accent: #1a7468;
    --accent-dark: #135850;
    --accent-soft: #e6f4f2;
    --bg: #f3f5f8;
    --surface: #ffffff;
    --line: #e1e5ea;
    --line-strong: #c9d0d8;
    --danger: #a61b1b;
    --danger-bg: #fdecec;
    --danger-line: #f1b8b8;
    --warn: #7a4a06;
    --warn-bg: #fdf3d4;
    --warn-line: #ecd48a;
    --ok: #14532d;
    --ok-bg: #dcfce7;
    --ok-line: #a7e0b9;
    --info: #1e3a8a;
    --info-bg: #e3edff;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 14px rgba(15, 23, 42, 0.05);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

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

[hidden] {
    display: none !important;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 0.9375rem;
    line-height: 1.55;
}

img,
svg {
    max-width: 100%;
}

h1,
h2,
h3 {
    margin: 0 0 0.6rem;
    line-height: 1.25;
    color: var(--dark);
}

h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

h2 {
    font-size: 1.1rem;
    font-weight: 650;
    margin-top: 1.75rem;
}

h3 {
    font-size: 1rem;
    font-weight: 650;
}

p {
    margin: 0 0 0.9rem;
}

a {
    color: var(--accent);
    text-underline-offset: 2px;
}

a:hover {
    color: var(--accent-dark);
}

:focus-visible {
    outline: 3px solid #0b57d0;
    outline-offset: 2px;
    border-radius: 4px;
}

code,
.mono {
    font-family: var(--mono);
    font-size: 0.9em;
}

code {
    background: #eef1f4;
    border-radius: 6px;
    padding: 0.1rem 0.4rem;
    overflow-wrap: anywhere;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 0.85rem;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 0.5rem;
    top: -4rem;
    z-index: 100;
    background: #fff;
    color: var(--dark);
    padding: 0.6rem 1rem;
    border-radius: 0 0 var(--radius) var(--radius);
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* ---------- En-tete et navigation du back-office ---------- */

.site-header {
    background: var(--dark);
    color: #fff;
}

.site-header__bar,
.site-nav__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1rem;
}

.site-header__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.brand {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    font-size: 1rem;
}

.brand:hover {
    color: #fff;
}

.brand__mark {
    color: #7fd6c9;
}

.cabinet-name {
    display: inline-block;
    max-width: 100%;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.user-nav {
    margin: 0 0 0 auto;
}

.user-nav__list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1rem;
    list-style: none;
}

.user-nav a,
.user-nav button {
    color: #dbe3ea;
    font-size: 0.85rem;
    text-decoration: none;
}

.user-nav a:hover,
.user-nav button:hover {
    color: #fff;
    text-decoration: underline;
}

.user-nav form {
    margin: 0;
}

.site-header :focus-visible {
    outline-color: #ffffff;
}

.site-nav {
    background: var(--dark-2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.site-nav a {
    display: block;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    color: #e8eef3;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.site-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.site-nav a[aria-current="page"] {
    background: #fff;
    color: var(--dark);
}

/* ---------- Mise en page ---------- */

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

.container--narrow {
    max-width: 760px;
}

.container--wide {
    max-width: 1500px;
}

.page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.page-header h1,
.page-header h2 {
    margin: 0;
}

.page-header--section {
    margin-top: 1.75rem;
    align-items: center;
}

.page-header__actions,
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.actions {
    margin: 1.25rem 0 0;
}

.actions form {
    margin: 0;
}

.breadcrumb {
    margin: 0 0 0.9rem;
    font-size: 0.85rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.card > :last-child {
    margin-bottom: 0;
}

.card h2:first-child,
.card h3:first-child {
    margin-top: 0;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    gap: 1rem;
}

.grid-cards .card {
    margin-bottom: 0;
}

.card--cabinet h2 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
}

.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ---------- Messages ---------- */

.alert {
    border: 1px solid var(--line-strong);
    border-left-width: 5px;
    border-radius: var(--radius);
    background: var(--surface);
    padding: 0.75rem 1rem;
    margin: 0 0 1rem;
}

.alert > :last-child {
    margin-bottom: 0;
}

.alert ul {
    margin: 0;
    padding-left: 1.2rem;
}

.alert--success {
    background: var(--ok-bg);
    border-color: var(--ok-line);
    border-left-color: #1f9d55;
    color: var(--ok);
}

.alert--error {
    background: var(--danger-bg);
    border-color: var(--danger-line);
    border-left-color: #d64545;
    color: var(--danger);
}

.alert--warning {
    background: var(--warn-bg);
    border-color: var(--warn-line);
    border-left-color: #d99a1a;
    color: var(--warn);
}

.alert--info {
    background: var(--info-bg);
    border-color: #b7cbf5;
    border-left-color: #3b6fd8;
    color: var(--info);
}

/* Resume des erreurs et erreurs de champ (partials/error-summary, composant field-error). */

.error-summary__title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.error-summary__list a {
    color: inherit;
    font-weight: 600;
}

.field-error {
    margin: 0.25rem 0;
    color: var(--danger);
    font-weight: 600;
}

.field-error p {
    margin: 0;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
    border-color: #d64545;
    border-width: 2px;
}

fieldset[aria-invalid="true"] {
    border-left: 5px solid #d64545;
}

.empty {
    border: 2px dashed var(--line-strong);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.6);
    color: var(--muted);
    padding: 1.5rem 1rem;
    text-align: center;
    margin: 0 0 1rem;
}

/* ---------- Boutons ---------- */

button {
    font: inherit;
    cursor: pointer;
}

.btn,
.btn-secondary,
.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: 9px;
    border: 1.5px solid var(--dark);
    background: var(--dark);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

.btn-secondary {
    background: #fff;
    color: var(--dark);
    border-color: var(--line-strong);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    background: var(--accent-soft);
}

.btn-danger {
    background: #fff;
    color: var(--danger);
    border-color: #d99a9a;
}

.btn-danger:hover {
    background: var(--danger-bg);
    border-color: var(--danger);
    color: var(--danger);
}

.btn--block {
    width: 100%;
    min-height: 3rem;
    font-size: 1rem;
}

.btn--small {
    min-height: 2rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
}

.btn-link {
    background: none;
    border: 0;
    padding: 0;
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ---------- Formulaires ---------- */

form {
    margin: 0 0 1rem;
}

label,
legend {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
}

label {
    display: block;
    margin-bottom: 0.3rem;
}

label.choice {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-weight: 400;
    font-size: 0.9375rem;
    margin-bottom: 0.4rem;
}

label.choice input {
    margin-top: 0.2rem;
    flex: none;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="date"],
input[type="tel"],
input[type="number"],
input:not([type]),
select,
textarea {
    display: block;
    width: 100%;
    max-width: 40rem;
    min-height: 2.6rem;
    padding: 0.5rem 0.75rem;
    border: 1.5px solid var(--line-strong);
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

textarea {
    min-height: 9rem;
    resize: vertical;
}

input[readonly] {
    background: #f1f4f7;
    font-family: var(--mono);
    font-size: 0.85rem;
}

input[type="checkbox"],
input[type="radio"] {
    width: 1.15rem;
    height: 1.15rem;
    accent-color: var(--accent);
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid #0b57d0;
    outline-offset: 0;
    border-color: #0b57d0;
}

fieldset {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 0.9rem 1rem 0.5rem;
    margin: 0 0 1.1rem;
    min-width: 0;
}

legend {
    padding: 0 0.4rem;
}

.field {
    margin: 0 0 1rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 1rem;
}

.field-row .field input,
.field-row .field select,
.card .field input,
.card .field select,
.card .field textarea {
    max-width: none;
}

.hint {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0 0 0.9rem;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
}

.search-form .field {
    flex: 1 1 18rem;
    margin: 0;
}

.search-form input {
    max-width: none;
}

/* ---------- Recherche de client a la volee (combobox, public/js/client-search.js) ---------- */

.combobox {
    position: relative;
}

.client-search__status {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
}

.client-search__status:empty {
    display: none;
}

.client-search__list {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 20;
    margin: 0.15rem 0 0;
    padding: 0.25rem 0;
    list-style: none;
    max-height: 18rem;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.client-search__option {
    padding: 0.55rem 0.9rem;
    cursor: pointer;
}

.client-search__option:hover,
.client-search__option.is-active {
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.client-search__option.is-active {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.client-selected {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin: 0 0 0.75rem;
}

.client-selected__label {
    margin: 0;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed var(--line);
}

.contact-row:last-child {
    border-bottom: 0;
}

.contact-row input {
    max-width: none;
}

/* ---------- Details (dl) ---------- */

.details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 0 1rem;
}

.details dt {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin-top: 0.8rem;
}

.details dd {
    margin: 0.1rem 0 0;
    overflow-wrap: anywhere;
}

/* ---------- Tableaux ---------- */

.table-wrap {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

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

th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    background: #f8fafc;
    white-space: nowrap;
}

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

tbody tr:hover td {
    background: #fafcfd;
}

td.num,
th.num {
    text-align: right;
    white-space: nowrap;
}

td .cell-sub {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
}

td form {
    margin: 0;
}

.table-wrap--wide table {
    min-width: 62rem;
}

/* ---------- Badges ---------- */

.badge {
    display: inline-block;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    background: #eceff3;
    color: #374151;
    font-size: 0.78rem;
    font-weight: 650;
    white-space: nowrap;
}

.badge--active,
.badge--paid {
    background: var(--ok-bg);
    color: var(--ok);
}

.badge--pending,
.badge--paused,
.badge--partially_paid {
    background: var(--warn-bg);
    color: var(--warn);
}

.badge--completed {
    background: var(--info-bg);
    color: var(--info);
}

.badge--expired,
.badge--cancelled {
    background: #eceff3;
    color: #374151;
}

.badge--alert {
    background: var(--danger-bg);
    color: var(--danger);
}

/* ---------- Listes ---------- */

.plain-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.plain-list > li {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.8rem 1rem;
    margin-bottom: 0.6rem;
}

.plain-list > li form {
    margin: 0.5rem 0 0;
}

.code-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: 0.6rem;
}

.code-list li {
    background: #fff;
    border: 1px dashed var(--line-strong);
    border-radius: 9px;
    padding: 0.6rem 0.8rem;
    text-align: center;
}

.code-list code {
    background: none;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.history {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0 0 0 1rem;
    border-left: 3px solid var(--line-strong);
}

.history li {
    margin-bottom: 0.55rem;
}

.url-box {
    display: block;
    padding: 0.9rem 1rem;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius);
    background: #fff;
    overflow-wrap: anywhere;
    margin-bottom: 1rem;
}

.url-box code {
    background: none;
    padding: 0;
    font-size: 0.95rem;
}

/* Pagination Laravel : on borne les icones SVG du gabarit par defaut. */
nav[role="navigation"] svg {
    width: 1.25rem;
    height: 1.25rem;
}

nav[role="navigation"] {
    margin: 0.75rem 0 1.25rem;
    font-size: 0.85rem;
}

nav[role="navigation"] a,
nav[role="navigation"] span[aria-current] > span {
    display: inline-block;
    padding: 0.25rem 0.6rem;
}

/* ---------- Pages d'authentification ---------- */

.auth-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem 2rem;
}

.auth-brand {
    margin: 1.25rem 0;
    text-align: center;
}

.auth-brand .brand {
    color: var(--dark);
    font-size: 1.25rem;
}

.auth-brand .brand:hover {
    color: var(--dark);
}

.auth-brand .brand__mark {
    color: var(--accent);
}

.auth-card {
    width: 100%;
    max-width: 30rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 1.75rem 1.5rem;
}

.auth-card h1 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"] {
    max-width: none;
}

.auth-card > :last-child {
    margin-bottom: 0;
}

.auth-card section {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
    margin-top: 1rem;
}

.auth-card section h2 {
    margin-top: 0;
    font-size: 1rem;
}

/* ---------- Page publique de paiement ---------- */

.public-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1rem 2.5rem;
}

.public-shell {
    width: 100%;
    max-width: 34rem;
}

.public-header {
    text-align: center;
    padding: 1.25rem 0 1rem;
}

.public-header h1 {
    margin: 0;
    font-size: 1.4rem;
}

.public-header h2 {
    margin: 0.35rem 0 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--muted);
}

.public-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 1.5rem 1.25rem;
    margin-bottom: 1rem;
}

.public-card > :last-child {
    margin-bottom: 0;
}

.public-card h3 {
    margin-top: 0;
}

.public-card .details dt,
.public-card .details dd {
    font-size: 1.05rem;
}

.public-card .details dd {
    font-weight: 600;
}

.terms {
    max-height: 14rem;
    overflow-y: auto;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    background: #f8fafc;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ---------- Ecrans larges ---------- */

@media (min-width: 640px) {
    .field-row {
        grid-template-columns: 1fr 1fr;
    }

    .contact-row {
        grid-template-columns: 1fr 1fr;
    }

    .details {
        grid-template-columns: minmax(10rem, 14rem) 1fr;
        column-gap: 1.25rem;
    }

    .details dt {
        margin-top: 0;
        padding: 0.65rem 0;
        border-top: 1px solid var(--line);
        text-transform: none;
        letter-spacing: 0;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--dark);
    }

    .details dd {
        margin: 0;
        padding: 0.65rem 0;
        border-top: 1px solid var(--line);
    }

    .details dt:first-of-type,
    .details dt:first-of-type + dd {
        border-top: 0;
    }

    .public-card .details {
        grid-template-columns: minmax(7rem, 10rem) 1fr;
    }

    .auth-card {
        padding: 2rem;
    }
}

@media (min-width: 900px) {
    .contact-row {
        grid-template-columns: repeat(4, 1fr);
    }

    .container {
        padding-top: 2rem;
    }
}

/* ---------- Petits ecrans : tableaux en cartes ---------- */

@media (max-width: 719px) {
    .user-nav {
        margin-left: 0;
        width: 100%;
    }

    .table-wrap--stack {
        border: 0;
        box-shadow: none;
        background: transparent;
        overflow: visible;
    }

    .table-wrap--stack table,
    .table-wrap--stack tbody,
    .table-wrap--stack tr,
    .table-wrap--stack td {
        display: block;
        width: 100%;
    }

    .table-wrap--stack thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .table-wrap--stack tr {
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        margin-bottom: 0.75rem;
        padding: 0.4rem 0;
    }

    .table-wrap--stack td {
        border: 0;
        padding: 0.35rem 0.9rem;
    }

    .table-wrap--stack td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--muted);
    }

    .table-wrap--stack td.num {
        text-align: left;
    }

    .table-wrap--stack tbody tr:hover td {
        background: transparent;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .site-header,
    .skip-link,
    .actions {
        display: none !important;
    }

    body {
        background: #fff;
    }
}

.subtotal {
    text-align: right;
    margin: 0.75rem 0 0;
}

/* ---------- Lien de support (support-button) ---------- */

.site-footer {
    max-width: 72rem;
    margin: 0 auto;
    padding: 1rem 1rem 2rem;
    text-align: right;
    font-size: 0.875rem;
    color: var(--muted);
}

.auth-support {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted);
}

/* ---------- Bandeau d'environnement (v15 33, prod-environment 5.8) ---------- */

.env-banner {
    margin: 0;
    padding: 0.3rem 1rem;
    border-bottom: 1px solid transparent;
    font-size: 0.8125rem;
    text-align: center;
}

.env-banner strong {
    letter-spacing: 0.04em;
}

.env-banner--prod {
    background: var(--dark-2);
    color: #fff;
}

.env-banner--recette {
    background: var(--warn-bg);
    border-bottom-color: var(--warn-line);
    color: var(--warn);
}

.env-banner--demo {
    background: var(--info-bg);
    border-bottom-color: #b7cbf5;
    color: var(--info);
}

.env-banner--dev {
    background: var(--danger-bg);
    border-bottom-color: var(--danger-line);
    color: var(--danger);
}
