/* ==========================================================================
   Éditions ÉduGraphik — styles du thème
   Bandes sobres (blanc, sable, bleu marine) ; les quatre couleurs vives
   sont réservées aux touches : pastilles, boutons, cadres, surlignages.
   ========================================================================== */

:root {
	--eg-navy: #1B3A6B;
	--eg-navy-hero: #1E3A6E;
	--eg-navy-deep: #142C52;
	--eg-navy-dark: #0F1F3D;
	--eg-text: #3D4B66;
	--eg-body: #2E3D5A;
	--eg-muted: #4A5872;
	--eg-faint: #5B6680;
	--eg-sand: #F6F5F2;
	--eg-sand-2: #EEECE6;
	--eg-line: #E6E3DB;
	--eg-line-2: #E3E0D8;
	--eg-line-3: #DAD7CF;
	--eg-chip-line: #CFCAC0;
	--eg-pink: #E91E8C;
	--eg-pink-btn: #D0177C;
	--eg-pink-text: #B0156A;
	--eg-cyan: #00BCD4;
	--eg-cyan-text: #0B6E7C;
	--eg-yellow: #F5C400;
	--eg-yellow-text: #7A6212;
	--eg-blue: #1565C0;
	--eg-blue-dot: #5B9BFF;
	--eg-on-navy: #D5DEEC;
	--eg-on-navy-2: #C9D3E4;
	--eg-crumb: #B9C6DC;
	--eg-display: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
	--eg-sans: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--eg-serif: 'Cormorant Garamond', Georgia, serif;
	--eg-shadow: 0 1px 0 #E3E0D8, 0 10px 26px rgba(27, 58, 107, 0.06);
	--eg-max: 1240px;
}

