/* ==========================================================================
   CarPro Import — correctifs
   Chargé après toutes les feuilles du thème.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Formulaire : isolation complète des écrans d'étape.

   La feuille globale applique ses règles de frise marketing à toute classe
   .cp-step. Ses sélecteurs sont désormais limités à .cp-steps côté serveur ;
   ces règles constituent la seconde barrière, avec une spécificité
   supérieure, pour que le formulaire reste correct même si la feuille
   globale évolue.
   -------------------------------------------------------------------------- */
.cp-form-card .cp-form-body.cp-step {
	display: none !important;
	text-align: left !important;
	align-items: stretch !important;
	flex-direction: column !important;
	gap: 0 !important;
	position: static !important;
	z-index: auto !important;
	padding: 28px !important;
}

.cp-form-card .cp-form-body.cp-step.active {
	display: block !important;
}

/* La typographie de la frise ne doit pas contaminer le formulaire. */
.cp-form-card .cp-form-body.cp-step > h3,
.cp-form-card .cp-form-body.cp-step > p {
	font-family: inherit !important;
	text-align: left !important;
	margin: 0 0 8px !important;
}
.cp-form-card .cp-form-body.cp-step .cp-step-sub {
	font-size: 14px !important;
	color: #666 !important;
	line-height: 1.55 !important;
}

/* Aucun débordement horizontal, quelle que soit la largeur. */
.cp-wrap,
.cp-form-section,
.cp-form-card,
.cp-form-card * {
	max-width: 100%;
	box-sizing: border-box;
}
.cp-wrap {
	overflow-x: clip;
}
.cp-recap-grid {
	grid-template-columns: 1fr;
}

@media (max-width: 960px) {
	.cp-form-card .cp-form-body.cp-step {
		padding: 20px 16px !important;
	}
	/* Les grilles du formulaire se replient au lieu de se comprimer. */
	.cp-form-card .cp-grid-2 {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 0 !important;
	}
	.cp-form-card .cp-brands-grid {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}
	.cp-form-card .cp-dest-grid,
	.cp-annonce-card .cp-dest-grid {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}
	.cp-form-card .cp-btn-row {
		display: flex !important;
		flex-direction: column-reverse !important;
		gap: 10px !important;
	}
	.cp-form-card .cp-btn-row > * {
		width: 100% !important;
	}
}

@media (max-width: 380px) {
	.cp-form-card .cp-brands-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
	}
	.cp-form-card .cp-form-body.cp-step {
		padding: 16px 12px !important;
	}
}

/* Boutons toujours atteignables et assez grands au doigt. */
.cp-form-card .cp-btn-primary,
.cp-form-card .cp-btn-secondary,
.cp-annonce-card .cp-btn-primary {
	min-height: 48px;
	width: 100%;
	cursor: pointer;
}
.cp-form-card .cp-btn-primary[disabled],
.cp-annonce-card .cp-btn-primary[disabled] {
	opacity: .55;
	cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   2. Onglets accessibles.
   -------------------------------------------------------------------------- */
.cp-tab[aria-selected="true"] {
	color: #D42B2B;
	border-bottom-color: #D42B2B;
}
.cp-tabs-inner .cp-tab {
	min-height: 48px;
}

/* --------------------------------------------------------------------------
   3. Focus clavier visible partout où nous intervenons.
   -------------------------------------------------------------------------- */
.cp-tab:focus-visible,
.cp-brand-item:focus-visible,
.cp-dest-btn:focus-visible,
.cp-option-btn:focus-visible,
.cp-motor-btn:focus-visible,
.cp-btn-primary:focus-visible,
.cp-btn-secondary:focus-visible,
.cp-header-cta:focus-visible,
.cp-input:focus-visible,
.cp-textarea:focus-visible,
.cp-faq-q:focus-visible {
	outline: 3px solid #1A1A1A;
	outline-offset: 2px;
}

/* États sélectionnés lisibles au clavier comme à la souris. */
.cp-brand-item[aria-pressed="true"],
.cp-dest-btn[aria-pressed="true"],
.cp-motor-btn[aria-pressed="true"],
.cp-option-btn[aria-pressed="true"] {
	border-color: #C8102E;
}

/* --------------------------------------------------------------------------
   4. Bouton d'action permanent dans l'en-tête.
   -------------------------------------------------------------------------- */
.cp-header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	margin-left: 16px;
	background: #C8102E;
	color: #fff !important;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: .01em;
	border-radius: 4px;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background .2s;
}
.cp-header-cta:hover,
.cp-header-cta:focus {
	background: #A00D25;
	color: #fff !important;
}

