@charset "UTF-8";
/* Sections de l'accueil : contenu de l'éditeur, Nos annonces + carte véhicule, Service Porsche, Nos marques, Nos métiers. front-page.php, template-parts/home/ */

/* Contenu de l'éditeur de la page d'accueil (affiché seulement s'il est renseigné) */
.sh-home__content {
	padding: 64px var(--sh-gutter);
}

/* ---------- Section « Nos annonces » + carte véhicule ---------- */
.sh-annonces {
	overflow: hidden;
	background: #ebebeb;
	padding: 20px var(--sh-gutter) 96px;
}
.sh-annonces__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 42px 10px 24px;
}
.sh-annonces__title {
	margin: 0;
	font-size: 50px;
	line-height: 46px;
	font-weight: 900;
}
.sh-annonces__all {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 5px 10px;
	text-decoration: none;
}
.sh-annonces__line {
	position: relative;
	width: 38px;
	border-top: 1px solid var(--sh-accent);
}
.sh-annonces__line::after {
	content: "";
	position: absolute;
	right: 0;
	top: -4px;
	width: 7px;
	height: 7px;
	border: solid var(--sh-accent);
	border-width: 1px 1px 0 0;
	transform: rotate(45deg);
}
.sh-annonces__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	margin-right: calc(var(--sh-gutter) * -1);
	padding-right: var(--sh-gutter);
}
.sh-annonces__track::-webkit-scrollbar {
	display: none;
}
@media (hover: hover) {
	.sh-annonces__track {
		cursor: grab;
	}
}
.sh-annonces__track.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	user-select: none;
}

.sh-dots {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 15px 0;
}
.sh-dots button {
	width: 5px;
	height: 5px;
	padding: 0;
	border: 0;
	border-radius: 50px;
	background: var(--sh-grey-400);
	cursor: pointer;
	transition: width 0.2s, background-color 0.2s;
}
.sh-dots button.is-active {
	width: 21px;
	background: var(--sh-accent);
}

.sh-card {
	flex: 0 0 clamp(280px, 25.6vw, 387px);
	scroll-snap-align: start;
	background: var(--sh-white);
}
.sh-card__img {
	display: block;
	height: 320px;
	background: #d3d3d3;
}
.sh-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.sh-card__body {
	padding: 16px 30px;
}
.sh-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 31px;
	font-size: 11px;
	line-height: 19px;
}
.sh-card__badge {
	padding: 4px 10px;
	border-radius: 50px;
	background: var(--sh-ink);
	color: var(--sh-white);
}
.sh-card__title {
	margin: 0;
	font-size: 24px;
	line-height: 32px;
	font-weight: 700;
}
.sh-card__title a {
	color: inherit;
	text-decoration: none;
}
.sh-card__version {
	margin: 0;
}
.sh-card__specs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 10px;
	margin: 0;
	padding: 10px 0;
	border-top: 1px solid #ebebeb;
	border-bottom: 1px solid #ebebeb;
	color: var(--sh-grey-400);
	transition: border-color 0.2s;
}
.sh-card__specs div {
	min-width: 0;
}
.sh-card__specs .is-end {
	text-align: right;
}
.sh-card__specs dt, .sh-card__specs dd {
	display: inline;
	margin: 0;
	font-weight: 400;
}
.sh-card:hover .sh-card__specs {
	border-color: var(--sh-grey-400);
}
.sh-card__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding-top: 15px;
}
.sh-card__price {
	margin: 0;
}
.sh-card__price strong {
	display: block;
	margin-bottom: -5px;
	font-size: 18px;
	line-height: 20px;
	color: var(--sh-accent);
}
.sh-card__price span {
	color: var(--sh-grey-400);
}

