/*
 * Vexora — styles du thème.
 * Les variables ci-dessous sont remplacées par les valeurs choisies dans
 * Apparence → Réglages Vexora (couleurs, polices, dimensions).
 */

:root {
	--navy: #12264b;
	--blue: #4d5fea;
	--teal: #10b6be;
	--ink: #172744;
	--muted: #65738b;
	--pale: #f5f8fc;
	--line: #e5eaf2;
	--white: #fff;
	--topbar-bg: #102447;
	--footer-bg: #0c1a33;
	--font-body: 'DM Sans', Arial, sans-serif;
	--font-head: 'Manrope', Arial, sans-serif;
	--fs-base: 16px;
	--container: 1180px;
	--rad: 20px;
	--btn-rad: 12px;
	--logo-w: 178px;
	--shadow: 0 16px 50px rgba(22, 45, 90, .09);
	--blue-soft: #edf0ff;
	--teal-soft: #e9f8f8;
	--blue-deep: #314fc4;
	--arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E");
	--check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
}

@supports (color: color-mix(in srgb, #000 50%, #fff)) {
	:root {
		--blue-soft: color-mix(in srgb, var(--blue) 10%, #fff);
		--teal-soft: color-mix(in srgb, var(--teal) 10%, #fff);
		--blue-deep: color-mix(in srgb, var(--blue) 60%, #07378b);
	}
}

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

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--fs-base);
	color: var(--ink);
	background: #fff;
	line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
body a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.ico { flex: none; vertical-align: middle; }
.vx-icon { display: inline; }
.hero-float > .vx-icon, .trust-grid .vx-icon, .job-notice .vx-icon { display: flex; flex: none; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.23; letter-spacing: -.04em; }
h1 { font-size: clamp(37px, 4.3vw, 61px); font-weight: 800; }
h2 { font-size: clamp(30px, 3.1vw, 43px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 800; }
h4 { font-size: 16px; font-weight: 800; }
p { color: var(--muted); }
h1 em, h2 em, h2 span { color: var(--blue); font-style: normal; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; left: 12px; top: 12px; z-index: 100;
	background: #fff; color: var(--navy); padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow); font-weight: 700;
}
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Barre supérieure et en-tête ---------- */

.topbar { background: var(--topbar-bg); color: #dfeaf9; font-size: 12px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 37px; gap: 16px; }
.topbar-inner > span, .topbar-inner > div, .topbar-inner a { display: flex; align-items: center; gap: 8px; }
.topbar-inner > div { gap: 24px; }
.topbar-inner a:hover { color: #72e2e4; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); border-bottom: 1px solid #eef0f5; }
.admin-bar .site-header { top: 32px; }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 81px; }
.brand { display: block; width: var(--logo-w); flex: none; }
.brand img { width: 100%; }
.main-nav { display: flex; align-items: center; gap: 23px; }
.main-nav > a { color: #34425e; font-size: 13px; font-weight: 700; white-space: nowrap; position: relative; }
.main-nav > a:not(.nav-contact)::after { content: ''; position: absolute; bottom: -11px; left: 0; width: 0; height: 2px; background: var(--teal); transition: .2s; }
.main-nav > a.active, .main-nav > a:hover { color: var(--blue); }
.main-nav > a.active::after, .main-nav > a:hover::after { width: 100%; }
.main-nav .nav-contact { padding: 12px 19px; border-radius: calc(var(--btn-rad) + 1px); background: var(--navy); color: #fff; display: flex; align-items: center; gap: 9px; transition: .2s; }
.main-nav .nav-contact:hover { background: var(--blue); color: #fff; }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--navy); padding: 4px; }

/* ---------- Surtitres ---------- */

.eyebrow,
p.eyebrow {
	font-size: 11px; font-weight: 800; letter-spacing: .19em; line-height: 1.6; color: var(--blue);
	display: flex; align-items: center; gap: 8px; margin: 6px 0 20px; max-width: none; text-transform: uppercase;
}
.eyebrow.light, p.eyebrow.light { color: #8df5f4; }
.eyebrow.has-dot::before, .dot { content: ''; width: 7px; height: 7px; flex: none; background: var(--teal); border-radius: 50%; box-shadow: 0 0 0 4px #b2f1ec; }
.centered .eyebrow { justify-content: center; }

/* ---------- Boutons ---------- */

.btn,
.wp-block-button .wp-block-button__link {
	display: inline-flex; justify-content: center; align-items: center; gap: 12px;
	padding: 15px 22px; border-radius: var(--btn-rad); border: 1px solid transparent;
	font-family: inherit; font-weight: 800; font-size: 13px; line-height: 1.6; text-decoration: none;
	transition: transform .2s, background .2s, box-shadow .2s, gap .2s; cursor: pointer;
}
.btn:hover,
.wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); }

.btn-primary,
.wp-block-button .wp-block-button__link {
	background: linear-gradient(110deg, var(--blue), var(--blue-deep)); color: #fff; box-shadow: 0 12px 30px #5362ee36;
}
.btn-secondary,
.wp-block-button.is-style-vx-secondary .wp-block-button__link { color: var(--navy); background: #fff; border-color: #d6dded; box-shadow: none; }
.btn-outline,
.wp-block-button.is-style-vx-outline .wp-block-button__link { color: var(--navy); border: 1px solid #c9d3e7; background: #fff; box-shadow: none; }
.btn-white,
.wp-block-button.is-style-vx-white .wp-block-button__link { background: #fff; color: var(--navy); box-shadow: none; }

/* Flèche des boutons de l'éditeur (les boutons générés par le thème ont leur propre icône). */
.wp-block-button .wp-block-button__link::after,
p.text-link a::after {
	content: ''; width: 18px; height: 18px; flex: none; background: currentColor;
	-webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
}
.wp-block-button.is-style-vx-secondary .wp-block-button__link::after,
.wp-block-button.no-arrow .wp-block-button__link::after { content: none; }

.wp-block-button.is-style-vx-link .wp-block-button__link {
	background: none; box-shadow: none; padding: 0; border: 0; border-radius: 0; color: var(--blue); gap: 9px;
}
.wp-block-button.is-style-vx-link .wp-block-button__link:hover { transform: none; gap: 14px; }
.wp-block-button.is-style-vx-link .wp-block-button__link { min-height: calc(var(--fs-base) * 1.6); }
.wp-block-button.is-style-vx-link .wp-block-button__link::after { width: 17px; height: 17px; }

.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wp-block-buttons > .wp-block-button { margin: 0; }

.text-link, .card-link, p.text-link a { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 13px; font-weight: 800; transition: gap .2s; }
p.text-link { display: block; margin: 0; font-size: var(--fs-base); font-weight: 400; }
.text-link:hover, p.text-link a:hover { gap: 14px; }

/* ---------- Bannière d'accueil ---------- */

.hero { background: linear-gradient(125deg, #f2f7ff 0%, #fff 55%, #eff6fc 100%); overflow: hidden; position: relative; }
.hero::before, .hero::after { content: ''; position: absolute; pointer-events: none; border-radius: 50%; filter: blur(5px); }
.hero::before { width: 500px; height: 500px; background: radial-gradient(circle, #d3f5f4, transparent 65%); top: -300px; left: 25%; }
.hero::after { width: 600px; height: 600px; background: radial-gradient(circle, #d9dffe, transparent 67%); right: -300px; bottom: -300px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: 50px; padding: 82px 0 88px; min-height: 595px; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 { margin-bottom: 23px; }
.hero-copy > p:not(.eyebrow) { font-size: 16px; max-width: 550px; margin-bottom: 29px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
ul.hero-mini { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; margin: 26px 0 0; font-size: 12px; font-weight: 700; color: #62748f; }
ul.hero-mini li, ul.check-grid li { display: flex; align-items: center; margin: 0; }
ul.hero-mini li { gap: 6px; }
ul.hero-mini li::before, ul.check-grid li::before {
	content: ''; width: 18px; height: 18px; flex: none; background: var(--teal);
	-webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat;
}
.hero-visual { position: relative; padding: 12px 0 24px; }
.hero-visual .wp-block-image img, .hero-visual > img {
	height: 420px; width: 100%; object-fit: cover; object-position: center;
	clip-path: polygon(9% 0, 100% 0, 100% 92%, 89% 100%, 0 100%, 0 15%); border-radius: 38px; box-shadow: 0 20px 65px #203e6a29;
}
.hero-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 13px 16px; background: rgba(255, 255, 255, .96); border: 1px solid #ebf0f7; border-radius: 16px; box-shadow: 0 15px 40px #1f396d28; color: var(--blue); }
.float-one { left: -30px; bottom: 45px; }
.float-two { right: -18px; top: 48px; }

/* Paragraphe « titre + sous-titre » : <strong>Titre</strong><br>Sous-titre */
p.vx-duo { margin: 0; font-size: 11px; line-height: 1.6; color: var(--muted); }
p.vx-duo strong { display: block; font-size: 12px; color: var(--navy); }
p.vx-duo br { display: none; }
.hero-float p.vx-duo { font-size: 10px; color: #7888a1; }

/* ---------- Bandeau de réassurance ---------- */

.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 27px 0; }
.trust-grid > div { display: flex; gap: 14px; align-items: center; padding: 3px 20px; border-left: 1px solid var(--line); color: var(--blue); }
.trust-grid > div:first-child { border-left: 0; padding-left: 0; }
.trust-grid p.vx-duo strong { margin-bottom: 1px; }

/* ---------- Sections ---------- */

.section { padding: 95px 0; }
.section-heading { margin-bottom: 36px; }
.section-heading h2 { max-width: 680px; margin-bottom: 0; }
.section-heading p:not(.eyebrow) { max-width: 440px; margin: 0; }
.section-heading.split { display: flex; justify-content: space-between; gap: 35px; align-items: end; }
.section-heading.split > div:last-child { max-width: 355px; }
.section-heading.split > div:last-child p:not(.text-link) { margin-bottom: 15px; }
.section-heading.centered { text-align: center; }
.section-heading.centered h2, .section-heading.centered p { margin-left: auto; margin-right: auto; }
.section-heading.centered p:not(.eyebrow) { margin-top: 13px; }
.center-link { text-align: center; justify-content: center; margin-top: 35px; }
.small-note, p.small-note { margin-top: 26px; font-size: 12px; color: #8795a9; }

/* ---------- Cartes de services ---------- */

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card { display: block; border-radius: var(--rad); overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid #e9eef7; transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px #203e6a20; }
.service-card-image { position: relative; height: 160px; background: linear-gradient(140deg, var(--navy), var(--blue)); overflow: hidden; }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover img { transform: scale(1.07); }
.service-card-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #0d234947, transparent 70%); }
.service-card-index { position: absolute; right: 16px; top: 13px; color: #fff; font-size: 12px; font-weight: 800; z-index: 1; }
.service-card-info { padding: 24px 24px 23px; position: relative; }
.service-icon { display: flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue); border-radius: 14px; height: 54px; width: 54px; margin-top: -52px; margin-bottom: 16px; position: relative; z-index: 3; box-shadow: 0 4px 18px #132b4c21; border: 4px solid #fff; }
.service-card-kicker { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.service-card h3 { margin: 7px 0 9px; }
.service-card p { font-size: 13px; line-height: 1.7; min-height: 67px; margin-bottom: 14px; }

/* ---------- Présentation ---------- */

.about-preview { background: var(--pale); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }
.about-image { position: relative; border-radius: 23px; overflow: hidden; box-shadow: 0 22px 55px #2d4d8020; }
.about-image img { height: 490px; width: 100%; object-fit: cover; }
.about-image-tag, p.about-image-tag { position: absolute; bottom: 24px; left: 25px; margin: 0; background: #fff; padding: 12px 19px; border-radius: 11px; color: var(--navy); font-weight: 800; font-size: 12px; }
.about-text > p:not(.eyebrow) { font-size: 15px; }
ul.check-grid { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
ul.check-grid li { gap: 8px; font-size: 12px; font-weight: 700; }

/* ---------- Méthode et domaines ---------- */

.process-section { background: #fff; }
.process-grid, .sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 19px; }
.process-card { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 27px 23px; background: linear-gradient(140deg, #fff, #f9fbff); }
.process-card .step-num { position: absolute; right: 20px; top: 16px; margin: 0; font-family: var(--font-head); font-weight: 800; line-height: 1.6; color: #e1e8f4; font-size: 38px; }
.process-mark { display: grid; place-items: center; width: 60px; height: 60px; background: var(--teal-soft); color: var(--teal); border-radius: 18px; margin-bottom: 24px; }
.process-card h3 { font-size: 17px; }
.process-card p { font-size: 13px; margin: 0; }

.sectors { background: linear-gradient(140deg, #f4f7fe, #fff); }
.sector-grid > a, .sector-card { position: relative; background: #fff; padding: 29px 22px; border-radius: 17px; border: 1px solid var(--line); box-shadow: 0 6px 21px #10244708; transition: .2s; }
.sector-grid > a:hover, .sector-card:hover { transform: translateY(-4px); }
.sector-grid span, .sector-card > .vx-icon { color: var(--blue); }
.sector-grid h3 { font-size: 16px; margin: 21px 0 9px; }
.sector-grid p { font-size: 12px; margin: 0; }
.sector-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- Bandeau d'appel ---------- */

.cta-band { background: #112448; background: radial-gradient(circle at 95% 30%, #3d56a9, transparent 45%), linear-gradient(110deg, #112448, #22396e); color: #fff; padding: 60px 0; }
@supports (color: color-mix(in srgb, #000 50%, #fff)) {
	.cta-band { background: radial-gradient(circle at 95% 30%, color-mix(in srgb, var(--blue) 55%, var(--navy)), transparent 45%), linear-gradient(110deg, var(--navy), color-mix(in srgb, var(--navy) 80%, var(--blue))); }
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { font-size: 34px; margin-bottom: 10px; }
.cta-inner p:not(.eyebrow) { color: #c6d3e6; margin-bottom: 0; }
.cta-inner .btn { flex: none; }

/* ---------- Pied de page ---------- */

.footer { background: var(--footer-bg); color: #dbe5f4; padding: 68px 0 20px; }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.45fr; gap: 45px; }
.footer-logo { width: 185px; background: #fff; border-radius: 9px; padding: 8px; margin-bottom: 18px; }
.footer h3 { font-size: 15px; color: #fff; margin: 0 0 20px; }
.footer p { color: #a9b9d0; font-size: 13px; }
.footer a { display: flex; align-items: start; gap: 9px; color: #a9b9d0; font-size: 12px; margin-bottom: 12px; transition: .2s; }
.footer a.sub-item { padding-left: 12px; }
.footer a:hover { color: #75eded; }
.footer .ico { color: #71dcdd; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer .footer-social a { margin: 0; width: 38px; height: 38px; border-radius: 11px; border: 1px solid #263c59; align-items: center; justify-content: center; }
.copyright { margin-top: 48px; border-top: 1px solid #263c59; padding-top: 19px; font-size: 11px; color: #8e9db5; display: flex; justify-content: space-between; }

/* ---------- Bandeau de titre des pages ---------- */

.subhero { background: linear-gradient(122deg, #f2f7ff, #fff 55%, #e9f6f6); overflow: hidden; }
.subhero-inner { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 60px; padding: 64px 0; }
.subhero-simple .subhero-inner { grid-template-columns: 1fr; }
.subhero h1 { font-size: clamp(34px, 4.1vw, 53px); margin-bottom: 15px; }
.subhero p:not(.eyebrow) { font-size: 16px; max-width: 540px; }
.subhero-photo img { height: 295px; width: 100%; object-fit: cover; border-radius: 25px; box-shadow: 0 18px 45px #2842701c; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: #9ba8be; font-size: 12px; margin-top: 25px; }
.breadcrumb a { color: var(--blue); }

/* ---------- Services en détail ---------- */

.detail-section { background: var(--pale); }
.detail-list { display: grid; gap: 23px; }
.detail-row { display: grid; grid-template-columns: 36% 1fr; min-height: 265px; background: #fff; border: 1px solid var(--line); border-radius: calc(var(--rad) + 2px); overflow: hidden; }
.detail-row:nth-child(even) { grid-template-columns: 1fr 36%; }
.detail-row:nth-child(even) .detail-pic { order: 2; }
.detail-pic { background: linear-gradient(140deg, var(--navy), var(--blue)); }
.detail-pic img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; }
.detail-info { padding: 35px 45px; }
.detail-num { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.detail-icon { color: var(--blue); margin-top: 10px; }
.detail-info h3 { margin: 10px 0; }
.detail-info p { font-size: 14px; max-width: 500px; }

/* ---------- Valeurs ---------- */

.values-section { background: var(--pale); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.values-grid > article, .value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--rad); padding: 36px; position: relative; }
.values-grid > article > span, .value-card .value-num { position: absolute; right: 28px; top: 22px; margin: 0; line-height: 1.6; color: #d7e0ef; font-weight: 800; font-size: 32px; }
.values-grid .ico { color: var(--blue); margin-bottom: 22px; }
.values-grid h3 { margin-bottom: 10px; }
.values-grid p { font-size: 14px; margin: 0; }

/* ---------- Références ---------- */

.reference-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reference-card { border-radius: var(--rad); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.reference-image img { height: 188px; width: 100%; object-fit: cover; }
.reference-content { padding: 26px; }
.reference-content span, .reference-content > .vx-icon { color: var(--blue); }
.reference-content h3 { font-size: 17px; margin: 13px 0 9px; }
.reference-content p { font-size: 13px; margin: 0; }

/* ---------- Emplois ---------- */

.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.job-card { border: 1px solid var(--line); background: #fff; border-radius: var(--rad); padding: 33px; box-shadow: 0 8px 24px #1c3c7909; }
.job-icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); margin-bottom: 22px; }
.job-card p { font-size: 14px; min-height: 40px; }
.job-notice { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 40px; background: #f1f7fc; border-radius: calc(var(--rad) + 2px); padding: 29px; }
.job-notice > div { display: flex; align-items: center; gap: 19px; }
.job-notice > div > .ico, .job-notice .vx-icon { color: var(--blue); }
.job-notice h3 { margin: 0 0 7px; }
.job-notice p { font-size: 12px; margin: 0; max-width: 610px; }
.job-notice .btn, .job-notice > .wp-block-buttons { flex: none; }

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

.contact-section { background: var(--pale); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; align-items: start; }
.contact-details > p:not(.eyebrow) { font-size: 14px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: start; gap: 17px; margin: 0 0 23px; }
.contact-item > span { display: grid; place-items: center; border-radius: 14px; width: 53px; height: 53px; background: var(--blue-soft); color: var(--blue); flex: none; }
.contact-item strong { font-size: 13px; }
.contact-item p { font-size: 13px; margin: 4px 0; }
.contact-item a:hover { color: var(--blue); }
.form-panel { background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: calc(var(--rad) + 4px); padding: 40px; }
.form-panel h2 { font-size: 28px; margin-bottom: 10px; }
.form-panel > p:not(.eyebrow) { font-size: 13px; margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-panel label, .vx-contact-form label { display: block; font-weight: 800; font-size: 12px; margin-bottom: 19px; color: #273956; }
.form-panel input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), .form-panel textarea, .form-panel select,
.vx-contact-form input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), .vx-contact-form textarea, .vx-contact-form select {
	display: block; width: 100%; background: #f8faff; border: 1px solid #dbe3f0; border-radius: 11px; margin-top: 8px; padding: 13px 15px; color: #203456; outline: 0; resize: vertical;
}
.form-panel input:focus, .form-panel textarea:focus, .form-panel select:focus,
.vx-contact-form input:focus, .vx-contact-form textarea:focus, .vx-contact-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #5462e91b; }
.form-panel .submit, .vx-contact-form .submit { border: 0; }
.form-note, p.form-note { font-size: 11px; color: #8390a3; margin: 17px 0 0; }
#form-feedback { font-size: 12px; color: #204e93; margin: 8px 0 0; }
#form-feedback:empty { display: none; }
#form-feedback.is-success, #form-feedback.is-error { font-size: 13px; font-weight: 700; padding: 12px 15px; border-radius: 11px; margin-top: 14px; }
#form-feedback.is-success { background: #e8f8f0; color: #17603c; }
#form-feedback.is-error { background: #fdecec; color: #9a2424; }
/* Contact Form 7 aux couleurs du thème */
.vx-cf7 .wpcf7-form-control-wrap { display: block; }
.vx-cf7 .wpcf7-submit { border: 0; color: #fff; -webkit-appearance: none; appearance: none; }
.vx-cf7 .wpcf7-submit:disabled { opacity: .6; cursor: progress; }
.vx-cf7 .wpcf7-spinner { margin: 0 0 0 14px; vertical-align: middle; }
.vx-cf7 .wpcf7-not-valid { border-color: #d64545 !important; }
.vx-cf7 .wpcf7-not-valid-tip { font-size: 11px; font-weight: 700; color: #b42323; margin-top: 6px; }
.vx-cf7 form .wpcf7-response-output { margin: 14px 0 0; padding: 12px 15px; border-radius: 11px; border: 0; font-size: 13px; font-weight: 700; }
.vx-cf7 form.sent .wpcf7-response-output { background: #e8f8f0; color: #17603c; }
.vx-cf7 form.invalid .wpcf7-response-output, .vx-cf7 form.unaccepted .wpcf7-response-output, .vx-cf7 form.payment-required .wpcf7-response-output { background: #fff6e5; color: #7a4b00; }
.vx-cf7 form.failed .wpcf7-response-output, .vx-cf7 form.aborted .wpcf7-response-output, .vx-cf7 form.spam .wpcf7-response-output { background: #fdecec; color: #9a2424; }
.vx-cf7 .screen-reader-response { position: absolute; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; word-wrap: normal !important; }
.vx-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contenu libre (pages simples, articles) ---------- */

.entry-narrow { max-width: 820px; }
.entry-content > * { margin-top: 0; margin-bottom: 1.25em; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content p, .entry-content li { font-size: 16px; color: #46546d; }
.entry-content h2 { font-size: clamp(25px, 2.4vw, 32px); margin-top: 1.6em; margin-bottom: .6em; }
.entry-content h3 { font-size: 21px; margin-top: 1.5em; margin-bottom: .5em; }
.entry-content > h2:first-child, .entry-content > h3:first-child { margin-top: 0; }
.entry-content a:not(.btn):not(.wp-block-button__link):not(.text-link) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content img { border-radius: var(--rad); }
.entry-content blockquote { margin-inline: 0; padding: 22px 26px; border-left: 4px solid var(--teal); background: var(--pale); border-radius: 0 var(--rad) var(--rad) 0; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.entry-content th { background: var(--pale); }
.entry-content pre { background: #0f1e3d; color: #dfe8f7; padding: 18px 20px; border-radius: 14px; overflow: auto; font-size: 13px; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.alignwide, .alignfull { max-width: none; }
.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption-text, figcaption { font-size: 12px; color: #8795a9; margin-top: 8px; }
.entry-tags a { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); text-decoration: none !important; }
.page-links { display: flex; gap: 10px; font-size: 13px; font-weight: 700; }

/* ---------- Articles ---------- */

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { border-radius: var(--rad); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post-card-image img { width: 100%; height: 190px; object-fit: cover; }
.post-card-body { padding: 26px; }
.post-card-date { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.post-card h2 { font-size: 19px; margin: 8px 0 10px; }
.post-card h2 a:hover { color: var(--blue); }
.post-card p { font-size: 13px; }
.pagination, .post-navigation { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.post-navigation .nav-links { justify-content: space-between; font-size: 13px; font-weight: 800; color: var(--blue); }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 800; }
.page-numbers.current, a.page-numbers:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form input[type="search"] { flex: 1; background: #f8faff; border: 1px solid #dbe3f0; border-radius: 11px; padding: 13px 15px; color: #203456; outline: 0; }
.search-form input[type="search"]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #5462e91b; }

/* ---------- Commentaires ---------- */

.section-comments { padding-top: 0; }
.comments-area { margin-top: 50px; }
.comments-title, .comment-reply-title { font-size: 24px; margin-bottom: 20px; display: block; font-family: var(--font-head); font-weight: 800; letter-spacing: -.04em; }
.comment-list, .comment-list .children { list-style: none; padding: 0; margin: 0; }
.comment-list .children { padding-left: 28px; }
.comment-body { border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 16px; font-size: 14px; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 11px; color: #8795a9; margin: 4px 0 10px; }
.comment-form label { display: block; font-weight: 800; font-size: 12px; margin-bottom: 6px; color: #273956; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; background: #f8faff; border: 1px solid #dbe3f0; border-radius: 11px; padding: 13px 15px; color: #203456; outline: 0; }
.comment-form .submit { display: inline-flex; padding: 15px 22px; border-radius: var(--btn-rad); border: 0; font-weight: 800; font-size: 13px; background: linear-gradient(110deg, var(--blue), var(--blue-deep)); color: #fff; }

/* ---------- Adaptation aux écrans ---------- */

@media (max-width: 1090px) {
	.main-nav { gap: 13px; }
	.main-nav > a { font-size: 12px; }
	.brand { width: min(var(--logo-w), 150px); }
	.hero-grid { gap: 24px; }
	.trust-grid p.vx-duo strong { font-size: 11px; }
	.about-grid { gap: 35px; }
}

@media (max-width: 870px) {
	.topbar-inner > span { display: none; }
	.topbar-inner { justify-content: center; }
	.nav-toggle { display: block; }
	.main-nav { display: none; position: absolute; left: 0; top: 100%; width: 100%; background: #fff; box-shadow: 0 20px 35px #11244724; padding: 20px 24px 27px; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 120px); overflow: auto; }
	.main-nav.is-open { display: flex; }
	.main-nav > a { padding: 12px; font-size: 14px; }
	.main-nav > a:not(.nav-contact)::after { display: none; }
	.main-nav .nav-contact { justify-content: center; margin-top: 10px; }
	.hero-grid { grid-template-columns: 1fr; padding: 65px 0; }
	.hero-copy { max-width: 720px; }
	.hero-visual .wp-block-image img, .hero-visual > img { height: 340px; }
	.trust-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
	.trust-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
	.service-grid, .reference-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
	.about-grid, .contact-layout { grid-template-columns: 1fr; }
	.about-image img { height: 360px; }
	.process-grid, .sector-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-cols { grid-template-columns: repeat(2, 1fr); }
	.subhero-inner { gap: 25px; }
	.section { padding: 70px 0; }
	.contact-layout { gap: 28px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 570px) {
	.container { width: min(100% - 34px, var(--container)); }
	.topbar-inner > div { gap: 14px; flex-wrap: wrap; justify-content: center; }
	.topbar-inner a { font-size: 10px; }
	.nav-shell { min-height: 71px; }
	.brand { width: min(var(--logo-w), 145px); }
	.hero-grid { padding: 50px 0 56px; gap: 35px; }
	.hero-copy h1 { font-size: 39px; }
	.hero-copy > p:not(.eyebrow) { font-size: 14px; }
	.hero-actions { flex-direction: column; align-items: stretch; }
	.hero-actions .btn, .hero-actions .wp-block-button, .hero-actions .wp-block-button__link { width: 100%; }
	.hero-visual .wp-block-image img, .hero-visual > img { height: 265px; border-radius: 21px; }
	.float-one { left: 3px; bottom: 4px; }
	.float-two { right: 0; top: -2px; }
	.hero-float { padding: 9px; }
	.hero-float p.vx-duo { font-size: 0; }
	.hero-float p.vx-duo strong { font-size: 12px; }
	.trust-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
	.trust-grid > div { padding: 12px 9px !important; border: 0; }
	.trust-grid p.vx-duo { font-size: 10px; }
	.trust-grid .ico { width: 22px; }
	.section { padding: 61px 0; }
	.section-heading.split { display: block; }
	.section-heading.split > div:last-child { margin-top: 14px; }
	.service-grid, .reference-grid, .jobs-grid, .values-grid, .post-grid { grid-template-columns: 1fr; }
	.service-card-image { height: 175px; }
	.service-card p { min-height: 0; }
	.section-heading h2, h2 { font-size: 31px; }
	.process-grid, .sector-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.process-card, .sector-grid > a, .sector-card { padding: 19px 15px; }
	.process-card h3, .sector-grid h3 { font-size: 14px; }
	.process-card p, .sector-grid p { font-size: 11px; }
	.about-image img { height: 280px; }
	.about-grid { gap: 35px; }
	ul.check-grid { gap: 9px; }
	ul.check-grid li { font-size: 11px; }
	.cta-inner { display: block; }
	.cta-inner h2 { font-size: 29px; }
	.cta-inner .btn { margin-top: 22px; }
	.footer-cols { grid-template-columns: 1fr 1fr; gap: 30px; }
	.footer-cols > div:first-child, .footer-cols > div:last-child { grid-column: 1 / -1; }
	.copyright { gap: 15px; flex-wrap: wrap; }
	.subhero-inner { grid-template-columns: 1fr; padding: 48px 0; }
	.subhero-photo img { height: 185px; }
	.detail-row, .detail-row:nth-child(even) { grid-template-columns: 1fr; }
	.detail-row:nth-child(even) .detail-pic { order: 0; }
	.detail-pic img { height: 165px; min-height: 165px; }
	.detail-info { padding: 25px; }
	.form-panel { padding: 25px 18px; }
	.form-row { grid-template-columns: 1fr; gap: 0; }
	.job-notice { display: block; }
	.job-notice .btn, .job-notice > .wp-block-buttons { margin-top: 18px; }
	.search-form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
