/* ==========================================================
   Section "3 offres" — accueil
   Les polices sont héritées du thème. Ajuste les couleurs ici.
   ========================================================== */

.offres {
	--o-accent: #ef7a2d;          /* orange du site */
	--o-accent-dark: #d9621a;
	--o-accent-soft: #fdf0e6;
	--o-text: #1c1f26;
	--o-muted: #6b7180;
	--o-bg: #faf8f6;
	--o-card: #ffffff;
	--o-border: #ebe7e3;
	--o-featured-bg: #16181d;     /* carte mise en avant */
	--o-featured-text: #f4f4f5;
	--o-featured-muted: #a1a6b3;
	--o-radius: 22px;

	position: relative;
	padding: clamp(4rem, 9vw, 7rem) 0;
	/* fond en fondu : pas de coupure nette avec les sections voisines */
	background: linear-gradient(
		to bottom,
		rgba(250, 248, 246, 0) 0,
		var(--o-bg) 280px,
		var(--o-bg) calc(100% - 280px),
		rgba(250, 248, 246, 0) 100%
	);
	color: var(--o-text);
	font-family: inherit;
	overflow: hidden;
}

.offres *,
.offres *::before,
.offres *::after {
	box-sizing: border-box;
}

/* halo décoratif discret */
.offres::before {
	content: "";
	position: absolute;
	top: -120px;
	left: 50%;
	width: 900px;
	height: 520px;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(239, 122, 45, .14), transparent);
	pointer-events: none;
}

.offres__container {
	position: relative;
}

/* ---------- En-tête (titre stylé par le thème, comme les autres sections) ---------- */
.offres__header {
	max-width: 760px;
	margin: 0 auto clamp(3rem, 6vw, 4.5rem);
}

.offres__intro {
	margin: 1rem 0 0;
	font-size: clamp(1rem, 1.6vw, 1.125rem);
	line-height: 1.65;
	color: var(--o-muted);
}

/* ---------- Grille ---------- */
.offres__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: start;
}

/* ---------- Carte ---------- */
.offre {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 2.25rem 2rem 2rem;
	background: var(--o-card);
	border: 1px solid var(--o-border);
	border-radius: var(--o-radius);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(16, 24, 40, .08);
	transition: transform .25s ease, box-shadow .25s ease;
}

.offre:hover {
	transform: translateY(-6px);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 24px 48px -16px rgba(16, 24, 40, .16);
}

.offre__top {
	padding-bottom: 1.75rem;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid var(--o-border);
}

.offre__titre {
	margin: 0 0 .75rem;
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.01em;
	color: inherit;
	min-height: 2.5em; /* titres alignés même sur 2 lignes */
}

.offre__cible {
	margin: 0 0 1.5rem;
	font-size: .95rem;
	line-height: 1.45;
	color: var(--o-muted);
}

.offre__cible-label {
	display: block;
	margin-bottom: .15rem;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--o-accent-dark);
}

.offre__prix {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .5rem;
	margin: 0 0 1.5rem;
}

