/* ==========================================================================
   e-electronique — design system v2 (thème enfant Astra + Elementor)
   Lecture : site vitrine B2B « confiance d'abord », industriel et sobre.
   Thème clair unique, un seul accent (orange action), icônes Phosphor Light,
   rayons : boutons en pilule, cartes 20-28px, champs 12px, images 18px.
   ========================================================================== */

@font-face {
	font-family: "Geist";
	src: url("../fonts/geist-latin-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Geist Mono";
	src: url("../fonts/geist-mono-latin-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Neutres froids, une seule famille de gris teintée bleu */
	--ee-ink: #0f1b2c;
	--ee-ink-2: #1a2a40;
	--ee-text: #243142;
	--ee-muted: #56657a;
	--ee-faint: #8a97a8;
	--ee-line: rgba(15, 27, 44, .09);
	--ee-line-strong: rgba(15, 27, 44, .16);
	--ee-bg: #f7f8fa;
	--ee-paper: #fcfcfd;
	--ee-surface: #eef1f5;
	--ee-tint: #e6edf6;

	/* Marque et accent unique */
	--ee-blue: #1f5a9c;
	--ee-blue-600: #174a82;
	--ee-accent: #e5842f;
	--ee-accent-600: #cf7222;
	--ee-on-accent: #1d1206;
	--ee-error: #b42318;

	--ee-font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ee-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

	--ee-r-sm: 12px;
	--ee-r: 20px;
	--ee-r-lg: 28px;
	--ee-r-pill: 999px;

	/* Ombres teintées (encre), une seule direction de lumière (haut) */
	--ee-shadow-sm: 0 1px 2px rgba(15, 27, 44, .05), 0 2px 8px rgba(15, 27, 44, .04);
	--ee-shadow: 0 1px 2px rgba(15, 27, 44, .04), 0 12px 32px -8px rgba(15, 27, 44, .12);
	--ee-shadow-lg: 0 2px 4px rgba(15, 27, 44, .04), 0 30px 60px -20px rgba(15, 27, 44, .28);
	--ee-inset: inset 0 1px 0 rgba(255, 255, 255, .7);

	--ee-ease: cubic-bezier(.16, 1, .3, 1);
	--ee-ease-press: cubic-bezier(.32, .72, 0, 1);

	--ee-wrap: 1200px;
	--ee-gutter: 20px;
	--ee-sec-y: clamp(72px, 3rem + 5vw, 128px);

	/* Échelle z-index */
	--ee-z-header: 90;
	--ee-z-mobilebar: 80;
	--ee-z-grain: 70;
}
@media (min-width: 768px) { :root { --ee-gutter: 32px; } }

/* ---------- Base ---------- */

html { scroll-behavior: smooth; }
body.ee-site {
	font-family: var(--ee-font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ee-text);
	background: var(--ee-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-feature-settings: "ss01", "cv11";
}
/* Grain très léger : pseudo-élément fixe, jamais sur un conteneur qui défile */
body.ee-site::after {
	content: ""; position: fixed; inset: 0; z-index: var(--ee-z-grain); pointer-events: none;
	opacity: .035; mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ee-site h1, .ee-site h2, .ee-site h3, .ee-site h4,
.ee-site .elementor-heading-title, .ee-site .entry-title {
	font-family: var(--ee-font);
	color: var(--ee-ink);
	letter-spacing: -0.025em;
	font-weight: 600;
	line-height: 1.12;
	text-wrap: balance;
}
.ee-site h1, .ee-site h1.elementor-heading-title { font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.7rem); letter-spacing: -0.035em; line-height: 1.04; font-weight: 620; }
.ee-site h2, .ee-site h2.elementor-heading-title { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.6rem); letter-spacing: -0.03em; }
.ee-site h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; }
.ee-site p { margin: 0 0 1em; text-wrap: pretty; }
.ee-site p:last-child { margin-bottom: 0; }
.ee-site a { color: var(--ee-blue); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .25s var(--ee-ease); }
.ee-site a:hover { color: var(--ee-blue-600); }
.ee-site :focus-visible { outline: 2px solid var(--ee-accent); outline-offset: 3px; border-radius: 6px; }
.ee-site img { max-width: 100%; height: auto; }
.ee-site ::selection { background: var(--ee-tint); color: var(--ee-ink); }
.ee-ico { flex: none; display: block; }

.ee-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ee-ink); color: #fff; padding: 10px 16px; border-radius: var(--ee-r-sm); }
.ee-skip:focus { top: 12px; color: #fff; }
.ee-wrap { width: 100%; max-width: calc(var(--ee-wrap) + 2 * var(--ee-gutter)); margin-inline: auto; padding-inline: var(--ee-gutter); }

/* ---------- Boutons : pilule + icône imbriquée ---------- */

.ee-button,
.ee-site .ee-btn .elementor-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 52px; padding: 6px 8px 6px 24px;
	font-family: var(--ee-font); font-size: 1rem; font-weight: 560; line-height: 1.2; letter-spacing: -0.005em;
	border-radius: var(--ee-r-pill); border: 0; white-space: nowrap;
	text-decoration: none; cursor: pointer;
	transition: background-color .3s var(--ee-ease), color .3s var(--ee-ease), box-shadow .3s var(--ee-ease), transform .2s var(--ee-ease-press);
}
.ee-button:active, .ee-site .ee-btn .elementor-button:active { transform: scale(.98); }
/* Icône flèche dans son propre cercle */
.ee-button--primary::after,
.ee-site .ee-btn--primary .elementor-button::after {
	content: ""; flex: none; width: 38px; height: 38px; border-radius: 50%;
	background: rgba(29, 18, 6, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%231d1206'%3E%3Cpath d='M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z'/%3E%3C/svg%3E") center / 17px no-repeat;
	transition: transform .35s var(--ee-ease), background-color .3s var(--ee-ease);
}
.ee-button--primary:hover::after,
.ee-site .ee-btn--primary .elementor-button:hover::after { transform: translateX(3px); background-color: rgba(29, 18, 6, .16); }
.ee-button--primary,
.ee-site .ee-btn--primary .elementor-button {
	background: var(--ee-accent); color: var(--ee-on-accent);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px -8px rgba(207, 114, 34, .55);
}
.ee-button--primary:hover,
.ee-site .ee-btn--primary .elementor-button:hover { background: var(--ee-accent-600); color: var(--ee-on-accent); }
/* Secondaire : bouton discret sans flèche */
.ee-button--ghost,
.ee-site .ee-btn--ghost .elementor-button {
	padding: 6px 24px; background: var(--ee-paper); color: var(--ee-ink);
	box-shadow: inset 0 0 0 1px var(--ee-line-strong);
}
.ee-button--ghost:hover,
.ee-site .ee-btn--ghost .elementor-button:hover { background: #fff; color: var(--ee-ink); box-shadow: inset 0 0 0 1px var(--ee-ink); }
/* Tertiaire : lien texte souligné */
.ee-site .ee-btn--link .elementor-button {
	min-height: 52px; padding: 0 4px; background: none; color: var(--ee-ink); box-shadow: none; border-radius: 0;
	text-decoration: underline; text-decoration-color: var(--ee-line-strong); text-underline-offset: 6px;
}
.ee-site .ee-btn--link .elementor-button:hover { color: var(--ee-blue); text-decoration-color: currentColor; }
.ee-button--lg { min-height: 58px; font-size: 1.05rem; }
.ee-arrow::after { content: "→"; font-family: system-ui, "Segoe UI", sans-serif; display: inline-block; transition: transform .3s var(--ee-ease); }
a:hover > .ee-arrow::after, .ee-card-link:hover .ee-arrow::after { transform: translateX(3px); }

/* ---------- Elementor : neutralisation des espacements par défaut ---------- */

.ee-site .e-con {
	--container-default-padding-top: 0px; --container-default-padding-right: 0px;
	--container-default-padding-bottom: 0px; --container-default-padding-left: 0px;
	--widgets-spacing: 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px; --kit-widget-spacing: 0px;
	--gap: 0px; --row-gap: 0px; --column-gap: 0px;
	--content-width: var(--ee-wrap);
}
:where(.ee-site .elementor-widget:not(:last-child)) { margin-block-end: 0; }

/* ---------- Sections (thème clair unique, deux tons de fond) ---------- */

.ee-site .e-con.ee-sec {
	--padding-top: var(--ee-sec-y);
	--padding-bottom: calc(var(--ee-sec-y) * 1.08);
	--padding-left: var(--ee-gutter);
	--padding-right: var(--ee-gutter);
	background: var(--ee-bg);
}
.ee-site .e-con.ee-sec--alt { background: var(--ee-paper); }
.ee-site .e-con.ee-sec--tint { background: linear-gradient(180deg, var(--ee-bg), var(--ee-tint) 140%); }
.ee-site .e-con.ee-sec--line { box-shadow: inset 0 1px 0 var(--ee-line); }

/* Sur-titre : réservé au hero et à quelques sections clés */
.ee-kicker:not(.elementor-widget), .ee-site .ee-kicker .elementor-heading-title {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 12px; border-radius: var(--ee-r-pill);
	background: var(--ee-tint); color: var(--ee-blue);
	font-family: var(--ee-mono); font-size: .72rem; font-weight: 500;
	text-transform: uppercase; letter-spacing: .12em; line-height: 1.3;
}
body.ee-site .e-con .elementor-widget.ee-kicker { margin-block-end: 20px; }
body.ee-site .e-con .elementor-widget.ee-h2 { margin-block-end: 18px; }
.ee-site .ee-h2 { max-width: 760px; }
.ee-site .ee-lead, .ee-site .ee-lead p { font-size: 1.125rem; line-height: 1.6; color: var(--ee-muted); max-width: 62ch; }
body.ee-site .e-con .elementor-widget.ee-mb-l { margin-block-end: clamp(40px, 4vw, 64px); }
body.ee-site .e-con .elementor-widget.ee-mt-m, .ee-site .ee-mt-m { margin-top: 32px; }
.ee-site .ee-center { text-align: center; margin-inline: auto; }
.ee-site .ee-center .elementor-heading-title, .ee-site .ee-center p { margin-inline: auto; }

/* ---------- Rangées ---------- */

.ee-site .e-con.ee-row { --flex-direction: column; --gap: 48px; --row-gap: 48px; --column-gap: 72px; }
.ee-site .e-con.ee-actions { --flex-direction: row; --flex-wrap: wrap; --gap: 14px; --row-gap: 14px; --column-gap: 18px; --align-items: center; margin-top: 36px; }
.ee-site .e-con.ee-col { --width: 100%; }
@media (min-width: 960px) {
	.ee-site .e-con.ee-row { --flex-direction: row; --align-items: center; }
	.ee-site .e-con.ee-row--top { --align-items: flex-start; }
	.ee-site .e-con.ee-col-7 { --width: 57%; }
	.ee-site .e-con.ee-col-6 { --width: 50%; }
	.ee-site .e-con.ee-col-5 { --width: 43%; }
	.ee-site .e-con.ee-col-4 { --width: 36%; }
	.ee-site .e-con.ee-col-8 { --width: 64%; }
	.ee-site .e-con.ee-sticky { position: sticky; top: 112px; }
}

/* ---------- Hero : clair, texte à gauche, vraie photo à droite ---------- */

.ee-site .e-con.ee-hero {
	--padding-top: clamp(40px, 2rem + 3vw, 88px);
	--padding-bottom: clamp(64px, 3rem + 4vw, 120px);
	background:
		radial-gradient(60% 55% at 88% 12%, rgba(31, 90, 156, .10), transparent 70%),
		radial-gradient(40% 40% at 0% 100%, rgba(229, 132, 47, .06), transparent 70%),
		var(--ee-bg);
	overflow: hidden;
}
.ee-site .ee-hero h1, .ee-site .ee-hero h1.elementor-heading-title { margin-bottom: 22px; font-size: clamp(2.1rem, 1.3rem + 2.3vw, 3.25rem); max-width: 15em; }
.ee-site .ee-hero .ee-lead, .ee-site .ee-hero .ee-lead p { font-size: clamp(1.1rem, 1rem + .35vw, 1.25rem); max-width: 34em; }

.ee-hero-visual { position: relative; padding-bottom: 72px; }
.ee-hero-visual__frame {
	margin: 0; padding: 8px; border-radius: 34px;
	background: rgba(15, 27, 44, .04); box-shadow: inset 0 0 0 1px var(--ee-line);
}
.ee-hero-visual__frame img {
	display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
	border-radius: 26px; box-shadow: var(--ee-shadow);
}
.ee-hero-visual .ee-quick {
	position: absolute; left: -48px; right: 18%; bottom: 0;
}
@media (max-width: 959px) {
	.ee-hero-visual { padding-bottom: 0; }
	.ee-hero-visual .ee-quick { position: relative; left: auto; right: auto; bottom: auto; margin: -64px 14px 0; }
}

/* Carte « demande express » : double enveloppe */
.ee-shell {
	padding: 6px; border-radius: var(--ee-r-lg);
	background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--ee-line), var(--ee-shadow-lg);
	backdrop-filter: none;
}
.ee-shell > .ee-core {
	border-radius: calc(var(--ee-r-lg) - 6px); background: var(--ee-paper);
	box-shadow: var(--ee-inset), 0 0 0 1px rgba(15, 27, 44, .05);
	padding: clamp(20px, 2.4vw, 30px);
}
.ee-site .ee-quick__title { font-size: 1.12rem; font-weight: 600; color: var(--ee-ink); margin: 0 0 16px; letter-spacing: -.015em; }
.ee-quick form { display: grid; gap: 12px; }
@media (min-width: 600px) { .ee-quick form { grid-template-columns: 1fr 110px; align-items: end; } .ee-quick .ee-button { grid-column: 1 / -1; } }
.ee-quick label { display: block; font-size: .85rem; font-weight: 550; color: var(--ee-ink); margin-bottom: 6px; }
.ee-quick .ee-button { width: 100%; justify-content: space-between; }
.ee-site .ee-quick__foot { margin: 14px 0 0; font-size: .88rem; color: var(--ee-muted); }
.ee-site .ee-quick__foot a { font-weight: 550; }

/* ---------- Bande de repères sous le hero (sans cartes) ---------- */

.ee-site .e-con.ee-facts-sec { --padding-top: 0; --padding-bottom: 0; background: var(--ee-bg); }
.ee-strip {
	list-style: none; margin: 0; padding: 28px 0; display: grid; gap: 22px 32px; grid-template-columns: repeat(2, minmax(0, 1fr));
	box-shadow: inset 0 1px 0 var(--ee-line), inset 0 -1px 0 var(--ee-line);
}
@media (min-width: 900px) { .ee-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 34px 0; } }
.ee-strip li { display: grid; gap: 4px; }
.ee-strip strong { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); font-weight: 600; letter-spacing: -.03em; color: var(--ee-ink); line-height: 1.15; }
.ee-strip span { font-size: .93rem; color: var(--ee-muted); line-height: 1.45; max-width: 26ch; }