/* Sur mobile, l'en-tete tient trois elements sur une seule ligne : logo,
   bouton d'action et bouton de menu. Sans contrainte, le bouton de menu est
   pousse hors de l'ecran et provoque un defilement horizontal. */
@media (max-width: 767px) {
	.site-header .header-inner {
		flex-wrap: nowrap !important;
		gap: 8px !important;
		align-items: center !important;
	}
	.site-header .site-branding,
	.site-header .site-logo {
		min-width: 0 !important;
		flex: 0 1 auto !important;
	}
	.cp-header-cta {
		margin-left: auto !important;
		margin-right: 0 !important;
		flex: 0 1 auto !important;
		min-width: 0 !important;
		max-width: 44vw !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		white-space: nowrap !important;
		padding: 10px !important;
		font-size: 13px;
	}
	.site-navigation-toggle-holder {
		flex: 0 0 auto !important;
		margin-left: 0 !important;
	}
}

@media (max-width: 380px) {
	.cp-header-cta {
		padding: 9px 8px !important;
		font-size: 12px;
	}
}

/* --------------------------------------------------------------------------
   5. Premier écran mobile : la promesse et l'action avant l'image.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.cp-hero-content {
		display: flex !important;
		flex-direction: column !important;
	}
	.cp-hero-left {
		order: 1;
	}
	.cp-hero-right {
		order: 2;
		margin-top: 24px;
	}
	.cp-hero,
	.cp-hero-bg {
		min-height: 0 !important;
		padding-top: 24px !important;
	}
	.cp-hero-left .cp-h1 {
		font-size: clamp(28px, 8vw, 38px) !important;
		line-height: 1.15 !important;
		margin-top: 8px !important;
	}
	.cp-hero-desc {
		font-size: 15px !important;
	}
	/* Les avantages détaillés viennent après l'appel à l'action. */
	.cp-hero-left .cp-hero-features {
		order: 5;
	}
	.cp-hero-left {
		display: flex;
		flex-direction: column;
	}
	.cp-hero-left .cp-trust-bar { order: 1; }
	.cp-hero-left .cp-h1 { order: 2; }
	.cp-hero-left .cp-hero-desc { order: 3; }
	.cp-hero-left .cp-hero-cta { order: 4; }
	.cp-hero-left .cp-hero-features { order: 5; }
	.cp-hero-left .cp-hero-phone { order: 6; }
	.cp-hero-cta {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	.cp-hero-cta > a {
		width: 100%;
		text-align: center;
		min-height: 48px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
}

/* --------------------------------------------------------------------------
   6. Mentions RGPD sous les formulaires.
   -------------------------------------------------------------------------- */
.cp-privacy--rgpd {
	margin-top: 20px;
	padding: 14px 16px;
	background: #F7F5F2;
	border-left: 3px solid #C8102E;
	font-size: 13px;
	line-height: 1.6;
	color: #444;
}
.cp-privacy--rgpd p {
	margin: 0 0 8px;
	font-size: 13px;
	color: #444;
}
.cp-privacy--rgpd p:last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7. Messages d'erreur et champ piège.
   -------------------------------------------------------------------------- */
.cp-hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.cp-error {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #A00D25;
}
.cp-input.cp-invalid,
.cp-textarea.cp-invalid {
	border-color: #A00D25 !important;
	background: #FFF8F8 !important;
}

.cp-formerror {
	margin: 0 0 18px;
	padding: 14px 16px;
	border-left: 4px solid #A00D25;
	background: #FFF4F4;
	color: #7A0A1C;
	font-size: 14px;
	line-height: 1.55;
}
.cp-formerror strong {
	display: block;
	margin-bottom: 4px;
}
.cp-formerror a {
	color: #7A0A1C;
	font-weight: 700;
}

.cp-sending {
	opacity: .6;
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   8. Écran de confirmation.
   -------------------------------------------------------------------------- */
.cp-confirm-ref {
	display: inline-block;
	margin: 4px 0 18px;
	padding: 10px 16px;
	background: #1A1A1A;
	color: #fff;
	font-weight: 700;
	letter-spacing: .06em;
	border-radius: 4px;
}
.cp-confirm-summary {
	margin: 18px 0;
	text-align: left;
	border: 1px solid #E6E1DB;
	border-radius: 6px;
	overflow: hidden;
}
.cp-confirm-summary div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 14px;
	font-size: 14px;
	border-bottom: 1px solid #F0EDE9;
}
.cp-confirm-summary div:last-child {
	border-bottom: 0;
}
.cp-confirm-summary span {
	color: #666;
}
.cp-confirm-summary strong {
	text-align: right;
	word-break: break-word;
}
.cp-confirm-next {
	text-align: left;
	margin: 18px 0;
	padding-left: 20px;
	font-size: 14px;
	line-height: 1.7;
}
.cp-confirm-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 20px;
}
.cp-confirm-actions a,
.cp-confirm-actions button {
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	padding: 12px 16px;
	font-size: 15px;
}
.cp-confirm-wa {
	background: #25D366;
	color: #08331A !important;
	border: 0;
}
.cp-confirm-phone {
	background: #1A1A1A;
	color: #fff !important;
	border: 0;
}
.cp-confirm-edit {
	background: transparent;
	color: #1A1A1A !important;
	border: 1px solid #CFC8C0;
}
.cp-confirm-note {
	margin-top: 14px;
	font-size: 13px;
	color: #666;
}