/* ---------- Bases ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
	margin: 0;
	background: #FFFFFF;
	color: var(--eg-navy);
	font-family: var(--eg-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--eg-navy); }
a:hover { color: var(--eg-pink-text); }
:focus-visible { outline: 3px solid var(--eg-blue); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.eg-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--eg-navy); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 800;
}
.eg-skip:focus { top: 12px; color: #fff; }

.eg-wrap { max-width: var(--eg-max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.eg-main { display: block; }
.eg-c-yellow { color: var(--eg-yellow); }
.eg-c-white { color: #FFFFFF; }
.eg-c-cyan { color: var(--eg-cyan); }
.eg-spacer { height: 0; }

/* ---------- Boutons ---------- */
.eg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--eg-sans); font-weight: 800; font-size: 16px; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
	min-height: 44px;
}
.eg-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(27, 58, 107, 0.16); }
.eg-btn--lg { padding: 15px 28px; font-size: 17px; }
.eg-btn--sm { padding: 11px 20px; font-size: 15px; }
.eg-btn--xs { padding: 8px 16px; font-size: 14px; min-height: 40px; }
.eg-btn--pink { background: var(--eg-pink-btn); color: #fff; }
.eg-btn--pink:hover { color: #fff; }
.eg-btn--cyan { background: var(--eg-cyan); color: var(--eg-navy); }
.eg-btn--cyan:hover { color: var(--eg-navy); }
.eg-btn--yellow { background: var(--eg-yellow); color: var(--eg-navy-hero); font-family: var(--eg-display); font-weight: 600; }
.eg-btn--yellow:hover { color: var(--eg-navy-hero); }
.eg-btn--blue { background: var(--eg-blue); color: #fff; }
.eg-btn--blue:hover { color: #fff; }
.eg-btn--navy { background: var(--eg-navy); color: #fff; }
.eg-btn--navy:hover { color: #fff; }
.eg-btn--white { background: #fff; color: var(--eg-navy); }
.eg-btn--white:hover { color: var(--eg-navy); }
.eg-btn--ghost { border-color: #fff; color: #fff; background: transparent; }
.eg-btn--ghost:hover { color: #fff; }
.eg-btn--outline { border-color: var(--eg-navy); color: var(--eg-navy); background: #fff; font-family: var(--eg-display); font-weight: 600; }
.eg-btn--outline:hover { color: var(--eg-navy); }
.eg-btn .eg-dot { margin-right: 0; }

.eg-round {
	width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--eg-line-3);
	background: #fff; color: var(--eg-navy); cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; text-decoration: none; flex: 0 0 auto;
}
.eg-round:hover { border-color: var(--eg-navy); color: var(--eg-navy); }

/* ---------- Pastilles, étiquettes ---------- */
.eg-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: 0 0 auto; background: currentColor; }
.eg-dot-white { background: #fff; }
.eg-dot-pink { background: var(--eg-pink); }
.eg-dot-cyan { background: var(--eg-cyan); }
.eg-dot-yellow { background: var(--eg-yellow); }
.eg-dot-blue { background: var(--eg-blue-dot); }
.eg-dot-ring { background: transparent; border: 2px solid #fff; }
.eg-uni__title .eg-dot, .eg-btn .eg-dot { width: 12px; height: 12px; }
.eg-btn .eg-dot-ring { border-color: var(--eg-navy); }
.eg-btn .eg-dot-white { background: var(--eg-navy); }

.eg-tag {
	align-self: flex-start; display: inline-block;
	font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
	color: var(--tag, var(--eg-pink-text)); background: var(--tag-bg, #FCE6F1);
	padding: 4px 10px; border-radius: 999px; line-height: 1.4;
}
.eg-tag--blue { --tag: var(--eg-blue); --tag-bg: #E3EDFB; text-transform: none; letter-spacing: 0; }

.eg-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.eg-pills--center { justify-content: center; }
.eg-pill {
	font-family: var(--eg-display); font-weight: 600; font-size: 16px;
	background: #fff; color: var(--eg-navy-hero); padding: 8px 18px; border-radius: 999px;
}
.eg-pills--lg .eg-pill { font-size: 18px; padding: 9px 20px; }
.eg-pill--strong { font-weight: 700; font-size: 20px !important; padding: 8px 22px !important; }

.eg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.eg-chip { font-size: 13px; font-weight: 700; border: 1px solid var(--eg-chip-line); background: #fff; padding: 5px 11px; border-radius: 999px; }

.eg-eyebrow {
	display: flex; align-items: center; gap: 10px;
	font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
	color: var(--hue-text, var(--eg-pink-text));
}
.eg-eyebrow::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--hue, var(--eg-pink)); }
.eg-eyebrow-dot {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--eg-display); font-weight: 600; font-size: 18px; color: #fff;
}
.eg-eyebrow-dot::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--hue, var(--eg-yellow)); flex: 0 0 auto; }
.eg-eyebrow-dot--dark { color: var(--eg-navy); font-size: 16px; }

.eg-mark { background: linear-gradient(transparent 60%, var(--mark, #FFE071) 60%); }

/* ---------- Titres de sections ---------- */
.eg-h2 {
	margin: 0; font-family: var(--eg-display); font-weight: 700;
	font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; color: inherit; text-wrap: balance;
}
.eg-h2--sm { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.eg-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.eg-head__text { display: flex; flex-direction: column; gap: 8px; max-width: 680px; }
.eg-head__sub { margin: 0; font-size: 17px; line-height: 1.55; color: var(--eg-text); }
.eg-head--center { justify-content: center; text-align: center; }
.eg-head--center .eg-head__text { align-items: center; max-width: 760px; }

/* ---------- Bandes ---------- */
.eg-band { background: #fff; }
.eg-band--sand { background: var(--eg-sand); border-top: 1px solid var(--eg-line); }
.eg-band--navy { background: var(--eg-navy); color: #fff; }
.eg-section { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.eg-section--md { padding-top: 80px; padding-bottom: 80px; gap: 36px; }
.eg-section--sm { padding-top: 64px; padding-bottom: 64px; gap: 32px; }

.eg-grid { display: grid; gap: 24px; }
.eg-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.eg-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.eg-grid--list { row-gap: 40px; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.eg-header { background: #fff; position: relative; z-index: 20; }
.eg-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.eg-brand { display: flex; align-items: center; gap: 18px; text-decoration: none; color: var(--eg-navy); min-width: 0; }
.eg-brand:hover { color: var(--eg-navy); }
.eg-brand__logo { width: 76px; height: 70px; object-fit: contain; flex: 0 0 auto; }
.eg-brand__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.eg-brand__name { font-family: var(--eg-display); font-weight: 700; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.05; }
.eg-brand__tagline { font-size: 16px; color: var(--eg-muted); line-height: 1.35; }
.eg-header__tools { display: flex; align-items: center; gap: 8px; }
.eg-cart {
	height: 50px; padding: 0 24px; border-radius: 25px; background: var(--eg-pink-btn); color: #fff;
	display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 17px; white-space: nowrap;
}
.eg-cart:hover { color: #fff; background: var(--eg-pink-text); }
.eg-menu-toggle { display: none; }

.eg-search { background: var(--eg-sand); border-top: 1px solid var(--eg-line); }
.eg-search[hidden] { display: none; }
.eg-search .eg-wrap { padding-top: 14px; padding-bottom: 14px; }
.eg-search__form { display: flex; gap: 10px; align-items: center; }
.eg-search__form input[type="search"] {
	flex: 1 1 auto; min-width: 0; height: 50px; padding: 0 20px; border-radius: 999px;
	border: 1px solid var(--eg-line-3); background: #fff; font-size: 17px;
}
.eg-search__form--hero { margin-top: 6px; max-width: 620px; }
.eg-search__form--hero input[type="search"] { border: none; }

/* Navigation */
.eg-nav { background: var(--eg-navy); }
.eg-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 8px; }
.eg-nav__item { position: relative; }
.eg-nav__link {
	text-decoration: none; color: #fff; font-family: var(--eg-display); font-weight: 600; font-size: 18px;
	padding: 18px 16px 15px; border-bottom: 3px solid transparent; display: flex; align-items: center; gap: 10px;
}
.eg-nav__link:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .45); }
.eg-nav__link.is-current { border-bottom-color: #fff; }
.eg-nav__sub {
	list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 240px;
	background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(15, 31, 61, .2);
	display: none; z-index: 30;
}
.eg-nav__item--parent:hover > .eg-nav__sub, .eg-nav__item--parent:focus-within > .eg-nav__sub { display: block; }
.eg-nav__sublink { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 700; color: var(--eg-navy); }
.eg-nav__sublink:hover { background: var(--eg-sand); color: var(--eg-navy); }

@media (max-width: 860px) {
	.eg-menu-toggle { display: inline-flex; }
	.eg-nav { display: none; }
	.eg-nav.is-open { display: block; }
	.eg-nav__list { flex-direction: column; padding: 8px 0 16px; }
	.eg-nav__link { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.eg-nav__link.is-current { border-bottom-color: rgba(255, 255, 255, .12); text-decoration: underline; text-underline-offset: 6px; }
	.eg-nav__sub { position: static; display: block; background: transparent; box-shadow: none; padding: 0 0 8px 24px; }
	.eg-nav__sublink { color: #fff; }
	.eg-nav__sublink:hover { background: rgba(255, 255, 255, .08); color: #fff; }
}
@media (max-width: 640px) {
	.eg-brand__logo { width: 56px; height: 52px; }
	.eg-brand__tagline { font-size: 13px; }
	.eg-cart { padding: 0 16px; height: 46px; }
	.eg-cart__label { display: none; }
	.eg-header__tools .eg-round { width: 42px; height: 42px; }
}


/* ---------- Barre flottante (apparaît en descendant) ---------- */
.eg-sticky {
	position: fixed; left: 0; right: 0; top: 0; z-index: 90;
	background: rgba(27, 58, 107, .97); color: #fff; box-shadow: 0 8px 24px rgba(15, 31, 61, .25);
	transform: translateY(-110%); transition: transform .25s ease; backdrop-filter: blur(6px);
}
.eg-sticky.is-visible { transform: none; }
.admin-bar .eg-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .eg-sticky { top: 46px; } }
.eg-sticky__inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.eg-sticky__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: 0 0 auto; }
.eg-sticky__brand:hover { color: #fff; }
.eg-sticky__brand img { width: 40px; height: 37px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; }
.eg-sticky__brand span { font-family: var(--eg-display); font-weight: 700; font-size: 20px; white-space: nowrap; }
.eg-sticky__nav { margin-left: auto; min-width: 0; }
.eg-sticky__nav .eg-nav__list { flex-wrap: nowrap; gap: 0 2px; }
.eg-sticky__nav .eg-nav__link { font-size: 16px; padding: 20px 10px 17px; white-space: nowrap; }
.eg-sticky__tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.eg-sticky .eg-cart { height: 42px; padding: 0 16px; font-size: 15px; }
.eg-sticky__menu { display: none; }
@media (max-width: 1100px) { .eg-sticky__brand span { display: none; } }
@media (max-width: 860px) {
	.eg-sticky__nav { display: none; }
	.eg-sticky__menu { display: inline-flex; }
	.eg-sticky__tools { margin-left: auto; }
	.eg-sticky__brand span { display: inline; }
	.eg-sticky .eg-cart__label { display: none; }
}

/* ==========================================================================
   Lettres décoratives des bandeaux
   ========================================================================== */
.eg-deco { position: absolute; inset: 0; font-family: var(--eg-display); font-weight: 700; color: rgba(255, 255, 255, .05); pointer-events: none; overflow: hidden; }
.eg-deco__g { position: absolute; line-height: 1; }
.eg-deco__g--1 { left: 4%; top: 6%; font-size: 120px; transform: rotate(-12deg); }
.eg-deco__g--2 { left: 38%; top: 58%; font-size: 150px; transform: rotate(8deg); }
.eg-deco__g--3 { left: 22%; top: 70%; font-size: 110px; }
.eg-deco__g--4 { right: 4%; top: 2%; font-size: 130px; transform: rotate(14deg); }
.eg-deco__g--5 { right: 30%; bottom: -4%; font-size: 120px; }
.eg-deco__g--6 { left: 52%; top: 4%; font-size: 100px; transform: rotate(-6deg); }
.eg-pagehero .eg-deco__g--1 { left: 2%; top: auto; bottom: -6%; font-size: 140px; transform: rotate(-10deg); }
.eg-pagehero .eg-deco__g--2 { left: 44%; top: 4%; font-size: 120px; transform: rotate(8deg); }
.eg-pagehero .eg-deco__g--3 { left: 58%; top: auto; bottom: -10%; font-size: 130px; transform: none; }
.eg-pagehero .eg-deco__g--4 { right: 2%; top: -6%; font-size: 120px; transform: rotate(12deg); }

/* ==========================================================================
   Accueil : grand bandeau à onglets
   ========================================================================== */
.eg-hero { background: var(--eg-navy-hero); color: #fff; position: relative; overflow: hidden; }
.eg-hero__inner { position: relative; padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 44px; }
.eg-hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.eg-hero__text { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eg-hero__slides { display: grid; }
.eg-hero__slide {
	grid-area: 1 / 1; display: flex; flex-direction: column; gap: 22px;
	visibility: hidden; opacity: 0; transition: opacity .45s ease, visibility 0s linear .45s;
}
.eg-hero__slide.is-active { visibility: visible; opacity: 1; transition: opacity .45s ease; }
.eg-hero__title {
	margin: 0; font-family: var(--eg-display); font-weight: 700; font-size: clamp(44px, 6vw, 86px);
	line-height: .98; letter-spacing: -0.01em; display: flex; flex-direction: column;
}
.eg-hero__lede { margin: 0; font-family: var(--eg-display); font-weight: 500; font-size: 21px; line-height: 1.45; max-width: 30em; color: var(--eg-on-navy); }
.eg-hero__slide .eg-btn { align-self: flex-start; margin-top: auto; }
.eg-hero__visual { flex: 1 1 440px; min-width: 0; height: 440px; position: relative; }
.eg-hero__art { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.eg-hero__art.is-active { opacity: 1; }
.eg-hero__tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.eg-hero__tab {
	border: none; background: transparent; padding: 0 0 6px; text-align: left; cursor: pointer;
	display: flex; flex-direction: column; gap: 10px; font-family: var(--eg-display); font-size: 18px; font-weight: 600;
	color: #9FB0CC; min-height: 44px;
}
.eg-hero__tab.is-active { color: #fff; }
.eg-hero__track { display: block; width: 100%; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .18); position: relative; overflow: hidden; }
.eg-hero__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--hue); }
.eg-hero__tab.is-active .eg-hero__fill { animation: egfill 7s linear forwards; }
.eg-hero.is-paused .eg-hero__tab.is-active .eg-hero__fill { animation-play-state: paused; }
.eg-hero.is-static .eg-hero__tab.is-active .eg-hero__fill { animation: none; width: 100%; }
@keyframes egfill { from { width: 0; } to { width: 100%; } }

/* Écrans illustrés (bandeaux) */
.eg-screen { position: absolute; border-radius: 30px; background: var(--eg-navy-dark); padding: 12px; box-shadow: 0 26px 50px rgba(0, 0, 0, .35); }
.eg-screen__in { width: 100%; height: 100%; border-radius: 20px; background: #fff; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; color: var(--eg-navy-hero); }
.eg-screen--a { right: 0; top: 10px; width: 82%; height: 250px; transform: rotate(4deg); }
.eg-screen--b { left: 4%; bottom: 20px; width: 64%; height: 190px; border-radius: 28px; padding: 11px; transform: rotate(-3deg); }
.eg-screen--b .eg-screen__in { border-radius: 18px; padding: 14px 16px; gap: 10px; }
.eg-screen__label {
	align-self: stretch; text-align: center; border: 2px dashed #5B83C2; border-radius: 10px; padding: 6px;
	font-family: var(--eg-display); font-weight: 600; font-size: 18px; color: #2C5AA0;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.eg-screen__label--sm { font-size: 16px; padding: 5px; }
.eg-screen__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; flex: 1; }
.eg-screen__grid span { border-radius: 6px; background: #F1F3F8; }
.eg-screen__grid span.t { background: var(--tint); }
.eg-screen__line { height: 6px; border-radius: 3px; background: #E2E6EF; display: block; }
.eg-screen__slots { display: flex; gap: 8px; margin-top: auto; }
.eg-screen__slots span { flex: 1; height: 34px; border-radius: 8px; border: 2px dashed var(--hue); }
.eg-screen--card { inset: 10px 20px 20px 0; transform: rotate(3deg); }
.eg-screen__quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; flex: 1; }
.eg-screen__quad span { border-radius: 8px; border: 2px solid; }
.eg-screen__quad span:nth-child(1) { border-color: var(--eg-pink); background: #FDF0F6; }
.eg-screen__quad span:nth-child(2) { border-color: var(--eg-cyan); background: #EAF9FB; }
.eg-screen__quad span:nth-child(3) { border-color: var(--eg-yellow); background: #FFF8DC; }
.eg-screen__quad span:nth-child(4) { border-color: var(--eg-blue); background: #EAF1FC; }

.eg-sticker {
	border-radius: 50%; background: var(--sticker, var(--eg-pink)); color: var(--sticker-fg, #fff);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	font-family: var(--eg-display); font-weight: 700; line-height: 1; transform: rotate(-8deg);
	box-shadow: 0 14px 30px rgba(0, 0, 0, .3); text-align: center;
}
.eg-sticker span:last-child { margin-top: 4px; }
.eg-sticker--lg { position: absolute; right: 2%; bottom: 0; width: 132px; height: 132px; }
.eg-sticker--lg span:first-child { font-size: 36px; }
.eg-sticker--lg span:last-child { font-size: 20px; }
.eg-sticker--md { position: absolute; right: -6px; bottom: -6px; width: 112px; height: 112px; }
.eg-sticker--md span:first-child { font-size: 28px; }
.eg-sticker--md span:last-child { font-size: 16px; }
.eg-sticker--sm { position: absolute; right: -18px; top: -26px; width: 92px; height: 92px; box-shadow: none; }
.eg-sticker--sm span:first-child { font-size: 22px; }
.eg-sticker--sm span:last-child { font-size: 16px; margin-top: 3px; }
.eg-sticker--xl { width: 150px; height: 150px; flex: 0 0 auto; margin-right: 12px; }
.eg-sticker--xl span:first-child { font-size: 48px; }
.eg-sticker--xl span:last-child { font-size: 20px; }

@media (max-width: 760px) {
	.eg-hero__inner { padding-top: 40px; gap: 32px; }
	.eg-hero__visual { height: 300px; flex-basis: 100%; }
	.eg-screen--a { height: 190px; }
	.eg-screen--b { height: 150px; }
	.eg-sticker--lg { width: 104px; height: 104px; }
	.eg-sticker--lg span:first-child { font-size: 28px; }
	.eg-sticker--lg span:last-child { font-size: 16px; }
	.eg-hero__lede { font-size: 19px; }
	.eg-hero__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Accueil : quatre univers
   ========================================================================== */
.eg-univers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 24px; }
.eg-uni {
	text-decoration: none; color: var(--eg-navy); background: var(--eg-sand); border: 1px solid var(--eg-line);
	border-radius: 28px; padding: 22px; display: flex; flex-wrap: wrap; gap: 26px; align-items: stretch;
	transition: transform .2s ease, box-shadow .2s ease;
}
.eg-uni:hover { color: var(--eg-navy); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(27, 58, 107, .1); }
.eg-uni__art { flex: 0 0 200px; min-height: 230px; border-radius: 20px; position: relative; overflow: hidden; }
.eg-uni__art > span, .eg-uni__art > i { position: absolute; display: block; box-sizing: border-box; }
.eg-uni__art--center { display: flex; align-items: center; justify-content: center; }
.eg-uni__art--center > .eg-uni__tablet { position: relative; }
.eg-uni__tablet { width: 160px; height: 118px; border-radius: 14px; background: var(--eg-navy); padding: 10px; box-shadow: 0 10px 0 #0B6E7C; }
.eg-uni__screen { width: 100%; height: 100%; border-radius: 7px; background: #fff; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 0 10px; }
.eg-uni__screen b { font-weight: 900; font-size: 18px; color: var(--eg-navy); }
.eg-uni__beads { display: flex; gap: 3px; }
.eg-uni__beads i { width: 10px; height: 10px; border-radius: 50%; background: var(--eg-blue); display: block; }
.eg-uni__beads i.p { background: var(--eg-pink); }
.eg-uni__play { right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--eg-cyan); display: flex !important; align-items: center; justify-content: center; }
.eg-uni__sheet {
	left: 52px; top: 30px; width: 110px; height: 148px; border-radius: 8px; background: #fff;
	box-shadow: 0 8px 20px rgba(27, 58, 107, .18); padding: 14px 12px; display: flex !important; flex-direction: column; gap: 8px;
}
.eg-uni__sheet b { font-weight: 900; font-size: 11px; color: var(--eg-navy); }
.eg-uni__sheet i { display: block; height: 4px; border-radius: 2px; background: #E2DED4; }
.eg-uni__body { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 6px 4px; }
.eg-uni__title { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 26px; line-height: 1.2; }
.eg-uni__text { font-size: 16px; line-height: 1.6; color: var(--eg-text); }
.eg-uni__body .eg-btn { align-self: flex-start; margin-top: auto; }

/* ==========================================================================
   Cartes d'articles et de réalisations
   ========================================================================== */
.eg-post-card { text-decoration: none; color: var(--eg-navy); display: flex; flex-direction: column; gap: 12px; }
.eg-post-card:hover { color: var(--eg-navy); }
.eg-post-card__img { display: block; height: 210px; border-radius: 16px; overflow: hidden; background: var(--eg-sand-2); }
.eg-post-card__img img, .eg-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.eg-post-card:hover .eg-post-card__img img { transform: scale(1.04); }
.eg-post-card__meta { font-size: 13px; font-weight: 800; color: var(--eg-muted); }
.eg-post-card__title { font-weight: 900; font-size: 20px; line-height: 1.25; }
.eg-post-card:hover .eg-post-card__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.eg-thumb--empty { display: flex !important; align-items: center; justify-content: center; background: var(--eg-sand-2); }
.eg-thumb--empty img { width: 64px; height: 64px; object-fit: contain; opacity: .35; }

.eg-masonry { columns: 3 300px; column-gap: 28px; }
.eg-real-card {
	text-decoration: none; color: var(--eg-navy); display: flex; flex-direction: column; gap: 12px;
	break-inside: avoid; margin-bottom: 36px; background: #fff; border: 1px solid var(--eg-line-2);
	border-radius: 24px; padding: 12px 12px 20px; box-shadow: 0 10px 26px rgba(27, 58, 107, .06);
	transition: transform .2s ease, box-shadow .2s ease;
}
.eg-real-card:hover { color: var(--eg-navy); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(27, 58, 107, .12); }
.eg-real-card__img { display: block; border-radius: 16px; overflow: hidden; background: var(--eg-sand-2); }
.eg-real-card__img img { width: 100%; height: auto; max-height: 460px; object-fit: cover; object-position: top; display: block; }
.eg-real-card__img .eg-thumb--empty { height: 220px; }
.eg-real-card__tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 0; }
.eg-real-card__title { padding: 0 8px; font-family: var(--eg-display); font-weight: 600; font-size: 21px; line-height: 1.25; }
.eg-real-card__text { padding: 0 8px; font-size: 15px; line-height: 1.55; color: var(--eg-text); }
.eg-real-card__date { padding: 0 8px; font-size: 13px; font-weight: 700; color: var(--eg-muted); }

/* ==========================================================================
   Bandeaux de pages (catégorie, article, page simple)
   ========================================================================== */
.eg-pagehero { background: var(--eg-navy-hero); color: #fff; position: relative; overflow: hidden; }
.eg-pagehero__inner { position: relative; padding-top: 36px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 26px; }
.eg-pagehero--slim .eg-pagehero__inner { padding-bottom: 48px; }
.eg-pagehero--crumbs .eg-pagehero__inner { padding-top: 18px; padding-bottom: 18px; }
.eg-pagehero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.eg-pagehero__row--end { align-items: flex-end; gap: 40px; }
.eg-pagehero__text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.eg-pagehero__text--narrow { max-width: 900px; }
.eg-pagehero__inner > .eg-pagehero__text { flex: none; }
.eg-pagehero__title { margin: 0; font-family: var(--eg-display); font-weight: 700; font-size: clamp(36px, 4.8vw, 66px); line-height: 1.02; text-wrap: balance; }
.eg-pagehero__title--xl { font-size: clamp(44px, 5.6vw, 78px); line-height: .98; }
.eg-pagehero__lede { margin: 0; font-family: var(--eg-display); font-weight: 500; font-size: 20px; line-height: 1.5; color: var(--eg-on-navy); max-width: 42em; }
.eg-pagehero__lede p { margin: 0; }
.eg-pagehero__art { flex: 0 1 400px; min-width: 280px; height: 300px; position: relative; }

.eg-crumbs { font-size: 14px; font-weight: 700; color: var(--eg-crumb); display: flex; flex-wrap: wrap; gap: 8px; }
.eg-crumbs a { text-decoration: none; color: var(--eg-crumb); }
.eg-crumbs a:hover { color: #fff; text-decoration: underline; }
.eg-crumbs [aria-current] { color: #fff; }

.eg-devis-card {
	flex: 0 1 320px; min-width: 260px; background: #fff; color: var(--eg-navy); border-radius: 24px; padding: 26px;
	display: flex; flex-direction: column; gap: 12px; position: relative; box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}
.eg-devis-card__title { font-weight: 900; font-size: 20px; }
.eg-devis-card__text { font-size: 15px; line-height: 1.55; color: var(--eg-text); }
.eg-devis-card .eg-btn { align-self: flex-start; padding: 12px 20px; font-size: 15px; }
.eg-devis-card__phone { font-size: 15px; font-weight: 800; text-decoration: none; }

@media (max-width: 760px) {
	.eg-pagehero__art { display: none; }
	.eg-sticker--xl { display: none; }
	.eg-sticker--sm { right: 12px; top: -30px; width: 78px; height: 78px; }
	.eg-sticker--sm span:first-child { font-size: 18px; }
	.eg-sticker--sm span:last-child { font-size: 13px; }
	.eg-pagehero__lede { font-size: 18px; }
}

/* ==========================================================================
   Réalisations, blog : filtres, liste, « charger plus »
   ========================================================================== */
.eg-real { padding-top: 48px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 36px; }
.eg-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px; background: var(--eg-sand); border-radius: 20px; }
.eg-filters__all, .eg-filters__pill {
	display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 999px;
	font-weight: 800; font-size: 15px; text-decoration: none; background: #fff; color: var(--eg-navy); border: 1px solid var(--eg-line-3);
}
.eg-filters__all:hover, .eg-filters__pill:hover { border-color: var(--eg-navy); color: var(--eg-navy); }
.eg-filters__all.is-active, .eg-filters__pill.is-active { background: var(--eg-navy); color: #fff; border-color: var(--eg-navy); }
.eg-filters__select { position: relative; display: flex; align-items: center; }
.eg-filters__select select {
	appearance: none; -webkit-appearance: none; cursor: pointer; font-weight: 800; font-size: 15px;
	height: 46px; padding: 0 42px 0 18px; border-radius: 999px; border: 1px solid var(--eg-line-3);
	background: #fff; color: var(--eg-navy); max-width: 100%;
}
.eg-filters__select .eg-icon { position: absolute; right: 16px; pointer-events: none; color: var(--eg-navy); }
.eg-filters__select.is-active select { background: var(--eg-blue); border-color: var(--eg-blue); color: #fff; }
.eg-filters__select.is-active .eg-icon { color: #fff; }
.eg-filters__clear { margin-left: auto; font-weight: 700; font-size: 14px; color: var(--eg-blue); padding: 0 14px; }
.eg-filters__order { margin-left: auto; }

.eg-real__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.eg-real__count { font-size: 15px; font-weight: 700; color: var(--eg-muted); }
.eg-empty { background: var(--eg-sand); border-radius: 20px; padding: 40px 24px; text-align: center; font-size: 17px; color: var(--eg-text); margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.eg-empty p { margin: 0; }

.eg-more { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 8px; }
.eg-more__progress { font-size: 14px; font-weight: 700; color: var(--eg-muted); }
.eg-more__bar { width: 220px; height: 4px; border-radius: 2px; background: var(--eg-line-2); position: relative; overflow: hidden; }
.eg-more__bar span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--eg-blue); transition: width .3s ease; }
.eg-more__btn { margin-top: 6px; height: 50px; padding: 0 28px; font-family: var(--eg-sans); font-weight: 800; }
.eg-more__btn.is-loading { opacity: .6; pointer-events: none; }

/* Bandeau d'appel à l'action */
.eg-cta-wrap { padding-bottom: 88px; }
.eg-cta { background: var(--eg-navy); color: #fff; border-radius: 28px; padding: 44px 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.eg-cta__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.eg-cta__title { font-family: var(--eg-display); font-weight: 700; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; }
.eg-cta__sub { font-size: 17px; line-height: 1.55; color: var(--eg-on-navy-2); }
.eg-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.eg-band--sand + .eg-spacer + .eg-cta-wrap { padding-top: 0; }
@media (max-width: 640px) { .eg-cta { padding: 32px 24px; } }

/* ==========================================================================
   Article
   ========================================================================== */
.eg-article-layout { padding-top: 56px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.eg-article { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eg-article__cover { margin: 0; border-radius: 22px; overflow: hidden; background: var(--eg-sand-2); }
.eg-article__cover img { width: 100%; height: auto; max-height: 620px; object-fit: contain; display: block; }
.eg-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }

.eg-box { border: 1px solid var(--eg-line-2); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.eg-box--sand { background: var(--eg-sand); border-color: transparent; }
.eg-box--top { border-top: 6px solid var(--top, var(--eg-yellow)); }
.eg-box--navy { background: var(--eg-navy); border-color: transparent; color: #fff; }
.eg-box--navy .eg-box__text { color: var(--eg-on-navy); }
.eg-box__label { font-size: 13px; font-weight: 900; letter-spacing: .12em; color: var(--eg-muted); text-transform: uppercase; }
.eg-box__title { font-weight: 900; font-size: 20px; line-height: 1.3; }
.eg-box__text { font-size: 15px; line-height: 1.55; color: var(--eg-text); }
.eg-box__phone { font-size: 15px; font-weight: 800; text-decoration: none; }
.eg-box .eg-btn { align-self: flex-start; }
.eg-box__more { color: var(--eg-yellow); font-weight: 800; font-size: 15px; }
.eg-box__more:hover { color: #fff; }
.eg-box__cover { display: block; border-radius: 12px; overflow: hidden; background: var(--eg-sand-2); }
.eg-box__cover img { width: 100%; height: 220px; object-fit: contain; display: block; }
.eg-box__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.eg-box__price { font-weight: 900; font-size: 19px; }
.eg-box ul { margin: 0; padding-left: 18px; }
.eg-toc__link { text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.4; padding-left: 12px; border-left: 3px solid var(--eg-line-3); }
.eg-toc__link.is-active { border-left-color: var(--eg-pink); }

.eg-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 22px; border-top: 1px solid var(--eg-line-2); }
.eg-share__label { font-weight: 800; font-size: 15px; margin-right: 6px; }
.eg-share__btn { text-decoration: none; font-weight: 800; font-size: 14px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--eg-line-3); }
.eg-share__btn:hover { border-color: var(--eg-navy); color: var(--eg-navy); }

/* ---------- Contenu rédigé (articles, pages) ---------- */
.eg-content { font-size: 18px; line-height: 1.75; color: var(--eg-body); }
.eg-content > * { margin-top: 0; margin-bottom: 24px; }
.eg-content > *:last-child { margin-bottom: 0; }
.eg-page { padding-top: 56px; padding-bottom: 88px; }
.eg-page .eg-content { max-width: 820px; }
.eg-page .eg-content--wide { max-width: none; }
.eg-content h2 { font-family: var(--eg-display); font-weight: 700; font-size: 32px; line-height: 1.2; color: var(--eg-navy); margin: 40px 0 16px; }
.eg-content h3 { font-family: var(--eg-display); font-weight: 600; font-size: 24px; line-height: 1.25; color: var(--eg-navy); margin: 32px 0 12px; }
.eg-content h4 { font-weight: 900; font-size: 19px; color: var(--eg-navy); margin: 24px 0 8px; }
.eg-content a { color: var(--eg-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.eg-content a:hover { color: var(--eg-pink-text); }
.eg-content a.eg-btn { text-decoration: none; }
.eg-content a.eg-btn--navy, .eg-content a.eg-btn--blue, .eg-content a.eg-btn--pink { color: #fff; }
.eg-content a.eg-btn--yellow, .eg-content a.eg-btn--cyan, .eg-content a.eg-btn--outline, .eg-content a.eg-btn--white { color: var(--eg-navy); }
.eg-content strong { color: var(--eg-navy); }
.eg-content ul, .eg-content ol { padding-left: 1.3em; }
.eg-content li { margin-bottom: 6px; }
.eg-content li::marker { color: var(--eg-pink); font-weight: 800; }
.eg-content img { border-radius: 16px; }
.eg-content figure { margin-left: 0; margin-right: 0; }
.eg-content figcaption, .eg-content .wp-element-caption { font-size: 14px; color: var(--eg-muted); text-align: center; margin-top: 8px; }
.eg-content hr { border: none; border-top: 1px solid var(--eg-line-2); margin: 40px 0; }
.eg-content blockquote, .eg-content .wp-block-quote {
	margin: 8px 0 32px; padding: 8px 0 8px 28px; border-left: 4px solid var(--eg-pink);
	font-family: var(--eg-serif); font-style: italic; font-weight: 500; font-size: 30px; line-height: 1.3; color: var(--eg-navy);
}
.eg-content blockquote p { margin: 0 0 8px; }
.eg-content blockquote cite { display: block; font-family: var(--eg-sans); font-style: normal; font-size: 15px; font-weight: 800; color: var(--eg-muted); }
.eg-content .wp-block-pullquote { border-top: 4px solid var(--eg-pink); border-bottom: 4px solid var(--eg-pink); padding: 24px 0; }
.eg-content .wp-block-pullquote blockquote { border: none; padding: 0; text-align: center; }
.eg-content table, .eg-content .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.eg-content .wp-block-table, .eg-content > table { overflow-x: auto; display: block; border: 1px solid var(--eg-line-2); border-radius: 16px; }
.eg-content .wp-block-table table { display: table; min-width: 520px; }
.eg-content > table { display: table; }
.eg-content th { background: var(--eg-navy); color: #fff; text-align: left; font-weight: 800; padding: 14px 16px; border: none; }
.eg-content td { padding: 14px 16px; border: none; border-top: 1px solid var(--eg-line-2); }
.eg-content tbody tr:nth-child(even) { background: var(--eg-sand); }
.eg-content td:first-child { font-weight: 800; color: var(--eg-navy); }
.eg-content .wp-block-button__link, .eg-content .wp-element-button {
	background: var(--eg-navy); color: #fff; border-radius: 999px; padding: 12px 22px; font-weight: 800; text-decoration: none;
}
.eg-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--eg-navy); border: 2px solid var(--eg-navy); }
.eg-content .wp-block-image img { height: auto; }
.eg-content .alignwide, .eg-content .alignfull { max-width: none; }
.eg-content .aligncenter { margin-left: auto; margin-right: auto; display: block; }
.eg-content .alignleft { float: left; margin: 6px 24px 16px 0; }
.eg-content .alignright { float: right; margin: 6px 0 16px 24px; }
.eg-content .wp-block-gallery { gap: 12px; }
.eg-content .wp-block-columns { gap: 24px; }
.eg-content iframe { max-width: 100%; border-radius: 16px; }
.eg-content::after { content: ""; display: table; clear: both; }

/* Codes courts */
.eg-tip { background: #FFF8DC; border-radius: 18px; padding: 24px 26px; display: flex; gap: 18px; align-items: flex-start; }
.eg-tip__icon { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--eg-yellow); color: var(--eg-navy); display: flex; align-items: center; justify-content: center; }
.eg-tip__label { display: block; font-size: 13px; font-weight: 900; letter-spacing: .12em; color: var(--eg-yellow-text); text-transform: uppercase; margin-bottom: 6px; }
.eg-tip__text { font-size: 17px; line-height: 1.65; }
.eg-tip__text p { margin: 0 0 8px; }
.eg-note { background: var(--eg-sand); border-radius: 18px; padding: 22px; }
.eg-note__label { display: block; font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.eg-note__text { font-size: 16px; line-height: 1.6; }
.eg-note__text p { margin: 0 0 8px; }
.eg-download { background: var(--eg-navy); color: #fff; border-radius: 24px; padding: 30px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.eg-download__img { flex: 0 0 120px; width: 120px; height: 170px; object-fit: cover; border-radius: 10px !important; background: #fff; }
.eg-download__mini { flex: 0 0 120px; height: 170px; border-radius: 10px; background: #fff; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.eg-download__mini span { height: 4px; border-radius: 2px; background: #E2DED4; }
.eg-download__mini span:nth-child(1) { height: 6px; width: 70%; background: var(--eg-pink); }
.eg-download__mini span:nth-child(3) { width: 80%; }
.eg-download__mini span:nth-child(4) { height: 6px; width: 60%; background: var(--eg-cyan); margin-top: 6px; }
.eg-download__mini span:nth-child(6) { height: 6px; width: 65%; background: var(--eg-yellow); margin-top: 6px; }
.eg-download__mini span:nth-child(7) { width: 85%; }
.eg-download__text { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.eg-download__title { font-weight: 900; font-size: 24px; line-height: 1.2; }
.eg-download__infos { font-size: 15px; color: var(--eg-on-navy-2); }
.eg-download .eg-btn { align-self: flex-start; margin-top: 6px; font-family: var(--eg-sans); font-weight: 900; color: var(--eg-navy) !important; }

/* Pagination interne, commentaires */
.eg-pages { display: flex; gap: 8px; font-weight: 800; }
.eg-comments { border-top: 1px solid var(--eg-line-2); padding-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.eg-comments__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.eg-comments__list .comment-body { background: var(--eg-sand); border-radius: 16px; padding: 18px; }
.eg-comments textarea, .eg-comments input[type="text"], .eg-comments input[type="email"], .eg-comments input[type="url"] {
	width: 100%; border: 1px solid var(--eg-line-3); border-radius: 14px; padding: 12px 14px; background: #fff;
}

/* ==========================================================================
   Accueil : à propos, studio
   ========================================================================== */
.eg-about { flex-direction: row; flex-wrap: wrap; gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.eg-about__photo { flex: 0 1 340px; min-width: 240px; position: relative; height: 400px; }
.eg-about__frame { position: absolute; left: 20px; top: 20px; right: 0; bottom: 0; border-radius: 24px; border: 2px solid var(--eg-yellow); }
.eg-about__img { position: absolute; left: 0; top: 0; width: calc(100% - 20px); height: calc(100% - 20px); border-radius: 24px; object-fit: cover; background: #2A4A7E; }
.eg-about__img--empty { display: flex; align-items: center; justify-content: center; }
.eg-about__img--empty img { width: 120px; opacity: .5; }
.eg-about__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.eg-about__lede { margin: 0; font-size: 18px; line-height: 1.7; color: var(--eg-on-navy); }
.eg-about__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.eg-about__badge { font-weight: 700; font-size: 14px; border: 1px solid rgba(255, 255, 255, .35); padding: 8px 14px; border-radius: 999px; }
.eg-about__badge.is-hl { background: var(--eg-yellow); color: var(--eg-navy); border-color: var(--eg-yellow); }
.eg-about__link { align-self: flex-start; color: var(--eg-yellow); font-weight: 800; font-size: 17px; }
.eg-about__link:hover { color: #fff; }

.eg-studio { flex-direction: row; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.eg-studio__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.eg-studio__lede { margin: 0; font-size: 17px; line-height: 1.65; color: var(--eg-text); }
.eg-studio__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #E0DDD5; }
.eg-studio__list li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #E0DDD5; font-weight: 800; font-size: 16px; }
.eg-studio__list li span { font-weight: 600; color: var(--eg-muted); text-align: right; }
.eg-studio__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.eg-studio__phone { font-size: 15px; font-weight: 700; color: var(--eg-text); }
.eg-studio__phone a { text-decoration: none; color: inherit; }
.eg-studio__grid { flex: 1.2 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.eg-studio__item { text-decoration: none; color: var(--eg-navy); display: flex; flex-direction: column; gap: 10px; }
.eg-studio__img { display: block; height: 190px; border-radius: 16px; overflow: hidden; background: #E9E7E1; }
.eg-studio__name { font-weight: 800; font-size: 15px; line-height: 1.35; }
.eg-studio__item:hover .eg-studio__name { text-decoration: underline; }
.eg-studio__all { grid-column: 1 / -1; justify-self: end; font-weight: 800; font-size: 15px; color: var(--eg-blue); }
@media (max-width: 520px) { .eg-studio__grid { grid-template-columns: 1fr; } .eg-studio__list li { flex-direction: column; gap: 2px; } .eg-studio__list li span { text-align: left; } }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.eg-foot { background: var(--eg-navy-deep); color: var(--eg-on-navy); }
.eg-foot__stripe { height: 5px; display: flex; }
.eg-foot__stripe span { flex: 1; }
.eg-foot__stripe span:nth-child(1) { background: var(--eg-pink); }
.eg-foot__stripe span:nth-child(2) { background: var(--eg-cyan); }
.eg-foot__stripe span:nth-child(3) { background: var(--eg-yellow); }
.eg-foot__stripe span:nth-child(4) { background: var(--eg-blue); }
.eg-foot__inner { padding-top: 60px; padding-bottom: 30px; display: flex; flex-direction: column; gap: 40px; }
.eg-foot__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.eg-foot__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.eg-foot__brand { font-weight: 900; font-size: 24px; color: #fff; }
.eg-foot__address { line-height: 1.7; }
.eg-foot__title { font-weight: 900; font-size: 16px; color: #fff; }
.eg-foot__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.eg-foot a { color: var(--eg-on-navy); text-decoration: none; }
.eg-foot a:hover { color: #fff; text-decoration: underline; }
.eg-foot__bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; font-size: 14px; }

/* ==========================================================================
   Constructeur de pages (WPBakery) : laisse respirer les anciennes pages
   ========================================================================== */
.eg-page--builder { padding-top: 32px; }
.eg-page--builder .vc_row { margin-left: 0; margin-right: 0; }
.eg-content .vc_btn3, .eg-content .vc_general.vc_btn3 { border-radius: 999px !important; }

/* ==========================================================================
   Formulaire de contact et relais des anciens codes courts
   ========================================================================== */
.eg-form { background: var(--eg-sand); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; font-size: 16px; }
.eg-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.eg-form__row { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.eg-form__row--full { grid-column: 1 / -1; }
.eg-form label { font-weight: 800; color: var(--eg-navy); font-size: 15px; }
.eg-form input, .eg-form textarea {
	width: 100%; border: 1px solid var(--eg-line-3); border-radius: 14px; padding: 12px 14px; background: #fff; font-size: 16px; color: var(--eg-navy);
}
.eg-form input:focus, .eg-form textarea:focus { outline: 3px solid var(--eg-blue); outline-offset: 1px; border-color: var(--eg-blue); }
.eg-form .eg-btn { align-self: flex-start; }
.eg-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.eg-form__legal { margin: 0; font-size: 13px; color: var(--eg-muted); }
.eg-form__notice { margin: 0; padding: 14px 18px; border-radius: 14px; font-weight: 800; background: #fff; border-left: 6px solid var(--eg-cyan); }
.eg-form__notice--err { border-left-color: var(--eg-pink); }
.eg-sep { border: none; height: 4px; width: 80px; border-radius: 2px; background: var(--eg-yellow); margin: 32px 0; }
.eg-soc { display: flex; flex-wrap: wrap; gap: 8px; }
.eg-soc__link { text-decoration: none !important; font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--eg-line-3); color: var(--eg-navy) !important; }
.eg-fancy { margin: 0 0 16px; }
.eg-fancy img { max-width: 100%; }
.eg-legacy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; margin: 24px 0; }
.eg-legacy-block { margin: 24px 0; }
.eg-legacy-more { text-align: center; }
.eg-team__card { background: var(--eg-sand); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.eg-team__img { border-radius: 14px; width: 100%; height: auto; }
.eg-team__name { font-weight: 900; font-size: 18px; color: var(--eg-navy); }
.eg-team__text { font-size: 15px; line-height: 1.55; }
.eg-quote { font-size: 22px !important; }

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.eg-hero__tab.is-active .eg-hero__fill { animation: none; width: 100%; }
}

/* ==========================================================================
   Page Contact
   ========================================================================== */
.eg-contact-hero .eg-pagehero__inner { padding-bottom: 120px; }
.eg-contact-hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.eg-contact-hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.eg-contact-hero__quick { display: flex; flex-wrap: wrap; gap: 12px; }
.eg-contact-chip {
	display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); color: #fff;
	font-weight: 800; font-size: 17px; text-decoration: none; transition: background .2s, color .2s;
}
.eg-contact-chip:hover { background: var(--eg-yellow); border-color: var(--eg-yellow); color: var(--eg-navy); }
.eg-contact-chip svg { flex: none; }
.eg-contact-hero__portrait { flex: 0 1 380px; min-width: 260px; margin: 0; position: relative; aspect-ratio: 4 / 5; }
.eg-contact-hero__frame { position: absolute; inset: 22px -18px -18px 22px; border-radius: 200px 200px 28px 28px; border: 2px solid var(--eg-yellow); }
.eg-contact-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 30%; border-radius: 200px 200px 28px 28px; background: #2A4A7E; box-shadow: 0 30px 60px rgba(8, 20, 45, .35); }
.eg-contact-seal {
	position: absolute; left: -34px; bottom: 54px; width: 116px; height: 116px; border-radius: 50%;
	background: #fff; display: flex; align-items: center; justify-content: center; padding: 14px;
	box-shadow: 0 14px 30px rgba(8, 20, 45, .3); transform: rotate(-8deg);
}
.eg-contact-seal__img { width: 100%; height: 100%; object-fit: contain; }
.eg-contact-hero__portrait figcaption {
	position: absolute; right: -10px; bottom: -34px; background: var(--eg-yellow); color: var(--eg-navy);
	padding: 12px 20px; border-radius: 16px; display: flex; flex-direction: column; line-height: 1.25;
	box-shadow: 0 12px 24px rgba(8, 20, 45, .25);
}
.eg-contact-hero__portrait figcaption strong { font-family: var(--eg-display); font-size: 20px; font-weight: 700; }
.eg-contact-hero__portrait figcaption span { font-size: 14px; font-weight: 700; }

.eg-contact-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; margin-top: -64px; position: relative; z-index: 2; }
.eg-contact-card {
	--c: var(--eg-pink); --tint: #FCE6F1;
	background: #fff; border-radius: 24px; padding: 30px 30px 26px; text-decoration: none; color: var(--eg-body);
	box-shadow: 0 18px 40px rgba(27, 58, 107, .12); border-top: 6px solid var(--c);
	display: flex; flex-direction: column; gap: 14px; transition: transform .2s ease, box-shadow .2s ease;
}
.eg-contact-card--blue { --c: var(--eg-blue); --tint: #E3EDFB; }
.eg-contact-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(27, 58, 107, .18); color: var(--eg-body); }
.eg-contact-card__tag { align-self: flex-start; background: var(--tint); color: var(--c); font-weight: 900; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.eg-contact-card__title { margin: 0; font-family: var(--eg-display); font-weight: 700; font-size: 26px; color: var(--eg-navy); line-height: 1.15; }
.eg-contact-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; }
.eg-contact-card li { position: relative; padding-left: 24px; }
.eg-contact-card li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.eg-contact-card__go { margin-top: auto; padding-top: 6px; font-weight: 800; color: var(--c); }

.eg-contact-main { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 56px; padding-bottom: 96px; }
.eg-contact-form { flex: 1 1 560px; min-width: 0; padding: 36px; gap: 20px; scroll-margin-top: 90px; }
.eg-contact-form__title { margin: 0; font-family: var(--eg-display); font-weight: 700; font-size: 32px; color: var(--eg-navy); }
.eg-contact-form label small { font-weight: 600; color: var(--eg-muted); }
.eg-contact-form textarea::placeholder { color: #8A93A6; }
.eg-contact-subjects { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.eg-contact-subjects legend { font-weight: 800; color: var(--eg-navy); font-size: 15px; margin-bottom: 10px; padding: 0; }
.eg-contact-pill { position: relative; cursor: pointer; }
.eg-contact-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.eg-contact-pill span {
	display: inline-block; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--eg-line-2);
	font-weight: 700; font-size: 15px; color: var(--eg-navy); transition: background .15s, border-color .15s, color .15s;
}
.eg-contact-pill:hover span { border-color: var(--eg-navy); }
.eg-contact-pill input:checked + span { background: var(--eg-navy); border-color: var(--eg-navy); color: #fff; }
.eg-contact-pill input:focus-visible + span { outline: 3px solid var(--eg-blue); outline-offset: 2px; }

.eg-contact-aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.eg-contact-info { background: var(--eg-navy); color: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.eg-contact-info .eg-box__label { color: var(--eg-yellow); }
.eg-contact-info p { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 17px; line-height: 1.45; color: var(--eg-on-navy); }
.eg-contact-info p > span { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--eg-on-navy-2); opacity: .8; }
.eg-contact-info a { color: #fff; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.eg-contact-info a:hover { color: var(--eg-yellow); }
.eg-contact-quote { margin: 0; padding: 26px 28px; border-radius: 24px; background: #FFF4CC; position: relative; }
.eg-contact-quote::before { content: "“"; position: absolute; top: -8px; left: 18px; font-family: var(--eg-serif); font-size: 90px; line-height: 1; color: var(--eg-yellow); }
.eg-contact-quote p { margin: 0; padding-top: 18px; font-family: var(--eg-serif); font-size: 21px; line-height: 1.45; color: var(--eg-navy); font-style: italic; }
.eg-contact-quote footer { margin-top: 12px; font-weight: 800; color: #7A6212; }
.eg-contact-links { border: 1px solid var(--eg-line-2); border-radius: 24px; padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.eg-contact-links a { font-weight: 800; color: var(--eg-blue); text-decoration: none; }
.eg-contact-links a:hover { text-decoration: underline; }

@media (max-width: 860px) {
	.eg-contact-hero .eg-pagehero__inner { padding-bottom: 100px; }
	.eg-contact-hero__row { gap: 64px; }
	.eg-contact-hero__portrait { flex-basis: 100%; max-width: 340px; margin: 0 auto 0 34px; }
	.eg-contact-seal { width: 92px; height: 92px; left: -28px; }
	.eg-contact-form { padding: 24px; }
}

/* Encart « L'auteur » des articles : petit portrait */
.eg-box__author { display: flex; align-items: center; gap: 14px; }
.eg-box__author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 38% 30%; border: 3px solid var(--eg-yellow); flex: none; }
.eg-box__author strong { font-family: var(--eg-display); font-size: 19px; color: #fff; }