/* ---------- Problèmes : liste à deux colonnes, sans cartes ---------- */

.ee-pains { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 56px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .ee-pains { grid-template-columns: 1fr 1fr; } }
.ee-pains li { display: flex; gap: 18px; align-items: flex-start; padding: 26px 0; box-shadow: inset 0 -1px 0 var(--ee-line); }
.ee-pains .ee-ico { width: 30px; height: 30px; color: var(--ee-accent-600); margin-top: 2px; }
.ee-pains h3 { margin: 0 0 6px; font-size: 1.08rem; }
.ee-pains p { margin: 0; font-size: .98rem; color: var(--ee-muted); line-height: 1.55; max-width: 44ch; }
.ee-site .ee-pains-close { margin-top: 40px; font-size: 1.15rem; color: var(--ee-ink); max-width: 56ch; }

/* ---------- Checks ---------- */

.ee-checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.ee-checks li { position: relative; padding-left: 36px; line-height: 1.55; }
.ee-checks li::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 8px;
	background: var(--ee-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%231f5a9c'%3E%3Cpath d='M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* ---------- Photo éditoriale (double enveloppe) ---------- */

.ee-site .ee-figure, .ee-photo {
	padding: 8px; border-radius: 30px; background: rgba(15, 27, 44, .04); box-shadow: inset 0 0 0 1px var(--ee-line);
}
.ee-site .ee-figure img, .ee-photo img {
	width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; display: block;
}
.ee-photo--tall img { aspect-ratio: 4 / 5; }
.ee-photo figcaption { font-size: .88rem; color: var(--ee-muted); padding: 12px 8px 4px; }

/* ---------- Matériels : bento asymétrique ---------- */

.ee-bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .ee-bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
	.ee-bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(220px, auto); }
	.ee-tile--a { grid-column: span 7; grid-row: span 2; }
	.ee-tile--b { grid-column: span 5; }
	.ee-tile--c { grid-column: span 5; }
	.ee-tile--d { grid-column: span 4; }
	.ee-tile--e { grid-column: span 4; }
	.ee-tile--f { grid-column: span 4; }
}
.ee-tile {
	position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 220px; padding: 28px; border-radius: var(--ee-r-lg);
	background: var(--ee-paper); box-shadow: var(--ee-shadow-sm), inset 0 0 0 1px var(--ee-line);
	color: var(--ee-text); text-decoration: none; isolation: isolate;
	transition: transform .5s var(--ee-ease), box-shadow .5s var(--ee-ease);
}
.ee-tile:hover { transform: translateY(-3px); box-shadow: var(--ee-shadow-lg), inset 0 0 0 1px var(--ee-line); color: var(--ee-text); }
.ee-tile .ee-ico { width: 34px; height: 34px; color: var(--ee-blue); margin-bottom: auto; padding-bottom: 20px; box-sizing: content-box; }
.ee-tile h3 { margin: 0 0 8px; font-size: 1.2rem; }
.ee-tile p { margin: 0; color: var(--ee-muted); font-size: .97rem; line-height: 1.55; max-width: 40ch; }
.ee-tile__more { margin-top: 16px; font-weight: 550; font-size: .95rem; color: var(--ee-blue); display: inline-flex; gap: 6px; }
.ee-tile--tint { background: var(--ee-tint); }
/* Tuiles avec photo en fond */
.ee-tile--photo { min-height: 320px; color: #fff; box-shadow: var(--ee-shadow); }
.ee-tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ee-ease); }
.ee-tile--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 27, 44, .12) 0%, rgba(15, 27, 44, .45) 40%, rgba(15, 27, 44, .93) 100%); }
.ee-tile--photo:hover { color: #fff; }
.ee-tile--photo:hover img { transform: scale(1.04); }
.ee-tile--photo h3, .ee-tile--photo .ee-tile__more { color: #fff; }
.ee-tile--photo p { color: rgba(255, 255, 255, .82); }
.ee-tile--photo .ee-ico { color: #fff; }

/* ---------- Méthode : rail horizontal ---------- */

.ee-rail { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: 1fr; counter-reset: none; }
@media (min-width: 700px) { .ee-rail { grid-template-columns: repeat(2, 1fr); gap: 36px 40px; } }
@media (min-width: 1100px) { .ee-rail { grid-template-columns: repeat(4, 1fr); } }
.ee-rail li { position: relative; padding-top: 28px; }
.ee-rail li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ee-line-strong); }
.ee-rail li::after { content: ""; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--ee-accent); box-shadow: 0 0 0 4px var(--ee-bg); }
.ee-rail .ee-ico { width: 30px; height: 30px; color: var(--ee-blue); margin-bottom: 16px; }
.ee-rail h3 { margin: 0 0 8px; }
.ee-rail p { margin: 0; color: var(--ee-muted); font-size: .98rem; line-height: 1.6; }
.ee-site .ee-note {
	margin-top: 44px; padding: 20px 24px; border-radius: var(--ee-r); background: var(--ee-paper);
	box-shadow: inset 0 0 0 1px var(--ee-line); color: var(--ee-text); max-width: 760px; font-size: 1rem;
}
.ee-site .ee-note strong { color: var(--ee-ink); }

