/**
 * Porc Experience — page d'accueil Elementor.
 * Complète les réglages Elementor : couverture, étapes. Les couleurs, textes
 * et tailles se règlent dans Elementor ; l'étal a ses styles dans pe-front.css.
 */

/* Police livrée avec le plugin : aucune dépendance à Google Fonts. */
@font-face { font-family: 'Archivo'; src: url('../fonts/Archivo-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/Archivo-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/Archivo-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('../fonts/Archivo-ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

.pe-acc-couverture,
.pe-acc-etal,
.elementor-widget-html .pe-acc-etapes {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Couverture : le titre ne dépasse pas une ligne confortable. */
.pe-acc-couverture h1 { max-width: 17ch; text-wrap: balance; }
.pe-acc-couverture .elementor-text-editor p,
.pe-acc-couverture .elementor-widget-text-editor p { margin: 0; opacity: 0.9; }
.pe-acc-couverture .elementor-icon-list-items.elementor-inline-items { row-gap: 8px; }
.pe-acc-couverture .elementor-widget-icon-list {
	padding-top: 20px;
	border-top: 1px solid rgba(244, 241, 232, 0.18);
}

/* L'étal colle à la couverture : pas d'espace parasite du widget. */
.pe-acc-etal > .elementor-widget-shortcode,
.pe-acc-etal .elementor-shortcode { width: 100%; margin: 0; }

/* Comment ça se passe : quatre étapes, 2 × 2 sur téléphone. */
.pe-acc-etapes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px;
	font-family: Archivo, system-ui, sans-serif;
	counter-reset: none;
}
.pe-acc-etapes li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 18px;
	border-top: 2px solid #14120e;
}
.pe-acc-etape-n {
	font-size: 15px;
	font-weight: 800;
	color: #c8323c;
	font-variant-numeric: tabular-nums;
}
.pe-acc-etapes strong { font-size: 18px; line-height: 1.25; color: #14120e; font-weight: 700; }
.pe-acc-etapes li > span:last-child { font-size: 15px; line-height: 1.5; color: #5c5548; }

@media (max-width: 1024px) {
	.pe-acc-etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
}
@media (max-width: 380px) {
	.pe-acc-etapes strong { font-size: 16px; }
	.pe-acc-etapes li > span:last-child { font-size: 14px; }
}

/* Couverture : un voile qui fonce vers le bas, là où se trouve le texte. */
.pe-acc-couverture { position: relative; }
.pe-acc-couverture::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(12, 28, 22, 0) 30%, rgba(12, 28, 22, 0.75) 100%);
	pointer-events: none;
	z-index: 0;
}
.pe-acc-couverture > * { position: relative; z-index: 1; }

/* Questions fréquentes : icône discrète. */
.pe-acc-faq .elementor-accordion-icon { font-size: 14px; }
.pe-acc-faq .elementor-accordion-icon svg { width: 14px; height: 14px; }
.pe-acc-faq .elementor-tab-title { margin: 0; }
