/* ----------------------------------------------------------------
	Custom CSS - Refonte Homepage Présence Verte
	Orientée offres / conversion
-----------------------------------------------------------------*/

/* === HERO === */
.hero-content {
	max-width: 650px;
}
.hero-subtitle {
	font-size: 1.2rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	opacity: .95;
}
.hero-ctas {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.btn-cta-primary {
	background: var(--rouge) !important;
	color: #fff !important;
	border: none !important;
	font-weight: 600 !important;
	font-size: 1rem !important;
	padding: 14px 30px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	transition: all .3s ease !important;
}
.btn-cta-primary:hover {
	background: #d4432c !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(241,86,60,.4);
}
.btn-cta-secondary {
	background: transparent !important;
	color: #fff !important;
	border: 2px solid #fff !important;
	font-weight: 500 !important;
	font-size: 1rem !important;
	padding: 12px 28px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	transition: all .3s ease !important;
}
.btn-cta-secondary:hover {
	background: rgba(255,255,255,.15) !important;
}

/* === BANDEAU AVANTAGES === */
#avantages-bar {
	/*background: var(--bleu);*/
	color: #fff;
	background: #004A80;
    background: linear-gradient(52deg,rgba(0, 74, 128, 1) 40%, rgba(9, 186, 176, 1) 100%);
}
#avantages-bar .avantage-item i {
	color: var(--rouge);
	color: #09BAB0;
	display: block;
}
#avantages-bar .avantage-item h4 {
	color: #fff;
	font-size: 1.05rem;
	margin-bottom: .3rem;
	font-weight: 600;
}
#avantages-bar .avantage-item p {
	font-size: .85rem;
	opacity: .85;
	margin-bottom: 0;
	line-height: 1.4;
}

/* === CARTES OFFRES === */
.offre-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 20px rgba(0,0,0,.08);
	transition: all .3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
}
.offre-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.offre-card-highlight {
	border: 2px solid var(--rouge);
}
.offre-card-badge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: var(--rouge);
	color: #fff;
	padding: 5px 15px;
	border-radius: 20px;
	font-size: .8rem;
	font-weight: 600;
	z-index: 2;
	letter-spacing: .5px;
}
.offre-card-img {
	height: 200px;
	overflow: hidden;
}
.offre-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.offre-card:hover .offre-card-img img {
	transform: scale(1.05);
}
.offre-card-body {
	padding: 25px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.offre-card-body h3 {
	color: var(--bleu);
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: .3rem;
}
.offre-tagline {
	color: var(--rouge);
	font-weight: 600;
	font-size: .95rem;
	margin-bottom: .8rem;
}
.offre-features {
	list-style: none;
	padding: 0;
	margin: 0 0 1.2rem 0;
	flex: 1;
}
.offre-features li {
	padding: 5px 0;
	font-size: .9rem;
	color: #444;
}
.offre-features li i {
	color: #28a745;
	margin-right: 8px;
}
.offre-card-ctas {
	display: flex;
	gap: 10px;
	margin-top: auto;
}
.offre-card-ctas a{
	font-size: 1.2em !important;
	font-weight: 400 !important;
}
.btn-offre-detail {
	background: var(--bleu) !important;
	color: #fff !important;
	font-size: .85rem !important;
	padding: 10px 18px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	font-weight: 500 !important;
	border:1px solid var(--bleu) !important;
}
.btn-offre-detail:hover {
	background: #083d67 !important;
}
.btn-offre-souscrire {
	background: var(--rouge) !important;
	color: #fff !important;
	font-size: .85rem !important;
	padding: 10px 18px !important;
	/*border-radius:4rem;*/
	letter-spacing: 0 !important;
	text-transform: none !important;
	font-weight: 600 !important;
	border:1px solid var(--rouge);
}
.btn-offre-souscrire:hover {
	background: #09BAB9 !important;
	border:1px solid #0a4b7e;
}
.btn-lien-options {
	color: var(--bleu);
	font-weight: 600;
	text-decoration: underline;
}
.btn-lien-options:hover {
	color: var(--rouge);
}

/* === ETAPES "COMMENT CA MARCHE" === */
.etape-item {
	padding: 20px;
}
.etape-num {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--rouge);
	color: #fff;
	font-size: 1.5rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 15px;
}
.etape-item h4 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--bleu);
	margin-bottom: .4rem;
}
.etape-item p {
	font-size: .9rem;
	color: #555;
	margin-bottom: 0;
}

