:root {
	/* Noir c'est noir */
	--bs-dark-rgb: 0, 0, 0;
	/* Police partout, Inter nul part */
	--bs-body-font-family: "Inter", var(--bs-font-sans-serif);
	/* Le bleu RENTR */
	--bs-primary-rgb: 24, 119, 243;
}

html {
	opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in-out;
	animation-duration: 0.5s;
	font-optical-sizing: auto;
}

.btn:not(.btn-sm, .btn-lg) {
	/* Les boutons sont FAT */
	--bs-btn-padding-x: 1.5rem;
	--bs-btn-padding-y: 0.65rem;
	--bs-btn-border-radius: var(--bs-border-radius-lg);
}
.btn-lg {
	--bs-btn-padding-x: 2rem;
	--bs-btn-padding-y: 1rem;
}

.form-control:disabled {
	opacity: 0.75;
}

/* -START HEADER */
.header-navbar[data-bs-theme=dark] {
	--bs-navbar-color: #ffffff;
	--bs-bg-opacity: 0;
	transition: background-color 0.15s ease-in-out;

	&.scrolled {
		--bs-bg-opacity: 1;
	}

	.btn-outline-primary {
		--bs-btn-bg: #242424;
		--bs-btn-border-color: transparent;
	}
}

.menubutton-anim {
	width: 20px;
	height: 20px;
	position: relative;
	margin: 0px;
	transform: rotate(0deg);
	transition: .5s ease-in-out;
	cursor: pointer;
	
	span {
		display: block;
		position: absolute;
		height: 2px;
		width: 100%;
		border-radius: 0px;
		opacity: 1;
		left: 0;
		transform: rotate(0deg);
		transition: transform .25s ease-in-out;
		background: #ffffff;

		&:nth-child(1) {
			top: 0px;
		}
		&:nth-child(2), &:nth-child(3) {
			top: 10px;
		}
		&:nth-child(4) {
			top: 20px;
		}
	}
}
[aria-expanded="true"] {
	.menubutton-anim {
		span:nth-child(1) {
			top: 11px;
			width: 0%;
			left: 50%;
		}
		span:nth-child(2) {
			transform: rotate(45deg);
		}
		span:nth-child(3) {
			transform: rotate(-45deg);
		}
		span:nth-child(4) {
			top: 11px;
			width: 0%;
			left: 50%;
		}
	}
}
/* -END HEADER */

/* -START COMMON */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
}

.button-top-page {
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 1001;
	--bs-btn-active-bg: rgba(0,0,0,0.25);
}

.carousel-1-by-1 {
	scroll-behavior: smooth;
}

.page-header {
	background-image: radial-gradient(at bottom center, rgba(24, 119, 243, 0.8), rgba(var(--bs-dark-rgb), 0) 70%);
	background-repeat: no-repeat;
	background-size: 50% 100%;
	background-position: center bottom;
}

.vehicle-aura {
	background-image: 
		radial-gradient(at left, rgba(24, 119, 243, 0.5), rgba(var(--bs-dark-rgb), 0) 50%),
		radial-gradient(at right, rgba(24, 119, 243, 0.8), rgba(var(--bs-dark-rgb), 0) 50%);
	background-position: 
		left,
		right;
	background-size: 
		20% 120%,
		20% 100%;
	background-repeat: no-repeat;
}
@media screen and (max-width: 425px) {
	.vehicle-aura {
		background-image: radial-gradient(circle at center, rgba(24, 119, 243, 0.8), rgba(var(--bs-dark-rgb), 0) 70%);
		background-size: 200% 100%;
		background-position: left center;
	}
}

.vcvc-grid {
	grid-template-columns: 1fr 1fr;
	/* grid-template-rows: 1fr 1fr; */
	gap: 0em 2em;
	grid-template-areas:
		"v1 v2"
		"c1 c2";
}
.v-1 {
	grid-area: v1;
}
.v-2 {
	grid-area: v2;
}
.v-1, .c-1, .v-2, .c-2 {
	width: 80%;
	margin: auto;
}
.c-1 {
	grid-area: c1;
}
.c-2 {
	grid-area: c2;
	background-image: 
		radial-gradient(circle at center, rgba(24, 119, 243, 0.5), rgba(var(--bs-dark-rgb), 0) 55%),
		radial-gradient(circle at center, rgba(24, 119, 243, 0.5), rgba(var(--bs-dark-rgb), 0) 60%);
	background-position: 
		left -50% top -50%,
		right -50% bottom;
	background-size: 
		50% 60%,
		50% 70%;
	background-repeat: no-repeat;
}
.big-text-outline {
	color: white;
	/* text-shadow: 0 0 2px #D9D9D9; */
	text-shadow: 0 0 2px #9e9e9e;
	font-size: 10rem;
	font-weight: bold;
	text-align: center;
	pointer-events: none;
}
.vehicle-rental-image {
	margin-top: -5rem;
	margin-bottom: -5rem;
	z-index: 5;
	position: relative;
}
@media screen and (max-width: 425px) {
	.v-1, .c-1, .v-2, .c-2 {
		width: 100%;
	}
	.c-1 {
		margin-bottom: 2rem;
	}
	.c-2 {
		background-image:
			radial-gradient(circle at center, rgba(24, 119, 243, 0.3), rgba(var(--bs-dark-rgb), 0) 35%),
			radial-gradient(circle at center, rgba(24, 119, 243, 0.3), rgba(var(--bs-dark-rgb), 0) 35%);
		background-size: 
			200% 60%,
			200% 70%;
		background-position: 
			right top -50%,
			left bottom;
	}
}

