/* OMK-53 : galerie de personnalisation (lien « Demander un devis » par occasion, aperçu indicatif de l'étiquette),
   vidéos des actualités, établissement présenté sous un article, photo et boutons des cartes « Nous trouver ».
   Complète public/css/ominak.css (mêmes jetons de couleur) ; à relier au gabarit après ominak.css. */

/* ---- Galerie : en-tête d'occasion avec bouton de devis ---------------------------------------------------------------- */
.galerie-perso-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 14px; }
.galerie-perso-tete h3 { margin: 0; }
@media (max-width: 640px) { .galerie-perso-tete .bouton { width: 100%; justify-content: center; } }

/* ---- Aperçu indicatif de l'étiquette ---------------------------------------------------------------------------------- */
.apercu-perso { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: clamp(20px, 4vw, 48px); align-items: start;
  padding: clamp(18px, 3vw, 32px); border-radius: var(--r-l); background: #fff; border: 1px solid var(--trait); box-shadow: var(--ombre-1); }
.apercu-perso-form { display: grid; gap: 14px; }
.apercu-perso-form .bouton { justify-self: start; }
.apercu-perso-maquette { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.apercu-perso-maquette figcaption { font-size: var(--t-s); color: var(--doux); text-align: center; }
.apercu-perso-bouteille { position: relative; width: 224px; max-width: 100%; }
.apercu-perso-bouteille img { display: block; width: 100%; height: auto; }
/* Bande d'étiquette posée sur le bas de la bouteille (sous la goutte du logo). Texte bleu nuit sur blanc : contraste 15,9:1. */
.apercu-perso-etiquette { position: absolute; left: 9%; right: 9%; top: 61%; min-height: 24%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 8px 6px; border-radius: 8px; background: rgba(255, 255, 255, .96); border: 2px solid var(--roi); color: var(--nuit); text-align: center;
  overflow: hidden; overflow-wrap: anywhere; box-shadow: 0 4px 12px rgba(4, 18, 90, .18); }
.apercu-perso-etiquette .ap-occasion { font: 700 12px/1.2 var(--f-texte); letter-spacing: .06em; text-transform: uppercase; color: var(--roi); }
.apercu-perso-etiquette .ap-prenoms { font: 600 17px/1.15 var(--f-titre); }
.apercu-perso-etiquette .ap-date { font: 600 12px/1.3 var(--f-texte); }
.apercu-perso-etiquette .ap-message { font: italic 500 12px/1.3 var(--f-texte); }
.apercu-perso-etiquette .vide { color: var(--doux); }
@media (max-width: 760px) {
  .apercu-perso { grid-template-columns: 1fr; }
  .apercu-perso-maquette { order: -1; }
  .apercu-perso-form .bouton { justify-self: stretch; }
}

/* ---- Vidéos des actualités (vidéos verticales comprises) ------------------------------------------------------------- */
.videos-actualite { display: flex; flex-wrap: wrap; gap: var(--e-5); margin: 0 0 var(--e-6); }
.video-actualite { margin: 0; flex: 1 1 280px; max-width: 420px; border-radius: var(--r-l); overflow: hidden; background: var(--nuit); }
.video-actualite video { display: block; width: 100%; height: auto; max-height: 80vh; background: #000; }
.video-actualite figcaption { padding: 10px 14px 12px; background: #fff; color: var(--texte); font-weight: 600; border: 1px solid var(--trait); border-top: 0; border-radius: 0 0 var(--r-l) var(--r-l); }

/* ---- Établissement présenté sous un article ---------------------------------------------------------------------------- */
.lieu-actualite { max-width: 560px; margin: 0 0 var(--e-6); }

/* ---- Cartes « Nous trouver » : photo puis carte, boutons d'itinéraire et d'appel ---------------------------------------- */
.carte-etablissement .photo-etablissement + .carte-osm { border-top: 1px solid var(--trait); }
.boutons-etablissement { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 820px) { .boutons-etablissement .bouton { flex: 1 1 100%; } }
