/* Tricoly — simple, léger, arrondi */
@font-face { font-family: 'Jakarta'; src: url('/static/fonts/jakarta.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/static/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #1F2B6C; --navy-2: #2A3880; --navy-3: #3A4270;
  --ink: #12162B; --muted: #5B6172; --line: #E7E8EE; --line-2: #D9DCE6;
  --red: #E8484F; --red-soft: #FDECEC; --sky: #E6ECFF; --sky-2: #F2F5FF;
  --ivory: #FAF8F4; --white: #FFFFFF;
  --wa: #14804A; --wa-2: #0F6B3D;
  --ok: #1D7A4E; --ok-soft: #E5F4EC; --warn: #8A5A00; --warn-soft: #FFF4DC;
  --r-sm: 12px; --r: 18px; --r-lg: 26px; --pill: 999px;
  --shadow: 0 1px 2px rgba(18, 22, 43, .04), 0 8px 24px rgba(18, 22, 43, .06);
  --head: 'Jakarta', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--head); letter-spacing: -.02em; line-height: 1.15; margin: 0; color: var(--ink); }
h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; }
h2 { font-size: 22px; font-weight: 500; }
h3 { font-size: 17px; font-weight: 500; }
p { margin: 0; }
small { font-size: 13px; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--pill); z-index: 99; }
.skip:focus { left: 12px; }
.ic { flex-shrink: 0; vertical-align: -0.15em; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { margin-top: 56px; }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section__head h2 { display: flex; align-items: center; gap: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; font-size: 15px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--pill); border: 0; font: 500 15px/1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s, transform .05s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky); color: var(--navy); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-2); color: #fff; }
.btn--danger { background: #B4232A; color: #fff; }
.btn--danger:hover { background: #8F1C22; color: #fff; }
.btn--icon { background: transparent; color: var(--muted); min-width: 44px; padding: 0; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--icon:hover { color: #B4232A; box-shadow: inset 0 0 0 1.5px #B4232A; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn--xs { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn--xs.btn--icon { min-width: 34px; }
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn--block { width: 100%; }

/* Barre du haut */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(250, 248, 244, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; color: var(--navy); }
.logo { width: 104px; height: auto; }
.mainnav { display: flex; gap: 4px; margin-right: auto; }
.mainnav a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: var(--pill); text-decoration: none; color: var(--navy-3); font-weight: 500; font-size: 15px; }
.mainnav a:hover, .mainnav a.is-on { background: var(--sky); color: var(--navy); }
.mainnav__partir { color: var(--navy) !important; font-weight: 500 !important; }
.topbar__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.burger { display: none; position: relative; }
.burger summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--pill); cursor: pointer; color: var(--navy); }
.burger summary::-webkit-details-marker { display: none; }
.burger__panel { position: absolute; right: 0; top: 52px; width: 250px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 8px; display: grid; }
.burger__panel a, .burger__panel button { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font: 500 15px var(--body); background: none; border: 0; cursor: pointer; text-align: left; width: 100%; }
.burger__panel a:hover, .burger__panel button:hover { background: var(--sky-2); }

/* Messages */
.flash { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 18px; border-radius: var(--r); background: var(--sky); color: var(--navy); font-weight: 500; }
.flash--success { background: var(--ok-soft); color: var(--ok); }
.flash--error { background: var(--red-soft); color: #9B1C22; }
.notice { display: flex; gap: 14px; padding: 16px 20px; border-radius: var(--r); background: var(--sky); color: var(--navy); margin: 16px 0; }
.notice p { margin-top: 2px; font-size: 15px; }
.notice--pending { background: var(--warn-soft); color: var(--warn); }
.notice--rejected, .notice--hidden { background: var(--red-soft); color: #9B1C22; }
.error-text { color: #B4232A; font-size: 14px; font-weight: 500; }

/* Accueil */
.hero { padding: 64px 0 40px; }
.hero__in { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; background: #fff; border-radius: var(--pill); font-size: 14px; font-weight: 500; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.hero__title { font-size: clamp(38px, 6vw, 64px); font-weight: 600; letter-spacing: -.035em; color: var(--navy); }
.hero__lead { max-width: 620px; font-size: 18px; color: var(--muted); }
.searchbar { display: flex; gap: 8px; width: 100%; max-width: 820px; padding: 8px; background: #fff; border-radius: var(--pill); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); margin-top: 8px; }
.searchbar__field { flex: 1 1 0; display: flex; align-items: center; gap: 10px; padding: 0 16px; color: var(--muted); min-width: 0; }
.searchbar__field + .searchbar__field { border-left: 1px solid var(--line); }
.searchbar__field--city, .searchbar__field--cat { flex: 0 1 230px; }
.searchbar input, .searchbar select { width: 100%; border: 0; background: transparent; font: 500 16px var(--body); color: var(--ink); height: 48px; outline: none; min-width: 0; }
.searchbar--compact { margin-top: 20px; }
.catrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.catpill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; background: #fff; border-radius: var(--pill); text-decoration: none; color: var(--ink); font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s; }
.catpill:hover { box-shadow: inset 0 0 0 1.5px var(--navy); color: var(--navy); }
.catpill__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sky); color: var(--navy); }
.catpill small { color: var(--muted); font-weight: 500; }
.partir-band { display: flex; align-items: center; gap: 20px; padding: 24px 28px; background: var(--navy); color: #fff; border-radius: var(--r-lg); text-decoration: none; }
.partir-band:hover { color: #fff; background: var(--navy-2); }
.partir-band__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .12); flex-shrink: 0; }
.partir-band__txt { display: grid; gap: 2px; margin-right: auto; }
.partir-band__txt strong { font-family: var(--head); font-size: 20px; }
.partir-band__txt span { color: #C9D2FF; }
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.place { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.place__country { display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 500; font-size: 18px; text-decoration: none; margin-bottom: 14px; }
.place__cities { display: flex; flex-wrap: wrap; gap: 8px; }
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.how__item { background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; align-content: start; }
.how__item p { color: var(--muted); font-size: 15px; }
.how__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sky); color: var(--navy); margin-bottom: 6px; }

/* Puces */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips--wrap { flex-wrap: wrap; overflow: visible; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: var(--pill); background: #fff; color: var(--navy-3); text-decoration: none; font: 500 14px var(--body); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); border: 0; cursor: pointer; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--navy); color: var(--navy); }
.chip.is-on { background: var(--navy); color: #fff; box-shadow: none; }
.chip small { opacity: .7; font-size: 12px; }
.chip--sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.chip--radio { position: relative; }
.chip--radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip--radio:has(input:checked) { background: var(--navy); color: #fff; box-shadow: none; }
.chip--radio:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }

/* Cartes d'annonces */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow), inset 0 0 0 1px var(--line); transform: translateY(-2px); }
.card__link { display: block; text-decoration: none; color: inherit; }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--sky-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--navy); background: var(--sky); }
.card__ph--emploi { background: #E8ECFA; }
.card__ph--logement { background: #EAF2EE; color: #1D5A40; }
.card__ph--ventes { background: #FBEDEA; color: #8E2F2A; }
.card__ph--vehicules { background: #F2EEFA; color: #4A3A80; }
.card__ph--services { background: #FFF4DC; color: #7A5200; }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.card__body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.card__kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.card__title { font-family: var(--body); font-size: 16px; font-weight: 500; letter-spacing: -.005em; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card__price { font-family: var(--head); font-weight: 600; font-size: 18px; color: var(--navy); letter-spacing: -.01em; }
.card__price small { font-family: var(--body); font-weight: 500; color: var(--muted); }
.card__meta { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: var(--pill); font-size: 12px; font-weight: 500; background: #fff; color: var(--navy); }
.badge--red { background: var(--red); color: var(--ink); }
.badge--blue { background: var(--navy); color: #fff; }
.badge--soft { background: var(--sky); color: var(--navy); }

/* En-tête des pages de liste */
.pagehead { padding: 32px 0 8px; }
.pagehead h1 { margin: 8px 0 10px; }
.pagehead__lead { max-width: 760px; color: var(--muted); font-size: 17px; }
.pagehead__stat { display: flex; align-items: center; gap: 8px; margin: 14px 0 20px; font-size: 14px; color: var(--muted); }
.pagehead__stat strong { color: var(--navy); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }

/* Liste + filtres */
.browse { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; margin-top: 24px; align-items: start; }
.browse__side { display: grid; gap: 16px; position: sticky; top: 88px; }
.filters, .sidebox { background: #fff; border-radius: var(--r-lg); padding: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.filters summary { display: flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 500; cursor: pointer; list-style: none; }
.filters summary::-webkit-details-marker { display: none; }
.filters__form { display: grid; gap: 14px; margin-top: 16px; }
.sidebox h2 { font-size: 16px; margin-bottom: 12px; }
.sidebox__country { font-size: 13px; font-weight: 500; color: var(--muted); margin: 12px 0 8px; text-transform: uppercase; letter-spacing: .06em; }
.sidebox--share { background: var(--sky); box-shadow: none; }
.sidebox--share p { font-size: 14px; color: var(--navy-3); margin-bottom: 14px; }

/* Formulaires */
.form { display: grid; gap: 16px; }
.form--wide { gap: 20px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 500; color: var(--ink); }
.field small, .field em { font-size: 13px; color: var(--muted); font-style: normal; }
.field.has-error em { color: #B4232A; font-weight: 500; }
.field.has-error input, .field.has-error select, .field.has-error textarea { box-shadow: inset 0 0 0 1.5px #B4232A; }
.field--inline { flex: 1; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=tel], input[type=number], input[type=date], input:not([type]), select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 0; border-radius: var(--r-sm); background: #fff; font: 400 16px var(--body); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow .15s; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B6172' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.searchbar select { box-shadow: none; padding: 0 28px 0 0; background-position: right 4px center; }
.searchbar input { box-shadow: none; padding: 0; }
textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--navy); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.check span { display: inline; }
.check--inline { align-self: center; min-height: 46px; align-items: center; }
.check.has-error span { color: #B4232A; }
.block { border: 0; margin: 0; padding: 24px; background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 16px; }
.block legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font-family: var(--head); font-size: 18px; font-weight: 500; }
.block legend small { font-family: var(--body); font-weight: 500; color: var(--muted); }
.block legend + * { clear: both; }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tile__in { display: grid; justify-items: center; gap: 8px; padding: 16px 8px; border-radius: var(--r); background: var(--ivory); color: var(--navy-3); font-weight: 500; font-size: 14px; box-shadow: inset 0 0 0 1.5px transparent; transition: all .15s; text-align: center; }
.tile:hover .tile__in { box-shadow: inset 0 0 0 1.5px var(--line-2); }
.tile input:checked + .tile__in { background: var(--sky); color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.tile input:focus-visible + .tile__in { outline: 3px solid var(--navy); outline-offset: 2px; }
.subtypes { display: grid; gap: 10px; }
.subtypes__label { font-size: 14px; font-weight: 500; }
.subtypes__label small { color: var(--muted); font-weight: 500; }
.catfields { display: grid; gap: 14px; padding: 16px; border-radius: var(--r); background: var(--sky-2); }
.money { display: flex; align-items: center; gap: 0; margin-top: 8px; max-width: 320px; }
.money input { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.money__cur { display: grid; place-items: center; min-height: 46px; padding: 0 16px; background: var(--sky); color: var(--navy); font-weight: 500; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.dropzone { position: relative; display: block; cursor: pointer; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__in { display: grid; justify-items: center; gap: 6px; padding: 28px; border-radius: var(--r); border: 2px dashed var(--line-2); color: var(--navy); text-align: center; }
.dropzone:hover .dropzone__in { border-color: var(--navy); background: var(--sky-2); }
.dropzone__in small { color: var(--muted); }
.photos { display: flex; flex-wrap: wrap; gap: 10px; }
.photos:empty { display: none; }
.photo { display: grid; gap: 6px; font-size: 13px; }
.photo img, .photos > img { width: 120px; height: 90px; object-fit: cover; border-radius: var(--r-sm); }
.photo__del { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form__foot .muted { max-width: 560px; font-size: 14px; }

/* Annonce */
.listing { padding-top: 20px; }
.listing__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; margin-top: 16px; align-items: start; }
.gallery { display: grid; gap: 10px; }
.gallery__main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); background: var(--sky-2); }
.gallery__ph { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--r-lg); }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; }
.gallery__thumb { padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; opacity: .6; flex-shrink: 0; background: none; }
.gallery__thumb.is-on, .gallery__thumb:hover { opacity: 1; box-shadow: 0 0 0 2px var(--navy); }
.gallery__thumb img { width: 96px; height: 72px; object-fit: cover; }
.listing__head { display: grid; gap: 8px; margin-top: 24px; }
.listing__head h1 { font-size: clamp(26px, 3.4vw, 36px); }
.listing__where { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 24px 0 0; }
.facts div { background: #fff; border-radius: var(--r); padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--line); }
.facts dt { font-size: 13px; color: var(--muted); font-weight: 500; }
.facts dd { margin: 2px 0 0; font-weight: 500; font-family: var(--head); }
.listing__desc { margin-top: 28px; }
.listing__desc h2 { margin-bottom: 10px; }
.listing__desc p { white-space: pre-line; font-size: 16.5px; line-height: 1.65; }
.safety { margin-top: 28px; padding: 20px 22px; background: var(--sky-2); border-radius: var(--r-lg); }
.safety h2 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin-bottom: 8px; }
.safety ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--navy-3); font-size: 15px; }
.report { margin-top: 16px; }
.report summary { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); cursor: pointer; font-size: 14px; list-style: none; }
.report summary::-webkit-details-marker { display: none; }
.report__form { display: grid; gap: 12px; margin-top: 12px; max-width: 480px; }
.listing__side { display: grid; gap: 16px; }
.panel { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 14px; }
.panel h2 { font-size: 18px; }
.panel--sticky { position: sticky; top: 88px; }
.panel__price { font-family: var(--head); font-size: 28px; font-weight: 600; color: var(--navy); letter-spacing: -.02em; }
.panel__sub { color: var(--muted); margin-top: -10px; }
.seller { display: flex; align-items: center; gap: 12px; }
.seller div { display: grid; }
.seller small { color: var(--muted); }
.seller__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--navy); font-family: var(--head); font-weight: 600; font-size: 18px; }
.share { background: var(--sky); box-shadow: none; }
.share p { color: var(--navy-3); font-size: 14.5px; }
.share__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.share__row .btn { padding: 0 10px; font-size: 14px; }
.share__done { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ok) !important; }
.share__stats { font-size: 13px !important; }

.mobilebar { display: none; }
@media (max-width: 860px) {
  .mobilebar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .listing { padding-bottom: 72px; }
}

/* Départ */
.hero--partir { background: var(--white); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { display: flex; gap: 14px; background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.steps li > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--head); font-weight: 600; flex-shrink: 0; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.cta-employer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px; background: var(--navy); color: #fff; border-radius: var(--r-lg); flex-wrap: wrap; }
.cta-employer h2 { color: #fff; }
.cta-employer p { color: #C9D2FF; margin-top: 6px; max-width: 620px; }

/* États vides, pagination, FAQ */
.empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 56px 24px; background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.empty p { color: var(--muted); max-width: 460px; }
.empty .btn { margin-top: 8px; }
.empty__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sky); color: var(--navy); }
.empty--inline { padding: 28px; justify-items: start; text-align: left; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq h2 { margin-bottom: 8px; }
.faq__item { background: #fff; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); padding: 0 20px; }
.faq__item summary { padding: 18px 0; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq__item summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--navy); }
.faq__item[open] summary::after { content: '–'; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item p { padding: 0 0 18px; color: var(--muted); }

/* Connexion */
.auth { display: grid; place-items: center; padding: 48px 20px 24px; }
.auth__card { width: 100%; max-width: 460px; background: #fff; border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.auth__alt { text-align: center; font-size: 15px; color: var(--muted); }

/* Espace utilisateur et admin */
.dash { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; padding-top: 28px; align-items: start; }
.dash__main { display: grid; gap: 20px; min-width: 0; }
.dash__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dash__head h1 { font-size: clamp(26px, 3vw, 32px); }
.sidenav { display: grid; gap: 4px; position: sticky; top: 88px; }
.sidenav a, .sidenav button { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--pill); text-decoration: none; color: var(--navy-3); font: 500 15px var(--body); background: none; border: 0; cursor: pointer; text-align: left; width: 100%; }
.sidenav a:hover, .sidenav button:hover { background: #fff; color: var(--navy); }
.sidenav a.is-on { background: var(--navy); color: #fff; }
.sidenav__label { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 14px 6px; }
.sidenav__back { margin-top: 12px; }
.count { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; display: grid; place-items: center; border-radius: var(--pill); background: var(--red); color: var(--ink); font-size: 12px; font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { background: #fff; border-radius: var(--r-lg); padding: 18px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 2px; }
.stat__n { font-family: var(--head); font-size: 30px; font-weight: 600; color: var(--navy); letter-spacing: -.02em; }
.stat__l { font-size: 14px; color: var(--muted); }
.stat__d { font-size: 13px; color: var(--ok); font-weight: 500; margin-top: 4px; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: #fff; border-radius: var(--r-lg); padding: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.row__thumb { display: block; width: 96px; height: 72px; border-radius: var(--r-sm); overflow: hidden; }
.row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.row__body { display: grid; gap: 3px; min-width: 0; }
.row__top { display: flex; align-items: center; gap: 10px; font-size: 13px; flex-wrap: wrap; }
.row__title { font-weight: 500; text-decoration: none; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__reason { display: flex; align-items: center; gap: 6px; color: #9B1C22; font-size: 14px; }
.row__stats { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.row__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.row__actions form { display: flex; gap: 8px; }
.status { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--pill); font-size: 12px; font-weight: 500; background: var(--sky); color: var(--navy); }
.status--active { background: var(--ok-soft); color: var(--ok); }
.status--pending { background: var(--warn-soft); color: var(--warn); }
.status--rejected, .status--hidden, .status--removed { background: var(--red-soft); color: #9B1C22; }
.status--sold { background: #EEEFF3; color: var(--muted); }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.panel--link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.panel--link div { display: grid; gap: 2px; }
.panel--link:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.bars { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; height: 170px; align-items: end; }
.bars__col { display: grid; grid-template-rows: 18px 1fr 18px; height: 100%; text-align: center; font-size: 11px; color: var(--muted); }
.bars__bar { align-self: end; min-height: 3px; background: var(--navy); border-radius: 6px 6px 2px 2px; }
.toplist { list-style: none; margin: 0; padding: 0; display: grid; }
.toplist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.toplist li:last-child { border-bottom: 0; }
.toplist span { display: inline-flex; align-items: center; gap: 8px; }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.table-wrap { overflow-x: auto; margin: -4px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table td small { display: block; }
.table tr:last-child td { border-bottom: 0; }
.table__title { font-weight: 500; color: var(--ink); text-decoration: none; }
.table__actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.mod { display: grid; grid-template-columns: 200px minmax(0, 1fr) 220px; gap: 20px; background: #fff; border-radius: var(--r-lg); padding: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.mod__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; align-content: start; }
.mod__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.mod__nophoto { grid-column: 1 / -1; display: grid; place-items: center; gap: 6px; aspect-ratio: 4 / 3; border-radius: 10px; background: var(--sky-2); color: var(--muted); font-size: 13px; }
.mod__body { display: grid; gap: 6px; align-content: start; min-width: 0; }
.mod__body h2 { font-size: 19px; }
.mod__body h2 a { color: var(--ink); text-decoration: none; }
.mod__price { font-weight: 500; color: var(--navy); }
.mod__desc { white-space: pre-line; color: var(--navy-3); font-size: 14.5px; }
.mod__user { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 6px; }
.mod__actions { display: grid; gap: 8px; align-content: start; }
.mod__actions form { display: grid; gap: 8px; }
.mod__reject summary { list-style: none; }
.mod__reject summary::-webkit-details-marker { display: none; }
.mod__reject[open] summary { margin-bottom: 10px; }
.setrow { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.setrow:last-child { border-bottom: 0; }
.setrow__head { display: flex; align-items: center; gap: 10px; }
.danger { background: #fff; border-radius: var(--r-lg); padding: 18px 22px; box-shadow: inset 0 0 0 1px var(--line); }
.danger summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: #9B1C22; font-weight: 500; list-style: none; }
.danger summary::-webkit-details-marker { display: none; }
.danger form { margin-top: 14px; max-width: 460px; }
.danger p { color: var(--muted); font-size: 15px; }

/* Pages légales */
.legal { max-width: 800px; padding-top: 40px; }
.legal h1 { margin-bottom: 18px; }
.legal h2 { font-size: 20px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--navy-3); }
.legal ul { padding-left: 22px; display: grid; gap: 6px; }

/* Pied de page */
.footer { margin-top: 80px; background: #fff; border-top: 1px solid var(--line); padding: 48px 0 24px; }
.footer__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand { display: grid; gap: 12px; align-content: start; }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 360px; }
.footer__note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px !important; }
.brand--footer .logo { width: 110px; }
.footer__col { display: grid; gap: 8px; align-content: start; }
.footer__col h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.footer__col a { color: var(--ink); text-decoration: none; font-size: 15px; }
.footer__col a:hover { color: var(--navy); text-decoration: underline; }
.footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* Responsive */
@media (max-width: 1080px) {
  .mainnav { display: none; }
  .burger { display: block; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing__grid { grid-template-columns: minmax(0, 1fr) 330px; }
  .mod { grid-template-columns: 160px minmax(0, 1fr); }
  .mod__actions { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .browse, .dash, .listing__grid { grid-template-columns: minmax(0, 1fr); }
  .browse__side, .panel--sticky, .sidenav { position: static; }
  .browse__side { order: 0; }
  .filters:not([open]) { padding-bottom: 18px; }
  .sidenav { display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .sidenav a, .sidenav button { width: auto; white-space: nowrap; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  .sidenav__label, .sidenav__back { display: none !important; }
  .grid, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .places, .steps, .cols { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats, .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 72px minmax(0, 1fr); }
  .row__thumb { width: 72px; height: 56px; }
  .row__actions { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .topbar__in { gap: 8px; }
  .logo { width: 88px; }
  .hero { padding: 36px 0 24px; }
  .searchbar { flex-direction: column; border-radius: var(--r-lg); }
  .searchbar__field { flex: none; }
  .searchbar__field + .searchbar__field { border-left: 0; border-top: 1px solid var(--line); }
  .searchbar__field--city, .searchbar__field--cat { flex: none; }
  .searchbar .btn { width: 100%; }
  .partir-band { flex-direction: column; align-items: flex-start; }
  .grid, .grid--3 { gap: 12px; }
  .card__body { padding: 12px; }
  .card__price { font-size: 16px; }
  .how { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .block { padding: 18px; }
  .mod { grid-template-columns: minmax(0, 1fr); }
  .auth__card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Version allégée ---------- */
h1, .hero__title { font-weight: 500; letter-spacing: -.025em; }
h2, h3 { font-weight: 500; letter-spacing: -.01em; }
.hero__title { color: var(--ink); }
.hero__lead, .pagehead__lead { font-weight: 300; color: var(--muted); }
.btn { font-weight: 500; }
.mainnav a, .chip, .catpill { font-weight: 400; }
.field > span, .subtypes__label { font-weight: 500; }
.stat__n, .panel__price { font-weight: 500; }

/* Cartes plus légères : pas de bloc coloré lourd, typographie fine */
.card { box-shadow: none; border: 1px solid #EEEFF3; border-radius: 20px; }
.card:hover { box-shadow: 0 6px 20px rgba(18, 22, 43, .05); transform: none; border-color: #E2E4EC; }
.card__media { aspect-ratio: 3 / 2; background: #F6F7FB; }
.card__ph, .card__ph--emploi, .card__ph--logement, .card__ph--ventes, .card__ph--vehicules, .card__ph--services,
.card__ph--maison, .card__ph--electronique, .card__ph--mode, .card__ph--loisirs { background: #F6F7FB; color: #A3A9BD; }
.card__ph .ic { width: 28px; height: 28px; }
.card__body { padding: 12px 14px 14px; gap: 3px; }
.card__kicker { font-weight: 400; font-size: 12.5px; color: #8A90A2; }
.card__title { font-weight: 400; font-size: 15px; color: var(--ink); min-height: 0; }
.card__price { font-family: var(--body); font-weight: 500; font-size: 15.5px; letter-spacing: 0; }
.card__meta { font-size: 12.5px; color: #8A90A2; }
.badge { font-weight: 500; padding: 4px 9px; font-size: 11.5px; }
.gallery__ph { background: #F6F7FB; color: #A3A9BD; }

/* Menu déroulant des catégories */
.dropdown { position: relative; }
.dropdown summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; padding: 9px 12px; border-radius: var(--pill); cursor: pointer; color: var(--navy-3); font-size: 15px; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary:hover, .dropdown[open] summary { background: var(--sky); color: var(--navy); }
.dropdown__panel { position: absolute; top: 46px; left: 0; width: 240px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 8px; display: grid; z-index: 30; }
.dropdown__panel a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); }
.dropdown__panel a:hover { background: var(--sky-2); }

/* Avatars */
.avatar { display: inline-grid; place-items: center; border-radius: 50%; overflow: hidden; background: var(--sky); color: var(--navy); font-family: var(--head); font-weight: 500; flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--xs { width: 22px; height: 22px; }
.avatar--sm { width: 34px; height: 34px; font-size: 14px; }
.avatar--md { width: 44px; height: 44px; font-size: 18px; }
.avatar--lg { width: 96px; height: 96px; font-size: 36px; }
.btn--account { padding-left: 8px; }
.avatar-edit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.avatar-edit__actions { display: grid; gap: 10px; justify-items: start; }
.avatar-edit__pick { position: relative; overflow: hidden; }
.avatar-edit__pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.usercell { display: flex; align-items: center; gap: 10px; }
.usercell div { display: grid; }

/* Formulaire : tuiles de catégories qui s'adaptent au nombre */
.tiles { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.tile__in { font-weight: 400; }

/* Connexion rapide en mode test */
.devbox { display: grid; gap: 8px; padding: 16px; border-radius: var(--r); background: var(--warn-soft); }
.devbox p { font-size: 14px; color: var(--warn); }
.devbox strong { font-weight: 600; }

/* Accueil : titre et sous-titre comme la première version */
.hero .hero__title { font-weight: 800; color: var(--navy); letter-spacing: -.035em; }
.hero .hero__lead { font-weight: 400; font-size: 18px; color: var(--muted); }

/* Barre du mode test */
.testbar { background: var(--ink); color: #fff; font-size: 13px; }
.testbar__in { display: flex; align-items: center; gap: 6px; min-height: 40px; overflow-x: auto; scrollbar-width: none; }
.testbar__label { color: #FFD48A; font-weight: 500; margin-right: 6px; white-space: nowrap; }
.testbar__btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--pill); color: #D6D9E6; text-decoration: none; white-space: nowrap; }
.testbar__btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.testbar__btn.is-on { background: #fff; color: var(--ink); }
.testbar + .topbar { top: 0; }

/* Sélecteur de ville moderne */
.picker { position: relative; flex: 1 1 auto; min-width: 0; }
.picker select { display: none; }
.picker__btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; height: 48px; padding: 0; border: 0; background: transparent; font: 400 16px var(--body); color: var(--ink); cursor: pointer; text-align: left; }
.picker__btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker__btn .ic { color: var(--muted); transition: transform .15s; }
.picker.is-open .picker__btn .ic { transform: rotate(180deg); }
.field .picker__btn { height: 46px; padding: 0 14px; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.picker__panel { position: absolute; top: calc(100% + 10px); left: -14px; width: min(360px, 86vw); max-height: 420px; display: grid; grid-template-rows: auto 1fr; background: #fff; border-radius: 20px; box-shadow: 0 12px 40px rgba(18, 22, 43, .14), 0 0 0 1px var(--line); z-index: 40; overflow: hidden; }
.field .picker__panel { left: 0; }
.picker__search { padding: 10px; border-bottom: 1px solid var(--line); }
.picker__search input { min-height: 40px; border-radius: var(--pill); padding-left: 16px; }
.picker__list { overflow-y: auto; padding: 6px 6px 10px; }
.picker__group { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px 12px 6px; }
.picker__opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: none; font: 400 15px var(--body); color: var(--ink); cursor: pointer; text-align: left; }
.picker__opt .ic { color: #A3A9BD; }
.picker__opt:hover, .picker__opt.is-active { background: var(--sky-2); }
.picker__opt.is-on { color: var(--navy); font-weight: 500; }
.picker__opt.is-on .ic { color: var(--red); }
.picker__empty { padding: 16px 12px; color: var(--muted); font-size: 14px; }

.how { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .how { grid-template-columns: minmax(0, 1fr); } }

/* Signalement : motifs en pastilles */
.reasons { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.reasons legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.reason { position: relative; cursor: pointer; }
.reason input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.reason span { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: var(--navy-3); transition: all .15s; }
.reason span .ic { color: #A3A9BD; }
.reason:hover span { box-shadow: inset 0 0 0 1.5px var(--navy); }
.reason input:checked + span { background: var(--sky); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.reason input:checked + span .ic { color: var(--red); }
.reason input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
@media (max-width: 640px) { .reasons { grid-template-columns: minmax(0, 1fr); } }
/* Menu : toutes les catégories sur ordinateur */
.topbar__in { gap: 14px; }
.mainnav { gap: 0; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.mainnav::-webkit-scrollbar { display: none; }
.mainnav a { padding: 8px 10px; font-size: 14.5px; white-space: nowrap; }
@media (max-width: 1180px) { .mainnav { display: none; } .burger { display: block; } }

/* Nouvelle ville dans le formulaire d'annonce */
.newcity { display: grid; gap: 10px; margin-top: 10px; padding: 14px; border-radius: var(--r); background: var(--sky-2); }
.newcity__hint { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--navy); }
.picker__opt--new { color: var(--navy); font-weight: 500; }
.report__form .picker__panel { width: min(320px, 86vw); }.catlist { list-style: none; margin: 0; padding: 0; display: grid; }
.catlist li { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.catlist li:last-child { border-bottom: 0; }
.catlist__name { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; }
.catlist__del summary { list-style: none; }
.catlist__del summary::-webkit-details-marker { display: none; }
.catlist__del[open] { flex-basis: 100%; }
.catlist__del form { margin-top: 10px; max-width: 320px; }
/* Barre de recherche de l'accueil : pas de bordure bleue au clic */
.searchbar input:focus, .searchbar select:focus, .searchbar .picker__btn:focus { outline: none; box-shadow: none; }
.searchbar :focus-visible { outline: none; }
.searchbar:focus-within { box-shadow: var(--shadow), inset 0 0 0 1px var(--line-2); }

/* Destinations (accueil) */
.dest { display: grid; gap: 20px; padding: 28px; background: #fff; border-radius: var(--r-lg); border: 1px solid #EEEFF3; }
.dest__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.dest__head p { margin-top: 6px; font-size: 15px; }
.dest__search { display: flex; align-items: center; gap: 10px; width: min(340px, 100%); padding: 0 16px; border-radius: var(--pill); background: var(--ivory); border: 1px solid var(--line); color: var(--muted); }
.dest__search .picker__panel { left: -40px; }
.dest__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.destcard { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--ivory); text-decoration: none; color: var(--ink); transition: background .15s; }
.destcard:hover { background: var(--sky-2); color: var(--navy); }
.destcard__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--navy); flex-shrink: 0; }
.destcard__txt { display: grid; min-width: 0; }
.destcard__txt strong { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.destcard__txt small { color: var(--muted); }
.destcard__n { margin-left: auto; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .dest__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dest { padding: 20px; } }

/* Page Destinations */
.dest__filter { display: flex; align-items: center; gap: 10px; max-width: 480px; padding: 0 16px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); color: var(--muted); margin-bottom: 8px; }
.dest__filter input { box-shadow: none; padding: 0; min-height: 48px; background: transparent; }
.dest__filter input:focus { box-shadow: none; }
.countries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.country { display: grid; gap: 12px; align-content: start; padding: 20px; background: #fff; border-radius: 20px; border: 1px solid #EEEFF3; }
.country__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.country__head strong { font-family: var(--head); font-weight: 500; font-size: 18px; }
.country__head small { color: var(--muted); }
@media (max-width: 860px) { .countries { grid-template-columns: minmax(0, 1fr); } }
/* 6 emplacements photo */
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.slot { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--ivory); border: 1.5px dashed var(--line-2); cursor: pointer; transition: border-color .15s, background .15s; }
.slot:hover { border-color: var(--navy); background: var(--sky-2); }
.slot input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.slot__empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--muted); pointer-events: none; }
.slot__empty small { font-size: 12.5px; }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.slot--filled { border-style: solid; border-color: transparent; }
.slot--filled .slot__empty { display: none; }
.slot__clear { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; z-index: 2; }
.slot__main { position: absolute; left: 8px; top: 8px; padding: 3px 9px; border-radius: var(--pill); background: rgba(255, 255, 255, .92); font-size: 11.5px; color: var(--navy); }
.slot__del { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .92); font-size: 12.5px; cursor: pointer; }
.slot__del input { accent-color: #B4232A; }
.slot__del:has(input:checked) { background: #B4232A; color: #fff; }
@media (max-width: 640px) { .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Menu : plus d'air entre les liens */
.mainnav { gap: 6px; }
.mainnav a { padding: 8px 12px; }
/* Hero : texte à gauche, visuel à droite */
.hero__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; width: 100%; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero__visual { position: relative; aspect-ratio: 52 / 42; border-radius: 28px; }
.hero__scene { width: 100%; height: 100%; border-radius: 28px; display: block; }
.floatcard { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(18, 22, 43, .12); max-width: 78%; }
.floatcard__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--sky); color: var(--navy); flex-shrink: 0; }
.floatcard__txt { display: grid; min-width: 0; }
.floatcard__txt strong { font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.floatcard__txt small { font-size: 12.5px; color: var(--muted); }
.floatcard--a { left: -24px; top: 14%; }
.floatcard--b { right: -18px; bottom: 12%; }
.floatpill { position: absolute; right: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .9); font-size: 13px; color: var(--navy); }
@media (max-width: 960px) {
  .hero__top { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 520px; width: 100%; }
  .floatcard--a { left: 12px; }
  .floatcard--b { right: 12px; }
}

/* « Où vis-tu ? » façon tableau des départs */
.board { display: grid; gap: 22px; }
.board__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.board__head h2 { font-size: 30px; }
.board__head p { margin-top: 6px; max-width: 520px; }
.board__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1px solid var(--line-2); }
.board__list li { border-bottom: 1px solid var(--line-2); }
.board__list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 16px; padding: 16px 2px; text-decoration: none; color: var(--ink); }
.board__list a:hover .board__city { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.board__city { font-family: var(--head); font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.board__country { grid-row: 2; font-size: 14px; color: var(--muted); }
.board__n { grid-row: 1 / span 2; align-self: center; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .board__list { grid-template-columns: minmax(0, 1fr); } }
/* Cases à cocher modernes et arrondies */
input[type=checkbox] {
  appearance: none; -webkit-appearance: none; flex-shrink: 0;
  width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px;
  background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2);
  display: inline-grid; place-content: center; cursor: pointer;
  transition: background .15s, box-shadow .15s;
}
input[type=checkbox]::after {
  content: ""; width: 12px; height: 12px; transform: scale(0); transition: transform .12s ease-out;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
input[type=checkbox]:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
input[type=checkbox]:checked { background: var(--navy); box-shadow: none; }
input[type=checkbox]:checked::after { transform: scale(1); }
input[type=checkbox]:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.check { align-items: center; }
.slot__del input[type=checkbox] { width: 18px; height: 18px; border-radius: 6px; }
.slot__del input[type=checkbox]:checked { background: #fff; }
.slot__del input[type=checkbox]:checked::after { filter: invert(1); }
/* Hero : photo inclinée façon carte postale */
.hero__top { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; }
.hero__visual { position: relative; aspect-ratio: auto; width: min(100%, 440px); justify-self: center; padding: 18px 10px 24px; border-radius: 0; }
.hero__back { position: absolute; inset: 34px -6px 4px 26px; border-radius: 34px; background: var(--navy); transform: rotate(6deg); }
.hero__sun { position: absolute; width: 74px; height: 74px; right: -14px; top: -6px; border-radius: 50%; background: #F26B4F; z-index: 3; }
.hero__frame { position: relative; z-index: 2; aspect-ratio: 44 / 52; border-radius: 30px; overflow: hidden; transform: rotate(-2.5deg); box-shadow: 0 24px 60px rgba(18, 22, 43, .22); background: var(--sky); }
.hero__frame img, .hero__frame svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.notif { position: absolute; z-index: 4; left: -46px; bottom: 22%; display: flex; gap: 10px; align-items: flex-start; width: 270px; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .96); box-shadow: 0 14px 36px rgba(18, 22, 43, .16); backdrop-filter: blur(6px); }
.notif__logo { width: 34px; height: 34px; flex-shrink: 0; }
.notif__txt { display: grid; gap: 1px; font-size: 13.5px; min-width: 0; }
.notif__top { display: flex; justify-content: space-between; gap: 8px; }
.notif__top strong { font-weight: 500; }
.notif__top small, .notif__txt > small { color: var(--muted); font-size: 12px; }
.notif__txt > small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__visual .floatcard--a { z-index: 4; left: auto; right: -34px; top: 16%; }
.hero__visual .floatcard--b, .hero__visual .floatpill { display: none; }
@media (max-width: 960px) {
  .hero__visual { width: min(100%, 380px); margin-top: 8px; }
  .notif { left: -6px; }
  .hero__visual .floatcard--a { right: -6px; }
}
/* Toutes les destinations : grand titre + tuiles photo */
.desthero { padding: 32px 0 8px; }
.desthero__title { font-size: clamp(40px, 6vw, 64px); font-weight: 800; letter-spacing: -.035em; margin: 18px 0 14px; color: var(--ink); }
.desthero__title span { color: var(--navy); }
.desthero__title i { font-style: normal; color: var(--red); }
.desthero__lead { font-size: 18px; color: var(--muted); max-width: 620px; }
.searchbar--dest { max-width: 640px; margin-top: 24px; }
.searchbar--dest .searchbar__field { flex: 1 1 auto; }
.ptiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ptiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 36px; }
.ptile { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; background: var(--navy); text-decoration: none; color: #fff; isolation: isolate; }
.ptile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ptile:hover img { transform: scale(1.06); }
.ptile::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgba(12, 16, 38, .78), rgba(12, 16, 38, 0)); z-index: 1; }
.ptile__ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, #3A4A9A, #1F2B6C 60%); }
.ptile__ph span { font-family: var(--head); font-size: 64px; font-weight: 600; color: rgba(255, 255, 255, .16); }
.ptile__txt { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; display: grid; gap: 1px; }
.ptile__txt strong { font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.ptile__txt small { font-size: 13px; color: rgba(255, 255, 255, .85); }
.browse__h2 { font-size: 20px; margin-bottom: 14px; }
@media (max-width: 1080px) { .ptiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .ptiles, .ptiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Admin : photos des pays et villes */
.placerow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.placerow__thumb, .citycard__thumb { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; background: var(--sky); color: var(--navy); flex-shrink: 0; }
.placerow__thumb img, .citycard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.placerow__upload { margin-left: auto; }
.placerow label.btn, .citycard label.btn { cursor: pointer; }
.citygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.citycard { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: var(--ivory); }
.citycard.is-off { opacity: .5; }
.citycard__txt { display: grid; min-width: 0; }
.citycard__txt strong { font-weight: 500; font-size: 14px; }
.citycard__txt small { color: var(--muted); font-size: 12px; }
.citycard__actions { margin-left: auto; display: flex; gap: 4px; }
.ptiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ptiles--4 .ptile { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .ptiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.picker__thumb { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }

/* Formulaire : toutes les catégories sur une seule ligne */
.tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.tile__in { padding: 14px 4px; font-size: 13px; gap: 6px; }
@media (max-width: 760px) { .tiles { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Menu : liste déroulante Catégories sans icônes */
.dropdown__panel { width: 200px; }
.dropdown__panel a { padding: 10px 14px; }
.dropdown summary.is-on { background: var(--sky); color: var(--navy); }

.mainnav { overflow: visible; }
@media (min-width: 981px) { .mainnav { display: flex; } .burger { display: none; } }
@media (max-width: 980px) { .mainnav { display: none; } .burger { display: block; } }

/* Hero compact : titre, photo et barre de recherche visibles d'un coup d'œil */
.hero { padding: 36px 0 28px; }
.hero__in { gap: 18px; }
.hero__text { gap: 16px; }
.hero__top { gap: 48px; }
.hero__visual { width: min(100%, 330px); padding: 12px 8px 16px; }
.hero__frame { aspect-ratio: 1 / 1.08; }
.hero__back { inset: 26px -4px 2px 20px; }
.hero__sun { width: 58px; height: 58px; right: -10px; top: -4px; }
.notif { width: 250px; left: -56px; bottom: 16%; }
.hero__visual .floatcard--a { right: -48px; top: 10%; }
.hero .hero__title { font-size: clamp(36px, 5vw, 58px); }

.ptile, .ptile:hover, .ptile:focus { color: #fff; }

/* Hero : barre de recherche de la largeur du titre, photo alignée plus bas */
.hero__text .searchbar { max-width: 100%; margin-top: 6px; }
.hero__text .searchbar__field--city { flex: 0 1 210px; }
.hero__top { align-items: end; }
.hero__visual { margin-bottom: -10px; }
@media (max-width: 640px) { .hero__text .searchbar__field--city { flex: none; } }

.field__hint { font-size: 13.5px; color: var(--muted); padding: 10px 14px; border-radius: var(--r-sm); background: var(--ivory); }
.destchips { margin-top: 20px; }
.destgroup { margin-top: 44px; scroll-margin-top: 90px; }
.destgroup h2 { font-size: 24px; margin-bottom: 16px; }
.mainnav a .ic { margin-right: 2px; }

/* Toutes les listes déroulantes : un seul et même style */
.dropdown__panel, .picker__panel, .burger__panel {
  background: #fff; border-radius: 20px; padding: 6px;
  box-shadow: 0 12px 40px rgba(18, 22, 43, .14), 0 0 0 1px var(--line);
}
.dropdown__panel { top: calc(100% + 10px); width: 240px; gap: 0; }
.dropdown__panel a, .picker__opt, .burger__panel a, .burger__panel button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px;
  font: 400 15px var(--body); color: var(--ink); text-decoration: none; background: none; border: 0;
}
.dropdown__panel a:hover, .picker__opt:hover, .picker__opt.is-active, .burger__panel a:hover, .burger__panel button:hover { background: var(--sky-2); color: var(--ink); }
.picker__opt.is-on { color: var(--navy); font-weight: 500; background: var(--sky-2); }
/* Même couleur pour toutes les icônes des listes */
.dropdown__panel .ic, .picker__opt .ic, .picker__opt.is-on .ic, .burger__panel .ic { color: var(--navy); }
.picker__list { padding: 0; }
.picker__search { padding: 6px 6px 8px; border-bottom: 0; }

/* Titres de page : un mot en bleu, un point orange (comme « Toutes les destinations ») */
h1.ttl { font-weight: 800; letter-spacing: -.035em; color: var(--ink); line-height: 1.08; }
h1.ttl span { color: var(--navy); }
h1.ttl i { font-style: normal; color: #F26B4F; }
.pagehead h1.ttl, .legal h1.ttl, .auth h1.ttl, .empty h1.ttl { font-size: clamp(34px, 5vw, 56px); }
.dash__head h1.ttl { font-size: clamp(30px, 3.6vw, 44px); }
.hero h1.ttl { color: var(--ink); }
.desthero__title i { color: #F26B4F; }
/* Filtres : la liste fait la largeur du champ */
.field .picker__panel, .filters .picker__panel { left: 0; right: 0; width: auto; }

/* ---------- Échelle typographique calquée sur Hopani (tailles, poids, interlignage) ---------- */
body { font-size: 16.5px; line-height: 1.6; }
.muted, .pagehead__lead, .hero__lead, .desthero__lead { color: #5A6782; }

/* Grands titres de page : 68 px, poids 600, lettres resserrées */
h1, h1.ttl, .hero .hero__title, .desthero__title { font-weight: 600; letter-spacing: -0.03em; line-height: 0.98; }
.hero .hero__title, .desthero__title, .pagehead h1.ttl, .legal h1.ttl { font-size: clamp(40px, 5vw, 68px); }
.auth h1.ttl, .empty h1.ttl { font-size: clamp(34px, 4vw, 48px); line-height: 1.04; }
.dash__head h1.ttl { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.04; }
.listing__head h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; }

/* Titres de section : 48 px, poids 500 */
.section__head h2, .board__head h2, .destgroup h2, .faq h2, .cta-employer h2, .browse__h2 {
  font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.04;
}
.browse__h2 { font-size: clamp(24px, 2.4vw, 32px); }
/* Petits titres (panneaux, cartes, étapes) : 19 px, poids 600 */
h3, .panel h2, .sidebox h2, .block legend, .safety h2, .listing__desc h2, .mod__body h2 {
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25;
}

/* Textes d'introduction : 20 px */
.hero__lead, .pagehead__lead, .desthero__lead { font-size: 20px; line-height: 1.55; font-weight: 400; }
.how__item p, .steps p, .faq__item p, .listing__desc p { font-size: 15.5px; line-height: 1.6; }

/* Menu et boutons : 14,5 à 16 px, poids 500 */
.mainnav a, .dropdown summary { font-size: 14.5px; font-weight: 500; }
.btn { font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
.btn--lg { font-size: 16px; }
.btn--sm { font-size: 14.5px; }
.chip, .catpill { font-weight: 500; font-size: 14px; }

/* Petits libellés : 12 à 13,5 px, poids 500 */
.card__kicker, .card__meta, .badge, .status, .field small, .notif__txt small, .ptile__txt small { font-weight: 500; }
.eyebrow { font-size: 13.5px; font-weight: 600; }
.field > span { font-size: 14px; font-weight: 600; }
.sidenav__label, .footer__col h2, .picker__group, .table th { font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; }

/* Cartes et tuiles */
.card__title { font-size: 15.5px; font-weight: 500; }
.card__price { font-size: 16px; font-weight: 600; }
.ptile__txt strong { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.stat__n { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; }
.panel__price { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }

/* Titres longs : lignes équilibrées (ex. 8 mots / 7 mots plutôt que 10 / 1) */
h1, h2, h3, .hero__lead, .pagehead__lead, .desthero__lead { text-wrap: balance; }

/* Badges de notification de l'admin : chiffre en blanc */
.count { color: #fff; }

/* Hero sur écran moyen ou mobile : une seule colonne, la barre de recherche garde sa largeur */
@media (max-width: 1024px) {
  .hero__top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero__visual { justify-self: start; width: min(100%, 360px); margin-left: 40px; }
}
@media (max-width: 640px) { .hero__visual { margin-left: 24px; width: min(86%, 320px); } }

/* « Je prépare mon départ » : même fond que le reste du site */
.hero--partir { background: transparent; border-bottom: 0; }

/* Accueil : le hero remplit le premier écran (on ne voit pas les blocs du dessous) */
.hero:not(.hero--partir) { min-height: calc(100svh - 68px); display: flex; align-items: center; padding: 24px 0 40px; }
.testbar ~ main .hero:not(.hero--partir) { min-height: calc(100svh - 108px); }
.hero:not(.hero--partir) > .wrap { width: 100%; }
@media (max-width: 1024px) { .hero:not(.hero--partir) { min-height: 0; padding: 28px 0 36px; } }

/* ===================== Mobile : propre, fluide, mêmes marges partout ===================== */
html, body { overflow-x: clip; }
img, svg, video { max-width: 100%; }
@media (max-width: 640px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  body { font-size: 15.5px; }
  .section { margin-top: 40px; }

  /* En-tête */
  .topbar__in { height: 60px; gap: 6px; }
  .topbar__actions .btn--ghost { padding: 0 12px; min-height: 38px; font-size: 14px; }
  .topbar__actions .btn--primary { min-height: 38px; padding: 0 12px; }
  .testbar__in { min-height: 36px; }

  /* Titres et textes */
  .hero .hero__title, .desthero__title, .pagehead h1.ttl, .legal h1.ttl { font-size: 36px; line-height: 1.02; }
  .dash__head h1.ttl, .auth h1.ttl, .empty h1.ttl, .listing__head h1 { font-size: 28px; }
  .section__head h2, .board__head h2, .destgroup h2, .faq h2, .cta-employer h2 { font-size: 26px; }
  .browse__h2 { font-size: 22px; }
  .hero__lead, .pagehead__lead, .desthero__lead { font-size: 16.5px; line-height: 1.55; }
  .section__head { align-items: flex-end; }
  .link-arrow { font-size: 14px; white-space: nowrap; }

  /* Hero de l'accueil */
  .hero:not(.hero--partir) { padding: 20px 0 28px; }
  .hero__text { gap: 14px; }
  .eyebrow { font-size: 12.5px; padding: 6px 12px; }
  .hero__visual { width: calc(100% - 24px); max-width: 340px; margin: 4px auto 0; justify-self: center; }
  .notif { left: -8px; width: 230px; bottom: 12%; }
  .hero__visual .floatcard--a { right: -8px; top: 6%; max-width: 210px; }
  .hero__sun { width: 46px; height: 46px; right: -6px; }

  /* Barres de recherche */
  .searchbar { padding: 6px; gap: 0; }
  .searchbar input, .searchbar select, .picker__btn { height: 46px; font-size: 15.5px; }
  .searchbar .btn { min-height: 48px; margin-top: 4px; }
  .picker__panel { width: min(100vw - 32px, 360px); left: 0; }

  /* Cartes d'annonces : 2 colonnes compactes */
  .grid, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { border-radius: 16px; }
  .card__body { padding: 10px 11px 12px; gap: 2px; }
  .card__title { font-size: 14px; line-height: 1.3; }
  .card__price { font-size: 14.5px; }
  .card__kicker, .card__meta { font-size: 11.5px; }
  .card__badges { top: 8px; left: 8px; }
  .badge { font-size: 10.5px; padding: 3px 8px; }

  /* Tuiles photo (pays, villes) */
  .ptiles, .ptiles--3, .ptiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ptile { border-radius: 18px; }
  .ptile__txt { left: 12px; right: 12px; bottom: 10px; }
  .ptile__txt strong { font-size: 15px; }
  .ptile__txt small { font-size: 12px; }

  /* Blocs */
  .partir-band { padding: 20px; gap: 14px; border-radius: 22px; }
  .partir-band__ic { width: 46px; height: 46px; }
  .partir-band__txt strong { font-size: 18px; }
  .partir-band__txt span { font-size: 14.5px; }
  .partir-band .btn { width: 100%; }
  .cta-employer { padding: 24px 20px; }
  .cta-employer .btn { width: 100%; }
  .how__item, .steps li, .place, .country, .panel, .block, .filters, .sidebox, .dest { padding: 18px; }
  .board__head { gap: 14px; }
  .dest__search { width: 100%; }
  .faq__item { padding: 0 16px; }
  .faq__item summary { padding: 15px 0; font-size: 15px; }
  .chips { gap: 6px; }
  .chip { min-height: 36px; padding: 0 13px; font-size: 13.5px; }

  /* Pages de liste */
  .pagehead { padding: 20px 0 4px; }
  .pagehead__stat { margin: 10px 0 14px; }
  .browse { gap: 16px; margin-top: 14px; }

  /* Annonce */
  .listing__grid { gap: 20px; }
  .facts { gap: 8px; }
  .facts div { padding: 12px; }
  .share__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Espace utilisateur / admin */
  .dash { gap: 14px; padding-top: 16px; }
  .stats, .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stat { padding: 14px; }
  .stat__n { font-size: 24px; }
  .row { padding: 10px; gap: 10px; }
  .row__actions .btn { flex: 1 1 auto; }
  .mod { padding: 14px; gap: 12px; }
  .table td, .table th { padding: 10px 8px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .tile__in { padding: 10px 2px; font-size: 11.5px; }
  .slots { gap: 8px; }
  .form__foot .btn { width: 100%; }

  /* Pied de page */
  .footer { margin-top: 56px; padding: 36px 0 20px; }
  .footer__in { gap: 24px; }
}

.dash__head p { margin-top: 6px; }
@media (max-width: 640px) {
  .stats:not(.stats--4) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats:not(.stats--4) .stat__n { font-size: 22px; }
  .stat__l { font-size: 12.5px; line-height: 1.35; }
  .stat__d { font-size: 12px; }
  .mod__nophoto { aspect-ratio: 16 / 6; }
  .mod__media { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dash__head .btn { width: 100%; }
  .bars { height: 130px; }
}

/* Formulaire : champs Job / Logement allégés, sans bloc coloré */
.catfields { background: none; padding: 0; border-radius: 0; gap: 16px; }
.catfields .check--inline { align-self: end; min-height: 46px; height: 46px; align-items: center; margin: 0; }

/* Mobile : titres de page et sous-titres centrés */
@media (max-width: 640px) {
  h1.ttl, .desthero__title, h1.ttl + p, .pagehead__lead, .pagehead__stat, .desthero__lead, .hero__lead,
  .dash__head > div:first-child, .auth__card > h1 + p.muted { text-align: center; margin-left: auto; margin-right: auto; }
  .dash__head { flex-direction: column; align-items: stretch; }
  .dash__head > div:first-child { width: 100%; }
}
@media (max-width: 640px) {
  .pagehead .crumbs, .pagehead nav[aria-label] { justify-content: center; text-align: center; }
  .pagehead__stat { justify-content: center; }
}

/* Mobile : titres et sous-titres de page plus compacts (3 lignes max). Le texte complet reste dans la page pour le SEO. */
@media (max-width: 640px) {
  h1.ttl, .desthero__title, .hero__title.ttl { font-size: 28px; line-height: 1.14; letter-spacing: -0.02em; max-width: 340px; }
  .dash h1.ttl, .auth__card h1.ttl, .empty h1.ttl, .legal h1.ttl { font-size: 26px; }
  h1.ttl + p, .pagehead__lead, .desthero__lead, .hero__lead, .dash__head p.muted {
    font-size: 15px; line-height: 1.5; max-width: 340px;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
  }
  .desthero__lead br { display: none; }
}

/* Mobile : sous-titres courts sans coupure, titres de liste à la même taille que les autres */
@media (max-width: 640px) {
  .pagehead h1.ttl, .legal h1.ttl, .hero .hero__title, .desthero__title { font-size: 28px; line-height: 1.14; letter-spacing: -0.02em; }
  h1.ttl + p, .pagehead__lead, .desthero__lead, .hero__lead, .dash__head p.muted {
    display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; max-width: 100%;
  }
}

/* Héros de l'accueil : grande photo, comme hopani (portrait 4/5 sur ordinateur, pleine largeur sur mobile) */
@media (min-width: 1025px) {
  .hero__visual { width: min(100%, 450px); padding: 18px 10px 24px; justify-self: end; }
  .hero__frame { aspect-ratio: 4 / 5; }
  .hero__visual .floatcard--a { right: -40px; top: 12%; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .hero__visual { width: min(100%, 440px); margin-left: 0; justify-self: center; }
  .hero__frame { aspect-ratio: 4 / 5; }
}
@media (max-width: 640px) {
  .hero__visual { width: 100%; max-width: none; margin: 4px 0 0; padding: 12px 4px 18px; }
  .hero__frame { aspect-ratio: 4 / 3.6; transform: rotate(-1.5deg); }
  .hero__visual .floatcard--a { right: -4px; top: -2%; }
  .notif { left: -4px; bottom: 4%; }
}

/* Héros de l'accueil calé sur hopani : photo 400x500 droite, carte bleue inclinée derrière, rond orange,
   une notification. Le texte et la photo sont centrés en hauteur. Sur mobile : photo pleine largeur en 4/3. */
.hero:not(.hero--partir) .hero__top { align-items: center; }
.hero .hero__visual { position: relative; width: 400px; max-width: 100%; aspect-ratio: auto; padding: 0; margin: 0; border-radius: 0; justify-self: end; align-self: center; }
.hero .hero__frame { position: relative; z-index: 2; width: 100%; aspect-ratio: 4 / 5; border-radius: 32px; transform: none; overflow: hidden;
  box-shadow: 0 2px 4px rgba(11, 27, 58, .04), 0 24px 60px rgba(11, 27, 58, .2); }
.hero .hero__back { inset: 10px -18px -18px 18px; border-radius: 36px; transform: rotate(7deg); z-index: 1; }
.hero .hero__sun { width: 84px; height: 84px; right: -18px; top: -26px; }
.hero .notif { left: -24px; top: 56%; bottom: auto; width: 282px; }
.hero .floatcard { display: none; }
@media (max-width: 1024px) {
  .hero .hero__visual { justify-self: center; }
}
@media (max-width: 640px) {
  .hero .hero__visual { width: 100%; margin-top: 8px; }
  .hero .hero__frame { aspect-ratio: 4 / 3; border-radius: 24px; }
  .hero .hero__back { inset: 10px -10px -12px 15px; border-radius: 28px; transform: rotate(3deg); }
  .hero .hero__sun { width: 54px; height: 54px; right: -6px; top: -14px; }
  .hero .notif { display: none; }
}

/* Mobile, accueil : « Où vis-tu ? » et « Publie gratuitement… » défilent vers la droite.
   Une carte entière + le début de la suivante pour montrer qu'il y en a d'autres. */
@media (max-width: 640px) {
  .board .ptiles, .how {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    margin-inline: -16px; padding: 2px 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .board .ptiles::-webkit-scrollbar, .how::-webkit-scrollbar { display: none; }
  .board .ptiles > .ptile { flex: 0 0 74%; scroll-snap-align: start; }
  .how > .how__item { flex: 0 0 80%; scroll-snap-align: start; }
}

/* Héros : photo un peu plus petite et limitée par la hauteur d'écran, le rond orange reste sous le header */
@media (min-width: 1025px) {
  .hero .hero__visual { width: min(360px, calc((100svh - 280px) * 0.8)); min-width: 280px; margin-top: 30px; }
}

/* Titres des blocs de formulaire (remplacent les légendes) */
.block__title { margin: 0; font-family: var(--head); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); line-height: 1.25; }
.block__title small { font-family: var(--body); font-size: 14px; font-weight: 400; color: var(--muted); }

/* Sous-titres : retour à la ligne équilibré (pas un mot seul sur la dernière ligne) */
p.muted, .board__head p, .section__head p { text-wrap: pretty; }
h1.ttl + p, .dash__head p.muted, .auth__card > h1 + p { text-wrap: balance; }

@media (max-width: 640px) {
  /* Menus d'espace (compte et admin) : chaque bouton garde la largeur de son texte, défilement vers la droite */
  .sidenav { margin-inline: -16px; padding: 2px 16px 4px; scroll-padding-inline: 16px; }
  .sidenav > *, .sidenav a, .sidenav button, .sidenav form { flex: 0 0 auto; width: auto; min-width: max-content; }
  .sidenav form { display: flex; margin: 0; }
  .block__title { font-size: 18px; }
}

/* Héros de l'accueil : étiquette en texte simple (trait orange + texte), sans pastille */
.hero .eyebrow { background: none; box-shadow: none; padding: 0; border-radius: 0; gap: 12px; font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--navy); }
.hero .eyebrow .dot { width: 26px; height: 3px; border-radius: 3px; background: #F26B4F; }

/* Héros sur ordinateur : calculé sur l'écran sans la barre de test, photo et texte plus grands, le tout centré en hauteur */
@media (min-width: 1025px) {
  .hero:not(.hero--partir), .testbar ~ main .hero:not(.hero--partir) { min-height: calc(100svh - 68px); padding: 32px 0; }
  .hero .hero__visual { width: min(440px, calc((100svh - 190px) * 0.8)); min-width: 300px; margin-top: 0; }
  .hero .hero__title { font-size: clamp(56px, 5.4vw, 80px); }
  .hero .hero__lead { font-size: 21px; max-width: 560px; }
  .hero__text { gap: 22px; }
  .hero__text .searchbar { padding: 10px; }
}
@media (max-width: 640px) {
  .hero .eyebrow { font-size: 14px; gap: 10px; }
  .hero .eyebrow .dot { width: 20px; }
}

/* Mobile : notification posée dans la photo, en bas à gauche, comme hopani */
@media (max-width: 640px) {
  .hero .notif { display: flex; left: 16px; right: auto; top: auto; bottom: 22px; width: min(258px, calc(100% - 32px)); padding: 10px 12px; gap: 10px; border-radius: 20px; transform: scale(.97); transform-origin: left bottom; }
  .hero .notif .notif__logo, .hero .notif .notif__logo svg { width: 32px; height: 32px; }
}
@media (max-width: 1024px) { .hero .eyebrow { align-self: center; } }

/* Espaces compte et admin : rien ne dépasse de l'écran, les tableaux défilent dans leur cadre */
.dash__main { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.dash__main > *, .panel > *, .block > * { min-width: 0; }
.table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) {
  .dash__main .chips, .toolbar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .chips > * { flex: 0 0 auto; }
  .toolbar { flex-wrap: wrap; }
  .toolbar > * { min-width: 0; }
  .testbar__in { overflow-x: auto; scrollbar-width: none; }
  .testbar__in > * { flex: 0 0 auto; }
}

/* Mobile : les tableaux de l'admin deviennent des cartes empilées, lisibles sans défilement horizontal */
@media (max-width: 640px) {
  .table-wrap { overflow: visible; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table thead { display: none; }
  .table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .table tr:last-child { border-bottom: 0; }
  .table td { padding: 3px 0; border: 0; text-align: left; white-space: normal; overflow-wrap: anywhere; }
  .table td:empty { display: none; }
  .table td small { display: block; }
  .table td:last-child { padding-top: 10px; }
  .table td:last-child form, .table__actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .table .usercell { align-items: center; }
}

@media (max-width: 640px) {
  .table td[data-label]::before { content: attr(data-label) " : "; color: var(--muted); font-size: 13px; }
  .table td[data-label] { font-size: 14px; }
}
@media (max-width: 640px) {
  .table td[data-label] small { display: inline; margin-left: 4px; }
  .table td:first-child { font-weight: 600; font-size: 15px; }
  .table td:first-child small { font-weight: 400; }
}

/* Notification du héros : même style que hopani (notification iPhone translucide) */
.hero .notif { width: 282px; padding: 12px 14px 12px 12px; gap: 11px; align-items: flex-start; border-radius: 20px;
  background: rgba(246, 246, 248, .82); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .35); color: #0B1B3A; font: 500 13.5px/1.35 var(--body); }
.hero .notif .notif__logo, .hero .notif .notif__logo svg { width: 36px; height: 36px; border-radius: 9px; flex: 0 0 36px; }
.hero .notif .notif__txt { display: block; min-width: 0; flex: 1; font-size: 13.5px; line-height: 1.35; color: #0B1B3A; }
.hero .notif .notif__top { display: flex; justify-content: space-between; gap: 12px; }
.hero .notif .notif__top strong { font-weight: 700; font-size: 13.5px; }
.hero .notif .notif__top small { font-size: 12px; font-weight: 500; color: #6B7280; }
.hero .notif .notif__txt > span:not(.notif__top) { display: block; font-weight: 500; }
.hero .notif .notif__txt > small { display: block; font-size: 13.5px; font-weight: 500; color: #3B4458; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
  .hero .notif { width: min(258px, calc(100% - 32px)); transform: scale(.97); transform-origin: left bottom; }
}

/* Mobile : pas de zoom automatique quand on touche un champ (l'iPhone zoome sous 16 px) */
@media (max-width: 1024px) {
  input, select, textarea, .picker__search input, .searchbar input { font-size: 16px !important; }
}

/* Mobile : plus d'air entre les blocs */
@media (max-width: 640px) {
  .section { margin-top: 56px; }
  .dash__main { gap: 26px; }
  .form { gap: 22px; }
  .panel + .panel, .block + .block { margin-top: 4px; }
  .grid { gap: 14px; }
  .faq { margin-top: 56px; }
  .hero:not(.hero--partir) { padding-bottom: 40px; }
}

/* Étiquette du héros : simple point orange, comme le point de Tricoly */
.hero .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #F26B4F; }
@media (max-width: 640px) {
  .hero .eyebrow .dot { width: 7px; height: 7px; }
  /* Annonces : une par ligne sur mobile */
  .grid { grid-template-columns: minmax(0, 1fr) !important; gap: 16px; }
}

/* Menu ☰ : « Je prépare mon départ » séparé des catégories, en bouton bleu */
.burger__panel .burger__cta { margin-top: 10px; position: relative; background: var(--navy); color: #fff !important; border-radius: var(--pill); justify-content: center; font-weight: 600; }
.burger__panel .burger__cta::before { content: ""; position: absolute; left: 6px; right: 6px; top: -6px; border-top: 1px solid var(--line); }
.burger__panel .burger__cta .ic { color: #fff; }
.burger__panel .burger__cta:hover { background: var(--navy-2, #1B2560); }

/* Destinations, mobile : filtres de continents qui défilent vers la droite */
@media (max-width: 640px) {
  .destchips, .chips--wrap.destchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px 4px; scroll-padding-inline: 16px; }
  .destchips::-webkit-scrollbar { display: none; }
  .destchips > * { flex: 0 0 auto; }
}

/* Favoris : cœur en haut à droite de chaque carte, rempli en orange quand l'annonce est gardée */
.card { position: relative; }
.fav { position: absolute; top: 10px; right: 10px; z-index: 3; margin: 0; }
.fav__btn { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: 0 4px 14px rgba(18, 22, 43, .14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .15s, color .15s; }
.fav__btn:hover { transform: scale(1.06); }
.fav__btn .ic { width: 18px; height: 18px; }
.fav__btn.is-on { color: #F26B4F; }
.fav__btn.is-on .ic { fill: currentColor; }
.fav__btn.is-pop { animation: favpop .35s ease; }
@keyframes favpop { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
.listing__titlerow { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.fav--inline { position: static; flex: 0 0 auto; margin-top: 4px; }
.fav--inline .fav__btn { width: 46px; height: 46px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.fav--inline .fav__btn .ic { width: 20px; height: 20px; }

/* « Partir vivre à l'étranger » : même écart que partout entre les filtres et le contenu (32 px) */
.hero--partir { padding-bottom: 0 !important; }
.hero--partir + .section { margin-top: 32px !important; }

/* Ordinateur : plus d'air entre les blocs */
@media (min-width: 1025px) {
  .section { margin-top: 88px; }
  .hero--partir + .section { margin-top: 32px !important; }
  .dash__main { gap: 32px; }
  .form { gap: 24px; }
  .faq { margin-top: 88px; }
  .grid { gap: 24px; }
}

/* Page Partir : choix du pays (tous les pays, par continent) */
.partir__pick { max-width: 460px; margin-top: 4px; }
.steps a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* Titres de sections sur mobile : une seule ligne, même taille partout */
@media (max-width: 640px) {
  .section__head h2 { font-size: 24px; }
  .section__head h2 .ic { width: 20px; height: 20px; }
}

/* Photos : fond doux pendant le chargement, puis apparition en fondu */
.card__media, .ptile, .gallery, .hero__frame { background-color: #EEF1F8; }
.card__media img, .ptile img, .gallery img, .hero__frame img, .listrow img, .mod img { transition: opacity .4s ease; }
img.img-wait { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .card__media img, .ptile img, .gallery img, .hero__frame img { transition: none; } }
@media (max-width: 640px) {
  .section__head { gap: 10px; flex-wrap: nowrap; }
  .section__head h2 { font-size: 22px; white-space: nowrap; }
  .section__head h2 .ic { display: none; }
  .section__head .link-arrow { font-size: 14px; flex: 0 0 auto; }
}

/* Points orange des titres : un vrai rond, jamais le point carré de la police */
h1.ttl i, .ttl i, .desthero__title i, .hero__title i {
  display: inline-block; width: .17em; height: .17em; margin-left: .05em; border-radius: 50%;
  background: #F26B4F; color: transparent; overflow: hidden; text-indent: -9em; vertical-align: baseline;
}

/* Fenêtre « crée un compte » pour les favoris */
.favmodal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(18, 22, 43, .42);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .2s; }
.favmodal.is-open { opacity: 1; pointer-events: auto; }
.favmodal__box { position: relative; width: min(400px, 100%); display: grid; gap: 12px; justify-items: center; text-align: center; padding: 32px 24px 24px;
  background: #fff; border-radius: 28px; box-shadow: 0 30px 80px rgba(18, 22, 43, .25); transform: translateY(12px) scale(.98); transition: transform .25s ease; }
.favmodal.is-open .favmodal__box { transform: none; }
.favmodal__box h2 { margin: 4px 0 0; font-size: 22px; }
.favmodal__box p { margin: 0 0 8px; color: var(--muted); }
.favmodal__ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #FDECE7; color: #F26B4F; }
.favmodal__x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--sky-2); font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.favguest { display: grid; gap: 14px; justify-items: center; text-align: center; }
.favguest .btn { width: 100%; }

/* Page annonce : photo au format 4:3 (plus haute de 900 px), cœur en haut à droite de la photo */
.gallery { position: relative; }
.gallery__main { height: auto; aspect-ratio: 4 / 3; cursor: zoom-in; }
.gallery__ph { aspect-ratio: 4 / 3; }
.fav--photo { top: 14px; right: 14px; }
.fav--photo .fav__btn { width: 44px; height: 44px; }
.fav--photo .fav__btn .ic { width: 20px; height: 20px; }

/* Visionneuse : photo dans un cadre carré, flèches, glisser sur mobile */
.lightbox { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; background: rgba(10, 12, 24, .88);
  opacity: 0; pointer-events: none; transition: opacity .2s; touch-action: pan-y; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__stage { width: min(92vw, 82vh); aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden; background: #000; }
.lightbox__stage img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .2s; }
.lightbox__btn { position: absolute; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .16); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 26px; line-height: 1; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox__x { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font: 500 14px var(--body); opacity: .85; }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { display: none; } }

/* Photo de profil de l'auteur, en haut à gauche de la carte */
.card__media { position: relative; }
.card__seller { position: absolute; top: 10px; left: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: var(--navy); color: #fff; font: 600 15px var(--body);
  box-shadow: 0 0 0 2.5px #fff, 0 4px 12px rgba(18, 22, 43, .18); }
.card__seller img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__badges { left: 56px !important; }

.section--first { margin-top: 32px !important; }
.favmodal__ic--navy { background: var(--sky); color: var(--navy); }
.convs { display: grid; gap: 10px; margin-top: 20px; }
.conv { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px; background: #fff; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.conv__media img, .conv__media .card__ph { width: 96px; height: 72px; border-radius: 14px; object-fit: cover; display: grid; place-items: center; }
.conv__body { display: grid; gap: 3px; min-width: 0; }
.conv__who { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.conv__title { font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .conv { grid-template-columns: 72px minmax(0, 1fr) auto; } .conv__media img, .conv__media .card__ph { width: 72px; height: 56px; } }

/* Tab bar flottante (mobile), style verre dépoli des dernières versions d'iOS */
.tabbar { display: none; }
@media (max-width: 760px) {
  .tabbar { position: fixed; z-index: 60; left: 14px; right: 14px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 66px; padding: 5px;
    display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 34px;
    background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
    box-shadow: 0 12px 32px rgba(18, 22, 43, .16), 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 .5px rgba(18, 22, 43, .08); }
  .tabbar__pill { position: absolute; top: 5px; left: 5px; width: calc((100% - 10px) / 4); height: calc(100% - 10px); border-radius: 29px;
    background: rgba(29, 43, 108, .09); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset;
    transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .5s cubic-bezier(.32, 1.32, .5, 1); will-change: transform; }
  .tabbar.no-anim .tabbar__pill { transition: none; }
  .tabbar__item { position: relative; z-index: 1; display: grid; place-items: center; align-content: center; gap: 2px; text-decoration: none;
    color: #6B7280; font: 600 10.5px/1.1 var(--body); letter-spacing: .01em; -webkit-tap-highlight-color: transparent; transition: color .3s; }
  .tabbar__item .ic { width: 23px; height: 23px; transition: transform .35s cubic-bezier(.32, 1.32, .5, 1); }
  .tabbar__item.is-on { color: var(--navy); }
  .tabbar__item.is-on .ic { transform: scale(1.06); }
  .tabbar__item:active .ic { transform: scale(.9); }
  .tabbar__av { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px currentColor; }
  /* La tab bar remplace le header : on garde seulement le logo et « Publier » */
  .topbar__actions > *:not(.btn--primary) { display: none !important; }
  .topbar__in { justify-content: space-between; }
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .mobilebar { bottom: calc(86px + env(safe-area-inset-bottom)) !important; left: 14px !important; right: 14px !important; border-radius: 24px; border: 0 !important;
    box-shadow: 0 10px 28px rgba(18, 22, 43, .14) !important; padding: 8px !important; }
}
.card__badges { top: 18px !important; right: 56px; }

/* Boosts */
.btn--boost { background: linear-gradient(135deg, #F26B4F, #F59E3F); color: #fff; box-shadow: 0 6px 18px rgba(242, 107, 79, .28); }
.btn--boost:hover { filter: brightness(1.05); color: #fff; }
.boost__listing { display: flex; align-items: center; gap: 14px; padding: 12px; background: #fff; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); }
.boost__thumb img, .boost__thumb .card__ph { width: 96px; height: 72px; border-radius: 14px; object-fit: cover; display: grid; place-items: center; }
.boost__ltxt { display: grid; gap: 2px; min-width: 0; }
.boost__ltxt strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.boost { display: grid; gap: 16px; }
.boost__offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.boost__offer { position: relative; display: grid; gap: 6px; align-content: start; padding: 22px 18px 18px; background: #fff; border-radius: 24px; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, transform .2s; }
.boost__offer:hover { transform: translateY(-2px); }
.boost__offer input { position: absolute; opacity: 0; pointer-events: none; }
.boost__offer:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--navy), 0 12px 30px rgba(29, 43, 108, .12); }
.boost__offer:has(input:focus-visible) { outline: 3px solid #F26B4F; outline-offset: 3px; }
.boost__tag { position: absolute; top: -11px; left: 18px; padding: 4px 10px; border-radius: 999px; background: #F26B4F; color: #fff; font: 600 12px var(--body); }
.boost__ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #FDECE7; color: #F26B4F; }
.boost__name { font: 600 17px var(--head); color: var(--ink); }
.boost__price { font: 700 26px var(--head); color: var(--navy); letter-spacing: -.02em; }
.boost__desc { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.boost__go { margin-top: 4px; }
.boost__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 13.5px; color: var(--muted); }
.boost__demo { margin: 0; text-align: center; font-size: 13px; color: #9A6B00; background: #FFF6DD; padding: 10px 14px; border-radius: 14px; }
.favmodal__ic--ok { background: #E3F6EA; color: #1E8A4C; }
@media (max-width: 860px) { .boost__offers { grid-template-columns: minmax(0, 1fr); } }

/* Intégrations (super admin) */
.integ { display: grid; gap: 18px; }
.integ__head { display: flex; align-items: center; gap: 14px; }
.integ__head h2 { margin: 0; }
.integ__head p { margin: 2px 0 0; }
.integ__head .status { margin-left: auto; }
.integ__logo { width: 64px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #635BFF; color: #fff; font: 700 15px var(--body); letter-spacing: -.02em; flex: 0 0 auto; }
.integ__hook { padding: 14px 16px; border-radius: 16px; background: var(--sky-2); font-size: 14px; }
.integ__hook p { margin: 0 0 10px; }
.integ__hook code { font-size: 12.5px; background: #fff; padding: 2px 6px; border-radius: 6px; }
.integ__copy { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.integ__copy code { flex: 1 1 260px; overflow-wrap: anywhere; padding: 8px 10px; }
.integ__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.integ__test { margin-top: -6px; }
.check--sm { font-size: 13.5px; margin-top: 6px; }
.offers { display: grid; gap: 10px; }
.offerrow { display: grid; grid-template-columns: auto minmax(0, 1fr) 110px auto; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.offerrow__ic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #FDECE7; color: #F26B4F; }
.offerrow__txt { display: grid; gap: 2px; min-width: 0; }
.offerrow__price input { text-align: right; }
@media (max-width: 640px) { .offerrow { grid-template-columns: auto minmax(0, 1fr); } .offerrow__price, .offerrow .check { grid-column: 2; } .integ__head { flex-wrap: wrap; } }

/* Texte d'exemple dans les listes : grisé, pour montrer que ce n'est pas un choix */
.picker__btn.is-hint > span { color: #9AA1B5; font-weight: 400; }

/* Tab bar à 5 onglets, « Publier » au centre */
@media (max-width: 760px) {
  .tabbar { grid-template-columns: repeat(5, 1fr); left: 10px; right: 10px; }
  .tabbar__pill { width: calc((100% - 10px) / 5); }
  .tabbar[data-tab="-1"] .tabbar__pill { opacity: 0; }
  .tabbar__item span:last-child { font-size: 10px; }
  .tabbar__plus { width: 40px; height: 30px; display: grid; place-items: center; border-radius: 15px; background: var(--navy); color: #fff;
    box-shadow: 0 6px 14px rgba(29, 43, 108, .3); transition: transform .35s cubic-bezier(.32, 1.32, .5, 1); }
  .tabbar__plus .ic { width: 20px !important; height: 20px !important; transform: none !important; }
  .tabbar__item--add:active .tabbar__plus { transform: scale(.92); }
  .topbar__actions > .btn--primary { display: none !important; }
}

/* Offres de boost : icône de plus en plus forte */
.boost__ic--1 { background: #FFF1EC; color: #F59E3F; }
.boost__ic--2 { background: #FDE3D9; color: #F26B4F; }
.boost__ic--3 { background: linear-gradient(135deg, #F26B4F, #E0452B); color: #fff; box-shadow: 0 6px 16px rgba(242, 107, 79, .35); }
/* Paiement sécurisé : cadenas + moyens de paiement */
.paysafe { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.paysafe__lock { display: inline-flex; align-items: center; gap: 6px; font: 600 13.5px var(--body); color: var(--ink); }
.paysafe__cards { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.paysafe .pl { height: 30px; min-width: 46px; padding: 0 8px; display: inline-grid; place-items: center; background: #fff; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.paysafe .pl svg { display: block; }

/* Menu « Mon compte » du super admin */
.accmenu { position: relative; }
.accmenu > summary { list-style: none; cursor: pointer; }
.accmenu > summary::-webkit-details-marker { display: none; }
.accmenu__panel { right: 0; left: auto !important; min-width: 250px; }
.accmenu__panel a.is-on { background: var(--sky-2); }
.accmenu__panel form { margin: 0; }
.accmenu__panel button { width: 100%; }

/* Photos de profil : bordure plus fine */
.card__seller { box-shadow: 0 0 0 1.5px #fff, 0 4px 12px rgba(18, 22, 43, .16); }
.tabbar__av { box-shadow: 0 0 0 1px currentColor; }

/* Badge « À la une » : fond bleu, texte blanc */
.badge--red { background: var(--navy) !important; color: #fff !important; }

/* Page annonce : pas de fond coloré derrière la galerie */
.gallery { background: none !important; }

/* Mes annonces : sur mobile, « Booster » en entier à gauche, les autres actions en icônes */
@media (max-width: 640px) {
  .row__actions { flex-wrap: nowrap; gap: 8px; }
  .row__actions .btn { flex: 0 0 auto; }
  .row__actions .row__boost { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .row__ic { width: 40px; padding: 0; justify-content: center; }
  .row__lbl { display: none; }
  .row__actions form { flex: 0 0 auto; }
}

@media (max-width: 760px) {
  .mobilebar { background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding: 0 !important; }
  .mobilebar .btn { box-shadow: 0 8px 22px rgba(18, 22, 43, .18); }
}
.gallery__thumb.is-on, .gallery__thumb:hover { box-shadow: none !important; }

/* Booster : bouton bleu (plus rassurant), offres plus espacées */
.btn--boost { background: var(--navy) !important; color: #fff !important; box-shadow: 0 6px 18px rgba(29, 43, 108, .22) !important; filter: none !important; }
.btn--boost:hover { background: #26338A !important; }
.boost__offers { gap: 18px; padding-top: 6px; }
@media (max-width: 860px) { .boost__offers { gap: 24px; padding-top: 10px; } }

/* Tab bar : le « + » seul, un peu plus grand */
@media (max-width: 760px) {
  .tabbar__item--add .tabbar__plus { width: 46px; height: 34px; border-radius: 17px; }
}
/* Formulaire d'annonce sur mobile : bouton principal fixé en bas, au-dessus de la tab bar, sans fond */
@media (max-width: 760px) {
  .form__foot { padding-bottom: 76px; }
  .form__foot .btn--primary { position: fixed; z-index: 55; left: 14px; right: 14px; width: auto;
    bottom: calc(86px + env(safe-area-inset-bottom)); box-shadow: 0 8px 22px rgba(18, 22, 43, .22); }
}

/* ---------- Messagerie ---------- */
.inbox__h2 { margin: 36px 0 12px; font-size: 20px; }
.threads { display: grid; gap: 8px; margin-top: 20px; }
.thread { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px; background: #fff;
  border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); transition: box-shadow .15s; }
.thread:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 6px 18px rgba(18, 22, 43, .06); }
.thread__av { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--navy); color: #fff; font: 600 18px var(--body); flex: 0 0 auto; }
.thread__av img { width: 100%; height: 100%; object-fit: cover; }
.thread__av--sm { width: 40px; height: 40px; font-size: 15px; }
.thread__body { display: grid; gap: 1px; min-width: 0; }
.thread__top { display: flex; justify-content: space-between; gap: 10px; }
.thread__top small { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.thread__listing { font-size: 13px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread__last { font-size: 14.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread.is-unread .thread__last { color: var(--ink); font-weight: 600; }
.thread__badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #F26B4F; color: #fff; font: 700 12px/22px var(--body); text-align: center; }
.thread__photo { width: 56px; height: 42px; border-radius: 10px; object-fit: cover; }
@media (max-width: 640px) { .thread { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 12px; gap: 12px; } .thread__photo { display: none; } .thread__av { width: 44px; height: 44px; } }

.chat { max-width: 760px; margin-top: 24px; display: grid; gap: 14px; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.chat__back { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--sky-2); flex: 0 0 auto; }
.chat__back .ic { transform: rotate(180deg); }
.chat__who { display: grid; min-width: 0; flex: 1; }
.chat__who a { font-size: 13.5px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__photo img { width: 64px; height: 48px; border-radius: 12px; object-fit: cover; display: block; }
.chat__list { display: flex; flex-direction: column; gap: 6px; min-height: 280px; max-height: calc(100svh - 340px); overflow-y: auto; padding: 16px; background: #fff; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); scroll-behavior: smooth; }
.chat__empty { margin: auto; text-align: center; color: var(--muted); max-width: 300px; }
.chat__day { align-self: center; margin: 8px 0 4px; padding: 3px 10px; border-radius: 999px; background: var(--sky-2); color: var(--muted); font-size: 12px; }
.bubble { align-self: flex-start; max-width: 78%; padding: 9px 13px 6px; border-radius: 18px 18px 18px 6px; background: #F1F3F8; color: var(--ink); animation: bubblein .25s ease; }
.bubble p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; line-height: 1.45; }
.bubble time { display: block; margin-top: 2px; text-align: right; font-size: 11px; color: var(--muted); }
.bubble--me { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: var(--navy); color: #fff; }
.bubble--me time { color: rgba(255, 255, 255, .7); }
.bubble.is-sending { opacity: .6; }
@keyframes bubblein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chat__form { display: flex; align-items: flex-end; gap: 10px; padding: 8px; background: #fff; border-radius: 26px; box-shadow: inset 0 0 0 1px var(--line), 0 6px 20px rgba(18, 22, 43, .06); }
.chat__form textarea { flex: 1; min-height: 44px; max-height: 160px; resize: none; border: 0 !important; box-shadow: none !important; padding: 11px 12px; background: transparent; }
.chat__send { width: 46px; height: 46px; padding: 0; border-radius: 50%; flex: 0 0 auto; }
.chat__closed { margin: 0; padding: 14px; text-align: center; border-radius: 18px; background: var(--sky-2); color: var(--muted); }
.chat__foot { display: grid; gap: 8px; font-size: 12.5px; color: var(--muted); }
.chat__foot p { margin: 0; display: flex; gap: 6px; align-items: center; }
.chat__report summary { cursor: pointer; width: max-content; }
.chat__report form { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.chat__report input { flex: 1 1 220px; }
@media (max-width: 760px) {
  .chat { margin-top: 12px; }
  .chat__list { max-height: calc(100svh - 360px); min-height: 220px; padding: 12px; }
  .bubble { max-width: 86%; }
}

/* Bouton Messages flottant (ordinateur), en bas à droite */
.msgfab { display: none; }
@media (min-width: 761px) {
  .msgfab { position: fixed; z-index: 50; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 20px;
    border-radius: 25px; background: var(--navy); color: #fff; font: 600 15px var(--body); text-decoration: none;
    box-shadow: 0 12px 30px rgba(29, 43, 108, .32); transition: transform .2s, box-shadow .2s; }
  .msgfab:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 36px rgba(29, 43, 108, .38); }
}
.msgfab__n, .tabbar__dot { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #F26B4F; color: #fff; font: 700 11.5px/20px var(--body); text-align: center; }
.tabbar__icw { position: relative; display: grid; place-items: center; }
.tabbar__dot { position: absolute; top: -6px; right: -12px; min-width: 18px; height: 18px; line-height: 18px; font-size: 10.5px; }

/* Super admin : lecture d'une conversation */
.admchat { display: grid; gap: 10px; }
.admchat__msg { padding: 12px 14px; border-radius: 16px; background: #F1F3F8; display: grid; gap: 4px; max-width: 80%; }
.admchat__msg.is-seller { justify-self: end; background: var(--sky); }
.admchat__msg.is-hidden { opacity: .5; }
.admchat__msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.admchat__meta { font-size: 12.5px; color: var(--muted); }
.admchat__msg form { justify-self: start; }
.admchat__actions form { display: flex; gap: 10px; flex-wrap: wrap; }

/* Annonce déjà à la une : pastille claire avec l'icône du forfait */
.row__boost--on { background: var(--sky) !important; color: var(--navy) !important; box-shadow: none !important; }
.row__boost--on .ic { color: var(--navy); }
.integ__logo--brevo { background: #0B996E; }

/* Note du profil : étoiles remplies selon la note (--v sur 5) */
.stars { --size: 14px; display: inline-block; width: calc(var(--size) * 5); height: var(--size); vertical-align: -1px;
  background: linear-gradient(90deg, #F5A623 calc(var(--v) / 5 * 100%), #DDE1EA 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.7-4.9 4.5 1.4 6.6L12 17l-5.9 3.4 1.4-6.6-4.9-4.5 6.6-.7z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.7-4.9 4.5 1.4 6.6L12 17l-5.9 3.4 1.4-6.6-4.9-4.5 6.6-.7z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x; }
.stat--score .stat__n { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.stat--score .stat__n small { font-size: 15px; color: var(--muted); font-weight: 500; }
.stat--score .stars { --size: 13px; align-self: center; }
.seller__score { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }

/* Conversation : signalement dans l'en-tête, rappel de sécurité en haut */
.chat__head { position: relative; }
.chat__report { position: relative; }
.chat__report summary { list-style: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: var(--muted); }
.chat__report summary::-webkit-details-marker { display: none; }
.chat__report summary:hover { background: var(--sky-2); color: var(--ink); }
.chat__report form { position: absolute; right: 0; top: 46px; z-index: 5; width: 280px; display: grid; gap: 8px; padding: 14px; background: #fff; border-radius: 18px; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.chat__notice { align-self: center; display: flex; gap: 6px; align-items: center; max-width: 340px; margin: 0 0 6px; padding: 6px 12px; border-radius: 12px; background: #FFF8E6; color: #7A5A00; font-size: 12px; text-align: center; }

/* Mobile : messagerie plein écran, comme une appli */
@media (max-width: 760px) {
  body:has(.chat) .testbar, body:has(.chat) .topbar, body:has(.chat) .footer, body:has(.chat) .tabbar, body:has(.chat) .msgfab, body:has(.chat) .flash { display: none !important; }
  body:has(.chat) { padding-bottom: 0 !important; background: #fff; }
  body:has(.chat) .chat { position: fixed; inset: 0; z-index: 70; margin: 0; padding: 0; max-width: none; width: auto; height: 100dvh; display: flex; flex-direction: column; gap: 0; background: #fff; }
  body:has(.chat) .chat__head { border-radius: 0; box-shadow: 0 1px 0 var(--line); padding: calc(10px + env(safe-area-inset-top)) 12px 10px; }
  body:has(.chat) .chat__list { flex: 1; min-height: 0; max-height: none; border-radius: 0; box-shadow: none; padding: 14px 12px; }
  body:has(.chat) .chat__form { border-radius: 0; box-shadow: 0 -1px 0 var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  body:has(.chat) .chat__form textarea { background: #F1F3F8; border-radius: 22px; }
  body:has(.chat) .chat__closed { border-radius: 0; }

  body:has(.inbox) .footer, body:has(.inbox) .msgfab { display: none !important; }
  body:has(.inbox) .inbox { margin-top: 0 !important; }
  body:has(.inbox) .inbox .dash__head { padding: 14px 0 4px; }
  body:has(.inbox) .inbox .dash__head h1 { font-size: 26px; text-align: left; margin: 0; }
  body:has(.inbox) .inbox .dash__head p { display: none; }
  body:has(.inbox) .threads { gap: 0; margin-top: 4px; }
  body:has(.inbox) .thread { border-radius: 0; box-shadow: none; background: none; padding: 12px 0; border-bottom: 1px solid #F0F1F5; }
  body:has(.inbox) .thread:hover { box-shadow: none; background: none; }
  body:has(.inbox) .thread__photo { display: none; }
  body:has(.inbox) .inbox .empty { background: none; box-shadow: none; }
}
/* Ordinateur : même affichage à l'intérieur de la fenêtre Messages */

  html.is-embed body .testbar, html.is-embed body .topbar, html.is-embed body .footer, html.is-embed body .tabbar, html.is-embed body .msgfab, html.is-embed body .flash { display: none !important; }
  html.is-embed body { padding-bottom: 0 !important; background: #fff; }
  html.is-embed body .chat { position: fixed; inset: 0; z-index: 70; margin: 0; padding: 0; max-width: none; width: auto; height: 100dvh; display: flex; flex-direction: column; gap: 0; background: #fff; }
  html.is-embed body .chat__head { border-radius: 0; box-shadow: 0 1px 0 var(--line); padding: calc(10px + env(safe-area-inset-top)) 12px 10px; }
  html.is-embed body .chat__list { flex: 1; min-height: 0; max-height: none; border-radius: 0; box-shadow: none; padding: 14px 12px; }
  html.is-embed body .chat__form { border-radius: 0; box-shadow: 0 -1px 0 var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  html.is-embed body .chat__form textarea { background: #F1F3F8; border-radius: 22px; }
  html.is-embed body .chat__closed { border-radius: 0; }

  html.is-embed body .footer, html.is-embed body .msgfab { display: none !important; }
  html.is-embed body .inbox { margin-top: 0 !important; }
  html.is-embed body .inbox .dash__head { padding: 14px 0 4px; }
  html.is-embed body .inbox .dash__head h1 { font-size: 26px; text-align: left; margin: 0; }
  html.is-embed body .inbox .dash__head p { display: none; }
  html.is-embed body .threads { gap: 0; margin-top: 4px; }
  html.is-embed body .thread { border-radius: 0; box-shadow: none; background: none; padding: 12px 0; border-bottom: 1px solid #F0F1F5; }
  html.is-embed body .thread:hover { box-shadow: none; background: none; }
  html.is-embed body .thread__photo { display: none; }
  html.is-embed body .inbox .empty { background: none; box-shadow: none; }
html.is-embed .inbox.wrap { padding: 0 16px; }
html.is-embed .testbar, html.is-embed .topbar, html.is-embed .tabbar, html.is-embed .footer { display: none !important; }
html.is-embed body { padding-bottom: 0 !important; }
html.is-embed .chat__list { padding: 14px 14px; }

/* Fenêtre Messages (ordinateur), au-dessus du bouton flottant */
.msgpanel { position: fixed; z-index: 80; right: 24px; bottom: 88px; width: 400px; height: min(640px, calc(100vh - 120px)); border-radius: 26px; overflow: hidden;
  background: #fff; box-shadow: 0 24px 70px rgba(18, 22, 43, .28), 0 0 0 1px rgba(18, 22, 43, .06);
  opacity: 0; transform: translateY(14px) scale(.98); transform-origin: bottom right; pointer-events: none; transition: opacity .22s, transform .28s cubic-bezier(.32, 1.2, .5, 1); }
.msgpanel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.msgpanel iframe { width: 100%; height: 100%; border: 0; display: block; }
.msgpanel__x { position: absolute; z-index: 2; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(241, 243, 248, .92); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.msgfab.is-active { background: #26338A; }
@media (max-width: 760px) { .msgpanel { display: none; } }
/* Dans la fenêtre : place pour le bouton fermer */
html.is-embed .chat__head { padding-right: 54px; }
html.is-embed .inbox .dash__head { padding-right: 44px; }

/* Fenêtre Messages (ordinateur) : contenu chargé directement, sans cadre intégré */
.msgpanel__body { position: absolute; inset: 0; overflow-y: auto; transition: opacity .15s; }
.msgpanel__body.is-loading { opacity: .5; }
.msgpanel__body .inbox { margin: 0 !important; padding: 0 18px 18px; max-width: none; }
.msgpanel__body .inbox .dash__head { padding: 16px 44px 4px 0; }
.msgpanel__body .inbox .dash__head h1 { font-size: 24px; text-align: left; margin: 0; }
.msgpanel__body .inbox .dash__head p { display: none; }
.msgpanel__body .threads { gap: 0; margin-top: 4px; }
.msgpanel__body .thread { grid-template-columns: 44px minmax(0, 1fr) auto; border-radius: 0; box-shadow: none; background: none; padding: 12px 0; border-bottom: 1px solid #F0F1F5; }
.msgpanel__body .thread:hover { background: none; box-shadow: none; }
.msgpanel__body .thread__av { width: 44px; height: 44px; }
.msgpanel__body .thread__photo { display: none; }
.msgpanel__body .inbox .empty { background: none; box-shadow: none; padding: 40px 10px; }
.msgpanel__body .inbox__h2 { font-size: 16px; margin: 24px 0 8px; }
.msgpanel__body .conv { grid-template-columns: 56px minmax(0, 1fr) auto; box-shadow: none; border-bottom: 1px solid #F0F1F5; border-radius: 0; padding: 10px 0; }
.msgpanel__body .conv__media img, .msgpanel__body .conv__media .card__ph { width: 56px; height: 42px; }
.msgpanel__body .chat { position: absolute; inset: 0; margin: 0; padding: 0; max-width: none; display: flex; flex-direction: column; gap: 0; background: #fff; }
.msgpanel__body .chat__head { border-radius: 0; box-shadow: 0 1px 0 var(--line); padding: 10px 54px 10px 12px; }
.msgpanel__body .chat__photo { display: none; }
.msgpanel__body .chat__list { flex: 1; min-height: 0; max-height: none; border-radius: 0; box-shadow: none; padding: 14px; }
.msgpanel__body .chat__form { border-radius: 0; box-shadow: 0 -1px 0 var(--line); padding: 8px 10px; }
.msgpanel__body .chat__form textarea { background: #F1F3F8; border-radius: 22px; }
.msgpanel__body .auth__card { margin: 40px 20px; box-shadow: none; }
.msgpanel { height: min(640px, calc(100vh - 160px)); }

/* Conversation : bandeau (retour, photo, nom + délai de réponse, menu ⋯) */
.chat__who small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__menu { position: relative; margin-left: auto; }
.chat__menu > summary { list-style: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; color: var(--ink); }
.chat__menu > summary::-webkit-details-marker { display: none; }
.chat__menu > summary:hover, .chat__menu[open] > summary { background: var(--sky-2); }
.chat__menupanel { position: absolute; right: 0; top: 46px; z-index: 6; width: 250px; padding: 6px; background: #fff; border-radius: 18px; box-shadow: 0 16px 40px rgba(18, 22, 43, .16), 0 0 0 1px var(--line); display: grid; }
.chat__menupanel form { margin: 0; }
.chat__menupanel button, .chat__reportbox > summary { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 0; border-radius: 12px; background: none; font: 500 15px var(--body); color: var(--ink); cursor: pointer; text-align: left; list-style: none; }
.chat__reportbox > summary::-webkit-details-marker { display: none; }
.chat__menupanel button:hover, .chat__reportbox > summary:hover { background: var(--sky-2); }
.chat__menupanel button[value="bloquer"] { color: #C0392B; }
.chat__reportbox form { display: grid; gap: 8px; padding: 6px 8px 8px; }
.chat__photo, .chat__report { display: none !important; }

/* Annonce jointe à un message */
.msgcard { align-self: flex-start; display: flex; align-items: center; gap: 10px; max-width: 78%; margin-top: 6px; padding: 8px 12px 8px 8px; border-radius: 16px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); }
.msgcard--me { align-self: flex-end; }
.msgcard img { width: 56px; height: 42px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.msgcard span { display: grid; min-width: 0; }
.msgcard strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msgcard small { font-size: 12.5px; color: var(--navy); font-weight: 600; }
.msgcard + .bubble { margin-top: 2px; }

/* Zone d'écriture : annonce jointe au-dessus du champ */
.chat__form { flex-direction: column; align-items: stretch; gap: 6px; }
.chat__row { display: flex; align-items: flex-end; gap: 10px; }
.chat__attach { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 14px; background: var(--sky-2); }
.chat__attach img { width: 44px; height: 34px; border-radius: 8px; object-fit: cover; }
.chat__attach span { display: grid; min-width: 0; flex: 1; }
.chat__attach small { font-size: 11.5px; color: var(--muted); }
.chat__attach strong { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__attachx { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; font-size: 18px; line-height: 1; color: var(--muted); }

/* ---------- App installable ---------- */
.pwamodal { position: fixed; inset: 0; z-index: 95; display: grid; align-items: end; justify-items: center; padding: 12px; background: rgba(18, 22, 43, .42);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.pwamodal.is-open { opacity: 1; }
.pwamodal__box { position: relative; width: min(420px, 100%); display: grid; gap: 12px; justify-items: center; text-align: center; padding: 28px 22px calc(18px + env(safe-area-inset-bottom));
  background: #fff; border-radius: 30px; box-shadow: 0 30px 80px rgba(18, 22, 43, .3); transform: translateY(30px); transition: transform .35s cubic-bezier(.32, 1.2, .5, 1); }
.pwamodal.is-open .pwamodal__box { transform: none; }
@media (min-width: 761px) { .pwamodal { align-items: center; } }
.pwamodal__icon { width: 76px; height: 76px; border-radius: 18px; box-shadow: 0 10px 24px rgba(29, 43, 108, .3); }
.pwamodal__box h2 { margin: 4px 0 0; font-size: 22px; }
.pwamodal__box p { margin: 0; color: var(--muted); }
.pwamodal__steps { margin: 4px 0; padding: 14px 16px 14px 34px; width: 100%; text-align: left; background: var(--sky-2); border-radius: 18px; display: grid; gap: 8px; font-size: 15px; }
.pwamodal__steps svg { vertical-align: -3px; color: var(--navy); }
.appinstall { display: flex; gap: 14px; align-items: center; }
.appinstall img { width: 56px; height: 56px; border-radius: 14px; flex: 0 0 auto; box-shadow: 0 6px 16px rgba(29, 43, 108, .25); }
.appinstall p { margin: 0; color: var(--muted); font-size: 15px; }
.block--app .btn { justify-self: start; }
.appinstall__done { margin: 0; display: flex; gap: 6px; align-items: center; color: #1E8A4C; font-weight: 600; font-size: 14px; }

/* Mobile : logo centré dans le header (les actions sont dans la tab bar) */
@media (max-width: 760px) {
  .topbar__in { justify-content: center !important; }
  .topbar__actions { display: none !important; }
}

/* Admin : fil de tous les messages */
.feed { display: grid; }
.feed__item { display: grid; gap: 3px; padding: 12px 4px; border-bottom: 1px solid #F0F1F5; text-decoration: none; color: var(--ink); }
.feed__item:hover { background: var(--sky-2); }
.feed__item.is-hidden { opacity: .5; }
.feed__meta { font-size: 13px; color: var(--muted); }
.feed__meta strong { color: var(--ink); }
.feed__body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }

/* ---------- Page de l'annonce : version épurée ---------- */
.listing__head { gap: 10px; margin-top: 28px; }
.listing__kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.listing__head h1 { margin: 0; }
.listing__price { margin: 0; font: 700 26px var(--head); color: var(--navy); letter-spacing: -.02em; }
.listing__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.listing__meta span { display: inline-flex; align-items: center; gap: 6px; }
.listing__head .tags { margin-top: 4px; }
.lsec { margin-top: 32px; padding-top: 28px; border-top: 1px solid #ECEDF2; }
.lsec__title { margin: 0 0 14px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.specs div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #F0F1F5; }
.specs dt { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.specs dt .ic { color: var(--navy); opacity: .75; }
.specs dd { margin: 0; font-weight: 600; text-align: right; font-size: 15px; }
.lsec__text { margin: 0; white-space: pre-line; font-size: 16.5px; line-height: 1.75; color: #2A3147; max-width: 68ch; }
.lsec--tip { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 0; border-radius: 18px; background: #F4F6FB; }
.lsec__tipic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); flex: 0 0 auto; }
.lsec--tip p { margin: 0; font-size: 14.5px; color: #4A5470; line-height: 1.55; }
.report { margin-top: 22px; }
.facts, .listing__desc, .safety { display: none; }
@media (max-width: 640px) {
  .specs { grid-template-columns: minmax(0, 1fr); }
  .listing__price { font-size: 24px; }
  .lsec { margin-top: 26px; padding-top: 22px; }
}

/* Colonne de droite fixe au défilement (ordinateur) : prix, profil, contact et partage */
@media (min-width: 961px) {
  .listing__side { position: sticky; top: 92px; align-self: start; }
  .panel--sticky { position: static !important; }
}

/* Partage : WhatsApp (vrai logo) + Partager */
.share { background: #fff !important; box-shadow: inset 0 0 0 1px var(--line) !important; }
.share h2 { font-size: 17px; margin: 0; }
.share p { color: var(--muted) !important; font-size: 14.5px; margin: 0; }
.sharebtns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.btn--wa { background: #25D366 !important; color: #fff !important; }
.btn--wa:hover { background: #1EBE5A !important; }
.btn--wa .ic--wa { width: 20px; height: 20px; }
.share__row { display: none; }

/* Feuille de partage de secours (ordinateur) */
.sharesheet { position: fixed; inset: 0; z-index: 96; display: grid; place-items: end center; padding: 12px; background: rgba(18, 22, 43, .42); opacity: 0; transition: opacity .2s; }
.sharesheet.is-open { opacity: 1; }
@media (min-width: 761px) { .sharesheet { place-items: center; } }
.sharesheet__box { position: relative; width: min(420px, 100%); padding: 24px 20px 20px; background: #fff; border-radius: 28px; box-shadow: 0 30px 80px rgba(18, 22, 43, .3); }
.sharesheet__box h2 { margin: 0 0 16px; font-size: 20px; }
.sharesheet__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sharesheet__grid a, .sharesheet__grid button { display: grid; justify-items: center; gap: 6px; border: 0; background: none; cursor: pointer; text-decoration: none; color: var(--ink); font: 500 12px var(--body); text-align: center; }
.sharesheet__grid em { font-style: normal; }
.ssi { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; font: 700 20px var(--body); }
.ssi svg { width: 26px; height: 26px; }
.ssi--wa { background: #25D366; } .ssi--tg { background: #2AABEE; } .ssi--fb { background: #1877F2; } .ssi--mail { background: #6B7280; } .ssi--copy { background: var(--sky); color: var(--navy); }

/* Fenêtre « Ton annonce est en ligne » */
.sharemodal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: end center; padding: 12px; background: rgba(18, 22, 43, .45); opacity: 0; pointer-events: none; transition: opacity .25s; }
.sharemodal.is-open { opacity: 1; pointer-events: auto; }
@media (min-width: 761px) { .sharemodal { place-items: center; } }
.sharemodal__box { position: relative; width: min(440px, 100%); display: grid; gap: 14px; justify-items: center; text-align: center; padding: 30px 22px calc(18px + env(safe-area-inset-bottom));
  background: #fff; border-radius: 30px; box-shadow: 0 30px 80px rgba(18, 22, 43, .3); transform: translateY(24px); transition: transform .35s cubic-bezier(.32, 1.2, .5, 1); }
.sharemodal.is-open .sharemodal__box { transform: none; }
.sharemodal__badge { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #E3F6EA; color: #1E8A4C; }
.sharemodal__box h2 { margin: 0; font-size: 23px; }
.sharemodal__box > p { margin: 0; color: var(--muted); }
.sharemodal__listing { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border-radius: 18px; background: #F4F6FB; text-decoration: none; color: var(--ink); text-align: left; }
.sharemodal__listing img { width: 64px; height: 48px; border-radius: 12px; object-fit: cover; }
.sharemodal__listing span { display: grid; min-width: 0; }
.sharemodal__listing strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sharemodal__listing small { color: var(--muted); }
.sharemodal .sharebtns { width: 100%; }
.sharemodal__later { border: 0; background: none; color: var(--muted); font: 500 14px var(--body); cursor: pointer; padding: 6px; }

/* ---------- Conversation : menu ⋯ moderne et feuille de signalement ---------- */
.chat__menupanel { width: 280px; padding: 8px; border-radius: 20px; gap: 2px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(18, 22, 43, .18), 0 0 0 1px rgba(18, 22, 43, .06); animation: menuin .18s ease; transform-origin: top right; }
@keyframes menuin { from { opacity: 0; transform: scale(.96) translateY(-4px); } to { opacity: 1; transform: none; } }
.chat__mi { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px; border: 0; border-radius: 14px; background: none; cursor: pointer; text-align: left; color: var(--ink); }
.chat__mi:hover { background: #F4F6FB; }
.chat__mi span:last-child { display: grid; }
.chat__mi strong { font: 600 15px var(--body); }
.chat__mi small { font-size: 12.5px; color: var(--muted); }
.chat__mic { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: #F1F3F8; color: var(--ink); flex: 0 0 auto; }
.chat__mi--danger strong, .chat__mi--danger .chat__mic { color: #D33A2C; }
.chat__mi--danger .chat__mic { background: #FDECEA; }
.chat__menupanel button[value="bloquer"] { color: inherit; }
.chat__reportbox { display: none; }
@media (max-width: 760px) {
  .chat__menu[open]::before { content: ""; position: fixed; inset: 0; z-index: 5; background: rgba(18, 22, 43, .35); }
  .chat__menupanel { position: fixed; left: 10px; right: 10px; top: auto; bottom: calc(10px + env(safe-area-inset-bottom)); width: auto; padding: 10px; border-radius: 26px; transform-origin: bottom center; z-index: 6; }
}
.reportsheet { position: fixed; inset: 0; z-index: 96; display: grid; place-items: end center; padding: 12px; background: rgba(18, 22, 43, .45); opacity: 0; transition: opacity .2s; }
.reportsheet.is-open { opacity: 1; }
@media (min-width: 761px) { .reportsheet { place-items: center; } }
.reportsheet__box { position: relative; width: min(440px, 100%); display: grid; gap: 12px; padding: 26px 20px calc(18px + env(safe-area-inset-bottom)); background: #fff; border-radius: 28px; box-shadow: 0 30px 80px rgba(18, 22, 43, .3); }
.reportsheet__box h2 { margin: 0; font-size: 21px; }
.reportsheet__box > p { margin: 0 0 4px; color: var(--muted); font-size: 14.5px; }
.reportsheet__list { display: grid; gap: 6px; }
.reportsheet__opt { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; background: #F4F6FB; cursor: pointer; font-weight: 500; }
.reportsheet__opt input { width: 20px; height: 20px; accent-color: #D33A2C; margin: 0; }
.reportsheet__opt:has(input:checked) { background: #FDECEA; box-shadow: inset 0 0 0 1.5px #F2B8B1; }

/* Bouton Messages (ordinateur) : pastille rouge bien visible en haut à droite */
.msgfab { position: fixed; }
.msgfab__n { position: absolute; top: -6px; right: -6px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; line-height: 24px; font-size: 12.5px;
  background: #F2453D; box-shadow: 0 4px 10px rgba(242, 69, 61, .4); animation: dotpop .4s cubic-bezier(.32, 1.6, .5, 1); }
.msgfab__n[hidden], .tabbar__dot[hidden] { display: none !important; }
@keyframes dotpop { from { transform: scale(.4); } to { transform: scale(1); } }

/* Fenêtre de confirmation */
.cfmodal .favmodal__box { gap: 10px; }
.cfmodal__ic { background: #FDECEC !important; color: #D93A32 !important; }
.cfmodal h2 { margin: 4px 0 0; font-size: 21px; }
.cfmodal p { margin: 0; color: var(--muted); line-height: 1.5; }
.cfmodal__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 10px; }

/* Message bref en bas de l'écran */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 130; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100vw - 32px);
  padding: 12px 18px; border-radius: 999px; background: var(--navy); color: #fff; font: 600 14.5px var(--body); box-shadow: 0 10px 30px rgba(18, 22, 43, .25); transition: opacity .2s, transform .25s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 760px) { .toast { bottom: calc(92px + env(safe-area-inset-bottom)); } }

/* Signalement : le modèle reste caché dans la conversation */
.reportsheet[hidden] { display: none !important; }

/* Personnes bloquées + zone sensible */
.blocklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.blocklist li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.blocklist li:first-child { border-top: 0; }
.blocklist__who { display: grid; flex: 1; min-width: 0; }
.blocklist__who small { color: var(--muted); font-size: 13px; }
.dangerzone { margin-top: 28px; padding: 20px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1.5px #F4C7C3; display: grid; gap: 14px; }
.dangerzone__title { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 17px; color: #C0352D; }
.dangerzone__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dangerzone__row span { display: grid; gap: 2px; }
.dangerzone__row small { color: var(--muted); font-size: 13.5px; }
.dangerzone .danger, .dangerzone .notice { margin: 0; }
.dangerzone .danger summary { color: #C0352D; font-weight: 600; }

/* Onglet Installer l'app */
.appperks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.appperks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.appperks li svg { color: var(--orange, #F26B3A); flex: 0 0 auto; }

/* Annonce : note du profil + temps de réponse */
.sellerstats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.sellerstats > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 16px; background: var(--bg, #FAF8F4); box-shadow: inset 0 0 0 1px var(--line); }
.sellerstats b { display: flex; align-items: center; gap: 6px; font-size: 16px; color: var(--ink); white-space: nowrap; }
.sellerstats .stars { --size: 12px; }
.sellerstats small { color: var(--muted); font-size: 12.5px; }

/* Super admin : 5 indicateurs */
.stats.stats--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 980px) { .stats.stats--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats.stats--5 > :last-child { grid-column: 1 / -1; } }

/* Header : devise d'affichage */
.topbar__in { position: relative; }
.topbar__fx { margin-left: auto; flex: 0 0 auto; }
.topbar__fx + .topbar__actions { margin-left: 0; }
.topbar__fx .picker { position: relative; }
.topbar__fx .picker__btn { width: auto; height: 38px; padding: 0 12px 0 14px; gap: 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 600 14px var(--body); color: var(--navy); white-space: nowrap; }
.topbar__fx .picker__panel { left: auto; right: 0; width: 320px; }
.fxp.is-fx { white-space: nowrap; }
@media (max-width: 760px) {
  .topbar__fx { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); margin: 0; }
  .topbar__fx .picker__btn { height: 36px; padding: 0 10px 0 12px; font-size: 13px; }
}

/* Header mobile : flèche retour */
.topbar__back { display: none; }
@media (max-width: 760px) {
  .topbar__back:not([hidden]) { display: grid; place-items: center; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; padding: 0;
    border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--navy); cursor: pointer; }
  .topbar__back svg { transform: rotate(180deg); }
}

/* Numéro WhatsApp : pays + drapeau + numéro */
.flag { display: inline-block; width: 20px; height: 15px; border-radius: 3px; background: url(../img/flags.png) no-repeat; background-size: 320px auto; box-shadow: 0 0 0 1px rgba(18, 22, 43, .08); flex: 0 0 auto; }
.flag--none { background: var(--line); }
.phone { position: relative; display: flex; gap: 8px; }
.phone .picker { flex: 0 0 auto; position: relative; }
.field .phone .picker__btn { width: auto; min-width: 108px; gap: 8px; }
.phone .picker__btn > span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.field .phone .picker__panel { left: 0; right: auto; width: min(340px, 86vw); }
.phone .picker__opt .flag { margin-right: 10px; }
.phone input[type="tel"] { flex: 1; min-width: 0; padding-right: 40px; letter-spacing: .02em; }
.phone__ok { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #E3F5EA; color: #1E8A4C; opacity: 0; transition: opacity .2s; pointer-events: none; }
.phone.is-valid .phone__ok { opacity: 1; }

/* Page annonce sur mobile : pas de tab bar (flèche retour en haut), boutons Message / Partager tout en bas */
@media (max-width: 760px) {
  body:not(:has(.tabbar)) { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  body:not(:has(.tabbar)) .mobilebar { bottom: calc(14px + env(safe-area-inset-bottom)) !important; }
}

/* En bref : une ligne par information, sans trait sous la dernière */
.specs { grid-template-columns: minmax(0, 1fr) !important; }
.specs div:last-child { border-bottom: 0; }


/* Prix converti sur la page annonce : le prix d'origine reste visible en petit */
.listing__price .fxp.is-fx::after { content: ' · ' attr(data-o); font-size: .5em; font-weight: 500; color: var(--muted); vertical-align: middle; }

/* Devise : juste le symbole (€, $US, IDR…), à droite de « Publier » sur ordinateur */
.topbar__fx .picker__btn { min-width: 38px; justify-content: center; padding: 0 12px; }
.topbar__fx .picker__btn .ic { display: none; }
@media (min-width: 761px) {
  .topbar__fx { order: 5; margin-left: 0; }
  .topbar__fx + .topbar__actions { margin-left: auto; }
}

/* Super admin : choix de la période */
.period { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin: -6px 0 16px; }
.period__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.period__chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  color: var(--navy-3); font: 500 14px var(--body); text-decoration: none; cursor: pointer; list-style: none; }
.period__chip::-webkit-details-marker { display: none; }
.period__chip:hover { color: var(--navy); }
.period__chip.is-on { background: var(--navy); color: #fff; box-shadow: none; }
.period__custom { position: relative; }
.period__form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 8px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.period__form label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.period__form input { height: 38px; padding: 0 10px; border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 400 15px var(--body); color: var(--ink); background: #fff; }
@media (max-width: 760px) {
  .period { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .period__chips { flex-wrap: nowrap; }
  .period__chip { white-space: nowrap; }
  .period__custom[open] { position: static; }
  .period__form { position: absolute; left: 16px; right: 16px; z-index: 5; }
  .period { position: relative; }
}

/* Super admin : période choisie avec deux dates */
form.period { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: -6px 0 16px; padding: 12px 14px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); width: fit-content; max-width: 100%; overflow: visible; }
form.period label { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
form.period input { height: 38px; padding: 0 10px; border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 400 15px var(--body); color: var(--ink); background: #fff; }
.period__ic { align-self: center; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bg, #FAF8F4); color: var(--navy); }
@media (max-width: 760px) {
  form.period { width: auto; margin-inline: 0; padding: 12px; flex-wrap: wrap; display: grid; grid-template-columns: 1fr 1fr; }
  form.period .period__ic { display: none; }
  form.period input { width: 100%; font-size: 16px; }
  form.period .btn { grid-column: 1 / -1; }
}

/* Devise : petite flèche pour montrer qu'on peut changer */
.topbar__fx .picker__btn .ic { display: inline-block; width: 14px; height: 14px; margin-left: -2px; opacity: .7; }
.topbar__fx .picker__btn { padding: 0 10px 0 13px; gap: 4px; }

/* Page annonce : un seul prix, dans la devise choisie */
.listing__price .fxp.is-fx::after { content: none; }

/* Mes annonces : fenêtre Partager */
.sharepick__title { margin: -4px 0 0; font-weight: 600; color: var(--navy); }
.sharepick .sharebtns { width: 100%; }

/* Super admin : période en une pastille (du → au) */
form.period.is-pill { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 4px; width: auto; height: 46px; margin: -6px 0 18px; padding: 0 6px 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--navy); }
form.period.is-pill > .ic { flex: 0 0 auto; opacity: .75; margin-right: 4px; }
form.period.is-pill input { height: 34px; padding: 0 10px; border: 0; border-radius: 999px; box-shadow: none; background: transparent; font: 500 14.5px var(--body); color: var(--ink); cursor: pointer; width: auto; }
form.period.is-pill input:hover, form.period.is-pill input:focus { background: var(--bg, #F4F2EE); outline: none; }
form.period.is-pill input::-webkit-calendar-picker-indicator { opacity: .45; cursor: pointer; }
.period__sep { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  form.period.is-pill { display: flex; width: 100%; padding: 0 4px 0 14px; margin-inline: 0; }
  form.period.is-pill input { flex: 1; min-width: 0; font-size: 15px; padding: 0 6px; }
}

/* Super admin : graphique « Nouvelles annonces » qui défile (14 jours visibles) */
.bars-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; cursor: grab; padding-bottom: 4px; }
.bars-scroll.is-drag { cursor: grabbing; user-select: none; }
.bars-scroll .bars { width: max(100%, calc(var(--n) * 100% / 14)); grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }

/* Mes annonces : 6 indicateurs (dont Note du profil et Temps de réponse) */
@media (min-width: 981px) { .stats.stats--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.stat__n--time { font-size: 22px !important; white-space: nowrap; }
@media (max-width: 640px) { .stat__n--time { font-size: 17px !important; } }

@media (min-width: 761px) { form.period.is-pill { justify-self: start; width: fit-content; } }


/* Page annonce : cases Note du profil / Temps de réponse en blanc, juste la bordure */
.sellerstats > div { background: #fff; }

/* Message bref : prend toute la largeur dispo (plus de « boudin » sur 3 lignes), centré, 2 lignes max */
.toast { left: 0; right: 0; margin-inline: auto; width: fit-content; max-width: min(520px, calc(100vw - 32px)); transform: translateY(20px); text-align: center; line-height: 1.35; border-radius: 22px; padding: 12px 20px; }
.toast.is-on { transform: none; }
@media (max-width: 760px) { .toast { font-size: 14px; padding: 11px 16px; } }

/* Pages courtes (favoris sans compte, connexion, inscription) : elles remplissent l'écran, le footer reste en dessous */
.auth { min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); align-content: center; box-sizing: border-box; }
@media (max-width: 760px) { .auth { min-height: calc(100svh - 60px); padding-top: 24px; } }

/* Favoris / connexion / inscription : bloc centré en hauteur dans la partie visible (entre le header et la tab bar) */
.auth { padding-top: 24px; padding-bottom: 24px; }
body:has(.testbar) .auth { min-height: calc(100vh - 104px); min-height: calc(100svh - 104px); }
@media (max-width: 760px) {
  .auth { min-height: calc(100svh - 61px); padding-top: 16px; padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  body:has(.testbar) .auth { min-height: calc(100svh - 97px); }
}

/* Annonce : Contacter (WhatsApp) + Message */
.mobilebar .btn--wa { color: #fff; }

/* Barre du compte sur mobile : Favoris et Publier sont déjà dans la tab bar ; rien pendant la publication */
@media (max-width: 760px) {
  .sidenav .hide-m { display: none !important; }
  .sidenav--publish { display: none !important; }
}
#securite, #bloques { scroll-margin-top: 96px; }

/* Menu hamburger (mobile) */
.topbar__menu { display: none; }
@media (max-width: 760px) {
  .topbar__menu { display: grid; place-items: center; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; padding: 0;
    border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--navy); cursor: pointer; }
  .topbar__back:not([hidden]) { left: 56px; }
}
.drawer { position: fixed; inset: 0; z-index: 110; background: rgba(18, 22, 43, .4); opacity: 0; transition: opacity .22s; }
.drawer[hidden] { display: none; }
.drawer.is-open { opacity: 1; }
.drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(330px, 86vw); display: flex; flex-direction: column; gap: 2px; overflow-y: auto;
  padding: calc(14px + env(safe-area-inset-top)) 14px calc(20px + env(safe-area-inset-bottom)); background: #fff; border-radius: 0 26px 26px 0;
  transform: translateX(-100%); transition: transform .28s cubic-bezier(.3, .8, .3, 1); box-shadow: 12px 0 40px rgba(18, 22, 43, .15); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 12px; }
.drawer__x { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--bg, #F4F2EE); color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; }
.drawer__user { display: flex !important; align-items: center; gap: 12px; padding: 12px !important; margin-bottom: 4px; border-radius: 18px !important; background: var(--bg, #FAF8F4) !important; }
.drawer__user > span:last-child { display: grid; min-width: 0; }
.drawer__user strong { color: var(--navy); font-size: 15.5px; }
.drawer__user small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer__label { margin: 14px 10px 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.drawer__panel > a, .drawer__out button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 10px; border: 0; border-radius: 14px; background: none;
  color: var(--navy-3); font: 500 15.5px var(--body); text-align: left; text-decoration: none; cursor: pointer; }
.drawer__panel > a:hover, .drawer__out button:hover { background: var(--bg, #F4F2EE); color: var(--navy); }
.drawer__panel > a .ic { opacity: .8; }
.drawer__auth { display: grid; gap: 8px; padding: 4px 4px 6px; }
.drawer__out { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.drawer__out button { color: #C0352D; }
@media (min-width: 761px) { .drawer { display: none !important; } }

/* Super admin : audience */
.stats.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 12px; }
@media (max-width: 640px) { .stats.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stats.stats--3 .stat__n { font-size: 22px; } }
.audience__h2 { margin-top: 22px; }
.integ__logo--gsc { background: #fff; color: #4285F4; box-shadow: inset 0 0 0 1px var(--line); font-weight: 800; }

.stats.audience { margin-bottom: 12px; }
.stats.audience .stat__n small { font-size: .55em; font-weight: 600; color: var(--muted); }

/* Compte sur mobile : plus de barre d'onglets (tab bar + menu hamburger suffisent) */
@media (max-width: 760px) { .sidenav { display: none !important; } }
.drawer__user > .ic { margin-left: auto; transform: rotate(-90deg); opacity: .5; }
.drawer__user small { color: var(--muted); }
.drawer__head + .drawer__user { margin-bottom: 10px; }

.drawer__user > span:nth-child(2) { display: grid; min-width: 0; gap: 1px; }


/* Formulaire court (Email et mot de passe) : bouton à sa place, pas collé en bas de l'écran */
@media (max-width: 760px) {
  .form__foot.form__foot--inline { padding-bottom: 0; }
  .form__foot.form__foot--inline .btn--primary { position: static !important; width: 100%; box-shadow: none; }
}

/* Annonce : WhatsApp à gauche, messagerie Tricoly à droite */
.contactbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contactbtns .btn { padding-inline: 10px; }

/* Pages sans tab bar (ouvertes depuis le menu) : le bouton Enregistrer descend tout en bas */
@media (max-width: 760px) {
  body:not(:has(.tabbar)) .form__foot .btn--primary { bottom: calc(14px + env(safe-area-inset-bottom)); }
  body:not(:has(.tabbar)) .form__foot.form__foot--inline .btn--primary { bottom: auto; }
  body:not(:has(.tabbar)) { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}

/* Annonce : fenêtre « Contacter » (WhatsApp ou messagerie Tricoly) */
.contactpick__opts { display: grid; gap: 10px; width: 100%; margin-top: 4px; }
.contactpick__opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); text-decoration: none; color: var(--ink); text-align: left; }
.contactpick__opt:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.contactpick__opt > span:last-child { display: grid; gap: 2px; }
.contactpick__opt strong { font-size: 16px; color: var(--navy); }
.contactpick__opt small { color: var(--muted); font-size: 13.5px; }
.contactpick__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto; background: #25D366; color: #fff; }
.contactpick__ic--msg { background: var(--navy); }
.contactpick__ic svg { width: 22px; height: 22px; }

/* ---------- Radar (super admin) */
.count--blue { background: var(--navy) !important; color: #fff !important; }
.radar .dash__head { align-items: flex-start; }
.radar .notice { margin-bottom: 16px; }
.rlive { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 18px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 12px; }
.rlive__src { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding-right: 18px; border-right: 1px solid var(--line); }
.rlive__src > span:last-child { display: grid; }
.rlive__src small, .rlive__stat small { color: var(--muted); font-size: 12.5px; }
.rlive__stat { display: grid; }
.rlive__stat strong { font-size: 20px; color: var(--navy); line-height: 1.1; }
.rlive__refresh { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rlive__catchup { flex-basis: 100%; margin: 0; font-size: 13.5px; color: var(--navy-3); }
.rdot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; background: #C5C9D6; }
.rdot--ok { background: #22B35E; box-shadow: 0 0 0 4px #E3F5EA; }
.rdot--wait { background: #F2A33A; box-shadow: 0 0 0 4px #FDF1DF; }
.rdot--off { background: #C5C9D6; box-shadow: 0 0 0 4px #F1F2F6; }
.rlimits { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 16px; }
.rlimit { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 6px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.rlimit input { width: 44px; height: 28px; border: 0; border-radius: 8px; background: var(--bg, #F4F2EE); text-align: center; font: 600 14px var(--body); color: var(--ink); }
.rlimit small { color: var(--muted); }
.rlimit.is-over { box-shadow: inset 0 0 0 1.5px #F4C7C3; }
.rlimit.is-over strong { color: #C0352D; }
.rlimit__ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; font: 800 15px var(--body); flex: 0 0 auto; }
.rlimit__ic--whatsapp { background: #25D366; }
.rlimit__ic--facebook { background: #1877F2; }
.rlimits__hint { flex-basis: 100%; margin: 0; font-size: 13px; }
.rtabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.rtab { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--navy-3); font: 500 14px var(--body); text-decoration: none; }
.rtab b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--bg, #F4F2EE); font-size: 12px; display: inline-grid; place-items: center; color: var(--navy); }
.rtab.is-on { background: var(--navy); color: #fff; box-shadow: none; }
.rtab.is-on b { background: rgba(255, 255, 255, .18); color: #fff; }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.rcard { display: grid; grid-template-rows: auto 1fr; background: #fff; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; scroll-margin-top: 90px; }
.rcard__media { position: relative; aspect-ratio: 4 / 3; background: var(--bg, #F4F2EE); }
.rcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rcard__nophoto { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.rcard__more { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(18, 22, 43, .65); color: #fff; font: 600 12.5px var(--body); }
.rbadge { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; font: 700 12px var(--body); color: #fff; }
.rbadge--wa { background: #25D366; }
.rbadge--fb { background: #1877F2; }
.rmsg .rbadge { position: static; }
.rcard__body { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; }
.rcard__body h3 { margin: 0; font-size: 17px; line-height: 1.3; color: var(--navy); }
.rcard__price { margin: -4px 0 0; font-weight: 700; color: var(--navy); }
.rcard__price small { font-weight: 500; color: var(--muted); }
.rcard__who { display: flex; align-items: center; gap: 10px; }
.rcard__who > span:last-child { display: grid; min-width: 0; }
.rcard__who small { color: var(--muted); font-size: 12.5px; }
.rcard__cat .picker__btn { height: 38px; padding: 0 12px; border-radius: 12px; background: var(--bg, #F4F2EE); font-size: 14px; }
.rcard__desc { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rcard__src { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--muted); }
.rcard__src a { color: var(--navy); }
.rcard__note { margin: 0; padding: 8px 10px; border-radius: 12px; background: #F3F5FB; font-size: 13px; color: var(--navy-3); display: flex; gap: 6px; align-items: flex-start; }
.rcard__done { margin: 0; display: flex; gap: 6px; align-items: center; color: #1E8A4C; font-weight: 600; font-size: 14px; }
.rcard__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.rcard__actions form { margin: 0; }
.rcard__edit { border-top: 1px solid var(--line); padding-top: 10px; }
.rcard__edit > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--navy-3); }
.rcard__edit > summary::-webkit-details-marker { display: none; }
.rcard__edit[open] > summary { color: var(--navy); margin-bottom: 4px; }
.rcard__form { margin-top: 10px; gap: 10px; }
.rcard__form .field-row { gap: 10px; }
.rcard__formfoot { display: flex; flex-wrap: wrap; gap: 8px; }
.rcard__code { margin: 10px 0 6px; font-size: 13px; color: var(--muted); }
.rcard__raw summary { cursor: pointer; font-size: 13px; color: var(--navy-3); }
.rcard__raw p { white-space: pre-wrap; font-size: 13px; color: var(--muted); }
.rcard__stop { color: #C0352D; margin-top: 6px; }
.radar__empty { padding: 40px 20px; text-align: center; display: grid; justify-items: center; gap: 4px; background: #fff; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.rread { display: grid; gap: 10px; }
.rmsg { padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; }
.rmsg__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rmsg__text { margin: 0; white-space: pre-wrap; font-size: 14px; line-height: 1.5; }
.rmsg__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.rmsg__foot form { margin: 0; }
.rverdict { margin-left: auto; padding: 3px 10px; border-radius: 999px; font: 600 12px var(--body); background: #F1F2F6; color: var(--navy-3); }
.rverdict--annonce { background: #E3F5EA; color: #1E8A4C; }
.rverdict--doute { background: #FDF1DF; color: #A8650E; }
.rverdict--doublon { background: #EEF0FB; color: var(--navy); }
.radd { margin-top: 18px; }
.radd > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.radd > summary::-webkit-details-marker { display: none; }
.radd form { margin-top: 14px; }
.radd__status { margin: 0; font-size: 14px; }
.rcols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; scroll-margin-top: 90px; }
.rcol { display: grid; gap: 12px; align-content: start; }
.rcol__head { display: flex; align-items: flex-start; gap: 12px; }
.rcol__head h2 { margin: 0 0 2px; font-size: 17px; }
.rcol__head p { margin: 0; font-size: 13.5px; }
.rstate { margin-left: auto; padding: 4px 10px; border-radius: 999px; font: 600 12px var(--body); white-space: nowrap; background: #F1F2F6; color: var(--navy-3); }
.rstate--ok { background: #E3F5EA; color: #1E8A4C; }
.rstate--wait { background: #FDF1DF; color: #A8650E; }
.rcol__info { margin: 0; display: flex; gap: 6px; align-items: center; font-size: 14px; }
.rcol__err { margin: 0; display: flex; gap: 6px; align-items: flex-start; font-size: 14px; color: #C0352D; }
.rcol__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rcol__actions form { margin: 0; }
.rhour label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--navy-3); }
.rhour .picker__btn { height: 34px; padding: 0 10px; border-radius: 10px; background: var(--bg, #F4F2EE); width: auto; font-size: 14px; }
.rqr { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: #F3F5FB; }
.rqr svg { width: 168px; height: 168px; flex: 0 0 auto; border-radius: 12px; background: #fff; }
.rqr p { margin: 0; font-size: 14px; line-height: 1.5; }
.rgroups { display: grid; gap: 8px; max-height: 320px; overflow: auto; padding: 12px; border-radius: 16px; background: var(--bg, #FAF8F4); }
.rgroups__title { margin: 0; font-weight: 600; font-size: 14px; color: var(--navy); }
.rgroups .btn { justify-self: start; }
.rtoken { grid-column: 1 / -1; }
.rtoken > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.rtoken > summary::-webkit-details-marker { display: none; }
.rtoken ol { padding-left: 20px; line-height: 1.7; }
.rtoken code { font-size: 13px; background: var(--bg, #F4F2EE); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.rtoken__box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.integ__logo--claude { background: #D97757; color: #fff; }
@media (max-width: 980px) { .rcols { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .rlive__src { border-right: 0; padding-right: 0; }
  .rlive__refresh { margin-left: 0; }
  .rtabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .rtab { white-space: nowrap; }
  .rgrid { grid-template-columns: 1fr; }
  .rqr { flex-direction: column; text-align: center; }
}

/* ---------- Import en 1 clic (lien envoyé par le Radar) */
.importp { display: grid; place-items: center; padding: 32px 16px 48px; }
.importp__card { width: min(560px, 100%); display: grid; gap: 14px; padding: 28px; border-radius: 28px; background: #fff; box-shadow: 0 14px 44px rgba(18, 22, 43, .08), inset 0 0 0 1px var(--line); text-align: center; justify-items: center; }
.importp__kicker { margin: 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #FDF0EB; color: #D2542F; font: 600 13px var(--body); }
.importp__h1 { margin: 0; font-size: clamp(24px, 4vw, 30px); line-height: 1.15; color: var(--navy); letter-spacing: -.02em; }
.importp__lead { margin: 0; }
.importp__ok { margin-bottom: 4px; }
.importp__preview { width: 100%; display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 12px; border-radius: 20px; background: var(--bg, #FAF8F4); text-align: left; }
.importp__photo { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #fff; align-self: start; }
.importp__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.importp__body { display: grid; gap: 4px; align-content: start; min-width: 0; }
.importp__body h2 { margin: 2px 0 0; font-size: 17px; line-height: 1.3; color: var(--navy); }
.importp__price { margin: 0; font-weight: 700; color: var(--navy); }
.importp__place { margin: 0; font-size: 13px; display: flex; gap: 4px; align-items: center; }
.importp__desc { margin: 4px 0 0; font-size: 13.5px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.importp__who { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.importp__who > span:last-child { display: grid; }
.importp__who small { color: var(--muted); font-size: 12px; }
.importp__form { width: 100%; text-align: left; gap: 12px; }
.importp__as { margin: 0; display: flex; gap: 6px; align-items: center; font-size: 14px; }
.importp__perks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.importp__perks li { display: inline-flex; gap: 6px; align-items: center; }
.importp__perks .ic { color: #1E8A4C; }
@media (max-width: 560px) {
  .importp { padding: 16px 12px 40px; }
  .importp__card { padding: 22px 16px; border-radius: 24px; }
  .importp__preview { grid-template-columns: 1fr; }
}

/* Header mobile : flèche retour tout à gauche (décalée seulement à côté du bouton menu) */
@media (max-width: 760px) {
  .topbar__back:not([hidden]) { left: 12px; }
  .topbar__menu ~ .topbar__back:not([hidden]) { left: 56px; }
}

/* Au toucher : pas de carré gris derrière les liens et boutons (iOS / Android), juste un léger enfoncement */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, label, input, select, textarea, [role="button"] { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none; }
.btn:active, .chip:active, .tabbar__item:active, .rtab:active { transform: scale(.97); }
.btn, .chip, .rtab { transition: transform .12s ease, background-color .15s, color .15s, box-shadow .15s; }

/* Message sans compte */
.guestmsg { text-align: left; justify-items: stretch; }
.guestmsg__who { display: flex; align-items: center; gap: 12px; }
.guestmsg__who h1 { margin: 0; font-size: 20px; color: var(--navy); }
.guestmsg__who > div { display: grid; gap: 2px; }
.guestmsg__listing { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--bg, #FAF8F4); text-decoration: none; color: var(--ink); }
.guestmsg__listing img { border-radius: 10px; object-fit: cover; }
.guestmsg__listing span { display: grid; min-width: 0; }
.guestmsg__listing small { color: var(--muted); font-size: 12px; }
.guestmsg__listing strong { color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guestmsg .flash { margin: 0; }
/* Conversation d'un invité : activer le compte pour répondre */
.chat__activate { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 10px 12px 12px; padding: 14px 16px; border-radius: 18px; background: #F3F5FB; }
.chat__activate p { margin: 0; display: grid; gap: 2px; }
.chat__activate small { color: var(--muted); font-size: 13px; }
/* Connexion : lien par email */
.auth__link { width: 100%; text-align: left; }
.auth__link > summary { cursor: pointer; list-style: none; font-size: 14px; color: var(--navy-3); text-align: center; }
.auth__link > summary::-webkit-details-marker { display: none; }
.auth__link form { margin-top: 10px; }
/* Intégrations verrouillées */
.integlock { max-width: 440px; margin: 20px auto; display: grid; gap: 12px; justify-items: center; text-align: center; padding: 28px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.integlock form { width: 100%; text-align: left; }

/* ---------- Blog */
.blogp { display: grid; gap: 22px; padding-block: 8px 40px; }
.blogp__head { display: grid; gap: 6px; }
.bloggrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bloggrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blogcard { display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); transition: transform .15s; }
.blogcard:hover { transform: translateY(-2px); }
.blogcard__img { aspect-ratio: 16 / 10; background: var(--bg, #F4F2EE); display: block; }
.blogcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blogcard__ph { display: grid; place-items: center; height: 100%; color: var(--muted); }
.blogcard__body { display: grid; gap: 6px; padding: 14px 16px 18px; align-content: start; }
.blogcard__body strong { font-family: var(--display, inherit); font-size: 17px; line-height: 1.3; color: var(--navy); }
.blogcard__meta { color: var(--muted); font-size: 12.5px; }
.blogcard__ex { color: var(--ink); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blogcard--lead { grid-column: span 2; grid-template-columns: 1.2fr 1fr; grid-template-rows: none; }
.blogcard--lead .blogcard__img { aspect-ratio: auto; min-height: 260px; }
.blogcard--lead .blogcard__body { padding: 22px; align-content: center; }
.blogcard--lead .blogcard__body strong { font-size: 24px; }
.post { display: grid; gap: 22px; padding-block: 8px 48px; }
.post__head { display: grid; gap: 12px; max-width: 820px; }
.post__head h1 { margin: 0; font-family: var(--display, inherit); font-size: clamp(28px, 4.2vw, 42px); line-height: 1.15; color: var(--navy); letter-spacing: -.02em; text-wrap: balance; }
.post__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 14px; }
.post__meta span { display: inline-flex; align-items: center; gap: 6px; }
.post__cover { width: 100%; max-width: 980px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; }
.post__layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 36px; align-items: start; }
.post__toc { position: sticky; top: 96px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.post__toc p { margin: 0 0 8px; font-weight: 700; color: var(--navy); }
.post__toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.post__toc a { color: var(--navy-3); text-decoration: none; }
.post__toc a:hover { color: var(--navy); text-decoration: underline; }
.post__body { max-width: 720px; font-size: 17px; line-height: 1.75; color: var(--ink); }
.post__body h2 { margin: 1.8em 0 .5em; font-family: var(--display, inherit); font-size: 25px; line-height: 1.25; color: var(--navy); scroll-margin-top: 90px; }
.post__body h3 { margin: 1.4em 0 .4em; font-size: 19px; color: var(--navy); scroll-margin-top: 90px; }
.post__body p { margin: 0 0 1.1em; }
.post__body ul, .post__body ol { padding-left: 22px; margin: 0 0 1.1em; }
.post__body li { margin-bottom: .35em; }
.post__body a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange, #F26B4F); text-underline-offset: 3px; }
.post__body blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 3px solid var(--orange, #F26B4F); background: #fff; border-radius: 0; }
.post__body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; display: block; overflow-x: auto; }
.post__body th, .post__body td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.post__faq { margin-top: 2em; }
.post__faq details { padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 8px; }
.post__faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.post__faq details p { margin: 8px 0 0; font-size: 16px; }
.post__cta { margin-top: 2em; padding: 20px 22px; border-radius: 22px; background: #F3F5FB; display: grid; gap: 6px; }
.post__cta strong { font-size: 18px; color: var(--navy); }
.post__cta p { margin: 0; font-size: 15px; }
.post__cta div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.post__cta a { text-decoration: none; }
.post__related h2 { font-size: 22px; color: var(--navy); }
@media (max-width: 980px) { .bloggrid, .bloggrid--3 { grid-template-columns: 1fr 1fr; } .post__layout { grid-template-columns: 1fr; } .post__toc { position: static; } }
@media (max-width: 640px) { .bloggrid, .bloggrid--3 { grid-template-columns: 1fr; } .blogcard--lead { grid-column: auto; grid-template-columns: 1fr; } .blogcard--lead .blogcard__img { min-height: 0; aspect-ratio: 16 / 10; } .post__body { font-size: 16.5px; } }

/* ---------- Super admin › SEO & GEO */
.seo .panel h2 { display: flex; align-items: center; gap: 8px; }
.seo__cols { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.seo__search { display: flex; gap: 8px; margin: 10px 0 14px; }
.seo__search input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line-2); font: 400 15px var(--body); }
.seo__hint { font-size: 13px; margin: 8px 0 0; }
.kwtable { display: grid; gap: 2px; }
.kwtable__head, .kwtable__row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 90px auto; gap: 10px; align-items: center; padding: 8px 10px; }
.kwtable__head { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.kwtable__row { border-radius: 12px; }
.kwtable__row:hover { background: var(--bg, #FAF8F4); }
.kwtable__row strong { font-weight: 500; overflow-wrap: anywhere; }
.kwtable .num { font-variant-numeric: tabular-nums; }
.kd { padding: 2px 8px; border-radius: 999px; font-size: 12.5px; }
.kd--easy { background: #E3F5EA; color: #1E8A4C; } .kd--mid { background: #FDF1DF; color: #A8650E; } .kd--hard { background: #FDECEC; color: #C0352D; }
.seolist { display: grid; gap: 4px; }
.seolist__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.seolist__row:hover { background: var(--bg, #FAF8F4); }
.seolist__t { display: grid; min-width: 0; }
.seolist__t small { color: var(--muted); font-size: 13px; }
.seoscore { display: inline-grid; place-items: center; min-width: 40px; height: 30px; padding: 0 8px; border-radius: 10px; font: 700 14px var(--body); }
.seoscore--ok { background: #E3F5EA; color: #1E8A4C; } .seoscore--mid { background: #FDF1DF; color: #A8650E; } .seoscore--low { background: #FDECEC; color: #C0352D; }
.checks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); }
.checks li span { color: #C0352D; display: inline-grid; padding-top: 2px; }
.checks li.is-ok { color: var(--ink); }
.checks li.is-ok span { color: #1E8A4C; }
.seo__links { margin: 12px 0 0; font-size: 14px; }
.seo__back { font-size: 14px; }
.seo__back .ic { transform: rotate(180deg); }
.seo__h1 { font-size: clamp(22px, 3vw, 30px) !important; }
.seo__actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.seo__actions form { margin: 0; }
.seoedit { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.seoedit__side { display: grid; gap: 14px; position: sticky; top: 90px; }
.seoedit__md { font: 400 14px/1.6 ui-monospace, Consolas, monospace; }
.seoedit__cover { width: 100%; border-radius: 12px; margin-bottom: 8px; }
.seoedit__preview { max-width: none; }
.serp { display: grid; gap: 2px; font-family: Arial, sans-serif; }
.serp small { color: #4d5156; font-size: 12.5px; }
.serp strong { color: #1a0dab; font-weight: 400; font-size: 18px; line-height: 1.3; }
.serp p { margin: 0; color: #4d5156; font-size: 13.5px; line-height: 1.5; }
.seo__del { color: #C0352D; }
.integ__logo--dfs { background: #0F62FE; color: #fff; font-size: 12px; }
@media (max-width: 980px) { .seo__cols, .seoedit { grid-template-columns: 1fr; } .seoedit__side { position: static; } }
@media (max-width: 640px) { .kwtable__head { display: none; } .kwtable__row { grid-template-columns: minmax(0, 1fr) auto; } .kwtable__row .num::after { content: ' / mois'; color: var(--muted); font-size: 12px; } }

.seo__cols { align-items: start; }
.seo .panel > h2:first-child { margin-top: 0; }
.seo .panel { align-content: start; }


/* Notifications : cloche du header (à gauche sur mobile, dans les actions sur ordinateur) */
.bell { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--navy); text-decoration: none; flex: 0 0 auto; }
.bell__dot { position: absolute; top: -3px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--coral, #F26B4F); color: #fff; font: 700 11px/18px var(--body); text-align: center; }
.bell--m { display: none; }
@media (max-width: 760px) {
  .bell--m { display: grid; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); }
  .topbar__menu ~ .bell--m, .topbar__back:not([hidden]) ~ .bell--m { left: 56px; }
  .topbar__menu ~ .topbar__back:not([hidden]) ~ .bell--m { left: 100px; }
}
.notifmodal__box { justify-items: stretch; text-align: left; }
.notifmodal__box h2 { padding-right: 40px; }
.notifmodal__list { width: auto; max-height: min(64vh, 540px); overflow-y: auto; margin: 0 -8px; }
@media (min-width: 761px) { .notifmodal { place-items: start end; padding: 76px 24px 24px; } }
.nflist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nfi { display: flex; align-items: flex-start; gap: 12px; padding: 10px 8px; border-radius: 16px; color: var(--ink); text-decoration: none; }
.nfi:hover { background: #F4F6FB; }
.nfi.is-new { background: #FFF5F1; }
.nfi__ic { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #EEF1FA; color: var(--navy); }
.nfi__ic--favori { background: #FFE9E3; color: #E0533A; }
.nfi__ic--vues, .nfi__ic--boost_fin { background: #FFF1DE; color: #C26A00; }
.nfi__ic--validee { background: #E3F6EA; color: #1E8A4C; }
.nfi__ic--refusee { background: #FDECEC; color: #C0392B; }
.nfi__txt { display: grid; gap: 2px; font-size: 14.5px; line-height: 1.4; }
.nfi__txt small { color: var(--muted); font-size: 12.5px; }
.nflist__empty { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 26px 12px; color: var(--muted); }
.nflist__empty p { margin: 0; color: var(--ink); font-weight: 600; }

/* Centre d'aide */
.help { max-width: 760px; padding-top: 28px; padding-bottom: 48px; display: grid; gap: 26px; }
.help__head { display: grid; gap: 8px; }
.help__head p { margin: 0; }
.help__crumb { font-size: 14px; }
.help__crumb a { color: var(--muted); }
.ttl--sm { font-size: clamp(24px, 4vw, 32px); }
.help__block { display: grid; gap: 12px; }
.help__block h2 { margin: 0; font-size: 19px; }
.help__form { gap: 16px; }
.help__note { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 14px; }
.help__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.faq { display: grid; gap: 8px; }
.faq__item { background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 18px; cursor: pointer; font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { transition: transform .2s; flex: 0 0 auto; }
.faq__item[open] summary .ic { transform: rotate(90deg); }
.faq__item p { margin: 0; padding: 0 18px 16px; color: var(--navy-3); line-height: 1.6; }
.tklist { display: grid; gap: 8px; }
.tklist__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; }
.tklist__item:hover { box-shadow: inset 0 0 0 1px var(--navy-3); }
.tklist__main { display: grid; gap: 3px; min-width: 0; }
.tklist__main small { color: var(--muted); }
.tklist__last { color: var(--navy-3); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkstatus { display: inline-block; flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.tkstatus--ouvert { background: #FFF1DE; color: #A35A00; }
.tkstatus--repondu { background: #E3F6EA; color: #1E8A4C; }
.tkstatus--ferme { background: #EEEFF3; color: var(--muted); }
.tkthread { display: grid; gap: 12px; }
.tkmsg { padding: 14px 16px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tkmsg--team { background: #F3F5FB; box-shadow: none; }
.tkmsg header { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.tkmsg header small { color: var(--muted); }
.tkmsg p { margin: 0; white-space: pre-wrap; line-height: 1.6; overflow-wrap: anywhere; }
@media (max-width: 760px) { .tklist__item { align-items: flex-start; flex-direction: column; } }

/* Partager : vrais logos (Telegram et Facebook sont déjà ronds : le logo remplit la pastille) */
.ssi--tg, .ssi--fb { background: #fff; padding: 0; }
.ssi--tg { color: #26A5E4; } .ssi--fb { color: #0866FF; }
.ssi--tg svg, .ssi--fb svg { width: 52px; height: 52px; }
.ssi--wa svg { width: 28px; height: 28px; }
.ssi--mail { background: #EEF1F7; color: var(--navy); } .ssi--copy { background: #EEF1F7; color: var(--navy); }
.ssi--mail svg, .ssi--copy svg { width: 24px; height: 24px; }

/* Super admin › Animation */
.actbar { position: relative; z-index: 30; background: #1D2B6C; color: #fff; font-size: 14px; }
.actbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.actbar__in span { display: inline-flex; align-items: center; gap: 6px; }
.actbar button { border: 0; border-radius: 999px; padding: 6px 14px; background: #fff; color: #1D2B6C; font: 600 13px var(--body); cursor: pointer; white-space: nowrap; }
.anim__h { margin: 0; font-size: 18px; }
.anim__list { display: grid; gap: 10px; }
.anim__row { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.anim__row:last-child { border-bottom: 0; }
.anim__row .count { margin-left: 0; }
.anim__main { display: grid; gap: 2px; flex: 1; min-width: 0; }
.anim__main small { color: var(--muted); }
.anim__row form { margin: 0; }
.anim__rule { display: flex; align-items: center; gap: 6px; font-size: 14px; }
@media (max-width: 760px) { .anim__row { flex-wrap: wrap; } .anim__main { flex-basis: calc(100% - 60px); } }
.anim__sec { display: grid; gap: 14px; margin-top: 10px; }
.anim__sechead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.anim__sechead .anim__h { display: flex; align-items: center; gap: 10px; }
.anim__sec > p { margin: 0; }
.anim__auto { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.botact { display: flex; align-items: flex-start; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); margin: 0; }
.botact:last-child { border-bottom: 0; }
.botact__main { display: grid; gap: 6px; flex: 1; min-width: 0; line-height: 1.45; }
.botact__main textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font: 15px var(--body); resize: vertical; }
.botact__btns { display: flex; gap: 6px; flex: 0 0 auto; }
.anim__done summary { cursor: pointer; font-weight: 600; }
.anim__done p { margin: 6px 0 0; }
@media (max-width: 760px) { .botact { flex-wrap: wrap; } .botact__main { flex-basis: calc(100% - 52px); } .botact__btns { width: 100%; justify-content: flex-end; } }

/* Intégrations › Cloudflare R2 */
.integ__logo--r2 { background: #FFF1E6; color: #F38020; font-weight: 800; }
.r2sync { display: grid; gap: 8px; padding: 12px 14px; border-radius: 16px; background: #F6F8FC; }
.r2sync p { margin: 0; }
.r2sync__bar { height: 8px; border-radius: 999px; background: #E3E8F2; overflow: hidden; }
.r2sync__bar i { display: block; height: 100%; border-radius: 999px; background: #F38020; transition: width .3s; }

/* Champ mot de passe avec un œil */
.pwd { position: relative; display: block; }
.pwd > input { width: 100%; padding-right: 48px !important; }
.pwd__eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.pwd__eye:hover { color: var(--navy); background: #F1F3F8; }
.pwd__eye svg { width: 20px; height: 20px; }

/* Menu du compte (ordinateur) : suppression et déconnexion en bas, à part */
.sidenav__end { display: grid; gap: 4px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.sidenav__end form { margin: 0; }
.sidenav .sidenav__danger { color: #C0352D; }
.sidenav .sidenav__danger:hover { background: #FDECEC; color: #A52A22; }

/* Marketing : photo de l'email */
.mkphoto__prev { display: block; width: 100%; max-width: 420px; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 14px; margin-top: 4px; }
.mkphoto__prev[hidden] { display: none; }

/* Connexion, inscription, activation : titre et sous-titre centrés partout */
.auth__card > h1.ttl, .auth__card > h1 + p.muted { text-align: center; margin-left: auto; margin-right: auto; }

/* Visionneuse de photos */
.rcard__media.is-zoom { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(10, 12, 24, .92); padding: 56px 12px; }
.lb img { max-width: min(1100px, 100%); max-height: 100%; object-fit: contain; border-radius: 12px; user-select: none; }
.lb__x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lb__n { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); color: #fff; font: 600 14px var(--body); }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
.lb__nav[hidden] { display: none; }
.lb__nav--prev { left: 14px; } .lb__nav--next { right: 14px; }
.lb__x:hover, .lb__nav:hover { background: rgba(255, 255, 255, .28); }

/* Visionneuse : la photo tient toujours dans l'écran, avec de la marge */
.lb img { width: auto; height: auto; max-width: min(860px, calc(100vw - 140px)); max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); }
@media (max-width: 760px) { .lb img { max-width: calc(100vw - 24px); max-height: calc(100dvh - 160px); } .lb__nav { top: auto; bottom: 24px; transform: none; } }

/* Radar : la liste des catégories n'est plus coupée par la carte et défile si besoin */
.rcard { overflow: visible; position: relative; }
.rcard__media { overflow: hidden; border-radius: 22px 22px 0 0; }
.rcard:focus-within { z-index: 6; }
.rcard__cat .picker__panel { max-height: none; overflow: visible; }
.rcard__cat .picker__list { max-height: min(280px, 45vh); overflow-y: auto; overscroll-behavior: contain; }