/* ---------- Bénéfices : liste sobre à droite d'un titre collant ---------- */

.ee-benefits { display: grid; gap: 0; grid-template-columns: 1fr; }
@media (min-width: 700px) { .ee-benefits { grid-template-columns: 1fr 1fr; gap: 0 40px; } }
.ee-benefits > div { padding: 30px 0; box-shadow: inset 0 1px 0 var(--ee-line); }
.ee-benefits .ee-ico { width: 30px; height: 30px; color: var(--ee-blue); margin-bottom: 14px; }
.ee-benefits h3 { margin: 0 0 8px; }
.ee-benefits p { margin: 0; color: var(--ee-muted); font-size: .98rem; line-height: 1.6; }

/* ---------- Secteurs : galerie + liste ---------- */

.ee-gallery { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin: 0 0 40px; }
@media (min-width: 900px) { .ee-gallery { grid-template-columns: 1.5fr 1fr 1fr; } }
.ee-gallery figure { margin: 0; }
.ee-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; display: block; box-shadow: var(--ee-shadow-sm); }
.ee-gallery figure:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .ee-gallery figure:first-child { grid-column: auto; } .ee-gallery figure:first-child img { aspect-ratio: auto; min-height: 100%; } }
.ee-gallery figcaption { font-size: .88rem; color: var(--ee-muted); padding: 10px 4px 0; }
.ee-sectors { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ee-sectors li {
	padding: 10px 18px; border-radius: var(--ee-r-pill); background: var(--ee-paper);
	box-shadow: inset 0 0 0 1px var(--ee-line); font-weight: 520; font-size: .96rem; color: var(--ee-ink);
}

/* ---------- Faits (liste de définition) ---------- */

.ee-facts { display: grid; margin: 0; }
.ee-facts > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 16px 0; box-shadow: inset 0 -1px 0 var(--ee-line); }
.ee-facts > div:first-child { box-shadow: inset 0 1px 0 var(--ee-line), inset 0 -1px 0 var(--ee-line); }
@media (min-width: 600px) { .ee-facts > div { grid-template-columns: 180px 1fr; gap: 24px; } }
.ee-facts dt { font-size: .9rem; color: var(--ee-muted); }
.ee-facts dd { margin: 0; color: var(--ee-ink); font-weight: 520; font-variant-numeric: tabular-nums; }

