/* ==========================================================================
   Page « Location Twingo » (page-location-twingo.php)
   Maquette : design/Location Twingo.dc.html — préfixe .te-lt-
   ========================================================================== */

.te-lt-head { gap: 14px; }
.te-lt-first { margin-top: 4px; }
.te-lt-caps { text-transform: uppercase; }
#location, #formulaire { scroll-margin-top: 110px; }

/* ---------- 02 Formules de location ---------- */
.te-lt-offers__grid {
	list-style: none; margin-top: 44px;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.te-lt-offer {
	position: relative; display: block; height: 500px; border-radius: 16px; overflow: hidden;
	background: var(--ink); color: var(--white);
}
.te-lt-offer:hover, .te-lt-offer:focus-visible { color: var(--white); }
.te-lt-offer:focus-visible { border-radius: 16px; outline-offset: 3px; }
.te-lt-offer__media { position: absolute; inset: 0; }
.te-lt-offer__media img { width: 100%; height: 100%; object-fit: cover; }
.te-lt-offer:focus-visible img { transform: scale(1.08); }
/* Voile sombre : contraste du texte blanc sur la photo */
.te-lt-offer__shade {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(18,16,16,0) 35%, rgba(18,16,16,.92) 100%);
}
.te-lt-offer__tag {
	position: absolute; right: 16px; top: 16px; padding: 6px 12px; border-radius: 999px;
	background: rgba(18,16,16,.6); border: 1px solid rgba(255,255,255,.25);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	font-size: 13px; font-weight: 600; line-height: 1.4;
}
.te-lt-offer__body {
	position: absolute; left: 24px; right: 24px; bottom: 24px;
	display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.te-lt-offer__price {
	padding: 5px 12px; border-radius: 999px; background: var(--brown); color: var(--ink);
	font-size: 15px; font-weight: 800; line-height: 1.4;
}
.te-lt-offer__title { color: var(--white); }
.te-lt-offer__cta {
	margin-top: 6px; display: inline-flex; align-items: center; gap: 12px;
	padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--white); color: var(--ink);
	font-weight: 700; font-size: 15px; line-height: 1.3; transition: background .25s;
}
.te-lt-offer:hover .te-lt-offer__cta { background: var(--sand-3); }

.te-lt-note {
	margin-top: 28px; border-radius: 16px; background: var(--ink); color: var(--white);
	padding: 24px 30px; display: flex; align-items: center; gap: 20px;
}
.te-lt-note__check {
	flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brown); color: var(--ink);
	display: flex; align-items: center; justify-content: center;
}
.te-lt-note p { font-size: 17px; line-height: 1.55; color: var(--line-2); }

/* ---------- 03 Équipez votre Twingo ---------- */
.te-lt-equip { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; }
.te-lt-equip__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.te-lt-equip__card {
	display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 24px;
	padding: 14px 24px 14px 14px; border-radius: 18px; background: var(--white); border: 1px solid var(--line);
	color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.te-lt-equip__card:hover, .te-lt-equip__card:focus-visible {
	color: var(--ink); border-color: var(--brown); box-shadow: 0 24px 40px -26px rgba(126,91,57,.5);
}
.te-lt-equip__card:focus-visible { border-radius: 18px; }
.te-lt-equip__media { position: relative; display: block; height: 140px; border-radius: 12px; background: var(--white); }
.te-lt-equip__media img { width: 100%; height: 100%; object-fit: contain; }
.te-lt-equip__card:hover img, .te-lt-equip__card:focus-visible img { transform: scale(1.08); }
.te-lt-equip__arrow {
	width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--white);
	display: flex; align-items: center; justify-content: center; transform: rotate(-45deg);
	transition: background .25s, color .25s;
}
.te-lt-equip__card:hover .te-lt-equip__arrow { background: var(--brown); color: var(--ink); }

/* ---------- 04 Véhicules préparés + 05 Sérénité : duo de photos ---------- */
.te-lt-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.te-lt-duo { position: relative; height: 560px; }
.te-lt-duo__main, .te-lt-duo__small { position: absolute; border-radius: 16px; overflow: hidden; background: var(--sand-2); }
.te-lt-duo__main { left: 0; top: 0; right: 70px; bottom: 90px; }
/* Tailles extérieures de la maquette (250 × 230 + bordure de 6 px, la maquette est en content-box) */
.te-lt-duo__small { right: 0; bottom: 0; width: 262px; height: 242px; border: 6px solid var(--white); }
.te-lt-duo img { width: 100%; height: 100%; object-fit: cover; }

