/* Grille des réalisations. Le balisage vient du shortcode, pas d'un widget :
   onglets, colonnes et « Charger plus » n'ont pas de réglage natif.
   Les couleurs suivent le kit (text, accent, blanc). */

.atout-real__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 64px;
}

/* logia-ok: boutons du shortcode, aucun widget. Le kit
   (.elementor-kit-8 button, chargé après cette feuille) impose 1rem / 700 /
   1.6px / 10px 20px. body + l'élément passent devant.    Mesures 2755:892 : Uniform Light 13, tracking 0.78, texte à 16 px du
   bord et 8 px du haut, filet 1px à 70 % compris dans le cadre (25 px).
   Le padding CSS est 7 et 15 : il est à l'intérieur du filet, Figma mesure
   depuis le bord extérieur. L'actif (2755:894) est Uniform Bold, fond texte.
   Le trim reprend le text-box de Figma. */
body.elementor-kit-8 button.atout-real__tab {
	appearance: none;
	margin: 0;
	border: 1px solid color-mix(in srgb, var(--e-global-color-text) 70%, transparent);
	border-radius: 0;
	background: transparent;
	color: var(--e-global-color-text);
	font-family: Uniform, sans-serif;
	font-weight: 300;
	font-size: 13px;
	line-height: normal;
	letter-spacing: 0.78px;
	text-transform: uppercase;
	text-box-trim: trim-both;
	text-box-edge: cap alphabetic;
	padding: 7px 15px;
	white-space: nowrap;
	cursor: pointer;
}

body.elementor-kit-8 button.atout-real__tab.is-active,
body.elementor-kit-8 button.atout-real__tab:hover {
	background: var(--e-global-color-text);
	border-color: var(--e-global-color-text);
	color: var(--e-global-color-blanc, #fff);
	font-weight: 700;
}

.atout-real__tab:focus-visible,
.atout-real__more:focus-visible {
	outline: 2px solid var(--e-global-color-accent);
	outline-offset: 2px;
}

.atout-real__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.elementor .atout-real__item {
	display: block;
	position: relative;
	aspect-ratio: 425 / 397;
	overflow: hidden;
}

.atout-real__item[hidden] {
	display: none;
}

.elementor .atout-real__item img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
}

.atout-real__more {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 15px;
	margin: 64px auto 0;
	border: 1px solid var(--e-global-color-accent);
	background: transparent;
	color: var(--e-global-color-accent);
	font-family: Uniform, sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	padding: 10px 20px;
	cursor: pointer;
}

.atout-real__more[hidden] {
	display: none;
}

.atout-real {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.atout-real__grid {
	width: 100%;
}

.atout-real__more::after {
	content: "";
	width: 12px;
	height: 16px;
	background: currentColor;
	clip-path: polygon(40% 0, 60% 0, 60% 62%, 100% 62%, 50% 100%, 0 62%, 40% 62%);
}

@media (max-width: 1024px) {
	.atout-real__nav {
		margin-bottom: 40px;
	}

	.atout-real__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.atout-real__more {
		margin-top: 40px;
	}
}

@media (max-width: 767px) {
	.atout-real__nav {
		justify-content: flex-start;
		margin-bottom: 32px;
	}

	.atout-real__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	body.elementor-kit-8 button.atout-real__more {
		box-sizing: border-box;
		max-width: 100%;
		margin-top: 32px;
		padding: 10px 14px;
		gap: 10px;
		font-size: 13px;
		letter-spacing: 0.8px;
		white-space: nowrap;
	}
}