.avantages {
	background-image: 
		linear-gradient(to bottom, rgba(var(--bs-dark-rgb), 0.8), rgba(var(--bs-dark-rgb), 0.5)),
		url('/assets/images/photos/photo-01.jpg');
	background-position: center, center;
	background-repeat: no-repeat;
	background-size: cover;
}

.vehicules {
	background-image: 
		radial-gradient(circle at center, rgba(24, 119, 243, 0.5), rgba(var(--bs-dark-rgb), 0) 40%);
	background-position: 
		left -50% bottom 20%;
	background-size: 
		50% 200%;
	background-repeat: no-repeat;
}
.card-vehicle {
	background-image: linear-gradient(to bottom, #fff 0%, #fff 60%, rgba(var(--bs-dark-rgb), 0.1) 100%);
}
@media screen and (max-width: 768px) {
	.vehicules {
		background-image: none;
	}
}

@media screen and (min-width: 768px) {
	.actualites-slider {
		--bs-gutter-x: 3rem;
	}
}

.temoignages {
	background-image: 
		radial-gradient(circle at center, rgba(24, 119, 243, 0.5), rgba(var(--bs-dark-rgb), 0) 40%),
		radial-gradient(circle at center, rgba(24, 119, 243, 0.8), rgba(var(--bs-dark-rgb), 0) 40%);
	background-position: 
		right -50% bottom 20%,
		left -50% bottom 20%;
	background-size: 
		150% 200%,
		150% 200%;
	background-repeat: no-repeat;
}
.temoignages-slider .card {
	background-color: rgba(255, 255, 255, 0.5);

	/* hr {
		--bs-border-width: 2px;
	} */
}
@media screen and (max-width: 768px) {
	.temoignages {
		background-image: none;
	}
}

.accordion {
	--bs-accordion-active-color: var(--bs-primary);
	--bs-accordion-active-bg: transparent;
	--bs-accordion-btn-focus-box-shadow: 0;

	--bs-accordion-btn-icon: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20640%20640%22%3E%3C%21--%21Font%20Awesome%20Free%20v7.0.0%20by%20@fontawesome%20-%20https%3A//fontawesome.com%20License%20-%20https%3A//fontawesome.com/license/free%20Copyright%202025%20Fonticons%2C%20Inc.--%3E%3Cpath%20fill%3D%22%230d6efd%22%20d%3D%22M320%20576C461.4%20576%20576%20461.4%20576%20320C576%20178.6%20461.4%2064%20320%2064C178.6%2064%2064%20178.6%2064%20320C64%20461.4%20178.6%20576%20320%20576zM296%20408L296%20344L232%20344C218.7%20344%20208%20333.3%20208%20320C208%20306.7%20218.7%20296%20232%20296L296%20296L296%20232C296%20218.7%20306.7%20208%20320%20208C333.3%20208%20344%20218.7%20344%20232L344%20296L408%20296C421.3%20296%20432%20306.7%20432%20320C432%20333.3%20421.3%20344%20408%20344L344%20344L344%20408C344%20421.3%20333.3%20432%20320%20432C306.7%20432%20296%20421.3%20296%20408z%22/%3E%3C/svg%3E);
	/* --bs-accordion-btn-icon-transform: rotate(0deg); */
	--bs-accordion-btn-active-icon: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20640%20640%22%3E%3C%21--%21Font%20Awesome%20Pro%20v7.0.0%20by%20@fontawesome%20-%20https%3A//fontawesome.com%20License%20-%20https%3A//fontawesome.com/license%20%28Commercial%20License%29%20Copyright%202025%20Fonticons%2C%20Inc.--%3E%3Cpath%20fill%3D%22%230d6efd%22%20d%3D%22M320%20112C434.9%20112%20528%20205.1%20528%20320C528%20434.9%20434.9%20528%20320%20528C205.1%20528%20112%20434.9%20112%20320C112%20205.1%20205.1%20112%20320%20112zM320%20576C461.4%20576%20576%20461.4%20576%20320C576%20178.6%20461.4%2064%20320%2064C178.6%2064%2064%20178.6%2064%20320C64%20461.4%20178.6%20576%20320%20576zM232%20296C218.7%20296%20208%20306.7%20208%20320C208%20333.3%20218.7%20344%20232%20344L408%20344C421.3%20344%20432%20333.3%20432%20320C432%20306.7%20421.3%20296%20408%20296L232%20296z%22/%3E%3C/svg%3E);
}

.table-lg > :not(caption) > * > * {
	padding: 1rem 1rem;
}

.spe {
	display: inline-block !important;
	width: 72px;
	height: 72px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	font-style: normal !important;
}

.spe-car { background-image: url('../images/pictos/car.svg'); }
.spe-warranty { background-image: url('../images/pictos/warranty.svg'); }
.spe-km { background-image: url('../images/pictos/km.svg'); }
.spe-battery { background-image: url('../images/pictos/battery.svg'); }
.spe-online { background-image: url('../images/pictos/online.svg'); }
.spe-localization { background-image: url('../images/pictos/localization.svg'); }
.spe-12 { background-image: url('../images/pictos/12.svg'); }
.spe-docpaper { background-image: url('../images/pictos/docpaper.svg'); }
.spe-phone { background-image: url('../images/pictos/phone.svg'); }
.spe-address { background-image: url('../images/pictos/address.svg'); }

.spe-option-boitemanuelle { background-image: url('../images/pictos/boitemanuelle.svg'); }
.spe-option-carburant { background-image: url('../images/pictos/carburant.svg'); }
.spe-option-color { background-image: url('../images/pictos/color.svg'); }
.spe-option-critair { background-image: url('../images/pictos/critair.svg'); }
.spe-option-portes { background-image: url('../images/pictos/portes.svg'); }
.spe-option-places { background-image: url('../images/pictos/places.svg'); }

.stocklimited-badge {
  transform: rotate(15deg);
  top: 80px;
  right: 32px;
}

.quotation-badge {
  background-color: #014282;
  padding: 10px 20px;
  border-radius: 5px;
}

.quotation-badge * {
  color: #ffffff;
}

.recap-badge {
  border: 1px solid #014282;
  padding: 10px 20px;
  border-radius: 5px;
}

.collapsing {
	opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in-out;
	animation-duration: 2s;
}

.btn-icn-square {
	aspect-ratio: 1/1;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Couleurs */
.color-circle {
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	cursor: pointer;
	background-color: transparent;
	border: 2px solid #FFF;
	box-sizing: border-box;
}
/* Bleu */
.color-bleu {
	background-color: #0909c5;
}
.color-bleu.active {
	border-color: #0909c5;
}
/* Noir */
.color-noir {
	background-color: #000000;
}
.color-noir.active {
	border-color: #000000;
}
/* Gris */
.color-gris {
	background-color: #808080;
}
.color-gris.active {
	border-color: #808080;
}
/* Blanc */
.color-blanc {
	background-color: #ffffff;
	border-color: #ccc;
}
.color-blanc.active {
	border-color: #ffffff;
}
/* Beige */
.color-beige {
	background-color: #f5f5dc;
}
.color-beige.active {
	border-color: #f5f5dc;
}
/* Marron */
.color-marron {
	background-color: #8b4513;
}
.color-marron.active {
	border-color: #8b4513;
}
/* Rouge */
.color-rouge {
	background-color: #d00909;
}
.color-rouge.active {
	border-color: #d00909;
}
/* Jaune */
.color-jaune {
	background-color: #ffff00;
}
.color-jaune.active {
	border-color: #ffff00;
}
/* Vert */
.color-vert {
	background-color: #35c600;
}
.color-vert.active {
	border-color: #35c600;
}
/* Violet */
.color-violet {
	background-color: #aa0baa;
}
.color-violet.active {
	border-color: #aa0baa;
}

.color-circle.active {
	border-color: var(--bs-primary);
}

@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* Mon compte - Dashboard */
@media (max-width: 991.98px) {
	.mobile-contents {
		display: contents !important;
	}
	.dashboard-grid {
		display: flex;
		flex-direction: column;
		gap: 1.5rem; /* Match Bootstrap g-4 */
	}
	/* Ordre Mobile: 1. Etat, 2. Docs, 3. Demandes, 4. Contrats */
	.order-mobile-1 { order: 1; }
	.order-mobile-2 { order: 2; }
	.order-mobile-3 { order: 3; }
	.order-mobile-4 { order: 4; }
}
/* -END COMMON */
