/* Page Travel Partners : styles propres à la page, repris de maquettes/travel.html (les styles communs sont dans pages.css). */
.heros { height: min(64vh, 580px); min-height: 430px; }
.heros .filet { margin-top: 20px; border-color: var(--gold-clair); }
.heros .intro-heros { max-width: 640px; margin: 18px 0 0; color: rgba(255,255,255,.92); font-size: 16px; line-height: 1.6; }
.heros-texte .in { display: block; }

/* Tour-opérateurs officiels : trois grandes cartes */
.agents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.agent { display: flex; flex-direction: column; background: var(--card); color: var(--text); text-decoration: none; transition: box-shadow .25s ease, transform .25s ease; }
.agent:hover { box-shadow: 0 14px 30px rgba(0,0,0,.09); transform: translateY(-2px); }
.agent-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.agent-photo img.agent-logo { position: absolute; left: 16px; bottom: 16px; width: 88px; height: 88px; padding: 6px; background: #fff; object-fit: contain; transform: none; }
.agent-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.agent:hover .agent-photo img { transform: scale(1.04); }
.agent-corps { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.agent h3 { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.25; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.agent p { margin: 0; font-size: 14px; line-height: 1.6; }
.agent .lire { margin-top: auto; padding-top: 6px; }

/* Forfaits types : une mosaïque de photos, le titre et le texte posés dessus */
.forfaits { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.forfait { position: relative; display: flex; flex-direction: column; justify-content: flex-end; grid-column: span 2; min-height: 360px; padding: 26px 26px 24px; overflow: hidden; color: #fff; text-decoration: none; }
.forfait:nth-child(-n+2) { grid-column: span 3; min-height: 420px; }
.forfait > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.forfait::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.78) 100%); }
.forfait > *:not(img) { position: relative; z-index: 2; }
.forfait:hover > img { transform: scale(1.04); }
.forfait h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.1; font-weight: 700; letter-spacing: -.005em; text-transform: uppercase; }
.forfait p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.forfait .lire { margin-top: 0; color: #fff; }

@media (max-width: 900px) {
	.heros-texte .in { text-align: center; }
	.heros .filet { margin: 16px auto 0; }
	.agents { grid-template-columns: 1fr; }
	.forfaits { grid-template-columns: 1fr; }
	.forfait, .forfait:nth-child(-n+2) { grid-column: auto; min-height: 320px; }
}