/* ---------- Sites sœurs : tuiles photo ---------- */

.ee-sites { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .ee-sites { grid-template-columns: 1.15fr 1fr; } }
.ee-sites .ee-tile--photo { min-height: 340px; }
.ee-site-domain { font-family: var(--ee-mono); font-size: .85rem; color: rgba(255, 255, 255, .85); margin-bottom: 8px; }

/* ---------- FAQ : titre à gauche, questions à droite ---------- */

.ee-faq { max-width: 880px; }
.ee-faq__item { box-shadow: inset 0 -1px 0 var(--ee-line); }
.ee-faq__item:first-child { box-shadow: inset 0 1px 0 var(--ee-line), inset 0 -1px 0 var(--ee-line); }
.ee-faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; }
.ee-faq__q::-webkit-details-marker { display: none; }
.ee-faq__q h3 { margin: 0; font-size: 1.06rem; font-weight: 560; line-height: 1.4; transition: color .25s var(--ee-ease); }
.ee-faq__q::after {
	content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background-color: var(--ee-paper);
	box-shadow: inset 0 0 0 1px var(--ee-line-strong);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%230f1b2c'%3E%3Cpath d='M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z'/%3E%3C/svg%3E");
	background-position: center; background-size: 15px; background-repeat: no-repeat;
	transition: transform .4s var(--ee-ease), background-color .3s var(--ee-ease);
}
.ee-faq__item[open] .ee-faq__q::after { transform: rotate(45deg); background-color: var(--ee-tint); }
.ee-faq__q:hover h3 { color: var(--ee-blue); }
.ee-faq__a { padding: 0 56px 26px 0; color: var(--ee-muted); max-width: 70ch; }
.ee-faq-aside p { color: var(--ee-muted); max-width: 34ch; }
.ee-faq-aside a { font-weight: 550; }

/* ---------- Appel à l'action final : îlot sombre dans une page claire ---------- */