.te-lt-serenite { padding: 0 max(20px, calc((100% - 1280px) / 2)); }
.te-lt-serenite__box {
	position: relative; overflow: hidden; border-radius: 24px; background: var(--ink); color: var(--white);
	padding: 72px 40px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center;
}
.te-lt-duo--dark { height: 540px; }
.te-lt-duo--dark .te-lt-duo__main { right: 80px; bottom: 80px; background: var(--ink-2); }
.te-lt-duo--dark .te-lt-duo__small { width: 272px; height: 232px; border-color: var(--ink); background: var(--ink-2); }
.te-lt-serenite__text { color: #C9C0B8; text-wrap: pretty; }
.te-lt-serenite__text strong { color: var(--white); }
.te-lt-serenite .te-h2 { color: var(--white); }
/* Comme la maquette : les deux boutons restent sur une ligne et élargissent la colonne texte */
@media (min-width: 1240px) {
	.te-lt-serenite .te-actions { flex-wrap: nowrap; }
}

/* ---------- 06 Pourquoi louer + formulaire ---------- */
.te-lt-why { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.te-lt-why__intro { position: sticky; top: 130px; }
.te-lt-why__actions { margin-top: 8px; }
.te-lt-formcard {
	background: var(--white); border: 1px solid var(--line-2); border-radius: 24px; padding: 34px;
	box-shadow: 0 30px 60px -40px rgba(26,23,22,.4); min-width: 0;
}
.te-lt-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.te-lt-form .te-field { gap: 7px; }
.te-lt-form .te-field input, .te-lt-form .te-field select { height: 48px; border-radius: 12px; padding: 0 16px; }
.te-lt-form .te-field textarea { border-radius: 12px; padding: 12px 16px; }
.te-lt-form [type="submit"] { height: 52px; font-size: 16px; }
.te-lt-form .te-form__done, .te-lt-form .te-form__status.is-ok { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.te-lt-offer { height: 440px; }
	.te-lt-offer__body { left: 20px; right: 20px; bottom: 20px; }
	.te-lt-offer__title { font-size: 26px; }
	.te-lt-equip { grid-template-columns: 300px 1fr; gap: 40px; }
	.te-lt-split { gap: 48px; }
	.te-lt-duo { height: 480px; }
	.te-lt-duo__small { width: 210px; height: 190px; }
	.te-lt-serenite__box { gap: 48px; padding: 56px 32px; }
	.te-lt-duo--dark { height: 480px; }
	.te-lt-duo--dark .te-lt-duo__small { width: 210px; height: 180px; }
	.te-lt-why { gap: 44px; }
}

@media (max-width: 900px) {
	.te-lt-offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.te-lt-offers__grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.te-lt-offer { height: 420px; }
	.te-lt-equip, .te-lt-split, .te-lt-serenite__box, .te-lt-why { grid-template-columns: 1fr; gap: 40px; }
	.te-lt-duo, .te-lt-duo--dark { height: 460px; }
	.te-lt-serenite__box { padding: 48px 28px; }
	.te-lt-why__intro { position: static; }
}

@media (max-width: 700px) {
	.te-lt-offers__grid { grid-template-columns: 1fr; }
	.te-lt-offer { height: 400px; }
	.te-lt-note { padding: 20px; gap: 16px; align-items: flex-start; }
	.te-lt-note p { font-size: 16px; }
	.te-lt-equip__card { grid-template-columns: 110px 1fr auto; gap: 16px; padding: 12px 16px 12px 12px; }
	.te-lt-equip__media { height: 100px; }
	.te-lt-equip__title { font-size: 22px; }
	.te-lt-equip__arrow { width: 38px; height: 38px; }
	.te-lt-duo, .te-lt-duo--dark { height: 380px; }
	.te-lt-duo__main, .te-lt-duo--dark .te-lt-duo__main { right: 44px; bottom: 70px; }
	.te-lt-duo__small, .te-lt-duo--dark .te-lt-duo__small { width: 170px; height: 150px; border-width: 5px; }
	.te-lt-serenite__box { padding: 40px 20px; border-radius: 20px; }
	.te-lt-formcard { padding: 24px 20px; border-radius: 20px; }
	.te-lt-form__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
	.te-lt-offer { height: 360px; }
	.te-lt-offer__body { left: 16px; right: 16px; bottom: 16px; }
	.te-lt-offer__title { font-size: 24px; }
	.te-lt-equip__card { grid-template-columns: 84px 1fr auto; gap: 12px; }
	.te-lt-equip__media { height: 80px; }
	.te-lt-equip__title { font-size: 19px; }
	.te-lt-equip__arrow { width: 34px; height: 34px; }
	.te-lt-duo, .te-lt-duo--dark { height: 300px; }
	.te-lt-duo__main, .te-lt-duo--dark .te-lt-duo__main { right: 32px; bottom: 56px; }
	.te-lt-duo__small, .te-lt-duo--dark .te-lt-duo__small { width: 130px; height: 115px; }
	.te-lt-serenite { padding: 0 12px; }
	.te-lt-serenite__box { padding: 32px 18px; }
	.te-lt-formcard { padding: 20px 16px; }
}