/* === BANDEAU CTA === */
#cta-bandeau {
	/*background: linear-gradient(135deg, var(--bleu) 0%, #0d5e9e 100%);*/
	background: #004A80;
    background: linear-gradient(52deg,rgba(0, 74, 128, 1) 40%, rgba(9, 186, 176, 1) 100%);
}
#cta-bandeau h2 {
	font-size: 2rem;
}
.btn-cta-white {
	background: #fff !important;
	color: var(--bleu) !important;
	border: none !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	padding: 14px 30px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	transition: all .3s ease !important;
}
.btn-cta-white:hover {
	background: #f0f0f0 !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.btn-cta-white-outline {
	background: transparent !important;
	color: #fff !important;
	border: 2px solid #fff !important;
	font-weight: 500 !important;
	font-size: 1rem !important;
	padding: 12px 28px !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	transition: all .3s ease !important;
}
.btn-cta-white-outline:hover {
	background: rgba(255,255,255,.15) !important;
}

/* === RESPONSIVE === */
@media (max-width: 767px) {
	.hero-ctas {
		flex-direction: column;
	}
	.hero-ctas .button {
		text-align: center;
	}
	.offre-card-ctas {
		flex-direction: column;
	}
	#cta-bandeau h2 {
		font-size: 1.5rem;
	}
	#cta-bandeau .button {
		display: block;
		margin: 8px auto !important;
		text-align: center;
	}
	.offre-card-img {
		height: 160px;
	}
}


/* ================================================================
   FORMULAIRE MULTI-ÉTAPES - DEMANDE DE SOUSCRIPTION
================================================================ */

/* === STEPPER === */
.form-stepper {
	max-width: 600px;
	margin: 0 auto;
}
.stepper-row {
	display: flex;
	align-items: center;
	justify-content: center;
}
.form-stepper .step {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: default;
	flex-shrink: 0;
}
.form-stepper .step.completed {
	cursor: pointer;
}
.step-circle {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #ddd;
	color: #999;
	font-size: 1.1rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .3s ease;
}
.step.active .step-circle {
	background: var(--rouge);
	color: #fff;
	box-shadow: 0 3px 12px rgba(241,86,60,.35);
}
.step.completed .step-circle {
	background: #28a745;
	color: #fff;
}
.step-label {
	font-size: .8rem;
	margin-top: 6px;
	color: #999;
	font-weight: 500;
	text-align: center;
	white-space: nowrap;
}
.step.active .step-label {
	color: var(--rouge);
	font-weight: 700;
}
.step.completed .step-label {
	color: #28a745;
}
.step-line {
	flex: 1;
	height: 3px;
	background: #ddd;
	margin: 0 12px;
	margin-bottom: 22px;
	border-radius: 3px;
	min-width: 40px;
}

/* === SECTIONS DU FORMULAIRE === */
.form-section-title {
	border-bottom: 3px solid var(--bleu);
	padding-bottom: 10px;
	margin-bottom: 25px;
}
.form-section-title h3 {
	color: var(--bleu);
	font-weight: 700;
	margin-bottom: 0;
}
.sub-title {
	color: var(--bleu);
	font-size: 1.05rem;
	font-weight: 600;
	margin-bottom: 12px;
	padding-bottom: 6px;
	border-bottom: 1px solid #eee;
}

/* === BLOCS === */
.beneficiaire-block,
.intervenant-block {
	background: #f9f9f9;
	border-radius: 10px;
	padding: 20px 20px 10px;
	border: 1px solid #eee;
}
.intervenant-block + .intervenant-block {
	margin-top: 10px;
}