.ee-site .e-con.ee-cta-sec { --padding-top: calc(var(--ee-sec-y) * .6); }
.ee-island {
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(40px, 3rem + 3vw, 88px) clamp(24px, 5vw, 80px);
	border-radius: 36px; background: var(--ee-ink); color: #c5d0de;
	box-shadow: var(--ee-shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .06);
	display: grid; gap: 32px; align-items: end;
}
@media (min-width: 960px) { .ee-island { grid-template-columns: 1.4fr 1fr; } }
.ee-island::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(50% 80% at 100% 0%, rgba(31, 90, 156, .45), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(229, 132, 47, .14), transparent 70%);
}
.ee-island h2 { color: #fff; margin: 0 0 16px; max-width: 16em; }
.ee-island p { margin: 0; max-width: 46ch; font-size: 1.1rem; }
.ee-island__actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
@media (min-width: 960px) { .ee-island__actions { align-items: flex-end; } }
.ee-site .ee-island__contact { font-size: .98rem; color: #aebbcc; }
.ee-site .ee-island__contact a { color: #fff; font-weight: 550; text-decoration: none; }
.ee-site .ee-island__contact a:hover { text-decoration: underline; color: #fff; }

/* ---------- En-tête de page intérieure ---------- */

.ee-site .e-con.ee-page-head {
	--padding-top: clamp(48px, 2.5rem + 3vw, 96px);
	--padding-bottom: clamp(48px, 2.5rem + 3vw, 88px);
	background: radial-gradient(55% 80% at 95% 0%, rgba(31, 90, 156, .09), transparent 70%), var(--ee-bg);
}
.ee-site .ee-page-head h1 { margin-bottom: 18px; max-width: 16em; }
.ee-site [id] { scroll-margin-top: 110px; }

/* ---------- Page matériels : index collant + familles ---------- */

.ee-index { list-style: none; margin: 0; padding: 22px; border-radius: var(--ee-r-lg); background: var(--ee-paper); box-shadow: inset 0 0 0 1px var(--ee-line); display: grid; gap: 2px; }
.ee-index p { margin: 0 0 10px 12px; font-size: .88rem; color: var(--ee-muted); }
.ee-index a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--ee-r-sm); color: var(--ee-ink); text-decoration: none; font-weight: 520; transition: background-color .25s var(--ee-ease); }
.ee-index a:hover { background: var(--ee-tint); color: var(--ee-ink); }
.ee-index .ee-ico { width: 22px; height: 22px; color: var(--ee-blue); }
@media (max-width: 959px) { .ee-index { display: flex; flex-wrap: wrap; padding: 12px; } .ee-index p { width: 100%; } .ee-index a { padding: 8px 12px; background: var(--ee-bg); } }

.ee-family { padding: 0 0 56px; margin-bottom: 56px; box-shadow: inset 0 -1px 0 var(--ee-line); }
.ee-family:last-child { box-shadow: none; margin-bottom: 0; padding-bottom: 0; }
.ee-family__head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.ee-family__head .ee-ico { width: 40px; height: 40px; padding: 10px; box-sizing: content-box; border-radius: 16px; background: var(--ee-tint); color: var(--ee-blue); }
.ee-family h2 { font-size: clamp(1.45rem, 1.15rem + 1vw, 1.95rem); margin: 0; }
.ee-site .ee-family__intro { color: var(--ee-muted); max-width: 62ch; font-size: 1.05rem; }
.ee-family h3 { font-size: .95rem; margin: 26px 0 12px; color: var(--ee-ink); }
.ee-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ee-tags li { padding: 7px 14px; border-radius: var(--ee-r-pill); background: var(--ee-paper); box-shadow: inset 0 0 0 1px var(--ee-line); font-size: .93rem; }
.ee-family .ee-note { margin-top: 22px; font-size: .96rem; color: var(--ee-muted); }
.ee-family__cta { margin-top: 20px; font-weight: 550; display: inline-flex; gap: 6px; }

/* ---------- Cartes sobres (À propos) ---------- */

.ee-cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .ee-cards { grid-template-columns: repeat(3, 1fr); } .ee-cards--wide > :first-child { grid-column: span 2; } }
.ee-card {
	padding: 28px; border-radius: var(--ee-r-lg); background: var(--ee-paper);
	box-shadow: var(--ee-shadow-sm), inset 0 0 0 1px var(--ee-line); color: var(--ee-text); text-decoration: none;
	transition: transform .5s var(--ee-ease), box-shadow .5s var(--ee-ease);
}
a.ee-card:hover { transform: translateY(-3px); box-shadow: var(--ee-shadow-lg), inset 0 0 0 1px var(--ee-line); color: var(--ee-text); }
.ee-card .ee-ico { width: 30px; height: 30px; color: var(--ee-blue); margin-bottom: 18px; }
.ee-card h3 { margin: 0 0 8px; }
.ee-card p { margin: 0; color: var(--ee-muted); font-size: .98rem; line-height: 1.6; }
.ee-card__more { display: inline-flex; gap: 6px; margin-top: 14px; font-weight: 550; font-size: .95rem; color: var(--ee-blue); }
.ee-card--tint { background: var(--ee-tint); box-shadow: none; }

/* ---------- Contact ---------- */

.ee-contact-aside { display: grid; gap: 14px; }
.ee-contact-card { padding: 24px; border-radius: var(--ee-r); background: var(--ee-paper); box-shadow: inset 0 0 0 1px var(--ee-line); }
.ee-contact-card h2 { font-size: 1.02rem; margin: 0 0 10px; letter-spacing: -.01em; }
.ee-contact-card p, .ee-contact-card address { margin: 0; font-style: normal; line-height: 1.65; }
.ee-contact-card .ee-mail, .ee-contact-card .ee-tel { font-weight: 560; font-size: 1.05rem; }
.ee-contact-card ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ee-muted); }
.ee-contact-card--tint { background: var(--ee-tint); box-shadow: none; }
.ee-contact-card small { display: block; margin-top: 10px; font-size: .88rem; color: var(--ee-muted); }

/* ---------- Formulaire ---------- */

