/* ==========================================================================
   Essor Technologies - feuille de styles principale
   ========================================================================== */

:root {
	--brand: #1f3bd6;
	--brand-600: #1830b3;
	--brand-50: #eef1fe;
	--navy: #0a1238;
	--navy-2: #111c4e;
	--accent: #e3262f;
	--ink: #141a33;
	--text: #4a5170;
	--muted: #7b819b;
	--line: #e3e6f0;
	--light: #f3f5fb;
	--white: #fff;

	--font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 14px;
	--radius-sm: 8px;
	--radius-lg: 24px;
	--shadow-sm: 0 2px 8px rgba(10, 18, 56, .06);
	--shadow: 0 14px 40px -12px rgba(10, 18, 56, .18);
	--shadow-lg: 0 30px 70px -20px rgba(10, 18, 56, .35);
	--ease: cubic-bezier(.2, .7, .2, 1);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(64px, 9vw, 120px);
	--header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	color: var(--ink);
	line-height: 1.2;
	margin: 0 0 .6em;
	font-weight: 700;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: middle; }
.screen-reader-text, .hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	background: var(--brand); color: #fff; padding: 10px 18px; border-radius: var(--radius-sm);
	transition: top .2s;
}
.skip-link:focus { top: 16px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .95em 1.7em; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1.2;
	cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
	white-space: nowrap;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 59, 214, .7); }
.btn-primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 14px 30px -10px rgba(31, 59, 214, .8); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--brand); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent); color: #fff; }
.btn-sm { padding: .7em 1.3em; font-size: .88rem; }
.btn-lg { padding: 1.1em 2em; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow {
	display: inline-flex; align-items: center; gap: .45em;
	font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--brand);
}
.link-arrow .icon { width: 1.05em; transition: transform .25s var(--ease); }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Typo de section ---------- */
.kicker {
	display: inline-flex; align-items: center; gap: .6em;
	font-family: var(--font-head); font-size: .8rem; font-weight: 600;
	letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
	margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.kicker-light { color: #fff; }
.kicker-light::before { display: none; }
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(227, 38, 47, .25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(227, 38, 47, 0); } }
.section-title { max-width: 22ch; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); text-align: center; }
.section-head .section-title { margin-inline: auto; }
.section-head .kicker::after { content: ""; width: 28px; height: 2px; background: var(--accent); }
.section-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; text-align: left; flex-wrap: wrap; }
.section-head-split .section-title { margin-inline: 0; }
.section-head-split .kicker::after { display: none; }
.section-head-split > p { max-width: 420px; margin: 0; }
.section-foot { text-align: center; margin-top: clamp(32px, 5vw, 56px); }
.lead { font-size: 1.15rem; color: var(--ink); line-height: 1.65; }