/* --------------------------------------------------------------------------
   9. Pied de page légal.
   -------------------------------------------------------------------------- */
.cp-footer-legal {
	width: 100%;
	margin: 18px 0 8px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, .15);
	font-size: 13px;
	line-height: 1.7;
	text-align: center;
}
.cp-footer-legal p {
	margin: 0 0 4px;
	font-size: 13px;
}
.cp-footer-legal a {
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   10. Contrastes.
   Le gris #888/#999 sur fond clair passe sous le seuil AA en petit corps.
   -------------------------------------------------------------------------- */
.cp-progress-label,
.cp-range-labels,
.cp-car-details,
.cp-car-note,
.cp-stat-label {
	color: #595959 !important;
}
.cp-contact-text p[style*="#888"] {
	color: #595959 !important;
}

/* --------------------------------------------------------------------------
   11. Titre WordPress dupliqué, devenu paragraphe : il reste masqué comme
   avant, sans occuper un second niveau H1.
   -------------------------------------------------------------------------- */
.page-header p.entry-title {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   12. Bandeau de consentement.

   Le conteneur est fixé à 475 px de large : sur un écran de 390 px il dépasse
   le bord droit et provoque un défilement horizontal. On le contraint sans
   toucher au consentement lui-même, qui reste entièrement fonctionnel.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.cookieadmin_law_container.cookieadmin_box {
		left: 10px !important;
		right: 10px !important;
		width: auto !important;
		max-width: calc(100vw - 20px) !important;
		max-height: 70vh !important;
		overflow-y: auto !important;
		box-sizing: border-box !important;
	}
}

/* Le widget de réouverture ne doit pas masquer le bouton WhatsApp flottant. */
@media (max-width: 767px) {
	.cp-whatsapp-float {
		bottom: 16px !important;
		right: 16px !important;
	}
}

/* --------------------------------------------------------------------------
   13. Bandeau de chiffres de la page Realisations.

   Sa grille est en colonnes automatiques : des qu'un libelle s'allonge, les
   quatre colonnes depassent la largeur de l'ecran. Elle passe sur deux
   colonnes en mobile.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.cp-stats-bar {
		overflow: hidden !important;
	}
	.cp-stats-bar-inner {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 14px 10px !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	.cp-stats-bar-inner > div {
		min-width: 0 !important;
		overflow-wrap: anywhere !important;
	}
	.cp-stat-num {
		font-size: 20px !important;
		line-height: 1.2 !important;
		overflow-wrap: anywhere !important;
	}
	.cp-stat-label {
		font-size: 12px !important;
		line-height: 1.35 !important;
	}
}

/* --------------------------------------------------------------------------
   14. Pages sans titre propre (mentions legales, confidentialite, CGV).

   Le theme masque .page-header partout. Ces pages n'ayant pas de H1 dans leur
   contenu, leur titre WordPress est conserve et reaffiche ici seulement.
   -------------------------------------------------------------------------- */
.page-header.cp-has-title {
	display: block !important;
	max-width: 900px !important;
	margin: 0 auto !important;
	padding: 48px 20px 0 !important;
}
.page-header.cp-has-title h1.entry-title {
	display: block !important;
	position: static !important;
	width: auto !important;
	height: auto !important;
	clip: auto !important;
	white-space: normal !important;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(28px, 5vw, 40px);
	line-height: 1.15;
	color: #1A1A1A;
	margin: 0;
}
.page-header.cp-has-title + .page-content {
	max-width: 900px !important;
	margin: 0 auto !important;
	padding: 8px 20px 64px !important;
	line-height: 1.7;
}
.page-header.cp-has-title + .page-content h2 {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 24px;
	margin: 34px 0 10px;
}
.page-header.cp-has-title + .page-content ul {
	padding-left: 20px;
}
.page-header.cp-has-title + .page-content li {
	margin-bottom: 6px;
}
.page-header.cp-has-title + .page-content p {
	margin: 0 0 12px;
}

/* --------------------------------------------------------------------------
   15. Onglets sur petits ecrans.

   Les onglets sont des elements flex : leur min-width:auto implicite les
   empeche de retrecir sous la largeur de leur texte. A 320 et 360 px le
   second onglet -- le parcours "annonce trouvee" -- depassait donc son
   conteneur et se retrouvait coupe.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.cp-tabs-inner {
		padding: 0 10px !important;
	}
	.cp-tabs-inner .cp-tab {
		min-width: 0 !important;
		flex: 1 1 0% !important;
		padding: 14px 6px !important;
		font-size: 12px !important;
		letter-spacing: 0 !important;
		line-height: 1.3 !important;
		overflow-wrap: anywhere !important;
	}
}

@media (max-width: 400px) {
	.cp-tabs-inner .cp-tab {
		font-size: 11px !important;
		padding: 12px 4px !important;
	}
}

/* --------------------------------------------------------------------------
   16. Photographies de la galerie converties en balises image
   Elles etaient posees en fond CSS : le navigateur ne peut pas differer un
   fond, et 1,5 Mo partaient au chargement. En balise <img>, elles se
   chargent a l'approche et portent un texte alternatif. Le cadre garde
   exactement les dimensions qu'il avait : l'image est posee en absolu, elle
   n'influe donc pas sur la hauteur de la carte.
   -------------------------------------------------------------------------- */
.cp-car-img--real {
	position: relative;
	overflow: hidden;
	background-color: #12314F;
}
.cp-car-img--real > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: 0;
}
.cp-car-img--real > .cp-car-badge { z-index: 2; }