/* === CHAMPS === */
.form-control,
.form-select {
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 8px 12px;
	font-size: .9rem;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus,
.form-select:focus {
	border-color: var(--bleu);
	box-shadow: 0 0 0 3px rgba(10,75,126,.12);
	outline: none;
}
.form-control.is-invalid {
	border-color: #dc3545;
	box-shadow: 0 0 0 3px rgba(220,53,69,.15);
}
.form-label {
	font-size: .85rem;
	color: #555;
	margin-bottom: 4px;
}

/* === RADIO/CHECK INLINE === */
.form-check-inline-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: 4px;
}
.form-check-inline {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: .9rem;
	cursor: pointer;
}
.form-check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
}
.form-check-input {
	margin-top: 3px;
	flex-shrink: 0;
}

/* === CHOIX OFFRE (CARTES) === */
.offre-choice-group {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}
.offre-choice-card {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #f9f9f9;
	border: 2px solid #ddd;
	border-radius: 10px;
	padding: 18px 22px;
	cursor: pointer;
	transition: all .2s ease;
	flex: 1;
	min-width: 220px;
}
.offre-choice-card:hover {
	border-color: var(--bleu);
	background: #f0f5fa;
}
.offre-choice-card:has(input:checked) {
	border-color: var(--rouge);
	background: #fef5f3;
	box-shadow: 0 2px 10px rgba(241,86,60,.15);
}
.offre-choice-body {
	display: flex;
	flex-direction: column;
}
.offre-choice-body strong {
	color: var(--bleu);
	font-size: 1.05rem;
}
.offre-choice-body span {
	font-size: .85rem;
	color: #666;
}

/* === NAVIGATION FORMULAIRE === */
.form-nav {
	padding-top: 20px;
	margin-top: 15px;
	border-top: 1px solid #eee;
}

/* === CONFIRMATION === */
.form-confirmation {
	max-width: 600px;
	margin: 0 auto;
}
.confirm-icon {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #e8f5e9;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}

/* === RESPONSIVE FORMULAIRE === */
@media (max-width: 767px) {
	.stepper-row {
		gap: 0;
	}
	.step-label {
		font-size: .7rem;
	}
	.step-circle {
		width: 36px;
		height: 36px;
		font-size: .95rem;
	}
	.step-line {
		/*min-width: 20px;
		margin: 0 6px;*/
		min-width: 0px;
		margin: 0 2px;
	}
	.beneficiaire-block,
	.intervenant-block {
		padding: 15px 12px 8px;
	}
	.offre-choice-group {
		flex-direction: column;
	}
}

.gradientpv{
	background: #004A80;
    background: linear-gradient(52deg,rgba(0, 74, 128, 1) 40%, rgba(9, 186, 176, 1) 100%)!important;
}
/* === HERO MOBILE (fix H2 agrandi) === */
@media (max-width: 991.98px) {
	section#slider {
		height: auto !important;
		min-height: 60vh;
	}
	#slider .swiper-container {
		position: relative;
		height: auto;
	}
	#slider .swiper-slide {
		display: flex;
		align-items: center;
		min-height: 60vh;
		padding: 40px 0;
	}
	#slider .slider-caption {
		height: auto;
		max-width: 100%;
	}
	#slider .slider-caption .hero-subtitle {
		margin-bottom: 1rem;
	}
	#slider .hero-ctas .button {
		margin: 0 !important;
	}
}

/* === H1 SEO : masqué visuellement sur mobile (reste lu par Google et les lecteurs d'écran) === */
@media (max-width: 767px) {
	h1.obj {
		position: absolute !important;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}
}


/* === OFFRES LOT : offre de base pleine largeur + 4 forfaits en colonnes === */
.offres-lot-base .offre-choice-card {
	width: 100%;
}
.offres-lot-forfaits {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
}
.offres-lot-forfaits .offre-choice-card {
	min-width: 0;
	align-items: flex-start;
	height: 100%;
}
.offres-lot-forfaits .offre-choice-card input {
	margin-top: 4px;
	flex-shrink: 0;
}
.offres-lot-forfaits .offre-choice-body {
	height: 100%;
}
.offres-lot-forfaits .offre-choice-body span:last-child {
	margin-top: auto;
	padding-top: 8px;
}
@media (max-width: 991.98px) {
	.offres-lot-forfaits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
	.offres-lot-forfaits { grid-template-columns: 1fr; }
}