.section { padding-block: var(--section); position: relative; }
.section-light { background: var(--light); }
.section-dark { background: var(--navy); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3, .section-dark .section-title { color: #fff; }
.section-dark .kicker { color: #9aaaff; }

/* ---------- Grilles ---------- */
.et-grid { display: grid; gap: clamp(20px, 2.5vw, 30px); }
.et-grid-2 { grid-template-columns: repeat(2, 1fr); }
.et-grid-3 { grid-template-columns: repeat(3, 1fr); }
.et-grid-4 { grid-template-columns: repeat(4, 1fr); }
.et-grid-services { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.et-grid-works { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   En-tête
   ========================================================================== */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .75); font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 42px; }
.topbar-info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar a, .topbar span { color: inherit; display: inline-flex; align-items: center; gap: .5em; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--accent); }
.topbar-social { display: flex; gap: 14px; }
.topbar-social .icon { width: 16px; height: 16px; color: inherit; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); }
.topbar .lang-switch a { padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .06em; line-height: 1.6; }
.topbar .lang-switch a[aria-current] { background: #fff; color: var(--navy); }
.lang-switch a { display: inline-flex; align-items: center; gap: .4em; }
.lang-flag { display: block; width: 18px; height: 12px; flex-shrink: 0; border-radius: 2px; box-shadow: 0 0 0 1px rgba(10, 18, 56, .18); }
.lang-switch-mobile { justify-self: center; border-color: var(--line); }
.lang-switch-mobile a { padding: 6px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.lang-switch-mobile .lang-flag { width: 21px; height: 14px; }
.lang-switch-mobile a[aria-current] { background: var(--brand); color: #fff; }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.6) blur(10px);
	border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(10, 18, 56, .2); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); transition: min-height .3s; }
.is-scrolled .header-inner { min-height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-logo { width: auto; height: 54px; transition: height .3s; }
.is-scrolled .brand-logo { height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); }
.brand-text strong { font-size: 1.35rem; font-weight: 800; letter-spacing: .04em; color: var(--brand); }
.brand-text small { font-size: .62rem; text-transform: uppercase; letter-spacing: .2em; margin-top: 5px; color: var(--ink); font-weight: 600; }

.main-nav { margin-left: auto; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a {
	display: flex; align-items: center; gap: 6px; padding: 10px 14px;
	font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--ink);
	border-radius: var(--radius-sm); position: relative; white-space: nowrap;
}
.main-nav .menu > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
	background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav .menu > li:hover > a::after,
.main-nav .menu > .current-menu-item > a::after,
.main-nav .menu > .current-menu-ancestor > a::after,
.main-nav .menu > .current-menu-parent > a::after { transform: scaleX(1); }
.main-nav .menu > li > a:hover, .main-nav .current-menu-item > a { color: var(--brand); }
.main-nav .menu-item-has-children > a::before {
	content: ""; order: 2; width: 7px; height: 7px; margin-left: 2px; margin-top: -3px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6;
}
.main-nav .sub-menu {
	list-style: none; margin: 0; padding: 12px; position: absolute; top: 100%; left: 0;
	min-width: 280px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
	border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.main-nav .sub-menu:has(> li:nth-child(7)) { display: grid; grid-template-columns: 1fr 1fr; min-width: 560px; column-gap: 6px; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 9px 14px; border-radius: var(--radius-sm); color: var(--ink); font-size: .9rem; font-weight: 500; line-height: 1.35; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item > a { background: var(--brand-50); color: var(--brand); }
.submenu-toggle { display: none; }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-call { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.header-call:hover { color: var(--brand); }
.header-call-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.header-call-text { display: flex; flex-direction: column; line-height: 1.25; }
.header-call-text small { font-size: .74rem; color: var(--muted); }
.header-call-text strong { font-family: var(--font-head); font-size: .95rem; white-space: nowrap; }

.nav-toggle {
	display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--navy);
	cursor: pointer; padding: 0 12px; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle span:nth-child(3) { width: 65%; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { width: 100%; transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop { position: fixed; inset: 0; background: rgba(10, 18, 56, .55); z-index: 98; backdrop-filter: blur(2px); }

/* ==========================================================================
   Accueil - bandeau
   ========================================================================== */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-overlay {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(100deg, rgba(10, 18, 56, .94) 0%, rgba(10, 18, 56, .78) 45%, rgba(10, 18, 56, .25) 100%),
		linear-gradient(0deg, rgba(10, 18, 56, .7), transparent 40%);
}
.hero-inner { min-height: min(86vh, 780px); display: flex; align-items: center; position: relative; padding-block: 90px 170px; }
.hero-content { max-width: 720px; }
.hero-title { color: #fff; font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; margin-bottom: .45em; }
.hero-text { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, .82); max-width: 600px; margin-bottom: 2.2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-dots { position: absolute; right: var(--gutter); bottom: 190px; display: flex; flex-direction: column; gap: 10px; }
.hero-dots button {
	width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7);
	background: transparent; cursor: pointer; padding: 0; transition: background .3s, transform .3s;
}
.hero-dots button.is-active { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }
.hero-features { position: absolute; left: 0; right: 0; bottom: 0; }
.hero-features-grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: rgba(255, 255, 255, .08); backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, .14); border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	padding: 0;
}
.hero-feature { display: flex; gap: 14px; align-items: center; padding: 28px 26px; }
.hero-feature + .hero-feature { border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-feature-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); flex-shrink: 0; }
.hero-feature-icon .icon { width: 24px; height: 24px; }
.hero-feature strong { display: block; font-family: var(--font-head); font-size: 1rem; color: #fff; }
.hero-feature small { color: rgba(255, 255, 255, .7); font-size: .86rem; }

/* ---------- Bandeau de page interne ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy); isolation: isolate; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.04); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 18, 56, .95) 10%, rgba(10, 18, 56, .65)); }
.page-hero::after {
	content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; z-index: -1;
	border: 60px solid rgba(31, 59, 214, .35); border-radius: 50%;
}
.page-hero-inner { padding-block: clamp(70px, 10vw, 130px) clamp(56px, 8vw, 100px); max-width: 820px; }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { color: rgba(255, 255, 255, .8); font-size: 1.1rem; max-width: 640px; margin: 0; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.page-hero-meta span { display: inline-flex; align-items: center; gap: .45em; }
.page-hero-meta .icon { color: var(--accent); width: 18px; }
.breadcrumb { font-size: .86rem; margin-bottom: 18px; color: rgba(255, 255, 255, .65); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .5; }

/* ==========================================================================
   Logos clients défilants
   ========================================================================== */
.clients { padding-block: 44px; border-bottom: 1px solid var(--line); background: #fff; }
.clients-title { text-align: center; font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); font-weight: 600; margin-bottom: 26px; font-family: var(--font-head); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { flex: 0 0 auto; width: 170px; height: 80px; margin-inline: 18px; display: grid; place-items: center; }
.marquee-item img { max-height: 64px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.marquee-item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   À propos (accueil)
   ========================================================================== */
.collage { position: relative; padding: 0 18% 14% 0; }
.collage img { border-radius: var(--radius-lg); object-fit: cover; }
.collage-main { width: 100%; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.collage-second { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.collage-badge {
	position: absolute; left: -18px; bottom: 22%; background: var(--brand); color: #fff;
	padding: 20px 24px; border-radius: var(--radius); display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-lg);
}
.collage-badge strong { font-family: var(--font-head); font-size: 2.8rem; line-height: 1; }
.collage-badge span { font-size: .85rem; line-height: 1.35; opacity: .9; }
.collage::before {
	content: ""; position: absolute; top: -24px; left: -24px; width: 140px; height: 140px; z-index: -1;
	background-image: radial-gradient(var(--brand) 2px, transparent 2px); background-size: 16px 16px; opacity: .25;
}
.checklist { list-style: none; padding: 0; margin: 0 0 2em; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 500; line-height: 1.45; }
.checklist .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand-50); color: var(--brand); stroke-width: 3; margin-top: 1px; }

/* ==========================================================================
   Chiffres clés
   ========================================================================== */
.stats { background: var(--navy); position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 90px); }
.stats::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(circle at 15% 50%, rgba(31, 59, 214, .45), transparent 45%), radial-gradient(circle at 90% 20%, rgba(227, 38, 47, .18), transparent 35%);
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 10px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .12); }
.stat-value { font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 800; color: #fff; line-height: 1; }
.stat-value sup { font-size: .5em; color: var(--accent); vertical-align: top; margin-left: 2px; top: .25em; position: relative; }
.stat-label { color: rgba(255, 255, 255, .72); margin-top: 10px; font-size: .95rem; }

/* ==========================================================================
   Cartes
   ========================================================================== */
.pole-card {
	display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: var(--shadow-sm); color: var(--text); transition: transform .4s var(--ease), box-shadow .4s;
}
.pole-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); color: var(--text); }
.pole-media { aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.pole-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pole-card:hover .pole-media img { transform: scale(1.07); }
.pole-body { padding: 0 30px 30px; position: relative; display: flex; flex-direction: column; flex: 1; }
.pole-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--brand); color: #fff; display: grid; place-items: center; margin-top: -32px; margin-bottom: 18px; box-shadow: 0 10px 20px -8px rgba(31, 59, 214, .7); }
.pole-icon .icon { width: 30px; height: 30px; }
.pole-title { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.pole-text { margin-bottom: 20px; flex: 1; }

.service-card {
	position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius-lg); padding: 32px 28px; color: var(--text); overflow: hidden; isolation: isolate;
	transition: transform .4s var(--ease), box-shadow .4s, border-color .4s, color .4s;
}
.service-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--brand), var(--navy));
	opacity: 0; transition: opacity .4s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: rgba(255, 255, 255, .82); }