.offre__montant {
	font-size: clamp(2.4rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.03em;
	color: var(--o-accent);
}

.offre__periode {
	font-size: .95rem;
	font-weight: 500;
	color: var(--o-muted);
}

/* ---------- Bouton ---------- */
.offre__bouton {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	width: 100%;
	padding: .95rem 1.25rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	color: var(--o-text);
	background: transparent;
	border: 1.5px solid var(--o-text);
	border-radius: 12px;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.offre__bouton svg {
	transition: transform .2s ease;
}

.offre__bouton:hover,
.offre__bouton:focus-visible {
	color: #fff;
	background: var(--o-text);
}

.offre__bouton:hover svg {
	transform: translateX(3px);
}

.offre__bouton:focus-visible {
	outline: 3px solid var(--o-accent);
	outline-offset: 3px;
}

/* ---------- Liste ---------- */
.offre__liste {
	margin: 0;
	padding: 0;
	list-style: none;
}

.offre__liste li {
	position: relative;
	margin: 0;
	padding: .45rem 0 .45rem 2rem;
	font-size: .975rem;
	line-height: 1.45;
}

.offre__liste li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5rem;
	width: 1.3rem;
	height: 1.3rem;
	border-radius: 50%;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef7a2d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat,
		var(--o-accent-soft);
}

/* ligne "+ Toutes les prestations de…" */
.offre__liste li.is-plus {
	margin-bottom: .5rem;
	padding: .7rem .9rem .7rem 2.6rem;
	font-weight: 700;
	background: var(--o-accent-soft);
	border-radius: 10px;
}

.offre__liste li.is-plus::before {
	left: .7rem;
	top: .78rem;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 60% no-repeat,
		var(--o-accent);
}

/* ---------- Carte mise en avant ---------- */
.offre--featured {
	color: var(--o-featured-text);
	background: var(--o-featured-bg);
	border-color: var(--o-featured-bg);
	box-shadow: 0 30px 60px -20px rgba(22, 24, 29, .45);
	transform: translateY(-16px);
}

.offre--featured:hover {
	transform: translateY(-22px);
	box-shadow: 0 36px 70px -20px rgba(22, 24, 29, .5);
}

.offre--featured .offre__top {
	border-color: rgba(255, 255, 255, .12);
}

.offre--featured .offre__cible,
.offre--featured .offre__periode {
	color: var(--o-featured-muted);
}

.offre--featured .offre__cible-label {
	color: var(--o-accent);
}

.offre--featured .offre__bouton {
	color: #fff;
	background: var(--o-accent);
	border-color: var(--o-accent);
}

.offre--featured .offre__bouton:hover,
.offre--featured .offre__bouton:focus-visible {
	background: var(--o-accent-dark);
	border-color: var(--o-accent-dark);
}

.offre--featured .offre__liste li::before {
	background-color: rgba(239, 122, 45, .18);
}

.offre--featured .offre__liste li.is-plus {
	background: rgba(255, 255, 255, .07);
}

.offre--featured .offre__liste li.is-plus::before {
	background-color: var(--o-accent);
}

.offre__badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: .45rem 1.1rem;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
	color: #fff;
	background: var(--o-accent);
	border-radius: 999px;
	box-shadow: 0 8px 20px -6px rgba(239, 122, 45, .6);
}

/* ---------- Mention ---------- */
.offres__mention {
	margin: 2.5rem 0 0;
	font-size: .9rem;
	text-align: center;
	color: var(--o-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.offres__grid {
		grid-template-columns: minmax(0, 1fr);
		max-width: 520px;
		margin: 0 auto;
		gap: 2.25rem;
	}

	.offre--featured,
	.offre--featured:hover {
		transform: none;
	}

	.offre__titre {
		min-height: 0;
	}
}

@media (max-width: 480px) {
	.offre {
		padding: 2rem 1.4rem 1.6rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.offre,
	.offre__bouton,
	.offre__bouton svg {
		transition: none;
	}

	.offre:hover {
		transform: none;
	}

	.offre--featured:hover {
		transform: translateY(-16px);
	}
}

/* ---------- Couleurs forcées (le thème impose sa couleur aux titres et listes) ---------- */
.offres .offre .offre__titre,
.offres .offre .offre__liste li {
	color: var(--o-text);
}

.offres .offre--featured .offre__titre,
.offres .offre--featured .offre__liste li {
	color: var(--o-featured-text);
}

/* ==========================================================
   Hero visuel — composition "services en action" (accueil)
   ========================================================== */

.hv {
	--hv-accent: #ff6904;
	--hv-accent-soft: #ffeadb;
	--hv-text: #1c1f26;
	--hv-muted: #6b7180;
	--hv-line: #eef0f3;
	--hv-shadow: 0 18px 40px -14px rgba(28, 31, 38, .22), 0 2px 6px rgba(28, 31, 38, .06);

	position: relative;
	width: 100%;
	max-width: 620px;
	aspect-ratio: 6 / 5;
	margin-left: auto;
	font-family: inherit;
	color: var(--hv-text);
}

.hv *,
.hv *::before,
.hv *::after {
	box-sizing: border-box;
}

.hv svg path,
.hv svg circle {
	fill: none;
	stroke: currentColor;
}

.hv .hv__ico svg { color: var(--hv-accent); }

.hv svg {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Décor */
.hv__blob {
	position: absolute;
	top: 2%;
	right: 4%;
	width: 72%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--hv-accent-soft);
}

.hv__dots {
	position: absolute;
	left: 4%;
	top: 4%;
	width: 22%;
	aspect-ratio: 1.4;
	background-image: radial-gradient(var(--hv-accent) 1.6px, transparent 1.8px);
	background-size: 14px 14px;
	opacity: .55;
}

/* Fenêtre de site */
.hv__window {
	position: absolute;
	left: 12%;
	top: 15%;
	width: 70%;
	height: 60%;
	background: #fff;
	border-radius: 18px;
	box-shadow: var(--hv-shadow);
	overflow: hidden;
	animation: hv-in .7s ease-out both;
}

.hv__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 11px 14px;
	border-bottom: 1px solid var(--hv-line);
}

.hv__bar span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #e3e5e9;
}

.hv__bar span:first-child { background: var(--hv-accent); }