.ee-form-wrap {
	padding: 6px; border-radius: 32px; background: rgba(15, 27, 44, .04); box-shadow: inset 0 0 0 1px var(--ee-line);
}
.ee-form-wrap > .elementor-widget-container, .ee-form-wrap > .elementor-shortcode, .ee-form-wrap .ee-form {
	border-radius: 26px;
}
.ee-form { display: grid; gap: 30px; background: var(--ee-paper); padding: clamp(22px, 3vw, 40px); box-shadow: var(--ee-inset), var(--ee-shadow-sm); }
.ee-form__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.ee-form__group legend { font-size: 1.05rem; font-weight: 600; color: var(--ee-ink); padding: 0; margin-bottom: 16px; letter-spacing: -.01em; }
.ee-form__grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ee-form__grid { grid-template-columns: 1fr 1fr; } .ee-field--wide { grid-column: 1 / -1; } }
.ee-field label:not(.ee-check) { display: block; font-weight: 550; font-size: .93rem; color: var(--ee-ink); margin-bottom: 7px; }
.ee-optional { font-weight: 400; color: var(--ee-muted); font-size: .88rem; }
.ee-req { color: var(--ee-error); }
.ee-site .ee-form input[type="text"], .ee-site .ee-form input[type="email"], .ee-site .ee-form input[type="tel"],
.ee-site .ee-form select, .ee-site .ee-form textarea, .ee-site .ee-quick input {
	width: 100%; min-height: 50px; padding: 12px 15px; font: inherit; font-size: 1rem; color: var(--ee-ink);
	background: var(--ee-bg); border: 1px solid rgba(15, 27, 44, .14); border-radius: var(--ee-r-sm); box-shadow: none;
	transition: border-color .25s var(--ee-ease), box-shadow .25s var(--ee-ease), background-color .25s var(--ee-ease);
}
.ee-site .ee-form ::placeholder, .ee-site .ee-quick ::placeholder { color: #6f7c8e; opacity: 1; }
.ee-site .ee-form textarea { min-height: 140px; resize: vertical; }
.ee-site .ee-form input:focus, .ee-site .ee-form select:focus, .ee-site .ee-form textarea:focus, .ee-site .ee-quick input:focus {
	outline: none; background: #fff; border-color: var(--ee-blue); box-shadow: 0 0 0 4px rgba(31, 90, 156, .14);
}
.ee-site .ee-form [aria-invalid="true"] { border-color: var(--ee-error); background: #fff8f7; }
.ee-site .ee-form input[type="file"] { width: 100%; padding: 12px; border: 1px dashed rgba(15, 27, 44, .22); border-radius: var(--ee-r-sm); background: var(--ee-bg); font-size: .93rem; }
.ee-site .ee-form input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: var(--ee-r-pill); background: var(--ee-tint); color: var(--ee-ink); font: inherit; font-size: .9rem; cursor: pointer; }
.ee-check { display: inline-flex; gap: 10px; align-items: center; margin-top: 12px; font-size: .95rem; cursor: pointer; color: var(--ee-text); }
.ee-check input { width: 18px; height: 18px; accent-color: var(--ee-blue); }
.ee-site .ee-field__hint { font-size: .88rem; color: var(--ee-muted); margin: 8px 0 0; }
.ee-site .ee-field__error { font-size: .9rem; color: var(--ee-error); margin: 7px 0 0; font-weight: 520; }
.ee-form__alert { padding: 16px 18px; border-radius: var(--ee-r-sm); background: #fef3f2; box-shadow: inset 0 0 0 1px #fecdca; color: #7a271a; }
.ee-form__alert strong { display: block; }
.ee-form__submit { display: grid; gap: 14px; justify-items: start; }
.ee-site .ee-form__note, .ee-form__alt { font-size: .9rem; color: var(--ee-muted); margin: 0; max-width: 64ch; }
.ee-form__alt a { font-weight: 550; }
.ee-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ee-form button[disabled] { opacity: .7; cursor: progress; }

/* ---------- Pages texte ---------- */

.ee-prose { max-width: 760px; }
.ee-legal-list { list-style: none; padding: 0 !important; }
.ee-address { font-style: normal; }

/* ---------- Header Astra : îlot flottant ---------- */

.ee-site #masthead { position: sticky; top: 0; z-index: var(--ee-z-header); background: transparent; box-shadow: none; padding: 12px 12px 0; }
.admin-bar.ee-site #masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar.ee-site #masthead { top: 0; } }
.ee-site #masthead .main-header-bar,
.ee-site #masthead .ast-primary-header-bar {
	max-width: 1248px; margin: 0 auto; border: 0; border-radius: var(--ee-r-pill);
	background: rgba(252, 252, 253, .84) !important;
	-webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
	box-shadow: inset 0 0 0 1px rgba(15, 27, 44, .07), 0 10px 30px -12px rgba(15, 27, 44, .22);
}
.ee-site #masthead .site-primary-header-wrap { padding-inline: 10px 8px; }
.ee-site .ast-builder-grid-row { min-height: 64px; }
.ee-site .site-title { font-size: 1.18rem; line-height: 1.1; margin: 0; }
.ee-site .site-title a, .ee-site .site-title a:hover { color: var(--ee-ink); font-weight: 650; letter-spacing: -.025em; }
.ee-site .site-description { font-size: .76rem; color: var(--ee-muted); margin: 2px 0 0; white-space: nowrap; }
.ee-site .ast-site-identity { padding-block: 6px; }
.ee-site .custom-logo-link img { max-height: 40px; width: auto; border-radius: 10px; }
.ee-site .main-header-menu { flex-wrap: nowrap; }
.ee-site .main-header-menu .menu-link { font-weight: 520; color: var(--ee-text); font-size: .96rem; white-space: nowrap; padding-inline: .8em; }
.ee-site .main-header-menu .menu-item:hover > .menu-link { color: var(--ee-ink); }
.ee-site .main-header-menu .current-menu-item > .menu-link,
.ee-site .main-header-menu .current_page_parent > .menu-link { color: var(--ee-blue); }
.ee-site .main-header-menu .current-menu-item > .menu-link::after,
.ee-site .main-header-menu .current_page_parent > .menu-link::after { content: ""; display: block; height: 2px; border-radius: 2px; background: currentColor; margin-top: 2px; }
.ee-site .ast-header-button-1 .ast-custom-button {
	display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: var(--ee-r-pill); border: 0;
	background: var(--ee-accent); color: var(--ee-on-accent); font-weight: 560; font-size: .95rem; white-space: nowrap;
	transition: background-color .3s var(--ee-ease), transform .2s var(--ee-ease-press);
}
.ee-site .ast-header-button-1 .ast-custom-button:hover { background: var(--ee-accent-600); color: var(--ee-on-accent); }
.ee-site .ast-header-button-1 .ast-custom-button:active { transform: scale(.98); }
@media (min-width: 922px) and (max-width: 1320px) {
	.ee-site .site-description { display: none; }
	.ee-site .main-header-menu .menu-link { padding-inline: .6em; font-size: .93rem; }
}
/* Menu mobile : panneau arrondi sous l'îlot */
.ee-site #ast-mobile-header .ast-mobile-header-content {
	max-width: 1248px; margin: 10px auto 0; border-radius: var(--ee-r-lg); overflow: hidden;
	background: var(--ee-paper); box-shadow: var(--ee-shadow-lg), inset 0 0 0 1px var(--ee-line);
}
.ee-site .ast-builder-menu-mobile .main-navigation .menu-link { font-size: 1.08rem; font-weight: 540; padding-block: 14px; }
.ee-site .ast-mobile-header-content .ast-header-button-1 { padding: 8px 20px 20px; }
.ee-site .ast-mobile-header-content .ast-custom-button { width: 100%; justify-content: center; }
.ee-site .ast-mobile-menu-trigger-minimal { color: var(--ee-ink) !important; }
@media (max-width: 380px) {
	.ee-site .site-description { display: none; }
	.ee-site .site-title { font-size: 1.08rem; }
	.ee-site .custom-logo-link img { max-height: 34px; }
}

/* Barre d'action mobile */
.ee-mobile-cta { display: none; }
@media (max-width: 767px) {
	.ee-mobile-cta {
		display: flex; gap: 10px; align-items: center;
		position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: var(--ee-z-mobilebar);
		padding: 6px; border-radius: var(--ee-r-pill);
		background: rgba(252, 252, 253, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
		box-shadow: inset 0 0 0 1px var(--ee-line), var(--ee-shadow-lg);
	}
	.ee-mobile-cta .ee-button { flex: 1; min-height: 48px; justify-content: space-between; }
	.ee-mobile-cta .ee-button::after { width: 36px; height: 36px; }
	.ee-mobile-cta__mail { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--ee-surface); color: var(--ee-ink); }
	body.ee-site { padding-bottom: 84px; }
}