.service-card:hover::before { opacity: 1; }
.service-card-num { position: absolute; top: 22px; right: 26px; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--light); line-height: 1; transition: color .4s; }
.service-card:hover .service-card-num { color: rgba(255, 255, 255, .1); }
.service-icon { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 24px; transition: background .4s, color .4s; }
.service-icon .icon { width: 30px; height: 30px; }
.service-card:hover .service-icon { background: rgba(255, 255, 255, .14); color: #fff; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; transition: color .4s; }
.service-card:hover h3 { color: #fff; }
.service-card p { font-size: .95rem; flex: 1; margin-bottom: 20px; }
.service-card:hover .link-arrow { color: #fff; }

.work-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy); }
.work-card.is-hidden { display: none; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.work-card:hover img { transform: scale(1.08); opacity: .55; }
.work-card a { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; background: linear-gradient(0deg, rgba(10, 18, 56, .92), rgba(10, 18, 56, 0) 60%); }
.work-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.work-card-tags span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; background: var(--accent); padding: 3px 9px; border-radius: 999px; }
.work-card h3 { color: #fff; font-size: 1.08rem; margin: 0; }
.work-card-meta { font-size: .84rem; color: rgba(255, 255, 255, .7); margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.work-card-meta .icon { width: 14px; }
.work-card-plus { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); transform: scale(0) rotate(-90deg); transition: transform .4s var(--ease); }
.work-card:hover .work-card-plus { transform: none; }

.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card-media { aspect-ratio: 16 / 10; overflow: hidden; display: block; position: relative; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-card-cat { position: absolute; left: 18px; top: 18px; background: var(--brand); color: #fff; font-size: .74rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.post-card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .84rem; color: var(--muted); margin-bottom: 10px; }
.post-meta span { display: inline-flex; align-items: center; gap: .4em; }
.post-meta .icon { width: 15px; color: var(--brand); }
.post-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { font-size: .95rem; flex: 1; }

/* ---------- Filtres ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filters button, .filters a {
	padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
	font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink); cursor: pointer; transition: all .25s;
}
.filters button:hover, .filters a:hover { border-color: var(--brand); color: var(--brand); }
.filters .is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filters .is-active:hover { color: #fff; }

/* ==========================================================================
   Processus
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; position: relative; }
.process-grid::before { content: ""; position: absolute; top: 44px; left: 12%; right: 12%; border-top: 2px dashed var(--line); }
.process-step { text-align: center; position: relative; }
.process-icon {
	width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
	display: grid; place-items: center; color: var(--brand); position: relative; transition: background .3s, color .3s, transform .4s var(--ease);
	box-shadow: var(--shadow-sm);
}
.process-icon .icon { width: 34px; height: 34px; }
.process-step:hover .process-icon { background: var(--brand); color: #fff; transform: translateY(-6px); }
.process-icon::after {
	counter-increment: step; content: "0" counter(step); position: absolute; top: -4px; right: -6px;
	width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-head);
	font-size: .78rem; font-weight: 700; display: grid; place-items: center; border: 3px solid #fff;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.process-step p { font-size: .94rem; margin: 0; }

/* ==========================================================================
   Valeurs
   ========================================================================== */
.values { position: relative; overflow: hidden; }
.values-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .14; }
.values .container { position: relative; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.value-card {
	padding: 30px 24px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, transform .4s var(--ease);
}
.value-card:hover { background: var(--brand); transform: translateY(-6px); }
.value-card .icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 18px; transition: color .3s; }
.value-card:hover .icon { color: #fff; }
.value-card h3 { font-size: 1.08rem; color: #fff; margin-bottom: 8px; }
.value-card p { font-size: .9rem; margin: 0; color: rgba(255, 255, 255, .7); }

/* ==========================================================================
   Témoignages
   ========================================================================== */
.testimonials-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 3); gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial { scroll-snap-align: start; background: #fff; border-radius: var(--radius-lg); padding: 34px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.testimonial .icon-quote { width: 38px; height: 38px; color: var(--brand); opacity: .25; margin-bottom: 14px; }
.testimonial-stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial blockquote { margin: 0 0 24px; font-size: 1.02rem; color: var(--ink); flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img, .testimonial-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.testimonial-author strong { display: block; color: var(--ink); font-family: var(--font-head); }
.testimonial-author small { color: var(--muted); }
.slider-nav { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.slider-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: all .25s; }
.slider-nav button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ==========================================================================
   Appel à l'action
   ========================================================================== */
.cta { padding-block: 0 var(--section); }
.section-light + .cta, .stats + .cta { padding-top: var(--section); }
.cta-box {
	position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg);
	background: linear-gradient(120deg, var(--brand) 0%, var(--navy) 85%); color: #fff;
	padding: clamp(36px, 6vw, 70px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta-box::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .06); z-index: -1; }
.cta-box::after { content: ""; position: absolute; right: 120px; bottom: -160px; width: 300px; height: 300px; border-radius: 50%; background: rgba(227, 38, 47, .25); filter: blur(60px); z-index: -1; }
.cta-box h2 { color: #fff; margin-bottom: .4em; }
.cta-box p { color: rgba(255, 255, 255, .8); margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-self: end; }
.cta-phone { display: flex; align-items: center; gap: 14px; color: #fff; }
.cta-phone:hover { color: #fff; }
.cta-phone-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }
.cta-phone small { display: block; opacity: .75; font-size: .82rem; }
.cta-phone strong { font-family: var(--font-head); font-size: 1.3rem; }

/* ==========================================================================
   Pages internes : contenus
   ========================================================================== */
.entry-content { color: var(--text); font-size: 1.04rem; }
.entry-content > * { margin-block: 0 1.25em; }
.entry-content h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.6em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul:not([class*="blocks-gallery"]) li, .entry-content ol li { margin-bottom: .45em; }
.entry-content ul.wp-block-list { list-style: none; padding: 0; }
.entry-content ul.wp-block-list li { position: relative; padding-left: 28px; }
.entry-content ul.wp-block-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.entry-content blockquote { border-left: 4px solid var(--brand); margin-inline: 0; padding: 10px 0 10px 24px; font-size: 1.15rem; color: var(--ink); font-style: italic; }
.entry-content img { border-radius: var(--radius); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.alignwide { margin-inline: calc(-1 * min(8vw, 120px)); max-width: none; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .86rem; color: var(--muted); text-align: center; margin-top: .6em; }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(36px, 5vw, 70px); align-items: start; }
.sidebar { display: grid; gap: 26px; }
.side-box { background: var(--light); border-radius: var(--radius-lg); padding: 28px; }
.side-box h3, .widget-title { font-size: 1.12rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--line); position: relative; }
.side-box h3::after, .widget-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 46px; height: 2px; background: var(--accent); }
.side-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 16px; background: #fff; border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; font-size: .94rem; transition: background .25s, color .25s; }
.side-nav a .icon { width: 16px; opacity: .5; }
.side-nav a:hover, .side-nav .is-current a { background: var(--brand); color: #fff; }
.side-nav a:hover .icon, .side-nav .is-current .icon { opacity: 1; }
.side-contact { background: var(--navy) center / cover; color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; isolation: isolate; }
.side-contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(31, 59, 214, .9), rgba(10, 18, 56, .95)); z-index: -1; }
.side-contact h3 { color: #fff; border-color: rgba(255, 255, 255, .15); }
.side-contact .side-contact-icon { width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.side-contact a.phone { display: block; color: #fff; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; margin-bottom: 18px; }

.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0 40px; list-style: none; padding: 0; }
.features-grid li { display: flex; gap: 14px; align-items: flex-start; background: var(--light); border-radius: var(--radius); padding: 18px; color: var(--ink); font-weight: 500; line-height: 1.45; }
.features-grid .icon { width: 28px; height: 28px; padding: 6px; border-radius: 8px; background: var(--brand); color: #fff; stroke-width: 3; }
.single-media { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; }
.single-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.project-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 40px; overflow: hidden; }
.project-fact { padding: 22px 24px; display: flex; gap: 14px; align-items: center; }
.project-fact + .project-fact { border-left: 1px solid var(--line); }
.project-fact .icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.project-fact small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.project-fact strong { color: var(--ink); font-family: var(--font-head); font-size: .98rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.gallery-grid a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-grid a::after { content: ""; position: absolute; inset: 0; background: rgba(31, 59, 214, .35); opacity: 0; transition: opacity .3s; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid a:hover::after { opacity: 1; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.post-nav a { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; border-radius: var(--radius); background: var(--light); color: var(--ink); transition: background .25s, color .25s; }
.post-nav a:hover { background: var(--brand); color: #fff; }
.post-nav small { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.post-nav strong { font-family: var(--font-head); line-height: 1.35; }
.post-nav .next { text-align: right; grid-column: 2; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tags a { padding: 6px 14px; border-radius: 999px; background: var(--light); color: var(--ink); font-size: .85rem; }
.tags a:hover { background: var(--brand); color: #fff; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-weight: 600; color: var(--ink); }
.share a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--light); color: var(--ink); }
.share a:hover { background: var(--brand); color: #fff; }
.share .icon { width: 17px; }

/* ---------- Pagination ---------- */
.pagination, .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.page-numbers { min-width: 46px; height: 46px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-numbers.dots { border: 0; }
.pagination .screen-reader-text { display: none; }

/* ---------- Recherche & widgets ---------- */
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field, .contact-form input, .contact-form select, .contact-form textarea, .comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea {
	width: 100%; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
	transition: border-color .2s, box-shadow .2s;
}
.search-field:focus, .contact-form :is(input, select, textarea):focus, .comment-form :is(input, textarea):focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31, 59, 214, .12); }
.search-submit { flex-shrink: 0; width: 52px; border: 0; border-radius: var(--radius-sm); background: var(--brand); color: #fff; cursor: pointer; display: grid; place-items: center; }
.widget { margin-bottom: 0; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.widget li a { color: var(--ink); }
.widget li a:hover { color: var(--brand); }

.recent-mini { display: grid; gap: 16px; }
.recent-mini a { display: grid; grid-template-columns: 78px 1fr; gap: 14px; align-items: center; color: var(--ink); }
.recent-mini img { width: 78px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); }
.recent-mini strong { font-family: var(--font-head); font-size: .92rem; line-height: 1.35; display: block; }
.recent-mini small { color: var(--muted); font-size: .8rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: clamp(30px, 4vw, 60px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius-lg); background: var(--light); color: var(--text); transition: transform .3s var(--ease), box-shadow .3s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--brand); color: #fff; flex-shrink: 0; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: .95rem; }
.contact-card a { color: var(--text); }
.contact-card a:hover { color: var(--brand); }
.contact-card .contact-directions { margin-top: 8px; color: var(--brand); }
.contact-form-wrap { background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-form-wrap h2 { margin-bottom: .3em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--ink); font-size: .92rem; }
.field label span { color: var(--accent); }
.field textarea { resize: vertical; min-height: 140px; }
.field-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); }
.field-check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--brand); flex-shrink: 0; }
.field-error { color: var(--accent); font-size: .84rem; min-height: 0; }
.field-error:empty { display: none; }
.field.has-error :is(input, select, textarea) { border-color: var(--accent); }
.captcha-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha-challenge { display: grid; place-items: center; min-width: 190px; min-height: 60px; border-radius: var(--radius-sm); background: var(--light); border: 1px solid var(--line); overflow: hidden; }
.captcha-challenge img { display: block; width: 190px; height: 60px; }
.captcha-challenge img[hidden], .captcha-question[hidden] { display: none; }
.captcha-question { padding: 8px 14px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.captcha-refresh { width: 44px; height: 44px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); cursor: pointer; transition: color .2s, border-color .2s; }
.captcha-refresh:hover, .captcha-refresh:focus-visible { color: var(--brand); border-color: var(--brand); }
.captcha-refresh .icon { width: 18px; height: 18px; }
.field-captcha .captcha-input, .comment-form .captcha-input { flex: 1 1 140px; width: auto; max-width: 220px; text-transform: uppercase; letter-spacing: .2em; font-weight: 600; }
.captcha-hint { color: var(--muted); font-size: .84rem; }
.captcha-noscript { margin: 0; color: var(--accent); font-size: .9rem; }
.comment-form-captcha { display: grid; gap: 8px; }
.comment-form-captcha label { margin-bottom: 0; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.form-status { margin: 0; font-weight: 500; }
.form-status.is-success { color: #13865a; }
.form-status.is-error { color: var(--accent); }
.map-wrap { margin-top: var(--section); line-height: 0; }
.map-wrap iframe { width: 100%; height: 460px; border: 0; filter: grayscale(.3); }

/* ==========================================================================
   À propos (page)
   ========================================================================== */
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mission-card { padding: 36px 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.mission-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mission-card .icon { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--brand-50); color: var(--brand); margin-bottom: 20px; }
.mission-card h3 { margin-bottom: 10px; }
.mission-card p { margin: 0; }
.why-list { display: grid; gap: 22px; margin-top: 28px; }
.why-item { display: flex; gap: 18px; }
.why-item .icon { width: 50px; height: 50px; padding: 12px; border-radius: 50%; background: var(--brand); color: #fff; }
.why-item h3 { font-size: 1.08rem; margin-bottom: 4px; }
.why-item p { margin: 0; font-size: .96rem; }

/* ==========================================================================
   404 / vide
   ========================================================================== */
.error-404 { text-align: center; padding-block: var(--section); }
.error-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 20vw, 13rem); line-height: 1; background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.error-404 .search-form { max-width: 460px; margin: 30px auto; }
.no-results { text-align: center; padding: 50px 20px; background: var(--light); border-radius: var(--radius-lg); }

/* ==========================================================================
   Commentaires
   ========================================================================== */
.comments-area { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--line); }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 40px; }
.comment-body { padding: 22px; background: var(--light); border-radius: var(--radius); margin-bottom: 16px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.comment-metadata { font-size: .82rem; }
.comment-form { display: grid; gap: 16px; }
.comment-form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .9rem; }
.comment-form .submit { background: var(--brand); color: #fff; border: 0; border-radius: 999px; padding: 14px 28px; font-family: var(--font-head); font-weight: 600; cursor: pointer; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .68); font-size: .95rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: -200px; top: -200px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(rgba(31, 59, 214, .35), transparent 70%); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: clamp(56px, 7vw, 90px) 50px; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: rgba(255, 255, 255, .7); }
.brand-footer img { height: 54px; width: auto; }
.footer-about p { margin: 22px 0; }
.footer-title { color: #fff; font-size: 1.08rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--accent); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: inherit; display: inline-flex; align-items: flex-start; gap: 10px; line-height: 1.5; transition: color .2s, transform .2s; }
.footer-links a::before { content: ""; width: 6px; height: 6px; margin-top: .6em; flex-shrink: 0; border-radius: 50%; background: var(--brand); transition: background .2s; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-links a:hover::before { background: var(--accent); }
.footer-contact ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.footer-contact .icon { color: var(--accent); margin-top: 3px; }
.footer-contact a { color: inherit; }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .25s, transform .25s; }
.social a:hover { background: var(--brand); transform: translateY(-3px); color: #fff; }
.social .icon { width: 17px; height: 17px; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 22px; font-size: .86rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.legal-links { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.legal-links a { color: inherit; }
.legal-links a:hover { color: #fff; }

.whatsapp-float {
	position: fixed; left: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
	background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -6px rgba(37, 211, 102, .6);
	transition: transform .3s var(--ease);
}
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float .icon { width: 30px; height: 30px; }
.to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border: 0; border-radius: 50%;
	background: var(--brand); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(5, 9, 30, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1200px; text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: rgba(255, 255, 255, .8); margin-top: 14px; }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: var(--brand); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
	.header-call { display: none; }
	.et-grid-works { grid-template-columns: repeat(3, 1fr); }
	.values-grid { grid-template-columns: repeat(3, 1fr); }
	.main-nav .menu > li > a { padding-inline: 11px; }
}

@media (max-width: 1024px) {
	:root { --header-h: 72px; }
	.topbar .topbar-hours { display: none; }
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.nav-toggle { display: flex; }
	.header-cta { display: none; }
	.main-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 99; width: min(380px, 88vw);
		background: #fff; padding: 90px 24px 30px; overflow-y: auto; margin: 0;
		transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg);
		visibility: hidden;
	}
	.main-nav.is-open { transform: none; visibility: visible; }
	.header-actions { margin-left: auto; position: relative; z-index: 101; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu > li { border-bottom: 1px solid var(--line); }
	.main-nav .menu > li > a { padding: 15px 4px; font-size: 1.02rem; }
	.main-nav .menu > li > a::after, .main-nav .menu-item-has-children > a::before { display: none; }
	.main-nav .menu-item-has-children { display: grid; grid-template-columns: 1fr auto; }
	.submenu-toggle { display: grid; place-items: center; width: 44px; height: 44px; align-self: center; border: 0; background: var(--light); border-radius: 10px; cursor: pointer; color: var(--ink); }
	.submenu-toggle .icon { transition: transform .3s; transform: rotate(90deg); }
	.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(-90deg); }
	.main-nav .sub-menu, .main-nav .sub-menu:has(> li:nth-child(7)) {
		grid-column: 1 / -1; position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
		min-width: 0; display: none; padding: 0 0 12px 8px; background: none;
	}
	.main-nav .menu .sub-menu.is-open { display: block; }
	.nav-mobile-extra { display: grid; gap: 16px; margin-top: 28px; }
	.nav-mobile-phone { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; color: var(--ink); }
	.admin-bar .main-nav { top: 46px; }

	.split, .layout-sidebar, .contact-layout { grid-template-columns: 1fr; }
	.sidebar { position: static; }
	.et-grid-3, .mission-grid { grid-template-columns: repeat(2, 1fr); }
	.hero-features-grid { grid-template-columns: repeat(2, 1fr); }
	.hero-feature:nth-child(3) { border-left: 0; }
	.hero-feature:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
	.hero-inner { padding-bottom: 260px; }
	.hero-dots { bottom: 280px; }
	.process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
	.process-grid::before { display: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.cta-box { grid-template-columns: 1fr; }
	.cta-actions { justify-self: start; }
	.testimonials-track { grid-auto-columns: calc((100% - 30px) / 2); }
	.collage { max-width: 560px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 720px) {
	body { font-size: 15.5px; }
	.topbar-info a:nth-child(2) { display: none; }
	.topbar-social > a { display: none; } /* Place pour le sélecteur de langue ; les réseaux restent dans le pied de page. */
	.brand-logo { height: 44px; }
	.brand-text strong { font-size: 1.15rem; }
	.et-grid-2, .et-grid-3, .et-grid-4, .mission-grid, .stats-grid, .values-grid, .features-grid, .form-grid, .checklist { grid-template-columns: 1fr; }
	.et-grid-works { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.work-card { aspect-ratio: 3 / 4; }
	.work-card a { padding: 14px; }
	.work-card h3 { font-size: .95rem; }
	.work-card-meta { display: none; }
	.stats-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
	.stat + .stat { border-left: 0; }
	.hero-inner { min-height: 0; padding-block: 70px 60px; }
	.hero-features { position: static; }
	.hero-features-grid { border-radius: 0; background: var(--navy-2); }
	.hero-feature { padding: 20px 16px; flex-direction: column; text-align: center; gap: 10px; }
	.hero-feature-icon { width: 44px; height: 44px; }
	.hero-dots { flex-direction: row; bottom: 24px; right: auto; left: var(--gutter); }
	.hero-actions .btn { width: 100%; }
	.process-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 34px; }
	.footer-bottom-inner { flex-direction: column; text-align: center; }
	.testimonials-track { grid-auto-columns: 88%; gap: 16px; }
	.gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .next { grid-column: 1; }
	.project-fact + .project-fact { border-left: 0; border-top: 1px solid var(--line); }
	.collage-badge { left: 0; padding: 14px 18px; }
	.collage-badge strong { font-size: 2rem; }
	.section-head-split { flex-direction: column; align-items: flex-start; }
	.lightbox { padding: 60px 10px; }
	.lightbox-prev, .lightbox-next { top: auto; bottom: 16px; transform: none; }
	.whatsapp-float { width: 52px; height: 52px; left: auto; right: 16px; bottom: 16px; }
	.whatsapp-float::before { animation: none; }
	.to-top { right: 20px; bottom: 80px; width: 44px; height: 44px; }
	.map-wrap iframe { height: 340px; }
	.alignwide { margin-inline: 0; }
}

@media print {
	.topbar, .site-header, .site-footer, .cta, .whatsapp-float, .to-top, .sidebar { display: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Écran de chargement (accueil)
   ========================================================================== */
.preloader { display: none; }
.js .preloader {
	position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; text-align: center;
	background: radial-gradient(circle at 50% 40%, var(--navy-2), var(--navy) 70%); color: #fff;
	transition: opacity .7s ease, visibility .7s ease;
}
.js .preloader.is-done { opacity: 0; visibility: hidden; }
.js body.is-preloading { overflow: hidden; }
.js .preloader { overflow: hidden; isolation: isolate; }
.preloader-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.preloader-glow { position: absolute; z-index: -2; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .45; }
.preloader-glow-1 { background: var(--brand); top: -25vmax; left: -15vmax; animation: preloader-drift-1 14s ease-in-out infinite alternate; }
.preloader-glow-2 { background: var(--accent); bottom: -30vmax; right: -20vmax; opacity: .22; animation: preloader-drift-2 18s ease-in-out infinite alternate; }
@keyframes preloader-drift-1 { to { transform: translate(30vw, 25vh) scale(1.15); } }
@keyframes preloader-drift-2 { to { transform: translate(-25vw, -20vh) scale(.9); } }
.preloader-inner { width: min(900px, 92vw); position: relative; transition: transform .7s var(--ease), opacity .6s ease; }
.js .preloader.is-done .preloader-inner { transform: translateY(-24px) scale(.97); opacity: 0; }
.preloader-inner::before {
	content: ""; position: absolute; inset: -40px -50px; z-index: -1; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(10, 18, 56, .85), transparent);
}
.preloader-logo { position: relative; width: 150px; height: 150px; margin: 0 auto 26px; display: grid; place-items: center; }
.preloader-logo img { width: 92px; height: auto; animation: preloader-float 2.4s ease-in-out infinite; }
.preloader-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .1); border-top-color: var(--accent); border-right-color: var(--brand); animation: preloader-spin 1.2s linear infinite; }
/* Message de bienvenue : lettres puis mots, soulignement, reflet. */
.preloader-welcome { margin: 0 0 14px; color: #fff; font-weight: 400; line-height: 1.15; }
.preloader-hello { display: block; margin-bottom: 10px; font-family: var(--font-head); font-size: clamp(.95rem, 2.2vw, 1.15rem); font-weight: 500; letter-spacing: .08em; color: rgba(255, 255, 255, .8); }
.preloader-hello .ch {
	display: inline-block; opacity: 0; transform: translateY(.7em) rotate(8deg); filter: blur(6px);
	animation: pl-char .7s var(--ease) forwards; animation-delay: calc(.5s + var(--i) * 55ms);
}
.preloader-title {
	position: relative; display: inline-block; padding-bottom: 16px;
	font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 4.6vw, 2.9rem);
	letter-spacing: .32em; animation: pl-track 2.2s var(--ease) 1.3s forwards;
}
.preloader-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .02em; }
.preloader-title .w-in {
	display: inline-block; transform: translateY(115%);
	background: linear-gradient(100deg, #fff 0%, #fff 42%, #9aaaff 50%, #fff 58%, #fff 100%);
	background-size: 250% 100%; background-position: 100% 0;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: pl-rise 1s cubic-bezier(.2, .85, .25, 1) forwards, pl-shine 3s ease-in-out infinite;
	animation-delay: calc(1.3s + var(--w) * .22s), calc(3.2s + var(--w) * .15s);
}
.preloader-title .w:first-child .w-in { background-image: linear-gradient(100deg, #8fa4ff 0%, #c9d3ff 42%, #fff 50%, #c9d3ff 58%, #8fa4ff 100%); }
.preloader-title::after {
	content: ""; position: absolute; left: 50%; bottom: 0; width: 70%; height: 3px; border-radius: 3px;
	background: linear-gradient(90deg, transparent, var(--brand), var(--accent), transparent);
	transform: translateX(-50%) scaleX(0); animation: pl-line 1.1s var(--ease) 2.3s forwards;
}
.preloader-tagline { font-size: .9rem; color: rgba(255, 255, 255, .6); margin: 0 0 28px; opacity: 0; animation: pl-fade .8s ease 2.9s forwards; }
@keyframes pl-char { to { opacity: 1; transform: none; filter: none; } }
@keyframes pl-rise { to { transform: none; } }
@keyframes pl-track { to { letter-spacing: .03em; } }
@keyframes pl-line { to { transform: translateX(-50%) scaleX(1); } }
@keyframes pl-shine { 0%, 55% { background-position: 100% 0; } 100% { background-position: -150% 0; } }
@keyframes pl-fade { to { opacity: 1; } }
.preloader-bar { width: min(360px, 80vw); margin-inline: auto; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.preloader-percent { margin: 12px 0 0; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: rgba(255, 255, 255, .8); font-variant-numeric: tabular-nums; }
@keyframes preloader-spin { to { transform: rotate(360deg); } }
@keyframes preloader-float { 50% { transform: translateY(-6px); } }

/* ==========================================================================
   Assistant IA (chatbot)
   ========================================================================== */
.chatbot { position: fixed; right: 22px; bottom: 22px; z-index: 110; font-size: .95rem; }
body.nav-open .chatbot { display: none; }
body:has(.chatbot) .to-top { bottom: 96px; }
.chatbot-launcher {
	position: relative; width: 62px; height: 62px; border: 0; border-radius: 50%; cursor: pointer; color: #fff;
	background: linear-gradient(140deg, var(--brand), var(--navy)); box-shadow: 0 14px 30px -8px rgba(31, 59, 214, .65);
	display: grid; place-items: center; transition: transform .3s var(--ease), box-shadow .3s;
}
.chatbot-launcher:hover { transform: scale(1.06); box-shadow: 0 18px 36px -8px rgba(31, 59, 214, .8); }
.chatbot-launcher::before {
	content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(31, 59, 214, .5);
	animation: ring 2.6s infinite;
}
.chatbot.is-seen .chatbot-launcher::before, .chatbot.is-open .chatbot-launcher::before { animation: none; display: none; }
.chatbot-launcher-icon { grid-area: 1 / 1; display: grid; place-items: center; transition: transform .35s var(--ease), opacity .25s; }
.chatbot-launcher-icon svg { width: 28px; height: 28px; }
.chatbot-launcher-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chatbot.is-open .chatbot-launcher-open { opacity: 0; transform: rotate(90deg) scale(.6); }
.chatbot.is-open .chatbot-launcher-close { opacity: 1; transform: none; }
.chatbot-launcher-badge {
	position: absolute; top: -2px; right: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
	color: #fff; font: 700 .72rem/22px var(--font-head); text-align: center; border: 2px solid #fff;
}
.chatbot.is-seen .chatbot-launcher-badge { display: none; }

.chatbot-teaser {
	position: absolute; right: 74px; bottom: 10px; margin: 0; width: max-content; max-width: 240px; cursor: pointer;
	background: #fff; color: var(--ink); padding: 12px 16px; border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow);
	font-size: .9rem; line-height: 1.4; opacity: 0; visibility: hidden; transform: translateX(10px) scale(.95); transform-origin: right bottom;
	transition: opacity .35s ease, transform .35s var(--ease), visibility .35s;
}
.chatbot-teaser.is-visible { opacity: 1; visibility: visible; transform: none; }

.chatbot-panel {
	position: absolute; right: 0; bottom: 78px; width: 380px; height: min(600px, calc(100vh - 130px));
	display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden;
	box-shadow: 0 30px 80px -20px rgba(10, 18, 56, .45), 0 0 0 1px rgba(10, 18, 56, .06);
	transform-origin: right bottom; animation: chat-in .35s var(--ease);
}
.chatbot-panel[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }

.chatbot-head {
	display: flex; align-items: center; gap: 12px; padding: 16px 14px 16px 18px; color: #fff;
	background: linear-gradient(120deg, var(--brand), var(--navy));
}
.chatbot-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); flex-shrink: 0; }
.chatbot-avatar img { width: 30px; height: auto; }
.chatbot-head-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.chatbot-head-text strong { font-family: var(--font-head); font-size: 1rem; }
.chatbot-head-text small { display: flex; align-items: center; gap: 6px; font-size: .78rem; opacity: .8; }
.chatbot-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .25); }
.chatbot-icon-btn { width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.chatbot-icon-btn:hover { background: rgba(255, 255, 255, .15); }
.chatbot-icon-btn .icon { width: 18px; height: 18px; }

.chatbot-messages { flex: 1; overflow-y: auto; padding: 18px 16px 8px; background: var(--light); display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.chatbot-msg { display: flex; animation: msg-in .3s var(--ease); }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.chatbot-msg.is-user { justify-content: flex-end; }
.chatbot-bubble { max-width: 86%; padding: 11px 14px; border-radius: 16px; line-height: 1.55; word-wrap: break-word; }
.chatbot-msg.is-bot .chatbot-bubble { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.chatbot-msg.is-user .chatbot-bubble { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.chatbot-msg.is-error .chatbot-bubble { background: #fff3f3; color: #a3161d; box-shadow: none; border: 1px solid #f5c9cb; }
.chatbot-bubble p { margin: 0; }
.chatbot-bubble p + p, .chatbot-bubble p + ul, .chatbot-bubble ul + p { margin-top: 8px; }
.chatbot-bubble ul { margin: 0; padding-left: 18px; }
.chatbot-bubble li + li { margin-top: 4px; }
.chatbot-bubble a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.chatbot-msg.is-user .chatbot-bubble a { color: #fff; }
.chatbot-typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.chatbot-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite ease-in-out; }
.chatbot-typing i:nth-child(2) { animation-delay: .15s; }
.chatbot-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }

.chatbot-suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px; background: var(--light); }
.chatbot-suggestions[hidden] { display: none; }
.chatbot-chip {
	border: 1px solid rgba(31, 59, 214, .3); background: #fff; color: var(--brand); border-radius: 999px; padding: 7px 13px;
	font: 500 .84rem/1.2 var(--font-body); cursor: pointer; transition: background .2s, color .2s;
}
.chatbot-chip:hover { background: var(--brand); color: #fff; }

.chatbot-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 12px 8px; border-top: 1px solid var(--line); background: #fff; }
.chatbot-form textarea {
	flex: 1; resize: none; overflow-y: hidden; border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; max-height: 120px;
	font: inherit; line-height: 1.4; color: var(--ink); background: var(--light); transition: border-color .2s, background .2s;
}
.chatbot-form textarea:focus { outline: 0; border-color: var(--brand); background: #fff; }
.chatbot-send { width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: 12px; background: var(--brand); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.chatbot-send:hover { background: var(--brand-600); }
.chatbot-send:disabled { opacity: .5; cursor: wait; }
.chatbot-send .icon { width: 19px; height: 19px; }
.chatbot-legal { margin: 0; padding: 0 14px 10px; font-size: .72rem; color: var(--muted); text-align: center; background: #fff; }
.chatbot-legal a { color: inherit; text-decoration: underline; }

@media (max-width: 720px) {
	.chatbot { right: 16px; bottom: 16px; }
	.chatbot-launcher { width: 56px; height: 56px; }
	.whatsapp-float { left: 16px; right: auto; }
	body:has(.chatbot) .to-top { bottom: 84px; }
	.chatbot-teaser { right: 66px; max-width: 200px; }
	.chatbot-panel { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; animation-name: chat-in-mobile; }
	.chatbot.is-open .chatbot-launcher { display: none; }
	@keyframes chat-in-mobile { from { opacity: 0; transform: translateY(30px); } }
}

/* ==========================================================================
   Transition « diaphragme » : fin du chargement -> page d'accueil
   ========================================================================== */
@property --hole { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --ring { syntax: "<length>"; inherits: false; initial-value: 0px; }

/* La page apparaît à travers un cercle qui s'ouvre depuis le logo. */
.js .preloader.is-opening {
	-webkit-mask-image: radial-gradient(circle at var(--iris-x, 50%) var(--iris-y, 50%), transparent var(--hole), #000 calc(var(--hole) + 1.5px));
	mask-image: radial-gradient(circle at var(--iris-x, 50%) var(--iris-y, 50%), transparent var(--hole), #000 calc(var(--hole) + 1.5px));
	animation: iris-open 1.15s cubic-bezier(.7, 0, .2, 1) .15s forwards;
}
.js .preloader.is-opening .preloader-inner { transform: scale(.9); opacity: 0; transition: transform .5s var(--ease), opacity .4s ease; }
@keyframes iris-open { to { --hole: var(--iris-r, 150vmax); } }

/* Anneau lumineux qui suit le bord de l'ouverture. */
.iris-ring {
	position: fixed; z-index: 2001; left: var(--iris-x, 50%); top: var(--iris-y, 50%);
	width: calc(var(--ring) * 2); height: calc(var(--ring) * 2); transform: translate(-50%, -50%);
	border-radius: 50%; pointer-events: none; opacity: 0;
	border: 2px solid rgba(255, 255, 255, .9);
	box-shadow: 0 0 24px 4px rgba(31, 59, 214, .8), 0 0 70px 14px rgba(227, 38, 47, .35), inset 0 0 28px 6px rgba(31, 59, 214, .55);
	animation: iris-ring 1.15s cubic-bezier(.7, 0, .2, 1) .15s forwards, iris-ring-fade 1.15s ease-in .15s forwards;
}
@keyframes iris-ring { to { --ring: var(--iris-r, 150vmax); } }
@keyframes iris-ring-fade { 0% { opacity: 0; } 12% { opacity: 1; } 70% { opacity: .85; } 100% { opacity: 0; } }

/* Mise au point de la photo, puis entrée de l'en-tête et de la barre d'atouts. */
.is-revealing .hero-slide.is-active { animation: hero-focus 1.9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes hero-focus { from { transform: scale(1.22); filter: brightness(.5) blur(6px); } to { transform: scale(1); filter: none; } }
.is-revealing .topbar, .is-revealing .site-header { animation: drop-in .8s cubic-bezier(.2, .8, .2, 1) .5s both; }
@keyframes drop-in { from { transform: translateY(-100%); opacity: 0; } }
.is-revealing .hero-features { animation: rise-in .9s cubic-bezier(.2, .8, .2, 1) .9s both; }
@keyframes rise-in { from { transform: translateY(60%); opacity: 0; } }
.is-revealing .hero-dots { animation: fade-in .8s ease 1.1s both; }
@keyframes fade-in { from { opacity: 0; } }
