/* Ce que la plateforme ajoute aux pages du site validé (jamais servi en même temps que app.css, dont les classes se heurtent à celles du site).
   Lien de connexion de l'en-tête, parties vivantes de la fiche (classement, formulaire d'offre, « Prévenez-moi »), coup de marteau. */
.vt-compte { color: var(--on-dark, #fff); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 3px; }
.vt-compte:hover { border-color: var(--lime, #7fdad3); color: var(--lime, #7fdad3); }
.vt-bloc .btn { margin: 4px 8px 4px 0; }
/* « Une question sur ce bateau ? » : deux boutons côte à côte, ou l'un sous l'autre avec un vrai espace sur mobile (ils se collaient). */
.fq { display: flex; flex-wrap: wrap; gap: 12px; }
.fq .btn { margin: 0; }
.vt-action { margin-top: 12px; }
.vt-action .btn { margin-top: 8px; }
.vt-offre .fl { margin-top: 10px; }
.vt-offre .chkl { margin-top: 10px; align-items: flex-start; }
.vt-offre .btn { margin-top: 14px; }
.vt-suivre { margin-top: 10px; }
.vt-suivre .btn { width: 100%; }
/* Le champ piège à robots des formulaires (visite, newsletter) reste hors écran : la fiche ne charge que cette feuille, pas app.css ni plateforme.css, qui portent la même règle. */
.hp{position:absolute;left:-9999px}
/* Les deux journées de visite : deux cartes à choisir (src/web/visites.ts, dayChoice). Le bouton radio reste dans la carte, invisible mais atteignable au clavier. */
.vdays { min-width: 0; margin: 18px 0 8px; padding: 0; border: 0; }
.vdays legend { padding: 0; margin: 0 0 10px; font: 700 14px/1.3 var(--text-font, sans-serif); letter-spacing: .1em; text-transform: uppercase; color: var(--ink, #25243F); }
.vday-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.vday { display: block; position: relative; margin: 0; cursor: pointer; }
.vday input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.vday .vday-card { display: flex; flex-direction: column; width: 100%; height: 100%; box-sizing: border-box; overflow: hidden; padding: 18px 18px 0; border: 2px solid var(--line-strong, rgba(37, 36, 63, .3)); border-radius: 3px; background: #fff; text-align: left; letter-spacing: 0; text-transform: none; transition: border-color .2s, background .2s, box-shadow .2s, opacity .2s; }
.vday:hover .vday-card { border-color: var(--ink, #25243F); }
.vday-wd { font: 700 13px/1.3 var(--text-font, sans-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #596272); }
.vday-date { margin-top: 2px; font: 500 24px/1.15 var(--display, Georgia, serif); color: var(--ink, #25243F); }
.vday-date b { margin-right: 4px; font-size: 46px; font-weight: 600; vertical-align: -3px; }
.vday-hours { display: block; margin-top: 10px; font: 700 17px/1.3 var(--text-font, sans-serif); color: var(--ink, #25243F); }
.vday-hours::first-letter { text-transform: uppercase; }
.vday-city { margin: 2px 0 16px; font: 500 16px/1.4 var(--text-font, sans-serif); color: var(--muted, #596272); }
.vday-pick { display: flex; align-items: center; justify-content: center; gap: 9px; margin: auto -18px 0; padding: 13px 18px; border-top: 1px solid var(--line, #E2E6E2); background: var(--sand, #ECEBE2); font: 700 13px/1.3 var(--text-font, sans-serif); letter-spacing: .12em; text-transform: uppercase; color: var(--ink, #25243F); transition: background .2s, color .2s; }
.vday-off::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 9px; border: 2px solid var(--ink, #25243F); border-radius: 50%; box-sizing: border-box; vertical-align: -3px; }
.vday-on { display: none; }
.vday-on::before { content: "\2713"; margin-right: 9px; }
.vday input:checked + .vday-card { border-color: var(--ink, #25243F); background: rgba(127, 218, 211, .2); box-shadow: 0 0 0 1px var(--ink, #25243F); }
.vday input:checked + .vday-card .vday-pick { background: var(--ink, #25243F); border-top-color: var(--ink, #25243F); color: var(--lime, #7FDAD3); }
.vday input:checked + .vday-card .vday-off { display: none; }
.vday input:checked + .vday-card .vday-on { display: inline; }
.vday-grid:has(input:checked) .vday input:not(:checked) + .vday-card { opacity: .62; }
.vday input:focus-visible + .vday-card { outline: 3px solid var(--ink, #25243F); outline-offset: 3px; }
.fsec table.ranking th.r, .fsec table.ranking td.r { text-align: right; }
.fsec table.ranking[hidden] { display: none; }
:root { --lime: #7FDAD3; --night: #1B1A30; }
/* Le coup de marteau : l'ouverture de la vente d'un bateau. Un marteau frappe son bloc (animation CSS) avec un son synthétisé par
   public/marteau.js. Le coup tombe à 1 s ; tous les temps ci-dessous sont ceux d'une seule durée de 2,6 s. */
.ouverture-actions { margin: 0 0 1rem; }
.son { font-size: .9rem; }
.son[aria-pressed="true"] { background: var(--lime); border-color: var(--night); }
.bandeau-ouverture[hidden] { display: none; }
.scene { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; cursor: pointer;
  background: radial-gradient(ellipse at 50% 45%, rgba(40, 38, 82, .985), rgba(12, 12, 28, .99)); animation: scene-entree .35s ease-out both; }
.scene[hidden] { display: none; }
.scene-contenu { width: min(92vw, 640px); text-align: center; }
.marteau { width: 100%; height: auto; max-height: 56vh; overflow: visible; display: block; margin: 0 auto; }
.marteau-geste { transform-origin: 0 0; animation: marteau-frappe 2.6s linear both; }
.marteau-bloc { animation: marteau-secousse 2.6s linear both; }
.marteau-eclat { transform-box: fill-box; transform-origin: center; opacity: 0; animation: marteau-flash 2.6s linear both; }
.marteau-choc { transform-box: fill-box; transform-origin: center; opacity: 0; animation: marteau-onde 2.6s linear both; }
.marteau-choc-2 { animation-name: marteau-onde-2; }
.marteau-eclats circle { opacity: 0; animation: marteau-vol 2.6s linear both; }
.marteau-eclats .e1 { --dx: -62px; --dy: -58px; }
.marteau-eclats .e2 { --dx: -8px; --dy: -84px; }
.marteau-eclats .e3 { --dx: 58px; --dy: -64px; }
.marteau-eclats .e4 { --dx: -96px; --dy: -22px; }
.marteau-eclats .e5 { --dx: 98px; --dy: -26px; }
.marteau-eclats .e6 { --dx: 24px; --dy: -50px; }
.scene-texte { margin: .6rem 0 0; font-family: 'EB Garamond', Georgia, serif; font-weight: 700; font-size: clamp(1.8rem, 6vw, 2.8rem); color: #f6f5ef; letter-spacing: .01em;
  opacity: 0; animation: marteau-titre 2.6s ease-out both; }
@keyframes scene-entree { from { opacity: 0; } to { opacity: 1; } }
@keyframes marteau-frappe {
  0% { transform: rotate(44deg); }
  19% { transform: rotate(44deg); animation-timing-function: cubic-bezier(.3, 0, .4, 1); }
  34.6% { transform: rotate(56deg); animation-timing-function: cubic-bezier(.55, 0, 1, .55); }
  38.5% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.2, .6, .4, 1); }
  46.9% { transform: rotate(11deg); animation-timing-function: cubic-bezier(.6, 0, 1, .6); }
  53.1% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.2, .6, .4, 1); }
  57.7% { transform: rotate(3.5deg); animation-timing-function: cubic-bezier(.6, 0, 1, .6); }
  60.8% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}
@keyframes marteau-secousse {
  0%, 38% { transform: translateY(0); }
  39.5% { transform: translateY(5px); }
  43% { transform: translateY(0); }
  53.1% { transform: translateY(0); }
  54.4% { transform: translateY(2px); }
  57% { transform: translateY(0); }
  100% { transform: translateY(0); }
}
@keyframes marteau-flash { 0%, 38% { opacity: 0; transform: scale(.6); } 39.5% { opacity: .95; transform: scale(1); } 56% { opacity: 0; transform: scale(1.25); } 100% { opacity: 0; } }
@keyframes marteau-onde { 0%, 38% { opacity: 0; transform: scale(.5); } 39% { opacity: .95; transform: scale(.5); } 62% { opacity: 0; transform: scale(4.2); } 100% { opacity: 0; transform: scale(4.2); } }
@keyframes marteau-onde-2 { 0%, 40% { opacity: 0; transform: scale(.4); } 41% { opacity: .8; transform: scale(.4); } 66% { opacity: 0; transform: scale(3); } 100% { opacity: 0; transform: scale(3); } }
@keyframes marteau-vol {
  0%, 38% { opacity: 0; transform: translate(0, 0); }
  39.5% { opacity: 1; transform: translate(0, 0); }
  62% { opacity: 0; transform: translate(var(--dx), var(--dy)); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)); }
}
@keyframes marteau-titre { 0%, 40% { opacity: 0; transform: translateY(14px) scale(.96); } 52% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .scene { display: none !important; }
}

/* La fiche vivante n'a pas l'identifiant #fiche du site (il réveille la démonstration d'enchère de js/boost.js) : ses règles, reprises ici. */
@media (min-width: 901px) {
  #annonce-vivante .two > aside { grid-column: 2; grid-row: 1; }
  #annonce-vivante .two > div { grid-column: 1; grid-row: 1; }
}
#annonce-vivante { padding-top: clamp(22px, 2.6vw, 34px); }
#annonce-vivante > .wrap > .fil { margin: 0 0 clamp(20px, 2.6vw, 32px); font-size: 14.5px; }
#annonce-vivante > .wrap > .fil i:nth-last-child(2) { display: none; }
#annonce-vivante > .wrap > .fil [aria-current] { flex-basis: 100%; }

/* L'en-tête du site porte « Mon espace » (ou « Connexion ») à droite du menu ; sur téléphone, le bouton de menu du site ne laisse pas
   de place dans la barre : le lien passe dans le menu plein écran (nav.m), au style de ses liens. */
.vt-nav { display: none; }
@media (max-width: 980px) {
  .vt-compte { display: none; }
  nav.m .vt-nav { display: block; }
}

/* Entre le menu plein écran et les grands écrans, la barre est étroite : « Mon espace » la resserre un peu. */
@media (min-width: 981px) and (max-width: 1200px) {
  header.top .wrap { gap: 12px; }
  header.top nav.m { gap: 16px; }
  header.top nav.m a { font-size: 13px; letter-spacing: .1em; }
  .vt-compte { padding: 6px 9px; font-size: 14px; }
}

/* Page enchères : le bloc « Être prévenu des nouvelles annonces » sous le compteur, et la confirmation du cœur. */
.vt-alerte { margin: 22px 0 8px; padding: clamp(18px, 2.4vw, 26px); }
.vt-alerte h3 { margin: 0 0 6px; font-size: clamp(19px, 1.8vw, 23px); }
.vt-alerte p { margin: 0 0 12px; }
.vt-alerte-aide { font-size: 14px; color: var(--muted); }
.vt-alerte-champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px 16px; margin: 0 0 14px; }
.vt-champ select, .vt-champ input { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line-strong, #c9c9c0); border-radius: 3px; background: #fff; font: 16px/1.3 var(--text-font, inherit); color: inherit; }
.vt-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 90; max-width: min(92vw, 420px); padding: 11px 18px; border-radius: 3px; background: var(--night, #25243f); color: #fff; font: 600 14px/1.35 var(--text-font, inherit); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Téléphone (étape D, mobile) : des cibles tactiles d'au moins 44 px et rien qui élargisse la page. Tout est sous une requête de largeur : sur ordinateur, rien ne change. */
@media (max-width: 900px) {
  header.top .logo, footer .logo { display: inline-flex; align-items: center; min-height: 44px; }
  header.top .lang a, header.top .lang span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding-top: 0; padding-bottom: 0; }
  header.top .burger { width: 44px; height: 44px; }
  .vt-compte { min-height: 44px; }
  .act-b, .fav { min-height: 44px; }
  .fav { width: 44px; height: 44px; }
  .df-pause, .hx-pause { width: 44px; height: 44px; font-size: .75rem; }
  .hx-seg { height: 44px; }
  .hx-seg:before, .hx-seg i { top: 21px; }
  .an-seg { height: 44px; }
  .an-seg:before, .an-seg i { top: 16px; }
  summary { min-height: 44px; display: list-item; padding-top: 10px; }
  .gal-th button { min-height: 44px; }
  input[type=range] { min-height: 44px; }
  .bx-why .tag, .act h3 .tag, .tag { font-size: 12px; }
  table.table { display: block; max-width: 100%; overflow-x: auto; }
  .fsec table.ranking th, .fsec table.ranking td { padding-left: 8px; padding-right: 8px; }
  footer a { display: inline-flex; align-items: center; min-height: 44px; }
  footer .fcols a { display: flex; }
  .fbot a { min-width: 44px; justify-content: center; }
  p.cat-types a { padding-top: 11.5px; padding-bottom: 11.5px; }
  .nl-int label { display: inline-flex; align-items: center; min-height: 44px; }
  .fil a { display: inline-flex; align-items: center; min-height: 44px; }
  .nl-x { width: 44px; height: 44px; }
  .nl-later { min-height: 44px; }
}
/* Le classement des offres à 320 px : colonnes serrées, date qui passe à la ligne, et au besoin la table défile dans sa largeur. */
@media (max-width: 380px) {
  .fsec table.ranking { font-size: 13.5px; display: block; max-width: 100%; overflow-x: auto; }
  .fsec table.ranking th, .fsec table.ranking td { padding-left: 6px; padding-right: 6px; }
}

/* Barre du bas : l'offre et le compte à rebours se lisent comme deux blocs (filet entre les deux, étiquette en petites capitales, offre plus grosse, décompte en chiffres alignés). */
.bar-m .bm-p, .bar-m .bm-t { display: flex; flex-direction: column; gap: 2px; }
.bar-m .bm-t { padding-left: 12px; border-left: 1px solid rgba(0, 0, 0, .18); }
.bar-m small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.bar-m .bm-p b { font-size: 20px; line-height: 1.1; }
.bar-m .bm-t b { font-variant-numeric: tabular-nums; font-weight: 600; opacity: .85; }

/* La barre « Enchérir » du bas de la fiche : à 360 px, le temps restant n'est plus coupé. */
@media (max-width: 420px) {
  .bar-m { gap: 8px; }
  .bar-m .btn { padding: 10px 12px; letter-spacing: .04em; }
  .bm-p b { font-size: 19px; }
  .bm-t b { font-size: 12px; }
}

/* La pastille verte d'une enchère en cours (21/11, « Enchère en cours » en vert avec un point live qui bouge, pendant de « Enchère clôturée ») : balisage de
   cartes.ts, posée en haut à gauche de la photo ; le décompte (ou « Petit prix ») descend en bas de la photo, seulement quand la pastille est là. */
.lot .lvp{position:absolute;top:12px;left:12px;z-index:2;display:inline-flex;align-items:center;gap:8px;padding:8px 15px 8px 12px;border-radius:999px;background:#15803d;color:#fff;font:600 15px/1.2 var(--text-font);letter-spacing:0;text-transform:none;white-space:nowrap;box-shadow:0 1px 3px rgba(0,0,0,.18)}
.lot .lvp:before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 0 rgba(255,255,255,.75);animation:bx-live 1.8s ease-out infinite}
@keyframes bx-live{0%{box-shadow:0 0 0 0 rgba(255,255,255,.75)}70%,100%{box-shadow:0 0 0 8px rgba(255,255,255,0)}}
.lot .lvp~.cdp,.lot .lvp~.tg{top:auto;bottom:12px}
@media(prefers-reduced-motion:reduce){.lot .lvp:before{animation:none}}
/* Dernières heures (moins de 2 jours avant la clôture) : la pastille passe au rouge du décompte pressant. Enchère à venir : pastille neutre, sans point
   qui pulse, et le décompte de dessous dit « Ouverture dans » en toutes lettres (le mot reste caché pour les autres décomptes). */
.lot .lvp.lvp-fin{background:var(--urgent,#B2464C)}
.lot .lvp.lvp-next{padding-left:15px;background:rgba(27,26,48,.85);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.lot .lvp.lvp-next:before{display:none}
.lot .cdp.avenir .sr{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}

/* L'étiquette « N offres déjà posées » (21/11) : calée en bas de la tuile, juste au-dessus du bandeau du prix, au lieu de suivre le texte (elle montait ou
   descendait selon que les pastilles du type et du carburant tenaient sur une ou deux lignes). C'est elle qui prend l'espace libre de la colonne ; le
   bandeau du prix, qui le prenait seul, ne le prend plus quand elle est là. Une carte sans offre n'a pas d'étiquette (`.lh:empty` est masqué). */
.lot .lh:not(:empty){margin-top:auto}
.lot .lh:not(:empty)+.mise{margin-top:0}

/* L'étiquette du régime de vente (préprod, 26/11) : offres indicatives en pastille neutre, enchère volontaire en turquoise plein, enchère judiciaire en rouge plein
   (en pâle, le 26/11 au matin, personne ne les voyait : Thibault, « je vois rien »). Elle prend la forme des pastilles du type et du carburant, qui sont dans
   la feuille du site ; ici la couleur et le poids. */
.ctag.regime{font-weight:700}
.ctag.regime-voluntary{background:var(--lime,#7fdad3);border-color:var(--lime,#7fdad3);color:#1B1A30}
.ctag.regime-judicial{background:var(--urgent,#B2464C);border-color:var(--urgent,#B2464C);color:#fff}

/* 30/11/2026 (retour de Yanick) : compteur « 2 / 9 » sur la grande photo de la fiche, mis à jour par public/vitrine.js. */
.gal-count{position:absolute;right:12px;bottom:12px;z-index:3;padding:3px 10px;border-radius:99px;background:rgba(20,19,40,.72);color:#fff;font-size:13px;font-weight:600;line-height:1.4;font-variant-numeric:tabular-nums;pointer-events:none}
