/* Portolea — panneau d'avis des fiches (D042), feuille chargée par les seules fiches : site.css reste légère. */
.v-avis { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: flex-end; }
.v-avis[hidden] { display: none; }
.v-avis-ouvert { overflow: hidden; }
.v-avis__fond { position: absolute; inset: 0; background: rgb(0 0 0 / 0.45); }
.v-avis__volet { position: relative; display: flex; flex-direction: column; width: min(560px, 100%); height: 100%; background: var(--surface); box-shadow: var(--ombre-2, 0 12px 40px rgb(0 0 0 / 0.3)); outline: none; }
@media (prefers-reduced-motion: no-preference) { .v-avis__volet { animation: v-glisse 0.25s ease-out; } }
@keyframes v-glisse { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.v-avis__tete { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--espace-3); padding: var(--espace-4) var(--espace-5) var(--espace-3); border-bottom: 1px solid var(--trait); }
.v-avis__tete .t-h2, .v-avis__tete .t-etiquette { margin: 0; }
.v-avis__corps { flex: 1; min-height: 0; overflow-y: auto; padding: var(--espace-4) var(--espace-5) var(--espace-7); }
.v-etat { display: flex; flex-direction: column; gap: var(--espace-4); }
.v-etat p { margin: 0; }
.v-etat .k-fournisseurs { display: flex; flex-direction: column; gap: var(--espace-2); margin: 0; padding: 0; list-style: none; }
.n-scope .v-etat .k-tiers { width: 100%; justify-content: flex-start; gap: 12px; }
.n-scope .v-etat .k-tiers[data-bientot] { color: var(--encre-douce); }
.k-tiers__logo { width: 22px; height: 22px; flex: none; }
.k-bientot { flex: none; margin-left: auto; }
.v-form { display: flex; flex-direction: column; gap: var(--espace-4); }
.v-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.v-champ > legend, .v-critere > legend { padding: 0; margin-bottom: var(--espace-2); font-weight: 600; }
.v-facultatif { font-weight: 400; color: var(--encre-douce); }
.v-legal, .v-bateau, .v-aide { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--encre-douce); }
.n-scope .v-legal > svg.lucide, .n-scope .v-bateau > svg.lucide { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.n-scope .v-texte { min-height: 120px; padding-block: 10px; resize: vertical; }
/* Note : cinq étoiles de mer cliquables, celles jusqu'au choix en couleur */
.v-note { --etoile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M9.8 3.1A1.5 1.5 0 0 1 12.8 3.6C12.7 7.6 13.3 8.2 17.3 8.3A1.5 1.5 0 0 1 17.7 11.2C13.9 12.4 13.5 13.1 14.7 17A1.5 1.5 0 0 1 12 18.3C9.7 15 8.9 14.8 5.6 17.2A1.5 1.5 0 0 1 3.5 15C6 11.8 5.8 11 2.6 8.6A1.5 1.5 0 0 1 4 5.9C7.8 7.3 8.6 6.9 9.8 3.1ZM9.2 10.8a0.8 0.8 0 1 0 1.6 0a0.8 0.8 0 1 0 -1.6 0ZM9.7 6.2a0.8 0.8 0 1 0 1.6 0a0.8 0.8 0 1 0 -1.6 0ZM13.7 9.8a0.8 0.8 0 1 0 1.6 0a0.8 0.8 0 1 0 -1.6 0ZM11.5 14.8a0.8 0.8 0 1 0 1.6 0a0.8 0.8 0 1 0 -1.6 0ZM6.1 14.2a0.8 0.8 0 1 0 1.6 0a0.8 0.8 0 1 0 -1.6 0ZM5 8.9a0.8 0.8 0 1 0 1.6 0a0.8 0.8 0 1 0 -1.6 0Z'/%3E%3C/svg%3E"); display: flex; gap: 4px; }
.v-note input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.v-note label { width: 40px; height: 40px; cursor: pointer; background: var(--trait); -webkit-mask: var(--etoile) center / 36px 36px no-repeat; mask: var(--etoile) center / 36px 36px no-repeat; transition: background 0.15s; }
.v-note label:hover, .v-note label:has(~ label:hover), .v-note input:checked + label, .v-note label:has(~ input:checked) { background: var(--lagon); }
.v-note input:focus-visible + label { outline: 2px solid var(--large); outline-offset: 2px; -webkit-mask: none; mask: none; background: transparent; }
.v-note__libelle { min-height: 22px; margin: 4px 0 0; color: var(--encre-douce); }
/* Pastilles : boutons radio ou cases habillés, une couleur quand cochés */
.v-pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.v-pastille { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border: 1px solid var(--trait-fort); border-radius: var(--rayon-pilule); background: var(--surface); color: var(--encre); cursor: pointer; font-size: 15px; line-height: 20px; }
.v-pastille input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.v-pastille:has(input:checked) { border-color: var(--large); background: var(--haut-fond); font-weight: 600; }
.v-pastille:has(input:focus-visible) { outline: 2px solid var(--large); outline-offset: 2px; }
.v-pastille--case { padding-left: 14px; }
.v-critere { display: flex; flex-direction: column; }
.v-critere--manque > legend .n-badge { margin-left: 8px; }
.v-bloc { display: flex; flex-direction: column; gap: var(--espace-4); padding-top: var(--espace-3) !important; border-top: 1px solid var(--trait) !important; }
.v-bloc > legend { float: left; width: 100%; margin: 0 0 var(--espace-2); padding: 0; }
.v-bloc--manque { padding: var(--espace-4) !important; border: 1px solid var(--large) !important; border-radius: var(--rayon-m); background: var(--haut-fond); }
.v-prix { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.n-scope .v-prix .n-champ__saisie { width: auto; min-width: 120px; flex: 1 1 120px; }
.v-plus { border: 1px solid var(--trait); border-radius: var(--rayon-m); }
.v-plus > summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; cursor: pointer; font-weight: 600; list-style: none; }
.v-plus > summary::-webkit-details-marker { display: none; }
.v-plus > summary::after { content: ""; width: 10px; height: 10px; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.15s; }
.v-plus[open] > summary::after { transform: rotate(-135deg); }
.v-plus > :not(summary) { margin-left: var(--espace-4); margin-right: var(--espace-4); }
.v-plus > :last-child { margin-bottom: var(--espace-4); }
.v-plus--niveau2 > summary { padding: 14px; }
.n-scope .v-plus > summary > svg.lucide { width: 20px; height: 20px; flex: none; color: var(--large); }
.v-plus[open] > summary > svg.lucide { display: none; }
.v-plus .v-bloc, .v-plus .v-aide, .v-plus .v-critere, .v-plus .v-plus { margin-top: var(--espace-3); }
.v-photos { display: flex; flex-direction: column; gap: 8px; margin: 0 0 var(--espace-2); padding: 0; list-style: none; }
.v-photos:empty { display: none; }
.v-photos li { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px; align-items: center; }
.v-photos img { width: 96px; height: 72px; border-radius: var(--rayon-s, 6px); object-fit: cover; }
.v-ajouter-photo { align-self: flex-start; cursor: pointer; }
.v-actions { display: flex; flex-wrap: wrap; gap: var(--espace-2); align-items: center; }
.n-scope .v-form .k-erreur { margin: 0; }
.v-merci { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.n-scope .v-merci > svg.lucide { flex: none; width: 24px; height: 24px; color: var(--large); }
@media (max-width: 599px) {
  .v-avis__volet { width: 100%; }
  .v-avis__corps { padding-inline: var(--espace-4); }
  .v-photos li { grid-template-columns: 72px 1fr; }
  .v-photos li button { grid-column: 2; justify-self: start; }
}

/* Avis publiés sur la fiche (lus en direct par avis.js) */
.l-avis--resume { color: var(--encre); align-items: center; }
.l-avis--resume .n-etoiles { vertical-align: middle; margin-left: 6px; }
.l-avis-liste { display: flex; flex-direction: column; gap: var(--espace-4); margin: var(--espace-4) 0; padding: 0; list-style: none; max-width: var(--mesure); }
.l-avis-item { display: flex; flex-direction: column; gap: 6px; padding-top: var(--espace-3); border-top: 1px solid var(--trait); }
.l-avis-item__tete { margin: 0; }
.l-avis-item__tete > span { color: var(--encre-douce); }
.l-avis-item__texte { margin: 4px 0 0; white-space: pre-line; }
.l-avis-item__crits { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; }
.l-avis-item__crits li { padding: 3px 10px; border-radius: var(--rayon-pilule); background: var(--haut-fond); }
.l-avis-item__crits li > span { color: var(--encre-douce); }
.l-avis-item__photos { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.l-avis-item__photos li { display: flex; flex-direction: column; gap: 2px; width: 160px; font-size: 13px; color: var(--encre-douce); }
.l-avis-item__photos img { width: 160px; height: 120px; border-radius: var(--rayon-s, 6px); object-fit: cover; background: var(--surface-creux); }
.l-avis-item__agrandir { display: block; padding: 0; border: 0; border-radius: var(--rayon-s, 6px); background: none; cursor: zoom-in; }
.l-avis-item__agrandir:focus-visible { outline: 2px solid var(--accent, currentColor); outline-offset: 2px; }
/* Visionneuse : reprend le lecteur vidéo de site.css (.l-lecteur), la photo à la place de l'iframe */
.l-visionneuse .l-lecteur__fermer { font-size: 28px; line-height: 1; }
.l-visionneuse .l-lecteur__cadre { position: relative; }
.l-visionneuse img { display: block; max-width: 100%; max-height: var(--haut); object-fit: contain; }
.l-visionneuse__nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgb(0 0 0 / 0.45); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.l-visionneuse__nav[data-prec] { left: 8px; }
.l-visionneuse__nav[data-suiv] { right: 8px; }
@media (min-width: 640px) and (min-height: 500px) {
  .l-visionneuse img { max-width: min(1200px, 92vw); }
}
.l-avis-item__pied { margin: 0; font-size: 14px; }
.l-avis-item__pied a { color: var(--encre-douce); }
.l-avis-item__trad { margin: 0; }
.n-scope .l-avis-item__trad .n-btn { min-height: 32px; padding: 0 8px; font-size: 14px; color: var(--encre-douce); }

/* Page « Proposer un lieu » */
.w-proposer { display: flex; flex-direction: column; gap: var(--espace-4); max-width: 720px; padding-block: var(--espace-5) var(--espace-7); }
.w-proposer .t-h1, .w-proposer .t-lead { margin: 0; }
.w-carte { position: relative; height: 360px; border: 1px solid var(--trait); border-radius: var(--rayon-m); background: var(--haut-fond); overflow: hidden; }
.w-carte:empty::before { content: "Chargement de la carte…"; display: block; padding: var(--espace-4); color: var(--encre-douce); }
.w-position { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--espace-2); }
.n-scope .w-position .n-champ__saisie { flex: 1 1 220px; width: auto; }
.w-doublons { margin-top: var(--espace-2); padding: var(--espace-3) var(--espace-4); border: 1px solid var(--large); border-radius: var(--rayon-m); background: var(--haut-fond); }
.w-progression p { margin: 0 0 6px; color: var(--encre-douce); }
.w-progression__barre { height: 4px; border-radius: 2px; background: var(--haut-fond); overflow: hidden; }
.w-progression__barre span { display: block; height: 100%; background: var(--large); transition: width .2s; }
.w-types { display: grid; gap: 10px; }
.w-type { position: relative; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--trait-fort); border-radius: var(--rayon-m); background: var(--surface); cursor: pointer; }
.w-type input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.w-type svg { grid-row: span 2; width: 24px; height: 24px; color: var(--large); }
.w-type__nom { font-weight: 600; }
.w-type__aide { color: var(--encre-douce); }
.w-type:has(input:checked) { border-color: var(--large); background: var(--haut-fond); }
.w-type:has(input:focus-visible) { outline: 2px solid var(--large); outline-offset: 2px; }
.w-actions { flex-wrap: wrap; justify-content: space-between; margin-top: var(--espace-3); }
.w-recap { margin: 0 0 var(--espace-2); color: var(--encre-douce); }
.w-doublons--refus { border-color: var(--alerte); background: var(--alerte-fond); }
.w-doublons p { margin: 0 0 6px; }
.w-doublons ul { margin: 0; padding-left: 20px; }
.w-doublons li span { color: var(--encre-douce); }
.w-form [data-si-port] { margin-bottom: var(--espace-3); }

