/* ==========================================================================
   Locado - feuille de style unique. Aucune dependance externe, aucun CDN.
   Palette inspiree du golfe de Tadjoura : basalte, turquoise, sel, soleil.
   ========================================================================== */

:root {
    --ink: #102f32;
    --ink-soft: #28484b;
    --sea: #147d75;
    --sea-dark: #0d625c;
    --lagoon: #5ec9bc;
    --sun: #ffb45b;
    --paper: #f7f8f6;
    --card: #ffffff;
    --line: #e3e8e5;
    --line-strong: #cbd6d1;
    --muted: #667b7c;
    --ok: #1f8a70;
    --ok-bg: #e6f4ef;
    --wait: #b7791f;
    --wait-bg: #fbf3e2;
    --bad: #b23b34;
    --bad-bg: #fbeceb;

    --font-display: "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --font-body: "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "Cascadia Mono", Consolas, "SF Mono", "DejaVu Sans Mono", monospace;

    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 18px 50px rgba(16, 47, 50, .10), 0 2px 8px rgba(16, 47, 50, .05);
    --shadow-sm: 0 7px 24px rgba(16, 47, 50, .06);
    --wrap: 1220px;
}

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

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -.035em;
    margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1em; }
a { color: var(--sea-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

:focus-visible {
    outline: 3px solid var(--sun);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }

/* --- Eyebrow : etiquette structurelle ------------------------------------ */
.eyebrow {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sea);
    margin-bottom: .4rem;
    display: block;
}

/* --- Header --------------------------------------------------------------- */
.site-header {
    background: var(--card);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 40;
}
.site-header .bar {
    display: flex; align-items: center; gap: 1rem;
    min-height: 66px;
}
.brand {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 700; color: var(--ink);
    display: flex; align-items: center; gap: .55rem; letter-spacing: -.02em;
}
.brand:hover { text-decoration: none; }
.brand .mark {
    width: 30px; height: 30px; border-radius: 9px;
    background: linear-gradient(150deg, var(--sea) 0%, var(--lagoon) 100%);
    display: grid; place-items: center; color: #fff;
    font-family: var(--font-mono); font-size: .95rem; font-weight: 700;
}
.nav { display: flex; align-items: center; gap: .35rem; margin-left: auto; flex-wrap: wrap; }
.nav a, .nav button {
    font-size: .93rem; color: var(--ink-soft); padding: .45rem .7rem; border-radius: var(--radius-sm);
    background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav a:hover, .nav button:hover { background: var(--paper); text-decoration: none; }
.nav .count {
    display: inline-block; min-width: 19px; padding: 0 5px; margin-left: .3rem;
    background: var(--sun); color: var(--ink); border-radius: 10px;
    font-size: .72rem; font-weight: 700; text-align: center; font-family: var(--font-mono);
}
.nav-toggle { display: none; }

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex; margin-left: auto; align-items: center; gap: .45rem;
        border: 1px solid var(--line-strong); background: var(--card);
        padding: .45rem .7rem; border-radius: var(--radius-sm); cursor: pointer; font: inherit;
    }
    .nav {
        display: none; width: 100%; margin: 0; padding-bottom: .8rem;
        flex-direction: column; align-items: stretch;
    }
    .nav.open { display: flex; }
    .nav a, .nav button { text-align: left; padding: .6rem .4rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .site-header .bar { flex-wrap: wrap; }
}

/* --- Boutons -------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    font: inherit; font-size: .94rem; font-weight: 600;
    padding: .62rem 1.1rem; border-radius: 999px; border: 1px solid transparent;
    cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .1s ease;
    text-decoration: none; line-height: 1.25;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sea); color: #fff; }
.btn-primary:hover { background: var(--sea-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--paper); }
.btn-danger { background: var(--bad); color: #fff; }
.btn-danger:hover { background: #8f2f29; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sm { padding: .38rem .75rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .55; cursor: not-allowed; }

/* --- Cartes et sections --------------------------------------------------- */
.card {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.card-pad { padding: 1.25rem; }
.section { padding: 3rem 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.6rem; align-items: start; }
@media (max-width: 940px) { .split { grid-template-columns: 1fr; } }

/* --- Hero ----------------------------------------------------------------- */
.hero {
    background:
        radial-gradient(120% 90% at 80% -10%, rgba(63, 184, 176, .28) 0%, rgba(63, 184, 176, 0) 60%),
        linear-gradient(165deg, var(--ink) 0%, #0a3b45 55%, #0b5865 100%);
    color: #eaf4f4; padding: 3.4rem 0 2.6rem;
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { font-size: 1.06rem; color: #bcd8da; max-width: 52ch; }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-stats div { border-left: 2px solid var(--lagoon); padding-left: .8rem; }
.hero-stats strong { display: block; font-family: var(--font-mono); font-size: 1.45rem; color: #fff; }
.hero-stats span { font-size: .82rem; color: #a8c8cb; }

/* --- Barre de recherche segmentee ---------------------------------------- */
.searchbar {
    background: var(--card); border-radius: var(--radius); padding: .5rem;
    box-shadow: var(--shadow); margin-top: 2rem;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: .25rem;
}
.searchbar .field { padding: .5rem .75rem; border-right: 1px solid var(--line); }
.searchbar .field:last-of-type { border-right: 0; }
.searchbar label { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-family: var(--font-mono); }
.searchbar input, .searchbar select {
    border: 0; width: 100%; font: inherit; font-size: .95rem; padding: .15rem 0; background: transparent; color: var(--ink);
}
.searchbar input:focus, .searchbar select:focus { outline: none; }
.searchbar .field:focus-within { background: var(--paper); border-radius: var(--radius-sm); }
.searchbar .submit { display: grid; place-items: center; padding: .25rem; }
@media (max-width: 800px) {
    .searchbar { grid-template-columns: 1fr 1fr; }
    .searchbar .field { border-right: 0; border-bottom: 1px solid var(--line); }
    .searchbar .submit { grid-column: 1 / -1; }
}

/* --- Categories ----------------------------------------------------------- */
.cat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; }
.cat-tile {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1rem .9rem; text-align: center; color: var(--ink); transition: border-color .15s, transform .15s;
}
.cat-tile:hover { border-color: var(--sea); transform: translateY(-2px); text-decoration: none; }
.cat-tile img { width: 42px; height: 42px; margin: 0 auto .5rem; }
.cat-tile strong { display: block; font-size: .95rem; }
.cat-tile span { font-size: .78rem; color: var(--muted); font-family: var(--font-mono); }

/* --- Carte annonce (element signature : le prix en ticket) ---------------- */
.listing-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column; position: relative;
    transition: box-shadow .18s ease, transform .18s ease;
}
.listing-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.listing-card .thumb { position: relative; aspect-ratio: 4 / 3; background: #dfeaea; overflow: hidden; }
.listing-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing-card .body { padding: .85rem .95rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.listing-card h3 { font-size: 1.02rem; margin: 0; }
.listing-card h3 a { color: var(--ink); }
.listing-card .where { font-size: .85rem; color: var(--muted); }
.listing-card .foot { margin-top: auto; padding-top: .7rem; display: flex; align-items: end; justify-content: space-between; gap: .5rem; }

.ticket {
    border: 1px dashed var(--line-strong); border-radius: var(--radius-sm);
    padding: .3rem .6rem; background: #f8fbfb; position: relative;
}
.ticket::before, .ticket::after {
    content: ""; position: absolute; width: 8px; height: 8px; background: var(--card);
    border: 1px dashed var(--line-strong); border-radius: 50%; top: 50%; transform: translateY(-50%);
}
.ticket::before { left: -5px; border-right-color: transparent; }
.ticket::after { right: -5px; border-left-color: transparent; }
.ticket .amount { font-family: var(--font-mono); font-size: 1.02rem; font-weight: 700; color: var(--ink); display: block; }
.ticket .unit { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }

.rating { font-size: .85rem; color: var(--ink-soft); font-family: var(--font-mono); }
.rating .star { color: var(--sun); }

.fav-btn {
    position: absolute; top: .6rem; right: .6rem; z-index: 2;
    width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, .92); display: grid; place-items: center;
    box-shadow: var(--shadow-sm); color: var(--muted); font-size: 1.05rem; line-height: 1;
}
.fav-btn.on { color: var(--bad); }
.fav-btn:hover { background: #fff; }

/* --- Badges --------------------------------------------------------------- */
.badge {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .74rem; font-weight: 700; letter-spacing: .03em;
    padding: .18rem .55rem; border-radius: 999px; background: var(--paper); color: var(--ink-soft);
    border: 1px solid var(--line);
}
.badge-ok { background: var(--ok-bg); color: var(--ok); border-color: #c6e5da; }
.badge-wait { background: var(--wait-bg); color: var(--wait); border-color: #eedcb4; }
.badge-bad { background: var(--bad-bg); color: var(--bad); border-color: #f0cdca; }
.badge-neutral { background: var(--paper); color: var(--muted); }
.badge-pro { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge-feature { background: #fff; }

/* --- Formulaires ---------------------------------------------------------- */
.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field-block { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1rem; }
.field-block label { font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.field-block .hint { font-size: .8rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="date"], input[type="search"], input[type="tel"], input[type="file"], select, textarea {
    font: inherit; font-size: .95rem; width: 100%; padding: .58rem .75rem;
    border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
    background: var(--card); color: var(--ink);
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--sea); outline: 2px solid rgba(11, 124, 140, .18); outline-offset: 0; }
.field-error { color: var(--bad); font-size: .82rem; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--bad); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; margin: 0 0 1.2rem; }
legend { font-family: var(--font-display); font-size: 1.05rem; padding: 0 .4rem; }
.check-row { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.check-row input { width: auto; }

/* --- Messages flash ------------------------------------------------------- */
.flash { border-radius: var(--radius-sm); padding: .8rem 1rem; margin-bottom: .7rem; border: 1px solid; font-size: .93rem; }
.flash-success { background: var(--ok-bg); border-color: #bfe3d6; color: #14614e; }
.flash-error { background: var(--bad-bg); border-color: #f0cdca; color: #8f2f29; }
.flash-info { background: #e8f2f5; border-color: #c5dde4; color: #14556b; }

/* --- Tableaux ------------------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 620px; }
table.data th, table.data td { text-align: left; padding: .65rem .7rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
table.data tbody tr:hover { background: #f8fbfb; }
table.data td.num { font-family: var(--font-mono); text-align: right; }

@media (max-width: 700px) {
    table.data.stacked { min-width: 0; }
    table.data.stacked thead { display: none; }
    table.data.stacked tr { display: block; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .7rem; padding: .3rem .5rem; }
    table.data.stacked td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: .35rem .2rem; }
    table.data.stacked td::before { content: attr(data-label); font-weight: 700; font-size: .76rem; text-transform: uppercase; color: var(--muted); }
    table.data.stacked td.num { text-align: right; }
}

/* --- Etats vides / chargement -------------------------------------------- */
.empty {
    border: 1px dashed var(--line-strong); border-radius: var(--radius);
    padding: 2.2rem 1.2rem; text-align: center; color: var(--muted); background: #fbfdfd;
}
.empty strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .3rem; }
.spinner {
    width: 18px; height: 18px; border: 2px solid var(--line-strong); border-top-color: var(--sea);
    border-radius: 50%; display: inline-block; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Fiche annonce -------------------------------------------------------- */
.gallery { display: grid; gap: .5rem; grid-template-columns: 2fr 1fr; }
.gallery .main { grid-row: span 2; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); background: #dfeaea; }
.gallery .side { aspect-ratio: 16 / 10; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } .gallery .side { display: none; } }

.feature-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .55rem; list-style: none; padding: 0; margin: 0; }
.feature-list li { background: var(--paper); border-radius: var(--radius-sm); padding: .5rem .7rem; font-size: .88rem; }
.feature-list li span { display: block; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.price-table { width: 100%; border-collapse: collapse; }
.price-table td { padding: .4rem 0; border-bottom: 1px dotted var(--line-strong); font-size: .92rem; }
.price-table td:last-child { text-align: right; font-family: var(--font-mono); }
.price-table tr.total td { border-bottom: 0; font-weight: 700; font-size: 1.02rem; padding-top: .7rem; }

.booking-box { position: sticky; top: 84px; }

.calendar-legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.calendar-legend i { width: 12px; height: 12px; display: inline-block; border-radius: 3px; margin-right: .3rem; vertical-align: -1px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-top: .6rem; }
.cal .dow { font-size: .68rem; text-align: center; color: var(--muted); font-family: var(--font-mono); }
.cal .day { aspect-ratio: 1; display: grid; place-items: center; font-size: .78rem; border-radius: 5px; background: var(--ok-bg); color: #14614e; }
.cal .day.busy { background: var(--bad-bg); color: var(--bad); text-decoration: line-through; }
.cal .day.void { background: transparent; }

.review { border-top: 1px solid var(--line); padding: .9rem 0; }
.review:first-of-type { border-top: 0; }

/* --- Barre mobile fixe ---------------------------------------------------- */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--card); border-top: 1px solid var(--line);
    padding: .6rem 1rem; display: none; align-items: center; gap: .8rem;
    box-shadow: 0 -4px 16px rgba(7, 42, 50, .08);
}
.sticky-cta .amount { font-family: var(--font-mono); font-weight: 700; }
@media (max-width: 940px) {
    .sticky-cta { display: flex; }
    body.has-cta { padding-bottom: 74px; }
    .booking-box { position: static; }
}

/* --- Tableau de bord ------------------------------------------------------ */
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: .9rem; }
.kpi {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem;
    border-top: 3px solid var(--sea);
}
.kpi span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.kpi strong { display: block; font-family: var(--font-mono); font-size: 1.55rem; line-height: 1.3; margin-top: .2rem; }
.kpi.alt { border-top-color: var(--sun); }
.kpi.pos { border-top-color: var(--ok); }

.bars { display: flex; align-items: end; gap: .5rem; height: 150px; padding-top: .5rem; }
.bars .bar { flex: 1; background: linear-gradient(180deg, var(--lagoon), var(--sea)); border-radius: 5px 5px 0 0; min-height: 4px; position: relative; }
.bars .bar span { position: absolute; bottom: -1.5rem; left: 0; right: 0; text-align: center; font-size: .68rem; color: var(--muted); font-family: var(--font-mono); }
.bars-wrap { padding-bottom: 1.7rem; }

.tabs { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); margin-bottom: 1.1rem; flex-wrap: wrap; }
.tabs a, .tabs button {
    padding: .5rem .85rem; font-size: .9rem; border: 0; background: none; cursor: pointer; font-family: inherit;
    color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs a.active, .tabs button.active { color: var(--ink); border-bottom-color: var(--sea); font-weight: 600; }
.tabs a:hover, .tabs button:hover { text-decoration: none; color: var(--ink); }

/* --- Admin ---------------------------------------------------------------- */
.admin-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: var(--ink); color: #cfe2e4; padding: 1.1rem .8rem; }
.admin-side .brand { color: #fff; margin-bottom: 1.2rem; }
.admin-side a { display: block; color: #b7d1d4; padding: .5rem .7rem; border-radius: var(--radius-sm); font-size: .92rem; }
.admin-side a:hover, .admin-side a.active { background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }
.admin-side .group { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #6d959a; margin: 1rem .7rem .3rem; font-family: var(--font-mono); }
.admin-main { padding: 1.5rem; background: var(--paper); }
@media (max-width: 860px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-side { display: flex; flex-wrap: wrap; gap: .2rem; }
    .admin-side .group { width: 100%; margin: .4rem .5rem .1rem; }
    .admin-main { padding: 1rem; }
}

/* --- Pagination ----------------------------------------------------------- */
.pagination { display: flex; gap: .3rem; flex-wrap: wrap; align-items: center; margin-top: 1.6rem; }
.pagination a, .pagination span {
    min-width: 38px; text-align: center; padding: .4rem .6rem; border-radius: var(--radius-sm);
    border: 1px solid var(--line); background: var(--card); font-size: .9rem; color: var(--ink-soft);
}
.pagination .current { background: var(--sea); color: #fff; border-color: var(--sea); font-weight: 700; }
.pagination a:hover { border-color: var(--sea); text-decoration: none; }

/* --- Filtres -------------------------------------------------------------- */
.filters { position: sticky; top: 84px; }
.filters details { border-top: 1px solid var(--line); padding: .6rem 0; }
.filters details[open] summary { color: var(--ink); }
.filters summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 940px) { .filters { position: static; } }

/* --- Messagerie ----------------------------------------------------------- */
.thread { display: flex; flex-direction: column; gap: .7rem; max-height: 58vh; overflow-y: auto; padding-right: .3rem; }
.bubble { max-width: 78%; padding: .6rem .85rem; border-radius: 14px; background: var(--paper); font-size: .93rem; }
.bubble.mine { align-self: flex-end; background: var(--sea); color: #fff; }
.bubble .meta { font-size: .72rem; opacity: .75; display: block; margin-top: .25rem; font-family: var(--font-mono); }

/* --- Chronologie ---------------------------------------------------------- */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 .9rem 1.3rem; border-left: 2px solid var(--line); }
.timeline li::before {
    content: ""; position: absolute; left: -6px; top: .35rem; width: 10px; height: 10px;
    border-radius: 50%; background: var(--sea); border: 2px solid var(--card);
}
.timeline li:last-child { border-left-color: transparent; }

/* --- Pied de page --------------------------------------------------------- */
.site-footer { background: var(--ink); color: #a9c6c9; margin-top: 3rem; padding: 2.5rem 0 1.5rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .6rem; font-family: var(--font-body); letter-spacing: .04em; }
.site-footer a { color: #a9c6c9; font-size: .9rem; display: block; padding: .12rem 0; }
.site-footer a:hover { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 1.6rem; }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 1.8rem; padding-top: 1rem; font-size: .82rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

/* --- Pages d'erreur ------------------------------------------------------- */
.error-page { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 2rem 1rem; }
.error-code { font-family: var(--font-mono); font-size: clamp(3rem, 12vw, 6rem); color: var(--sea); line-height: 1; }

/* --- Authentification ----------------------------------------------------- */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside {
    background: linear-gradient(165deg, var(--ink) 0%, #0b5865 100%); color: #d4e9ea;
    padding: 3rem; display: flex; flex-direction: column; justify-content: center;
}
.auth-aside h2 { color: #fff; }
.auth-main { display: grid; place-items: center; padding: 2rem 1rem; }
.auth-card { width: min(100%, 430px); }
@media (max-width: 860px) { .auth-shell { grid-template-columns: 1fr; } .auth-aside { display: none; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Refonte interface 2026 — parcours plus direct, mise en page plus expressive
   ========================================================================== */

[hidden] { display: none !important; }
.flash-wrap { padding-top: 1rem; }
.section { padding: clamp(3.2rem, 7vw, 5.6rem) 0; }
.section-head { margin-bottom: 1.8rem; align-items: flex-end; }
.section-head p { max-width: 44ch; margin: 0; color: var(--muted); }
.section-link { font-weight: 700; display: inline-flex; align-items: center; gap: .45rem; }
.section-link span { transition: transform .2s ease; }
.section-link:hover span { transform: translateX(4px); }
.page-heading { margin-bottom: 1.7rem; }
.narrow-heading { max-width: 760px; }
.compact-head { margin-bottom: .75rem; }

/* En-tête */
.site-header {
    background: rgba(255, 255, 255, .92);
    border-bottom-color: rgba(203, 214, 209, .72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.site-header .bar { min-height: 76px; gap: 1.35rem; }
.brand { font-size: 1.28rem; letter-spacing: -.035em; font-weight: 800; flex: 0 0 auto; }
.brand .mark {
    width: 36px; height: 36px; border-radius: 12px;
    background: linear-gradient(145deg, #102f32 0%, #147d75 68%, #5ec9bc 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 7px 18px rgba(20,125,117,.24);
}
.nav { flex: 1; flex-wrap: nowrap; gap: 1rem; }
.nav-main, .nav-actions { display: flex; align-items: center; gap: .25rem; }
.nav-main { margin-right: auto; }
.nav-actions { margin-left: auto; }
.nav a, .nav button { font-weight: 600; padding: .62rem .78rem; }
.nav .btn { padding: .58rem 1rem; color: inherit; }
.nav .btn-primary { color: #fff; background: var(--sea); }
.nav .btn-primary:hover { color: #fff; background: var(--sea-dark); }
.nav .btn-sun { color: var(--ink); background: var(--sun); }
.nav .btn-sun:hover { color: var(--ink); background: #ffa83d; }
.nav-icon-link { display: inline-flex; align-items: center; gap: .35rem; position: relative; }
.nav-icon-link > span:first-child { font-size: 1.15rem; line-height: 1; }
.nav .count { margin-left: 0; position: relative; top: -1px; }
.account-menu { position: relative; margin-left: .2rem; }
.account-menu summary {
    list-style: none; display: flex; align-items: center; gap: .5rem; cursor: pointer;
    padding: .25rem .35rem .25rem .25rem; border: 1px solid var(--line); border-radius: 999px;
    background: #fff; font-weight: 700; font-size: .9rem;
}
.account-menu summary::-webkit-details-marker { display: none; }
.account-avatar {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
    color: #fff; background: var(--ink); font-size: .72rem; letter-spacing: .02em;
}
.account-dropdown {
    position: absolute; right: 0; top: calc(100% + .65rem); z-index: 80; width: 245px;
    padding: .55rem; border: 1px solid var(--line); border-radius: 16px; background: #fff;
    box-shadow: var(--shadow);
}
.account-dropdown::before {
    content: ""; position: absolute; right: 24px; top: -6px; width: 11px; height: 11px;
    background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg);
}
.account-heading { padding: .65rem .7rem .75rem; border-bottom: 1px solid var(--line); margin-bottom: .35rem; }
.account-heading strong, .account-heading span { display: block; }
.account-heading span { color: var(--muted); font-size: .76rem; overflow: hidden; text-overflow: ellipsis; }
.account-dropdown a, .account-dropdown button {
    display: flex; width: 100%; justify-content: space-between; padding: .6rem .7rem; border-radius: 9px;
    text-align: left; font-size: .88rem; color: var(--ink-soft); font-weight: 600;
}
.account-dropdown form { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .35rem; }
.account-dropdown form button { color: var(--bad); }
.nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after {
    width: 18px; height: 2px; border-radius: 2px; background: var(--ink); display: block; position: relative;
}
.nav-toggle-lines::before, .nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }

/* Boutons */
.btn { border-radius: 12px; padding: .72rem 1.15rem; font-weight: 750; box-shadow: none; }
.btn-primary { background: var(--sea); box-shadow: 0 8px 20px rgba(20,125,117,.18); }
.btn-primary:hover { background: var(--sea-dark); transform: translateY(-1px); }
.btn-dark:hover, .btn-sun:hover, .btn-ghost:hover { transform: translateY(-1px); }
.btn-sun { background: var(--sun); }
.btn-lg { min-height: 50px; padding: .82rem 1.35rem; font-size: 1rem; }

/* Accueil / Hero */
.hero {
    position: relative; overflow: hidden; padding: clamp(4.2rem, 8vw, 7rem) 0 clamp(4rem, 7vw, 6rem);
    background: linear-gradient(138deg, #0d292c 0%, #103f43 52%, #0d5f5c 100%);
}
.hero::before {
    content: ""; position: absolute; width: 580px; height: 580px; border-radius: 50%;
    right: -180px; top: -290px; background: rgba(94,201,188,.16); filter: blur(2px);
}
.hero::after {
    content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
    left: -210px; bottom: -250px; border: 70px solid rgba(255,180,91,.08);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.hero-copy { min-width: 0; }
.hero-eyebrow { color: #8fe0d7; }
.hero h1 { max-width: 12ch; margin: 0 0 1.1rem; font-size: clamp(2.65rem, 6.2vw, 5.25rem); letter-spacing: -.065em; }
.hero .lead { font-size: clamp(1.03rem, 1.7vw, 1.2rem); max-width: 59ch; line-height: 1.65; color: #c1dddc; }
.hero .searchbar { margin-top: 2rem; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 24px 60px rgba(0,0,0,.24); }
.searchbar { border-radius: 18px; padding: .55rem; grid-template-columns: 1.55fr 1fr 1fr auto; }
.searchbar .field { padding: .55rem .8rem; }
.searchbar label { font-weight: 750; }
.searchbar input, .searchbar select { min-height: 30px; }
.searchbar .btn { min-height: 48px; }
.hero-actions { display: flex; gap: 1.35rem; flex-wrap: wrap; margin-top: 1.3rem; }
.hero-actions a { color: #d7eceb; font-size: .9rem; font-weight: 700; }
.hero-panel { min-height: 430px; position: relative; }
.hero-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); }
.hero-orbit-one { width: 370px; height: 370px; right: -35px; top: 20px; }
.hero-orbit-two { width: 250px; height: 250px; right: 25px; top: 80px; border-color: rgba(94,201,188,.25); }
.benefit-card {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: .85rem; width: min(100%, 290px);
    padding: 1rem; color: var(--ink); background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.65);
    border-radius: 18px; box-shadow: 0 20px 45px rgba(0,0,0,.18); backdrop-filter: blur(12px);
}
.benefit-card-main { top: 40px; left: 0; transform: rotate(-2deg); }
.benefit-card-calendar { top: 172px; right: -8px; transform: rotate(2deg); }
.benefit-card-message { top: 302px; left: 22px; transform: rotate(-1deg); }
.benefit-icon {
    flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px;
    color: #fff; background: var(--sea); font-weight: 850; font-size: .95rem;
}
.benefit-card-calendar .benefit-icon { background: var(--sun); color: var(--ink); }
.benefit-card-message .benefit-icon { background: var(--ink); }
.benefit-card strong, .benefit-card small { display: block; }
.benefit-card strong { font-size: .94rem; }
.benefit-card small { color: var(--muted); font-size: .75rem; margin-top: .2rem; line-height: 1.4; }
.hero-live-count {
    position: absolute; z-index: 3; right: 15px; bottom: 2px; padding: .7rem .9rem; color: #d7eceb;
    background: rgba(10,35,38,.74); border: 1px solid rgba(255,255,255,.16); border-radius: 14px;
}
.hero-live-count span, .hero-live-count strong { display: block; }
.hero-live-count span { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-live-count strong { color: #fff; font-size: .9rem; }
.trust-strip { margin-top: -1px; background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { display: flex; gap: .9rem; align-items: center; padding: 1.35rem 1.4rem; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid > div > span { color: var(--sea); font-family: var(--font-mono); font-size: .75rem; font-weight: 800; }
.trust-grid p, .trust-grid strong, .trust-grid small { display: block; margin: 0; }
.trust-grid strong { font-size: .9rem; }
.trust-grid small { color: var(--muted); font-size: .75rem; margin-top: .1rem; }

/* Catégories et cartes */
.category-section { background: #fff; }
.cat-row { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .85rem; }
.cat-tile {
    min-height: 170px; padding: 1.15rem .7rem; display: flex; flex-direction: column; align-items: center; justify-content: center;
    border-radius: 18px; box-shadow: 0 1px 0 rgba(16,47,50,.02); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.cat-icon-wrap { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 20px; background: #eef7f5; margin-bottom: .8rem; }
.cat-tile img { width: 46px; height: 46px; margin: 0; }
.cat-tile strong { font-size: .88rem; }
.cat-tile > span:last-child { font-size: .7rem; margin-top: .2rem; }
.listing-section { padding-top: 1.5rem; }
.listing-card { border-radius: 18px; box-shadow: 0 1px 0 rgba(16,47,50,.02); }
.listing-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.listing-card .thumb { aspect-ratio: 1.3 / 1; }
.listing-card .body { padding: 1rem 1.05rem 1.1rem; }
.listing-card .eyebrow { margin-bottom: 0; }
.listing-card h3 { font-size: 1.03rem; line-height: 1.35; }
.ticket { background: #f3f8f6; }
.fav-btn { width: 40px; height: 40px; font-size: 1.2rem; }

/* Étapes et appel loueur */
.process-section { background: #eef4f1; }
.process-heading { display: grid; grid-template-columns: 1fr .7fr; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.process-card { min-height: 230px; padding: 1.5rem; border: 1px solid #dbe5e0; border-radius: 22px; background: rgba(255,255,255,.68); }
.process-card > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--ink); color: #fff; font: 700 .8rem var(--font-mono); }
.process-card h3 { margin-top: 2.6rem; font-size: 1.35rem; }
.process-card p { color: var(--muted); margin-bottom: 0; max-width: 29ch; }
.owner-cta-section { padding-top: 2rem; }
.owner-cta {
    display: grid; grid-template-columns: minmax(0, 1.3fr) auto; align-items: center; gap: 2rem;
    padding: clamp(2rem, 5vw, 3.5rem); color: #d9eceb; border-radius: 28px;
    background: linear-gradient(130deg, #102f32, #154e50); overflow: hidden; position: relative;
}
.owner-cta::after { content: ""; position: absolute; right: -90px; top: -130px; width: 330px; height: 330px; border: 70px solid rgba(94,201,188,.1); border-radius: 50%; }
.owner-cta > * { position: relative; z-index: 1; }
.owner-cta h2 { color: #fff; max-width: 16ch; }
.owner-cta p { max-width: 58ch; color: #b9d5d4; }
.owner-cta-actions { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.owner-cta-actions > a:not(.btn) { color: #d6e9e8; font-size: .86rem; }
.pro-card h3 { margin-top: 1rem; }
.review-card p { font-size: 1.05rem; margin-top: 1rem; }

/* Formulaires */
.field-block { gap: .38rem; }
.field-block label { font-size: .86rem; font-weight: 750; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="date"], input[type="search"], input[type="tel"], input[type="file"], select, textarea {
    min-height: 47px; padding: .7rem .82rem; border-radius: 11px; background: #fff; transition: border-color .16s, box-shadow .16s;
}
textarea { min-height: 145px; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 0 0 0 4px rgba(20,125,117,.12); }
.label-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.label-row a { font-size: .78rem; font-weight: 650; }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 88px; }
.input-suffix > span { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .75rem; font-weight: 700; pointer-events: none; }
.advanced-options { margin-top: .8rem; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfb; }
.advanced-options summary { padding: .85rem 1rem; cursor: pointer; font-weight: 700; font-size: .84rem; color: var(--ink-soft); }
.advanced-options-body { padding: .2rem 1rem 1rem; }
.optional-message, .contact-owner { border-top: 1px solid var(--line); padding-top: .8rem; margin: .75rem 0 1rem; }
.optional-message summary, .contact-owner summary { cursor: pointer; font-size: .84rem; font-weight: 700; color: var(--sea-dark); }
.optional-message summary span { color: var(--muted); font-weight: 500; }
.optional-message .field-block, .contact-owner form { margin-top: .8rem; }
.notice-card { padding: .9rem 1rem; border: 1px solid #bfe0da; border-radius: 13px; background: #eef9f6; }
.notice-card strong { display: block; margin-bottom: .2rem; }
.notice-card p { margin: 0; color: var(--ink-soft); font-size: .85rem; }

/* Authentification */
.auth-shell { grid-template-columns: minmax(360px, .85fr) minmax(520px, 1.15fr); background: #fff; }
.auth-aside { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 5rem); background: linear-gradient(145deg, #102f32, #0e5b58); }
.auth-aside::before { content: ""; position: absolute; width: 420px; height: 420px; border: 80px solid rgba(94,201,188,.11); border-radius: 50%; right: -210px; top: -170px; }
.auth-aside::after { content: ""; position: absolute; width: 240px; height: 240px; background: rgba(255,180,91,.08); border-radius: 50%; left: -140px; bottom: -100px; }
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside-content { margin-top: auto; margin-bottom: auto; max-width: 500px; }
.auth-aside h2 { font-size: clamp(2.2rem, 4.5vw, 4.1rem); max-width: 10ch; letter-spacing: -.06em; }
.auth-aside p { max-width: 44ch; color: #bcd8d7; }
.auth-benefits { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .8rem; }
.auth-benefits li { display: flex; align-items: center; gap: .7rem; }
.auth-benefits span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; color: var(--ink); background: var(--sun); font-size: .75rem; font-weight: 900; }
.auth-main { padding: 2.4rem 1.4rem; background: #f7f8f6; }
.auth-card { width: min(100%, 520px); }
.auth-card-inner { padding: clamp(1.35rem, 4vw, 2.1rem); border-radius: 22px; box-shadow: var(--shadow); }
.auth-title { font-size: clamp(1.8rem, 4vw, 2.55rem); margin-bottom: .55rem; }
.auth-intro { margin-bottom: 1.5rem; }
.auth-switch { margin: 1.35rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.consent-copy { margin-top: .75rem; }
.choice-fieldset { border: 0; padding: 0; margin: .2rem 0 1.2rem; }
.choice-fieldset legend { font-family: var(--font-body); font-size: .86rem; font-weight: 750; padding: 0; margin-bottom: .5rem; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.choice-card { position: relative; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card > span { display: block; min-height: 84px; padding: .75rem; border: 1px solid var(--line-strong); border-radius: 13px; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; }
.choice-card strong, .choice-card small { display: block; }
.choice-card strong { font-size: .84rem; }
.choice-card small { margin-top: .24rem; color: var(--muted); line-height: 1.3; font-size: .68rem; }
.choice-card input:checked + span { border-color: var(--sea); background: #edf8f6; box-shadow: 0 0 0 2px rgba(20,125,117,.12); }
.choice-card input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.password-control { position: relative; }
.password-control input { padding-right: 82px; }
.password-toggle { position: absolute; right: .42rem; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--sea-dark); font: 700 .75rem var(--font-body); cursor: pointer; padding: .4rem; }
.password-strength { font-size: .76rem; color: var(--muted); }
.password-strength::before { content: ""; display: inline-block; width: 42px; height: 4px; margin-right: .45rem; border-radius: 4px; background: var(--line-strong); vertical-align: 2px; }
.strength-1::before { background: var(--bad); }
.strength-2::before { background: var(--wait); }
.strength-3::before { background: var(--sun); }
.strength-4 { color: var(--ok); }
.strength-4::before { background: var(--ok); }

/* Assistant de création d'annonce */
.listing-editor { max-width: 920px; padding: clamp(1rem, 3vw, 2rem); }
.listing-editor fieldset { border: 0; padding: 0; margin: 0 0 1.6rem; }
.listing-editor fieldset + fieldset { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.listing-editor legend { font-size: 1.35rem; font-weight: 780; letter-spacing: -.025em; padding: 0; margin-bottom: .4rem; }
.wizard-hidden { display: none !important; }
.wizard-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; margin: -.25rem 0 2rem; padding-bottom: 1.15rem; border-bottom: 1px solid var(--line); }
.wizard-progress button { position: relative; display: flex; align-items: center; gap: .55rem; border: 0; background: transparent; color: var(--muted); font: inherit; text-align: left; cursor: pointer; padding: .45rem; border-radius: 10px; }
.wizard-progress button::after { content: ""; position: absolute; left: .45rem; right: .45rem; bottom: -.78rem; height: 3px; border-radius: 3px; background: var(--line); }
.wizard-progress button span { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--paper); font: 700 .72rem var(--font-mono); }
.wizard-progress button strong { font-size: .78rem; line-height: 1.2; }
.wizard-progress button.active { color: var(--ink); background: #f3f7f5; }
.wizard-progress button.active span, .wizard-progress button.done span { background: var(--sea); color: #fff; }
.wizard-progress button.active::after, .wizard-progress button.done::after { background: var(--sea); }
.wizard-controls, .form-submit-actions { display: flex; align-items: center; gap: .65rem; margin-top: 1.4rem; }
.wizard-status { margin: 0 auto; color: var(--muted); font-size: .76rem; }
.form-submit-actions { justify-content: flex-end; }
.price-primary-field { max-width: 420px; }
.price-primary-field input { font-size: 1.15rem; font-weight: 760; }
.upload-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .65rem; margin-top: .75rem; }
.upload-preview:empty { display: none; }
.upload-preview figure { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.upload-preview img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.upload-preview figcaption { padding: .35rem .45rem; font-size: .67rem; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Résultats et panneau de filtres */
.search-results-page { padding-top: 2rem; }
.results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.results-heading h1 { margin-bottom: 0; }
.search-layout { grid-template-columns: minmax(0, 1fr) 320px; }
.filter-toggle, .filter-close, .filter-overlay { display: none; }
.filter-panel-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.filter-panel-head h2 { font-size: 1.25rem; margin: 0; }
.filters .card { box-shadow: var(--shadow-sm); }

/* Récapitulatif réservation */
.booking-review-page { padding-top: 2rem; }
.booking-review-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 1.25rem; align-items: start; }
.booking-review-main { padding: clamp(1.2rem, 3vw, 2rem); }
.booking-listing-summary { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; padding-bottom: 1.35rem; border-bottom: 1px solid var(--line); }
.booking-listing-summary h2 { margin: .65rem 0 .25rem; font-size: 1.25rem; }
.booking-listing-summary p { margin: 0; }
.booking-dates { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; border-radius: 14px; background: var(--paper); }
.booking-dates span, .booking-dates small, .booking-dates strong { display: block; }
.booking-dates small { color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.booking-dates strong { font-size: .82rem; white-space: nowrap; }
.booking-dates i { color: var(--sea); font-style: normal; }
.price-breakdown { padding: 1rem 0; }
.price-breakdown > div { display: flex; justify-content: space-between; gap: 1rem; padding: .52rem 0; font-size: .9rem; }
.price-breakdown > div span { color: var(--muted); }
.price-breakdown .grand-total { margin-top: .5rem; padding-top: 1rem; border-top: 1px solid var(--line-strong); font-size: 1.12rem; }
.price-breakdown .grand-total span, .price-breakdown .grand-total strong { color: var(--ink); }
.message-preview { padding: .9rem 1rem; margin: .4rem 0 1rem; border-radius: 13px; background: var(--paper); }
.message-preview small { color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.message-preview p { margin: .3rem 0 0; }
.booking-confirm-form { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.booking-assurance { position: sticky; top: 94px; }
.assurance-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.assurance-list li { position: relative; padding: .8rem 0 .8rem 2rem; border-bottom: 1px solid var(--line); }
.assurance-list li::before { content: "✓"; position: absolute; left: 0; top: .78rem; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--ok-bg); color: var(--ok); font-size: .72rem; font-weight: 900; }
.assurance-list strong, .assurance-list span { display: block; }
.assurance-list strong { font-size: .86rem; }
.assurance-list span { color: var(--muted); font-size: .75rem; margin-top: .15rem; }

/* Pied de page */
.site-footer { margin-top: 4rem; padding: 4rem 0 1.5rem; background: #0d292c; }
.footer-top { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.7fr); gap: 3rem; }
.footer-brand-block p { max-width: 38ch; margin: 1rem 0; color: #a9c6c9; }
.footer-contact { display: block; color: #c3dcdd; font-size: .86rem; margin-top: .25rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.site-footer .legal { color: #86a9ab; }

/* Administration et retours utilisateur */
.inline-admin-form { display: flex; gap: .55rem; flex-wrap: wrap; align-items: flex-end; }
.inline-admin-form .field-block { margin: 0; min-width: 150px; }
.plan-form .field-block { min-width: 120px; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 1.5rem; transform: translate(-50%, 18px); padding: .72rem 1rem; border-radius: 12px; color: #fff; background: var(--ink); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; font-size: .85rem; font-weight: 700; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal-ready.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
    .nav-icon-label { display: none; }
    .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 2.2rem; }
    .cat-row { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .site-header .bar { min-height: 68px; }
    .nav-toggle { border-radius: 10px; display: inline-flex; }
    .nav {
        width: 100%; flex-basis: 100%; gap: .25rem; padding: .45rem 0 1rem;
        border-top: 1px solid var(--line); max-height: calc(100vh - 70px); overflow-y: auto;
    }
    .nav-main, .nav-actions { width: 100%; flex-direction: column; align-items: stretch; margin: 0; }
    .nav a, .nav button, .nav .btn { text-align: left; justify-content: flex-start; width: 100%; border-bottom: 0; border-radius: 9px; padding: .7rem .65rem; }
    .nav-icon-label { display: inline; }
    .account-menu { width: 100%; margin: .2rem 0 0; }
    .account-menu summary { border-radius: 11px; padding: .4rem; }
    .account-dropdown { position: static; width: 100%; box-shadow: none; margin-top: .4rem; border-radius: 12px; }
    .account-dropdown::before { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 780px; }
    .hero-panel { min-height: 330px; max-width: 570px; width: 100%; }
    .benefit-card-main { left: 1%; }
    .benefit-card-calendar { top: 130px; right: 0; }
    .benefit-card-message { top: 232px; left: 8%; }
    .hero-orbit-one { width: 320px; height: 320px; top: -5px; right: 8%; }
    .hero-orbit-two { top: 30px; right: 14%; }
    .trust-grid { grid-template-columns: 1fr; padding: .35rem 0; }
    .trust-grid > div { border-right: 0; border-bottom: 1px solid var(--line); padding: .9rem .2rem; }
    .trust-grid > div:last-child { border-bottom: 0; }
    .process-heading { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .process-card { min-height: 0; }
    .process-card h3 { margin-top: 1.8rem; }
    .owner-cta { grid-template-columns: 1fr; }
    .owner-cta-actions { align-items: flex-start; }
    .booking-review-grid { grid-template-columns: 1fr; }
    .booking-assurance { position: static; }
    .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
    .hero .searchbar { grid-template-columns: 1fr 1fr; }
    .hero .searchbar .search-main-field { grid-column: 1 / -1; }
    .hero .searchbar .submit { grid-column: 1 / -1; }
    .hero .searchbar .btn { width: 100%; }
    .cat-row { grid-template-columns: repeat(2, 1fr); }
    .auth-shell { grid-template-columns: 1fr; }
    .auth-aside { display: none; }
    .auth-main { min-height: 100vh; align-content: center; }
    .choice-grid { grid-template-columns: 1fr; }
    .choice-card > span { min-height: 0; }
    .wizard-progress button { flex-direction: column; align-items: flex-start; gap: .3rem; }
    .wizard-progress button strong { font-size: .68rem; }
    .booking-listing-summary { align-items: flex-start; flex-direction: column; }
    .booking-dates { width: 100%; justify-content: space-between; }
    .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 940px) {
    .filter-toggle { display: inline-flex; }
    .filters {
        position: fixed; z-index: 100; right: 0; top: 0; bottom: 0; width: min(92vw, 390px);
        padding: .7rem; background: var(--paper); overflow-y: auto; transform: translateX(105%);
        transition: transform .22s ease; box-shadow: -16px 0 50px rgba(16,47,50,.18);
    }
    .filters .card { min-height: 100%; }
    .filters-open .filters { transform: translateX(0); }
    .filter-close { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 1.45rem; cursor: pointer; }
    .filter-overlay { position: fixed; inset: 0; z-index: 90; width: 100%; border: 0; background: rgba(8,30,32,.46); opacity: 0; pointer-events: none; transition: opacity .2s; display: block; }
    .filters-open .filter-overlay { opacity: 1; pointer-events: auto; }
    body.filters-open { overflow: hidden; }
}

@media (max-width: 560px) {
    .wrap { width: min(100% - 1.2rem, var(--wrap)); }
    .hero { padding-top: 3.3rem; }
    .hero h1 { font-size: clamp(2.45rem, 13vw, 3.5rem); }
    .hero .searchbar { grid-template-columns: 1fr; padding: .4rem; }
    .hero .searchbar .field, .hero .searchbar .search-main-field { grid-column: auto; }
    .benefit-card { width: 265px; padding: .8rem; }
    .hero-panel { min-height: 320px; }
    .benefit-card-calendar { top: 120px; }
    .benefit-card-message { top: 222px; }
    .cat-tile { min-height: 145px; }
    .cat-icon-wrap { width: 58px; height: 58px; }
    .results-heading { align-items: center; }
    .results-heading h1 { font-size: 1.85rem; }
    .wizard-progress button strong { display: none; }
    .wizard-progress button { align-items: center; }
    .wizard-controls { flex-wrap: wrap; }
    .wizard-status { order: -1; width: 100%; text-align: center; }
    .form-submit-actions { flex-direction: column-reverse; align-items: stretch; }
    .form-submit-actions .btn { width: 100%; }
    .booking-confirm-form { flex-direction: column; align-items: stretch; }
    .booking-confirm-form .btn { width: 100%; }
    .footer-links { grid-template-columns: 1fr; }
    .site-footer { padding-top: 3rem; }
    .sticky-cta { padding-bottom: max(.65rem, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal-ready { opacity: 1; transform: none; }
}
