﻿:root {
    --bg: #F5F5F3;
    --ink: #111111;
    --brand: #0F3D3E;
    --card: #ffffff;
    --muted: rgba(17,17,17,.65);
    --border: rgba(17,17,17,.12);
    --shadow: 0 10px 30px rgba(0,0,0,.08);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
}

.wrap {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 32px 16px;
}

.card {
    width: 100%;
    max-width: 560px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}

@media (min-width: 861px) {
    .card {
        max-width: 900px;
    }
}
/* ── Typo ─────────────────────────────────────────────────────── */
h1 {
    font-size: 22px;
    margin: 0 0 6px 0;
}

h2 {
    font-size: 17px;
    margin: 0 0 4px 0;
}

p {
    margin: 0 0 16px 0;
    color: var(--muted);
    line-height: 1.5;
}

a {
    color: var(--brand);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* ── Formulaire générique ─────────────────────────────────────── */
label {
    display: block;
    font-size: 13px;
    margin: 12px 0 6px;
    color: var(--muted);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="time"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    font-size: 15px;
    background: #fff;
}

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="password"]:focus,
    input[type="number"]:focus,
    input[type="time"]:focus,
    select:focus {
        border-color: rgba(15,61,62,.55);
        box-shadow: 0 0 0 4px rgba(15,61,62,.10);
    }

input:focus {
    border-color: rgba(15,61,62,.55);
    box-shadow: 0 0 0 4px rgba(15,61,62,.10);
}

/* ──Logo ──────────────────────────────────────────────────── */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
}

.logo-img {
    height: 75px;
    width: auto;
    display: block;
}

/* ── Boutons ──────────────────────────────────────────────────── */
.btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    background: var(--brand);
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: filter .15s;
}

    .btn:hover:not(:disabled) {
        filter: brightness(.94);
    }

    .btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

.btn-danger {
    background: #8b0000;
}

.btn-reactivate {
    background: #1a6b3c;
}

.btn-link {
    background: transparent;
    border: 0;
    color: var(--brand);
    cursor: pointer;
    padding: 0;
    font-size: 13px;
}

    .btn-link:hover {
        text-decoration: underline;
    }

.btn-landing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--brand);
    color: #fff;
    border: 0;
    border-radius: 16px;
    padding: 14px 18px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 26px color-mix(in srgb, var(--brand) 22%, rgba(0,0,0,.12));
    transition: transform .08s, filter .15s;
}
/* ── Topbar ───────────────────────────────────────────────────── */
.topbar,
.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
    background: rgba(245,245,243,.5);
}

.dashboard-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.topbar-action-form {
    margin: 0;
}

.topbar-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f6 100%);
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.04);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

    .topbar-action svg {
        flex-shrink: 0;
    }

    .topbar-action:hover {
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(0,0,0,.07);
        border-color: rgba(15,61,62,.20);
    }

.topbar-action-ghost {
    background: #fff;
    cursor: pointer;
}
/* ── Alertes ──────────────────────────────────────────────────── */
.alert {
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.alert-error {
    border: 1px solid rgba(160,0,0,.25);
    background: rgba(160,0,0,.06);
    color: #7a0000;
}

.alert-info {
    border: 1px solid rgba(15,61,62,.25);
    background: rgba(15,61,62,.06);
    color: var(--brand);
}

.error {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(160,0,0,.25);
    background: rgba(160,0,0,.06);
    border-radius: 12px;
    color: #7a0000;
    font-size: 13px;
}

/* ── Billing — sections ───────────────────────────────────────── */
.billing-section {
    margin-bottom: 32px;
}

.section-hint {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 14px 0;
}

/* ── Billing — store row ──────────────────────────────────────── */
.store-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    background: #fafafa;
}

.store-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
}

    .store-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        cursor: pointer;
        accent-color: var(--brand);
    }

.store-name {
    font-weight: 600;
    flex: 1;
}

/* ── Billing — main d'oeuvre ──────────────────────────────────── */
.labor-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    padding-left: 26px;
    cursor: pointer;
}

    .labor-label input[type="checkbox"] {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        accent-color: var(--brand);
    }

    .labor-label:has(input:disabled) {
        opacity: 0.45;
        cursor: not-allowed;
    }

.labor-price {
    color: var(--brand);
    font-weight: 600;
    margin-left: auto;
}

