/*
 * Les portes (parties-v3/portes.php), communes à l'ouverture photo et au bloc
 * « portes ». Sorties de ouverture_photo.css le 27.10.2026, sans changement.
 */
/* À cheval sur la photo de l'ouverture ; le bloc « portes » annule le chevauchement. */
.gv1-portes { position: relative; z-index: 5; margin-top: -82px; }
.gv1-portes-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.gv3 .gv1-porte { position: relative; display: flex; flex-direction: column; gap: 14px; background: #fff; border-radius: var(--gv-rayon); padding: 26px 26px 24px; box-shadow: var(--gv-ombre); overflow: hidden; color: var(--gv-ardoise); text-decoration: none; transition: transform var(--gv-vif), box-shadow var(--gv-vif); }
.gv1-porte::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--gv1-c, var(--gv-tilleul)); transform: scaleX(.18); transform-origin: left; transition: transform var(--gv-lent); }
.gv3 .gv1-porte:hover { transform: translateY(-4px); box-shadow: var(--gv-ombre-forte); color: var(--gv-ardoise); }
.gv1-porte:hover::before, .gv1-porte:focus-visible::before { transform: scaleX(1); }
.gv1-porte--tilleul { --gv1-c: var(--gv-tilleul); --gv1-fond: var(--gv-tilleul-pale); }
.gv1-porte--sauge { --gv1-c: var(--gv-sauge); --gv1-fond: var(--gv-sauge-pale); }
.gv1-porte--ardoise { --gv1-c: var(--gv-ardoise); --gv1-fond: #e5eaef; }
.gv1-porte-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gv1-porte-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gv-ardoise-doux); }
.gv1-porte-icone { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gv1-fond); color: var(--gv-ardoise); flex-shrink: 0; }
.gv1-porte-icone svg { width: 24px; height: 24px; }
.gv3 .gv1-porte-titre { font-size: 22px; font-weight: 800; line-height: 1.18; letter-spacing: -.01em; }
.gv1-porte-texte { font-size: 15.5px; color: var(--gv-ardoise-doux); line-height: 1.55; }
.gv1-porte-bas { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.gv1-porte-fleche { width: 40px; height: 40px; border-radius: 50%; background: var(--gv-gris); display: grid; place-items: center; transition: background var(--gv-vif), transform var(--gv-vif); }
.gv1-porte:hover .gv1-porte-fleche { background: var(--gv-tilleul); transform: translateX(3px); }
.gv1-porte-fleche svg { width: 16px; height: 16px; }

.gv1-mini-jauge { display: grid; gap: 6px; }
.gv1-mini-piste { height: 10px; border-radius: 5px; background: var(--gv-gris-2); overflow: hidden; position: relative; }
.gv1-mini-piste i { position: absolute; inset: 0 auto 0 0; width: var(--gv1-pct, 0%); background: linear-gradient(90deg, var(--gv-tilleul-fonce), var(--gv-tilleul)); border-radius: 5px; animation: gv1-remplit 1600ms 500ms cubic-bezier(.2, .8, .2, 1) both; }
@keyframes gv1-remplit { from { width: 0; } }
.gv1-mini-chiffres { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--gv-ardoise-doux); }
.gv1-mini-chiffres em { font-style: normal; color: var(--gv-tilleul-texte); }
/* En vente directe (gv_vp_vente_directe) : la date de la vente, sans jauge. */
.gv1-mini-vente { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 8px 14px; white-space: nowrap; border-radius: 5px; background: var(--gv-gris-2); font-size: 12.5px; font-weight: 700; color: var(--gv-ardoise-doux); }
.gv1-mini-vente em { font-style: normal; color: var(--gv-tilleul-texte); }
.gv1-vignettes { display: flex; }
.gv1-vignettes img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; background: #fff; box-shadow: 0 4px 12px -6px rgba(48, 69, 89, .5); margin-left: -12px; transition: transform var(--gv-vif); }
.gv1-vignettes img:first-child { margin-left: 0; }
.gv1-porte:hover .gv1-vignettes img:nth-child(1) { transform: translateY(-4px) rotate(-6deg); }
.gv1-porte:hover .gv1-vignettes img:nth-child(2) { transform: translateY(-6px); }
.gv1-porte:hover .gv1-vignettes img:nth-child(3) { transform: translateY(-4px) rotate(6deg); }
.gv1-croquis { min-height: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.gv1-croquis svg { height: 56px; width: auto; flex-shrink: 0; }
.gv1-croquis-note { font-size: 12.5px; font-weight: 700; color: var(--gv-sanguine); font-style: italic; }
.gv1-axes-mini { display: flex; gap: 8px; }
.gv1-axes-mini span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gv-tilleul-pale); color: var(--gv-ardoise); transition: transform var(--gv-vif); }
.gv1-axes-mini svg { width: 20px; height: 20px; }
.gv1-porte:hover .gv1-axes-mini span:nth-child(odd) { transform: translateY(-3px); }
.gv1-porte:hover .gv1-axes-mini span:nth-child(even) { transform: translateY(3px); }
.gv1-trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: gv1-trace 1400ms 700ms cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes gv1-trace { to { stroke-dashoffset: 0; } }

@media (max-width: 1180px) and (min-width: 981px) {
	.gv1-portes-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
	.gv1-portes-grille { grid-template-columns: 1fr; }
	.gv1-portes { margin-top: -56px; }
}
@media (max-width: 760px) {
	.gv3 .gv1-porte { padding: 22px; }
	.gv3 .gv1-porte-titre { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.gv1-mini-piste i { animation: none; }
	.gv1-trace { animation: none; stroke-dashoffset: 0; }
}
