/* =============================================================================
   TARIFS — maquette « Devenir annonceur » (3571–4628) : titre 55/65 (690 px)
   à gauche, texte 20 (483 px) à droite ; grille 4 × 246 px, écart 59 ;
   nom Stack Light 24, emplacement Outfit Light 20 ; schéma 246 × 175 :
   page #ebebeb, emplacement #a1a1a1 (ou #e1e1e1), prix Stack Light 32.
   ⚠️ Aucun hex : brume du thème et mélanges d'encre.
   ============================================================================= */
.pm-tarifs { padding-block: var(--section-y, 7rem); }
.pm-tarifs__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1.5rem 3rem; }
.pm-tarifs__titre { max-width: 43rem; line-height: 1.27; }
.pm-tarifs__titre em { color: var(--marine); }
.pm-tarifs__intro { max-width: 30.2rem; margin-top: 1.5rem; font-size: var(--fs-lead, 1.25rem); line-height: 1.3; }

.pm-tarifs__grille {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2.6rem clamp(1.25rem, .5rem + 2.5vw, 3.7rem);
	max-width: 72.6rem;
	margin: clamp(2.5rem, 1.5rem + 3vw, 7.7rem) auto 0;
	padding: 0;
	list-style: none;
}
.pm-tarif__nom { margin: 0; font-family: var(--ff-headline); font-size: 1.5rem; font-weight: var(--fw-light, 300); line-height: 1.25; }
.pm-tarif__emplacement { margin-top: .1rem; font-size: var(--fs-lead, 1.25rem); font-weight: var(--fw-light, 300); line-height: 1.25; }
.pm-tarif__schema {
	--page: var(--mist);
	--fonce: var(--marine); /* touche marine de la charte (0.14.0) */
	--clair: color-mix(in srgb, var(--ink) 12%, var(--paper));
	position: relative;
	aspect-ratio: 246 / 175;
	margin-top: .5rem;
	background: var(--page);
	overflow: hidden;
	transition: transform .4s var(--ease-out, ease-out), box-shadow .4s var(--ease-out, ease-out);
}
.pm-tarif__forme { position: absolute; background: var(--fonce); }
.pm-tarif__forme--claire { background: var(--clair); }
.pm-tarif__prix {
	position: absolute; top: 50%; translate: -50% -50%;
	margin: 0; white-space: nowrap;
	font-family: var(--ff-headline); font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); font-weight: var(--fw-light, 300); line-height: 1;
	color: var(--fonce);
}
.pm-tarif__prix--clair { color: var(--page); }
.pm-tarifs__mention { max-width: 72.6rem; margin: 2rem auto 0; font-size: var(--fs-sm, .9375rem); color: var(--muted, currentColor); }

/* Survol : la case se soulève un peu (l'œil compare les formats). */
.pm-tarif:hover .pm-tarif__schema { transform: translate3d(0, -4px, 0); box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--ink) 45%, transparent); }

@media (max-width: 960px) { .pm-tarifs__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .pm-tarif__emplacement { font-size: 1rem; } .pm-tarif__nom { font-size: 1.25rem; } }

/* Deux sections blanches à la suite (Étapes, Tarifs, Texte centré) : une
   seule marge entre elles, comme sur la maquette — pas la somme des deux.
   Chaque widget vit dans son conteneur Elementor (.e-con). */
.e-con:has(> * :is(.pm-etapes, .pm-tarifs, .pm-centre).t-paper, > :is(.pm-etapes, .pm-tarifs, .pm-centre).t-paper) + .e-con :is(.pm-etapes, .pm-tarifs, .pm-centre).t-paper { padding-top: 0; }