/* ── Badges ───────────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-active {
    background: rgba(15,61,62,.1);
    color: var(--brand);
}

.badge-pending {
    background: rgba(180,120,0,.1);
    color: #7a5000;
}

.badge-warning {
    background: rgba(160,80,0,.1);
    color: #7a4000;
}

.badge-done {
    background: rgba(15,61,62,.06);
    color: var(--muted);
}

.badge-commitment {
    background: rgba(100,50,150,.1);
    color: #5a2d8a;
}

/* ── Misc ─────────────────────────────────────────────────────── */
.row {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

/* ── Dashboard ─────────────────────────────────── */
.dashboard-footer-actions {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dashboard-action-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
    color: var(--ink);
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

    .dashboard-action-card:hover {
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 12px 28px rgba(0,0,0,.07);
        border-color: rgba(15,61,62,.18);
    }

.dashboard-action-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,61,62,.08);
    color: var(--brand);
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

.dashboard-action-card strong {
    display: block;
    font-size: 14px;
    line-height: 1.2;
}

.dashboard-action-card small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
}

.dashboard-action-card-disabled {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
}

    .dashboard-action-card-disabled .dashboard-action-icon {
        background: rgba(17,17,17,.06);
        color: var(--muted);
    }

@media (max-width: 560px) {
    .dashboard-footer-actions {
        grid-template-columns: 1fr;
    }
}

.owner-store-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.owner-store-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #fff;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.owner-store-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(250,250,250,1) 100%);
    box-shadow: 0 12px 32px rgba(0,0,0,.06);
}

.owner-store-card-top {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.owner-store-hero {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    align-items: start;
}

.owner-store-logo-lg {
    width: 72px;
    height: 72px;
    border-radius: 20px;
}

.owner-store-head {
    min-width: 0;
}

.owner-store-title-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px;
}