/* --------------------------------------------------------------------------
   17. Contact WhatsApp permanent
   Le vert est volontairement plus sombre que celui de l'application : sur
   le vert d'origine, un libelle blanc tombe a 1,98:1. Ici 5,4:1.
   -------------------------------------------------------------------------- */
.cp-wa-flottant {
	position: fixed;
	right: calc(18px + env(safe-area-inset-right, 0px));
	bottom: calc(18px + env(safe-area-inset-bottom, 0px));
	z-index: 9998;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 17px 11px 13px;
	background: #0F7A41;
	color: #FFFFFF !important;
	border-radius: 999px;
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	min-height: 44px;
	box-shadow: 0 6px 18px rgba(6, 44, 24, .26);
	transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.cp-wa-flottant svg { width: 23px; height: 23px; flex: 0 0 23px; }
.cp-wa-flottant:hover,
.cp-wa-flottant:focus-visible {
	background: #0B6234;
	color: #FFFFFF !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 36px rgba(6, 44, 24, .42);
}
.cp-wa-flottant:focus-visible { outline: 3px solid #0A5FC4; outline-offset: 3px; }

.cp-cta-wa { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Le pied de page se termine au-dessus du bouton, jamais dessous. */
.site-footer { padding-bottom: 96px !important; }

@media (max-width: 600px) {
	.cp-wa-flottant {
		right: calc(12px + env(safe-area-inset-right, 0px));
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		padding: 10px 15px 10px 12px;
		font-size: 13px;
	}
	.cp-wa-flottant svg { width: 21px; height: 21px; flex: 0 0 21px; }
}
@media (prefers-reduced-motion: reduce) {
	.cp-wa-flottant { transition: none; }
	.cp-wa-flottant:hover, .cp-wa-flottant:focus-visible { transform: none; }
}

/* --------------------------------------------------------------------------
   18. Cibles tactiles du menu mobile
   Les entrees du menu mesuraient 31 px de haut : sous le seuil confortable
   au pouce. Elles passent a 44 px sans changer la typographie.
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
	.site-header nav a,
	.site-navigation a,
	.site-navigation-dropdown a {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}
	.site-footer a,
	.cp-footer-legal a {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}
}

/* --------------------------------------------------------------------------
   19. Effacement du bouton WhatsApp
   Un bouton fixe finit toujours par passer devant quelque chose. Le script
   mesure ce qu'il recouvre et pose cette classe : il s'efface tant qu'un
   bouton, un champ, une mention legale ou le bandeau de cookies se trouve
   sous lui, puis revient.
   -------------------------------------------------------------------------- */
.cp-wa-flottant.cp-wa-efface {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
}

/* --------------------------------------------------------------------------
   20. Vitrine de l'accueil
   Une grande livraison, deux secondaires. La principale porte son texte sur
   la photographie, les secondaires le posent a cote : les trois cartes ne se
   ressemblent pas, et la page ne donne pas l'impression d'un gabarit repete.
   -------------------------------------------------------------------------- */
.cp-vitrine {
	background: #F6F2EA;
	padding-block: clamp(56px, 7vw, 96px);
}
.cp-vitrine-inner {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(16px, 3vw, 40px);
}
.cp-vitrine .cp-section-header { margin-bottom: clamp(28px, 4vw, 44px); }

.cp-vitrine-grille {
	display: grid;
	grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
	gap: clamp(16px, 2vw, 26px);
	align-items: stretch;
}
.cp-vitrine-colonne--suite {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: clamp(16px, 2vw, 26px);
	min-width: 0;
}
.cp-vitrine-colonne--large { min-width: 0; }

.cp-vitrine-item {
	position: relative;
	background: #FFFFFF;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 14px 40px rgba(11, 32, 56, .13);
	height: 100%;
	min-width: 0;
}
.cp-vitrine-item .cp-car-img {
	position: relative;
	overflow: hidden;
	background-color: #12314F;
}
.cp-vitrine-item .cp-car-img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.cp-vitrine-item .cp-car-badge {
	position: absolute;
	left: 14px;
	top: 14px;
	z-index: 2;
	background: rgba(11, 32, 56, .84);
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	padding: 7px 12px;
	border-radius: 999px;
}

.cp-vitrine-item--principale { display: block; }
.cp-vitrine-item--principale .cp-car-img { aspect-ratio: 4 / 3; height: auto; }
.cp-vitrine-item--principale .cp-car-info {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 2;
	padding: clamp(20px, 3vw, 34px);
	background: linear-gradient(180deg, rgba(8, 21, 34, 0) 0%, rgba(8, 21, 34, .58) 34%, rgba(8, 21, 34, .92) 100%);
	color: #FFFFFF;
}
.cp-vitrine-item--principale .cp-car-name {
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.12;
	margin: 0 0 8px;
	color: #FFFFFF;
}
.cp-vitrine-item--principale .cp-car-details {
	margin: 0 0 8px;
	color: #E7D4B2;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .02em;
}
.cp-vitrine-item--principale .cp-car-note {
	margin: 0;
	color: rgba(255, 255, 255, .86);
	font-size: 15px;
	line-height: 1.55;
	max-width: 46ch;
}

.cp-vitrine-item--secondaire { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); }
.cp-vitrine-item--secondaire .cp-car-img { height: 100%; min-height: 168px; }
.cp-vitrine-item--secondaire .cp-car-info {
	padding: clamp(16px, 2vw, 24px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}
.cp-vitrine-item--secondaire .cp-car-name {
	font-size: clamp(17px, 1.6vw, 21px);
	line-height: 1.2;
	margin: 0 0 6px;
	color: #0B2038;
}
.cp-vitrine-item--secondaire .cp-car-details {
	margin: 0 0 6px;
	color: #1F49B8;
	font-size: 13px;
	font-weight: 600;
}
.cp-vitrine-item--secondaire .cp-car-note {
	margin: 0;
	color: #55657A;
	font-size: 14px;
	line-height: 1.5;
}

.cp-vitrine-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: clamp(26px, 3.5vw, 40px);
}
.cp-vitrine-actions .cp-btn-primary,
.cp-vitrine-actions .cp-btn-secondary { text-decoration: none; }

@media (max-width: 900px) {
	.cp-vitrine-grille { grid-template-columns: minmax(0, 1fr); }
	.cp-vitrine-colonne--suite { grid-template-rows: auto auto; }
	.cp-vitrine-item--principale .cp-car-img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
	.cp-vitrine-item--secondaire { grid-template-columns: minmax(0, 1fr); }
	.cp-vitrine-item--secondaire .cp-car-img { aspect-ratio: 16 / 10; min-height: 0; }
	.cp-vitrine-actions .cp-btn-primary,
	.cp-vitrine-actions .cp-btn-secondary { width: 100%; text-align: center; justify-content: center; }
}

/* --------------------------------------------------------------------------
   21. Hauteur des photographies de la vitrine
   La feuille d'origine impose « .cp-car-img { height: 240px } » : le cadre
   restait bas et la grande photographie ne l'etait pas. C'est la carte qui
   fixe desormais le rapport de forme ; le cadre la remplit.
   -------------------------------------------------------------------------- */
.cp-vitrine-item--principale {
	aspect-ratio: 4 / 3;
	height: auto !important;
}
.cp-vitrine-item--principale .cp-car-img,
.cp-vitrine-item--secondaire .cp-car-img {
	height: 100% !important;
	min-height: 0 !important;
	aspect-ratio: auto !important;
}
@media (max-width: 900px) {
	.cp-vitrine-item--principale { aspect-ratio: 4 / 3; }
	.cp-vitrine-item--secondaire { aspect-ratio: auto; }
	.cp-vitrine-item--secondaire .cp-car-img { min-height: 190px !important; }
}
@media (max-width: 560px) {
	.cp-vitrine-item--principale { aspect-ratio: 4 / 3; }
	.cp-vitrine-item--secondaire .cp-car-img {
		height: auto !important;
		aspect-ratio: 16 / 10 !important;
		min-height: 0 !important;
	}
}

/* --------------------------------------------------------------------------
   22. Lisibilite du texte pose sur la grande photographie
   La carrosserie claire du vehicule passait sous le titre : le degrade
   commencait trop bas et trop faible. Il demarre plus haut et finit plus
   dense. Sur les deux cartes secondaires, la pastille de destination
   repetait l'information deja donnee juste a cote et debordait du cadre :
   elle est retiree.
   -------------------------------------------------------------------------- */
.cp-vitrine-item--principale .cp-car-info {
	background: linear-gradient(180deg,
		rgba(8, 21, 34, 0) 0%,
		rgba(8, 21, 34, .42) 20%,
		rgba(8, 21, 34, .82) 52%,
		rgba(8, 21, 34, .97) 100%) !important;
	padding-top: clamp(46px, 6vw, 76px) !important;
	text-shadow: 0 1px 2px rgba(4, 12, 20, .55);
}
.cp-vitrine-item--secondaire .cp-car-badge { display: none !important; }

/* --------------------------------------------------------------------------
   23. Couleurs du texte pose sur la grande photographie
   La couche visuelle impose « .cp-car-name { color: nuit !important } » :
   sur la vitrine, le titre s'ecrivait en bleu nuit sur une photographie
   sombre et disparaissait. Les trois lignes de la carte principale
   reprennent la main, et le degrade demarre plus tot.
   -------------------------------------------------------------------------- */
.cp-vitrine-item--principale .cp-car-info {
	background: linear-gradient(180deg,
		rgba(8, 21, 34, 0) 0%,
		rgba(8, 21, 34, .55) 18%,
		rgba(8, 21, 34, .88) 48%,
		rgba(8, 21, 34, .97) 100%) !important;
}
.cp-vitrine-item--principale .cp-car-name { color: #FFFFFF !important; }
.cp-vitrine-item--principale .cp-car-details { color: #E7D4B2 !important; }
.cp-vitrine-item--principale .cp-car-note { color: rgba(255, 255, 255, .92) !important; }