.hv__bar em {
	flex: 1;
	margin-left: 10px;
	padding: 3px 12px;
	font-size: 11px;
	font-style: normal;
	color: var(--hv-muted);
	background: #f5f6f8;
	border-radius: 999px;
}

.hv__page {
	padding: 7% 8%;
}

.hv__line {
	height: 8px;
	width: 78%;
	margin-top: 7px;
	border-radius: 4px;
	background: var(--hv-line);
}

.hv__line--title {
	height: 14px;
	width: 62%;
	margin-top: 0;
	margin-bottom: 8px;
	background: var(--hv-text);
}

.hv__line--short { width: 40%; margin-bottom: 14px; }
.hv__line--mid { width: 60%; }

.hv__cta {
	width: 32%;
	height: 26px;
	margin-top: 16px;
	border-radius: 999px;
	background: var(--hv-accent);
}

.hv__tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 18px;
}

.hv__tiles span {
	height: 48px;
	border-radius: 10px;
	background: #f5f6f8;
}

.hv__tiles span:nth-child(2) { background: var(--hv-accent-soft); }

/* Cartes flottantes */
.hv__card {
	position: absolute;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px;
	font-size: 14px;
	line-height: 1.3;
	background: #fff;
	border-radius: 16px;
	box-shadow: var(--hv-shadow);
	animation: hv-in .7s ease-out both, hv-float 6s ease-in-out infinite;
}

.hv__card strong { font-weight: 700; }

.hv__card small {
	font-size: 12.5px;
	color: var(--hv-muted);
}

.hv__row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hv__row--between { justify-content: space-between; }

.hv__row--meta {
	gap: 10px;
	color: var(--hv-muted);
}

.hv__row--meta svg { width: 17px; height: 17px; }
.hv__row--meta small { margin-left: auto; }

.hv__ico {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: var(--hv-accent);
	background: var(--hv-accent-soft);
}

.hv__ico svg { width: 17px; height: 17px; }

.hv__stars {
	display: flex;
	gap: 2px;
	color: var(--hv-accent);
}

.hv .hv__stars svg,
.hv .hv__stars svg path {
	width: 16px;
	height: 16px;
	fill: var(--hv-accent);
	stroke: none;
}

.hv__search {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	font-size: 12px;
	color: var(--hv-muted);
	background: #f5f6f8;
	border-radius: 999px;
}

.hv__search svg { width: 14px; height: 14px; flex: none; }

.hv__search {
	white-space: nowrap;
	overflow: hidden;
}

.hv__pill {
	align-self: flex-start;
	padding: 3px 10px;
	font-size: 11.5px;
	font-weight: 700;
	color: #b34400;
	background: var(--hv-accent-soft);
	border-radius: 999px;
}

.hv__pill--live {
	align-self: auto;
	color: #1d7a4a;
	background: #e3f5ea;
}

.hv__chart {
	width: 100%;
	height: 46px;
	margin-top: 4px;
}

.hv .hv__chart-line {
	stroke: var(--hv-accent);
	stroke-width: 2.5;
	vector-effect: non-scaling-stroke;
}

.hv .hv__chart-area {
	fill: var(--hv-accent-soft);
	stroke: none;
}

.hv__avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--hv-accent);
}

.hv__post {
	height: 54px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--hv-accent-soft), #fff4ec);
}

/* Positions */
.hv__card--gbp    { left: 0;   top: 40%; width: 34%; animation-delay: .15s, 0s; }
.hv__card--seo    { right: 0;  top: 6%;  width: 34%; animation-delay: .3s, -2s; }
.hv__card--ads    { left: 6%;  bottom: 0; width: 46%; animation-delay: .45s, -4s; }
.hv__card--social { right: 2%; bottom: 8%; width: 33%; animation-delay: .6s, -1s; }

@keyframes hv-in {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes hv-float {
	0%, 100% { translate: 0 0; }
	50%      { translate: 0 -8px; }
}

/* Responsive */
@media (max-width: 991px) {
	.hv {
		margin: 0 auto 2rem;
	}
}

@media (max-width: 575px) {
	.hv { aspect-ratio: 1 / 1; }
	.hv__card { font-size: 12.5px; padding: 10px 12px; border-radius: 12px; }
	.hv__card--seo,
	.hv__card--social { display: none; }
	.hv__card--gbp { width: 46%; top: 52%; }
	.hv__card--ads { width: 56%; left: auto; right: 0; }
	.hv__window { left: 6%; width: 86%; top: 8%; height: 58%; }
	.hv__tiles span { height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
	.hv__window,
	.hv__card { animation: none; }
}