.owner-store-top-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.owner-store-name {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.owner-store-meta {
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.owner-store-badges {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.owner-store-kpis {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.store-kpi {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    background: rgba(255,255,255,.72);
}

.store-kpi-label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

.store-kpi-value {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.02em;
    color: var(--brand);
}

.owner-store-actions-bottom {
    margin-top: 16px;
    justify-content: flex-end;
    border-top: 1px solid rgba(17,17,17,.08);
    padding-top: 14px;
}

@media (max-width: 560px) {
    .owner-store-hero {
        grid-template-columns: 72px 1fr;
        gap: 14px;
        align-items: start;
    }

    .owner-store-kpis {
        grid-template-columns: 1fr 1fr;
    }

        .owner-store-kpis .store-kpi:nth-child(3) {
            grid-column: 1 / -1;
        }

    .owner-store-actions-bottom {
        justify-content: flex-start;
    }
}

.owner-store-identity {
    min-width: 0;
}

.owner-store-title-inline {
    display: flex;
    align-items: center;
    gap: 10px 12px;
    flex-wrap: wrap;
}

.owner-store-badges-inline {
    margin-top: 0;
}

.owner-store-meta {
    margin-top: 6px;
}

.owner-store-footer {
    margin-top: 16px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
}

.owner-store-tools {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.owner-store-links-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.store-links-group {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    background: rgba(255,255,255,.82);
}

.store-links-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.store-link-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

    .store-link-row + .store-link-row {
        margin-top: 10px;
    }

.store-link-text {
    min-width: 0;
    font-size: 13px;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-link-row-view .store-link-text {
    color: var(--muted);
}

@media (max-width: 860px) {
    .owner-store-footer {
        grid-template-columns: 1fr;
    }

    .owner-store-links-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .dashboard-topbar {
        align-items: stretch;
    }

    .dashboard-topbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .topbar-action,
    .topbar-action-form {
        flex: 1 1 0;
    }

    .topbar-action {
        width: 100%;
    }

    .owner-store-title-inline {
        align-items: flex-start;
    }

    .owner-store-name {
        width: 100%;
    }
}
.owner-store-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}


.icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
}

    .icon-btn:hover {
        filter: brightness(.98);
        text-decoration: none;
    }

.icon-btn-danger {
    border-color: rgba(160,0,0,.22);
    color: #7a0000;
    background: rgba(160,0,0,.03);
}

@media (max-width: 560px) {
    .owner-store-row {
        grid-template-columns: 56px 1fr;
        grid-template-rows: auto auto;
    }

    .owner-store-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

/* ── Delivery ─────────────────────────────────── */
.form-grid {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ── Horaires — layout premium ─────────────────────────────────── */
.hours-section {
    margin-top: 18px;
}

.hours-head {
    display: grid;
    grid-template-columns: 1.2fr 1.15fr 1.15fr 1.35fr .9fr .7fr;
    gap: 12px;
    padding: 0 8px 12px 8px;
    color: var(--muted);
    font-size: 12px;
}

.hours-row {
    display: grid;
    grid-template-columns: 1.2fr 1.15fr 1.15fr 1.35fr .9fr .7fr;
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    margin-bottom: 12px;
    background: #fafafa;
    border-radius: 16px;
    border: 1px solid var(--border);
}

.hours-col.day {
    display: flex;
    align-items: center;
    min-width: 0;
}

    .hours-col.day strong {
        font-size: 15px;
        font-weight: 800;
    }

.hours-time,
.hours-max {
    width: 100%;
    min-width: 0;
    padding: 12px 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    outline: none;
    font-size: 14px;
    background: #fff;
}

    .hours-time:focus,
    .hours-max:focus {
        border-color: rgba(15,61,62,.55);
        box-shadow: 0 0 0 4px rgba(15,61,62,.10);
    }

    .hours-time:disabled,
    .hours-max:disabled {
        opacity: .55;
        background: rgba(255,255,255,.7);
        cursor: not-allowed;
    }

.hours-col.actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hours-clear {
    white-space: nowrap;
    font-weight: 700;
}

.hours-mobile-label {
    display: none;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

@media (max-width: 860px) {
    .hours-head {
        display: none;
    }

    .hours-row {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "day day"
            "start end"
            "pickup pickup"
            "max actions";
    }

    .hours-col.day {
        grid-area: day;
    }

    .hours-col.start {
        grid-area: start;
    }

    .hours-col.end {
        grid-area: end;
    }

    .hours-col.pickup {
        grid-area: pickup;
    }

    .hours-col.max {
        grid-area: max;
    }

    .hours-col.actions {
        grid-area: actions;
        justify-content: flex-end;
        align-self: end;
    }

    .hours-mobile-label {
        display: block;
    }
}

/* ── Plan choice ──────────────────────────────────────────────────── */
.plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

@media (max-width: 560px) {
    .plan-grid {
        grid-template-columns: 1fr;
    }
}
.plan-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    background: #fafafa;
    position: relative;
}

.plan-card-pro {
    border-color: var(--brand);
    background: rgba(15,61,62,.04);
}

.plan-badge-pro {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
}

.plan-name {
    font-size: 18px;
    font-weight: 700;
}

.plan-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand);
}

.plan-period {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 13px;
    line-height: 1.8;
}

.plan-feature-missing {
    color: var(--muted);
    opacity: 0.6;
}

.btn-pro {
    background: var(--brand);
}

/* ── Icon btn disabled ────────────────────────────────────────────── */
.icon-btn-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: not-allowed;
    color: var(--muted);
}

/* ── Badges supplémentaires ───────────────────────────────────────── */
.badge-commitment {
    background: rgba(100,50,150,.1);
    color: #5a2d8a;
}

/* ── Livraison ───────────────────────────────────────── */
.addr-field {
    margin-top: 10px;
}

.addr-label {
    display: block;
    margin: 0 0 8px;
    font-weight: 700;
}

.addr-inputwrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

    .addr-inputwrap:focus-within {
        border-color: rgba(0,0,0,0.25);
        box-shadow: 0 0 0 4px rgba(0,0,0,0.04);
    }

.addr-icon {
    opacity: .75;
}

.addr-input {
    border: 0 !important;
    outline: none !important;
    width: 100%;
    font-size: 14px;
    background: transparent;
    padding: 0;
}

.addr-clear {
    border: 0;
    background: rgba(0,0,0,0.06);
    border-radius: 999px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    line-height: 28px;
    font-weight: 700;
}

    .addr-clear:hover {
        background: rgba(0,0,0,0.10);
    }

.addr-help {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(0,0,0,0.65);
    line-height: 1.4;
}

    .addr-help.err {
        color: #b00020;
    }

.addr-suggest {
    margin-top: 8px;
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

    .addr-suggest button.suggest-item {
        width: 100%;
        text-align: left;
        padding: 10px 12px;
        border: 0;
        background: transparent;
        cursor: pointer;
        font-size: 14px;
    }

        .addr-suggest button.suggest-item:hover {
            background: rgba(0,0,0,0.04);
        }

        .addr-suggest button.suggest-item + button.suggest-item {
            border-top: 1px solid rgba(0,0,0,0.06);
        }

.store-logo-editor {
    margin-top: 8px;
}

.store-logo-preview {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: #fff;
    display: block;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.btn[disabled],
.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.shortcut-help {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fafafa;
}

.shortcut-help__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.shortcut-help__title {
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 4px;
}

.shortcut-help__text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}

.shortcut-help__toggle {
    white-space: nowrap;
    font-weight: 700;
    margin-top: 2px;
}

.shortcut-help__tooltip {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(15,61,62,.06);
    border: 1px solid rgba(15,61,62,.14);
    color: var(--ink);
}

    .shortcut-help__tooltip strong {
        display: block;
        margin-bottom: 6px;
        font-size: 13px;
    }

    .shortcut-help__tooltip p {
        margin: 0;
        font-size: 13px;
        color: var(--muted);
    }

@media (max-width: 560px) {
    .shortcut-help__head {
        flex-direction: column;
    }

    .shortcut-help__toggle {
        align-self: flex-start;
    }
}

.legal-footer {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
}

    .legal-links a {
        color: var(--muted);
    }

        .legal-links a:hover {
            color: var(--brand);
        }

.legal-copy {
    font-size: 12px;
    color: var(--muted);
}

.legal-accept {
    font-size: 12px;
    color: var(--muted);
    margin-top: 14px;
    line-height: 1.5;
}

    .legal-accept a {
        color: var(--brand);
    }
.legal-contact {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
}

    .legal-contact a {
        color: var(--brand);
    }

.landing-page-shell {
    min-height: 100vh;
    padding: 32px 16px 40px;
}

.landing-owner {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}

.landing-owner-top {
    margin-bottom: 18px;
}

.landing-owner-logo {
    display: inline-flex;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 20px 18px;
    border-radius: 22px;
    /* bordure teintée */
    border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
    /* fond avec motifs “brandés” */
    background: radial-gradient(220px 220px at 90% 10%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 60%), radial-gradient(260px 260px at 10% 120%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 60%), radial-gradient(140px 140px at 0% 20%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--brand) 12%, white), white);
    box-shadow: var(--shadow);
}

    /* formes décoratives “soft” au-dessus du fond */
    .hero::before,
    .hero::after {
        content: "";
        position: absolute;
        border-radius: 999px;
        filter: blur(0px);
        opacity: 1;
        pointer-events: none;
    }

    .hero::before {
        width: 220px;
        height: 220px;
        right: -90px;
        top: -110px;
        background: color-mix(in srgb, var(--brand) 16%, transparent);
    }

    .hero::after {
        width: 180px;
        height: 180px;
        left: -80px;
        bottom: -90px;
        background: color-mix(in srgb, var(--brand) 12%, transparent);
    }

    /* texte */
    .hero h1 {
        margin: 0 0 8px 0;
        font-size: 30px;
        letter-spacing: -0.3px;
    }

    .hero p {
        margin: 0 0 14px 0;
        color: var(--muted);
        line-height: 1.5;
    }

.landing-section {
    margin-top: 24px;
}

.landing-copy-card,
.landing-feature-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
    padding: 26px;
}

    .landing-copy-card h2,
    .landing-feature-card h2 {
        margin: 0 0 10px;
        font-size: 22px;
    }

    .landing-copy-card p,
    .landing-feature-card p {
        margin-bottom: 0;
    }

        .landing-copy-card p + p,
        .landing-feature-card p + p {
            margin-top: 12px;
        }

.landing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.landing-legal-footer {
    margin-top: 28px;
}

@media (max-width: 860px) {
    .landing-page-shell {
        padding: 22px 12px 28px;
    }

    .landing-hero {
        padding: 28px 22px;
        border-radius: 24px;
    }

        .landing-hero h1 {
            font-size: 38px;
        }

    .landing-hero__lead {
        font-size: 16px;
    }

    .landing-grid {
        grid-template-columns: 1fr;
    }

    .landing-copy-card,
    .landing-feature-card {
        padding: 20px;
        border-radius: 18px;
    }
}

.copy-feedback {
    margin-left: 8px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    background: #e6f9ec; /* vert très léger */
    color: #1f7a3a;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    white-space: nowrap;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.copy-feedback-error {
    background: #fdeaea;
    color: #b42318;
}