/* ---------- Footer ---------- */

.ee-footer { background: var(--ee-ink); color: #a9b6c7; font-size: .96rem; margin-top: 0; }
.ee-footer a { color: #e3e9f1; text-decoration: none; }
.ee-footer a:hover { color: #fff; text-decoration: underline; }
.ee-footer__cta { box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07); }
.ee-footer__cta-inner { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; padding-block: 36px; }
.ee-site .ee-footer__cta-text { margin: 0; color: #c5d0de; font-size: 1.08rem; max-width: 640px; }
.ee-site .ee-footer__cta-text strong { color: #fff; font-weight: 580; }
.ee-footer .ee-button--primary, .ee-footer .ee-button--primary:hover { color: var(--ee-on-accent); text-decoration: none; }
.ee-footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; padding-block: 64px 48px; }
@media (min-width: 700px) { .ee-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .ee-footer__grid { grid-template-columns: 1.7fr 1fr 1.2fr 1.3fr; gap: 56px; } }
.ee-footer__logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ee-footer__logo img { background: #fff; border-radius: 12px; padding: 4px; }
.ee-footer__logo span { display: grid; line-height: 1.2; }
.ee-footer__logo strong { color: #fff; font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.ee-footer__logo small { color: #8d9bb0; font-size: .82rem; }
.ee-footer__brand p { margin: 0; max-width: 38ch; line-height: 1.65; }
.ee-site .ee-footer__title { font-size: .9rem; font-weight: 580; color: #fff; margin: 0 0 16px; }
.ee-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ee-footer__links span { display: block; font-size: .85rem; color: #8290a5; }
.ee-footer__contact .ee-address { color: #a9b6c7; line-height: 1.65; }
.ee-footer__contact .ee-address strong { color: #e3e9f1; font-weight: 560; }
.ee-footer__bottom { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); font-size: .85rem; }
.ee-footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-block: 22px; }
.ee-footer__bottom p { margin: 0; }
.ee-footer__bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Blog ---------- */

.ee-blog-head { padding-block: clamp(48px, 2.5rem + 3vw, 96px) clamp(32px, 2rem + 2vw, 56px); background: radial-gradient(55% 80% at 95% 0%, rgba(31, 90, 156, .09), transparent 70%), var(--ee-bg); }
.ee-blog-head h1 { margin: 0 0 16px; max-width: 15em; }
.ee-blog-head p { color: var(--ee-muted); font-size: 1.12rem; max-width: 60ch; margin: 0; }
.ee-blog-head .ee-kicker { margin-bottom: 20px; }

.ee-posts { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .ee-posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .ee-posts { grid-template-columns: 1.3fr 1fr 1fr; } }
.ee-post-card {
	display: flex; flex-direction: column; padding: 6px; border-radius: var(--ee-r-lg);
	background: var(--ee-paper); box-shadow: var(--ee-shadow-sm), inset 0 0 0 1px var(--ee-line);
	transition: transform .5s var(--ee-ease), box-shadow .5s var(--ee-ease);
}
.ee-post-card:hover { transform: translateY(-3px); box-shadow: var(--ee-shadow-lg), inset 0 0 0 1px var(--ee-line); }
.ee-post-card__media { overflow: hidden; border-radius: 22px; }
.ee-post-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform 1s var(--ee-ease); }
.ee-post-card:hover .ee-post-card__media img { transform: scale(1.04); }
.ee-post-card__body { padding: 18px 18px 22px; }
.ee-site .ee-post-card__meta { font-size: .85rem; color: var(--ee-muted); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.ee-post-card__title { font-size: 1.12rem; margin: 0 0 10px; line-height: 1.35; }
.ee-post-card__title a { color: var(--ee-ink); text-decoration: none; }
.ee-post-card__title a::after { content: ""; position: absolute; inset: 0; }
.ee-post-card { position: relative; }
.ee-post-card__title a:hover { color: var(--ee-blue); }
.ee-site .ee-post-card__excerpt { color: var(--ee-muted); font-size: .96rem; margin: 0; }

/* Archive Astra (page Blog et catégories) */
.ee-site.blog, .ee-site.archive { background: var(--ee-bg); }
.ee-site.blog .site-content > .ast-container,
.ee-site.archive .site-content > .ast-container { padding-top: 32px; padding-bottom: 88px; }
.ee-site.blog .ast-row, .ee-site.archive .ast-row { row-gap: 20px; }
.ee-site.blog article.post, .ee-site.archive article.post { border-radius: var(--ee-r-lg); }
.ee-site.blog article.post > div, .ee-site.archive article.post > div,
.ee-site.blog .ast-article-inner, .ee-site.archive .ast-article-inner {
	background: var(--ee-paper) !important; border-radius: var(--ee-r-lg); padding: 6px 6px 22px !important;
	box-shadow: var(--ee-shadow-sm), inset 0 0 0 1px var(--ee-line);
	transition: transform .5s var(--ee-ease), box-shadow .5s var(--ee-ease);
}
.ee-site.blog article.post > div:hover, .ee-site.archive article.post > div:hover { transform: translateY(-3px); box-shadow: var(--ee-shadow-lg), inset 0 0 0 1px var(--ee-line); }
.ee-site.blog .ast-blog-featured-section, .ee-site.archive .ast-blog-featured-section { margin-bottom: 16px; }
.ee-site.blog .ast-blog-featured-section img, .ee-site.archive .ast-blog-featured-section img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: 22px; }
.ee-site.blog .entry-header, .ee-site.archive .entry-header,
.ee-site.blog .entry-content, .ee-site.archive .entry-content { padding-inline: 16px; }
.ee-site.blog .entry-title, .ee-site.archive .entry-title { font-size: 1.14rem; line-height: 1.35; }
.ee-site.blog .entry-title a, .ee-site.archive .entry-title a { color: var(--ee-ink); text-decoration: none; }
.ee-site.blog .entry-title a:hover { color: var(--ee-blue); }
.ee-site.blog .entry-meta, .ee-site.archive .entry-meta { font-size: .85rem; color: var(--ee-muted); }

/* Article */
.ee-site.single-post { background: var(--ee-bg); }
.ee-site.single-post .entry-content { font-size: 1.08rem; line-height: 1.78; }
.ee-site.single-post .entry-content > * { margin-bottom: 1.25em; }
.ee-site.single-post .entry-content h2 { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem); margin: 2em 0 .6em; }
.ee-site.single-post .entry-content h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.ee-site.single-post .entry-content ul, .ee-site.single-post .entry-content ol { padding-left: 1.3em; }
.ee-site.single-post .entry-content li { margin-bottom: .45em; }
.ee-site.single-post .entry-content li::marker { color: var(--ee-blue); }
.ee-site.single-post .wp-block-table { border-radius: var(--ee-r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--ee-line); background: var(--ee-paper); }
.ee-site.single-post .entry-content table { border-collapse: collapse; width: 100%; font-size: .96rem; margin: 0; }
.ee-site.single-post .entry-content th, .ee-site.single-post .entry-content td { border: 0; border-bottom: 1px solid var(--ee-line); padding: 12px 14px; text-align: left; vertical-align: top; }
.ee-site.single-post .entry-content tr:last-child td { border-bottom: 0; }
.ee-site.single-post .entry-content th { background: var(--ee-surface); color: var(--ee-ink); font-weight: 580; }
.ee-site.single-post .entry-header .entry-title { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); letter-spacing: -.035em; }
.ee-site.single-post .post-thumb img, .ee-site.single-post .ast-single-post-featured-section img { border-radius: 26px; }
.ee-site.single-post .site-main > article, .ee-site.single-post .ast-article-single { background: transparent !important; }
.ee-answer {
	padding: 22px 24px; border-radius: var(--ee-r); background: var(--ee-tint); font-size: 1.06rem; color: var(--ee-ink);
}
.ee-answer strong:first-child { display: block; font-size: .85rem; font-weight: 600; color: var(--ee-blue); margin-bottom: 6px; }

.ee-cta-inline {
	margin: 2.4em 0; padding: 28px 30px; border-radius: var(--ee-r-lg); position: relative; overflow: hidden; isolation: isolate;
	background: var(--ee-ink); color: #c5d0de; box-shadow: var(--ee-shadow);
}
.ee-cta-inline::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 0%, rgba(31, 90, 156, .45), transparent 70%); }
.ee-cta-inline__title { color: #fff; font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; margin: 0 0 8px !important; }
.ee-cta-inline p { margin: 0 0 14px; }
.ee-cta-inline__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 20px 0 0 !important; font-size: .95rem; }
.ee-cta-inline__actions a:not(.ee-button) { color: #fff; }
.ee-site .ee-cta-inline .ee-button--primary { color: var(--ee-on-accent); text-decoration: none; }

.ee-article-footer { margin-top: 56px; display: grid; gap: 32px; }
.ee-author-box { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--ee-r); background: var(--ee-paper); box-shadow: inset 0 0 0 1px var(--ee-line); }
.ee-author-box img { flex: none; background: #fff; border-radius: 12px; padding: 4px; box-shadow: inset 0 0 0 1px var(--ee-line); }
.ee-author-box p { margin: 0; font-size: .96rem; color: var(--ee-muted); }
.ee-author-box strong { color: var(--ee-ink); display: block; margin-bottom: 4px; font-size: 1rem; }
.ee-related h2 { font-size: 1.35rem !important; margin: 0 0 18px !important; }
.ee-related .ee-posts { grid-template-columns: 1fr; }
@media (min-width: 700px) { .ee-related .ee-posts { grid-template-columns: repeat(2, 1fr); } }

.ee-breadcrumbs { font-size: .88rem; color: var(--ee-muted); margin-bottom: 20px; }
.ee-breadcrumbs a { color: var(--ee-muted); }
.ee-breadcrumbs .separator { margin: 0 6px; }

/* Page merci */
.ee-thanks-steps { counter-reset: t; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; max-width: 640px; }
.ee-thanks-steps li { counter-increment: t; display: flex; gap: 14px; align-items: flex-start; }
.ee-thanks-steps li::before { content: counter(t); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ee-tint); color: var(--ee-blue); display: grid; place-items: center; font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* 404 */
.ee-site.error404 .site-content { background: var(--ee-bg); }

/* ---------- Apparition au défilement (JS + IntersectionObserver) ---------- */

@media (prefers-reduced-motion: no-preference) {
	.ee-js .ee-reveal { opacity: 0; transform: translateY(26px); filter: blur(4px); transition: opacity .9s var(--ee-ease), transform .9s var(--ee-ease), filter .9s var(--ee-ease); transition-delay: var(--ee-delay, 0ms); }
	.ee-js .ee-reveal.is-in { opacity: 1; transform: none; filter: none; }
	/* Entrée du hero au chargement */
	.ee-js .ee-hero .elementor-widget { animation: ee-rise .9s var(--ee-ease) both; }
	.ee-js .ee-hero .elementor-widget:nth-child(2) { animation-delay: 60ms; }
	.ee-js .ee-hero .elementor-widget:nth-child(3) { animation-delay: 120ms; }
	.ee-js .ee-hero .e-con.ee-actions { animation: ee-rise .9s var(--ee-ease) 180ms both; }
	.ee-js .ee-hero-visual { animation: ee-rise 1.1s var(--ee-ease) 120ms both; }
}
@keyframes ee-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ee-site *, .ee-site *::before, .ee-site *::after { transition: none !important; animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
	.ee-site #masthead .ast-primary-header-bar, .ee-mobile-cta { background: var(--ee-paper) !important; backdrop-filter: none; }
}

/* Les widgets occupent toute la largeur de leur colonne (évite les images différées à largeur nulle) */
.ee-site .e-con.ee-col { --align-items: stretch; }
.ee-site .e-con.ee-col > .elementor-widget:not(.ee-kicker):not(.elementor-widget-button) { width: 100%; }
.ee-site .e-con.ee-sec > .e-con-inner > .elementor-widget-html,
.ee-site .e-con.ee-sec > .e-con-inner > .elementor-widget-shortcode { width: 100%; }
.ee-photo, .ee-hero-visual { width: 100%; }
/* Espace entre un titre de section et une grille quand il n'y a pas de chapeau */
body.ee-site .e-con .elementor-widget.ee-h2 + .elementor-widget-html,
body.ee-site .e-con .elementor-widget.ee-h2 + .elementor-widget-shortcode { margin-top: 28px; }

/* Galerie secteurs : grande image à gauche, deux images empilées à droite */
@media (min-width: 900px) {
	.ee-gallery { grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; }
	.ee-gallery figure:first-child { grid-column: 1; grid-row: 1 / span 2; position: relative; padding-bottom: 32px; }
	.ee-gallery figure:first-child img { position: absolute; top: 0; left: 0; width: 100%; height: calc(100% - 32px); aspect-ratio: auto; min-height: 0; }
	.ee-gallery figure:first-child figcaption { position: absolute; left: 4px; bottom: 0; }
}
@media (max-width: 899px) {
	.ee-gallery figure:first-child img { aspect-ratio: 16 / 9; }
}