@media (max-width: 767.98px) {
	.sh-annonces__title {
		font-size: 40px;
		line-height: 40px;
	}
	.sh-card {
		flex-basis: 82vw;
	}
}
/* ---------- Section « Service Porsche » ---------- */
.sh-porsche {
	display: flex;
	justify-content: flex-end;
	min-height: 567px;
	padding: 150px var(--sh-gutter);
	color: var(--sh-white);
	background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), var(--sh-porsche-image) center/cover no-repeat, var(--sh-brown);
}
@media (min-width: 1200px) {
	.sh-porsche {
		background-size: auto, 113.58% auto, auto;
		background-position: 0 0, 100% 84%, 0 0;
	}
}
.sh-porsche__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 36px;
	width: 492px;
	max-width: 100%;
}
.sh-porsche__text p {
	margin: 0;
}
/* Texte WYSIWYG : paragraphes et listes espacés, liens visibles sur la photo. */
.sh-porsche__text .sh-porsche__body > * + * {
	margin-top: 1em;
}
.sh-porsche__body ul,
.sh-porsche__body ol {
	margin-bottom: 0;
	padding-left: 1.2em;
}
.sh-porsche__body a {
	color: inherit;
	text-decoration: underline;
}
.sh-porsche__title {
	margin: 0;
	font-size: 50px;
	line-height: 46px;
	font-weight: 900;
	color: var(--sh-white);
}
.sh-porsche__lead {
	padding: 10px 0;
	font-size: 18px;
	line-height: 20px;
	font-weight: 700;
}

/* ---------- Section « Nos marques » ---------- */
.sh-marques {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 50px var(--sh-gutter) 50px;
	background: var(--sh-white);
}
.sh-marques__title {
	margin: 0 0 30px;
	padding-top: 50px;
	font-size: 50px;
	line-height: 46px;
	font-weight: 900;
	text-align: center;
}
.sh-marques__text {
	max-width: 904px;
	margin: 0 0 30px;
	text-align: center;
}
.sh-marques__track {
	display: flex;
	gap: 32px;
	width: 100%;
	max-width: 1278px;
	padding: 0 0 20px;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
}
.sh-marques__track::-webkit-scrollbar {
	display: none;
}
@media (hover: hover) {
	.sh-marques__track {
		cursor: grab;
	}
}
.sh-marques__track.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	user-select: none;
}
.sh-marques__logo {
	flex: 0 0 186px;
	height: 102px;
	display: flex;
	align-items: center;
	justify-content: center;
	scroll-snap-align: start;
	border: 1px solid #bababa;
	border-radius: 10px;
	background: var(--sh-white);
	overflow: hidden;
}
.sh-marques__logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
}
.sh-marques .sh-dots {
	width: 100%;
	max-width: 1278px;
	padding: 0 0 50px;
}

@media (max-width: 1199.98px) {
	.sh-porsche {
		justify-content: flex-start;
		padding: 80px var(--sh-gutter);
	}
}
@media (max-width: 767.98px) {
	.sh-porsche {
		min-height: 0;
	}
	.sh-porsche__title {
		font-size: 40px;
		line-height: 40px;
	}
	.sh-marques__title {
		font-size: 40px;
		line-height: 40px;
	}
	.sh-marques__logo {
		flex-basis: 150px;
		height: 84px;
	}
}
/* ---------- Section « Nos métiers » ---------- */
.sh-metiers {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
	padding: 100px var(--sh-gutter);
	background: #333;
	color: var(--sh-white);
}
.sh-metiers__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.sh-metiers__title {
	margin: 0;
	font-size: 50px;
	line-height: 46px;
	font-weight: 900;
	color: var(--sh-white);
}
.sh-metiers__text {
	width: 700px;
	max-width: 100%;
	margin: 20px 0 0;
	opacity: 0.85;
}
.sh-metiers__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	width: 100%;
}
.sh-metiers__card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 30px;
	text-align: center;
	background: rgba(21, 21, 21, 0.8);
	backdrop-filter: blur(5px);
}
.sh-metiers__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 65px;
	height: 65px;
	border-radius: 50%;
	background: var(--sh-ink);
	font-size: 26px;
}
.sh-metiers__card-title {
	margin: 0;
	padding: 10px 0;
	text-align: center;
	font-size: 24px;
	line-height: 32px;
	font-weight: 700;
	color: var(--sh-white);
}
.sh-metiers__card-text {
	margin: 0;
	padding: 10px 0;
}

@media (max-width: 991.98px) {
	.sh-metiers {
		padding: 64px var(--sh-gutter);
	}
	.sh-metiers__grid {
		grid-template-columns: 1fr;
	}
	.sh-metiers__title {
		font-size: 40px;
		line-height: 40px;
	}
}
