/* ==========================================================================
   Ancrage — design « Éditorial »
   Les couleurs et polices se modifient dans Apparence > Éditeur > Styles.
   Ce fichier gère la mise en page des sections.
   ========================================================================== */

:root {
	--anc-gutter: clamp(20px, 4vw, 56px);
	--anc-accent: var(--wp--preset--color--accent, #C9221A);
	--anc-accent-on-dark: color-mix(in srgb, var(--anc-accent) 55%, #ffffff);
	--anc-ink: var(--wp--preset--color--ink, #111111);
	--anc-paper: var(--wp--preset--color--paper, #EFEEEA);
	--anc-white: var(--wp--preset--color--white, #ffffff);
	--anc-muted: var(--wp--preset--color--muted, #5E5E59);
	--anc-line: var(--wp--preset--color--line, #CFCEC8);
	--anc-soft: var(--wp--preset--color--soft, #E4E3DE);
	--anc-on-dark: var(--wp--preset--color--on-dark, #BDBDB7);
	--anc-body2: #4A4A46;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 110px; }
body { -webkit-font-smoothing: antialiased; }

/* Neutralise les espacements automatiques entre grands blocs */
.wp-site-blocks > *,
.anc-home-content > *,
.anc-main > *,
.anc-hero > *,
.anc-hero__bottom > *,
.anc-hero__aside > *,
.anc-stat > *,
.anc-stat__main > *,
.anc-clients > *,
.anc-section > *,
.anc-section__head > *,
.anc-section__head > .wp-block-group > *,
.anc-why__head > *,
.anc-why__list > *,
.anc-why__item > *,
.anc-why__body > *,
.anc-works__grid > *,
.anc-work > *,
.anc-work__meta > *,
.anc-work__text > *,
.anc-entry > *,
.anc-poles > *,
.anc-pole > *,
.anc-contact__intro > *,
.anc-footer > *,
.anc-footer__bottom > *,
.anc-legal > *,
.anc-legal__block > *,
.anc-article__head > *,
.anc-article__cta > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

mark.has-inline-color[style*="rgba(0, 0, 0, 0)"] { background: transparent; }

.anc-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.45;
}

/* ---------- Boutons ---------- */
.wp-block-button__link { text-decoration: none; transition: background-color .2s, color .2s; }
.wp-block-button.is-style-accent .wp-block-button__link {
	background-color: var(--anc-accent);
	color: var(--anc-white);
}
.wp-block-button.is-style-accent .wp-block-button__link:hover,
.wp-block-button.is-style-accent .wp-block-button__link:focus-visible {
	background-color: var(--anc-ink);
	color: var(--anc-white);
}
:where(.wp-block-button__link):focus-visible,
.anc-form button:focus-visible {
	outline: 3px solid var(--anc-accent);
	outline-offset: 3px;
}

/* ---------- En-tête ---------- */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
}
body.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.wp-block-template-part { top: 0; } }

.anc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	min-height: 96px;
	padding: 0 0 0 var(--anc-gutter);
	background: var(--anc-white);
}
.anc-header > * { margin: 0; }
.anc-logo {
	font-size: 34px;
	font-weight: 700;
	font-stretch: 88%;
	letter-spacing: -0.03em;
	line-height: 1;
	text-transform: lowercase;
}
.anc-logo a {
	display: inline-flex;
	align-items: center;
	color: var(--anc-ink);
	text-decoration: none;
}
/* Logo : le nom seul, sans pictogramme (v1.2). */
.anc-nav { font-size: 17px; font-weight: 500; }
.anc-nav .wp-block-navigation__container { gap: 44px; }
.anc-nav a { text-decoration: none; }
.anc-nav a:hover { color: var(--anc-accent); }
.anc-header__cta { align-self: stretch; }
.anc-header__cta .wp-block-button { display: flex; }
.anc-header__cta .wp-block-button__link {
	display: flex;
	align-items: center;
	padding: 0 44px;
	min-height: 96px;
}

@media (max-width: 1180px) {
	.anc-nav .wp-block-navigation__container { gap: 26px; }
	.anc-header__cta .wp-block-button__link { padding: 0 26px; }
}
@media (max-width: 900px) {
	.anc-header { min-height: 72px; gap: 16px; padding-right: var(--anc-gutter); }
	.anc-header .anc-header__cta { display: none; }
	.anc-logo { font-size: 28px; white-space: nowrap; }
}
@media (min-width: 600px) and (max-width: 900px) {
	.anc-nav { font-size: 15px; }
	.anc-nav .wp-block-navigation__container { gap: 18px; }
}
.wp-block-navigation__responsive-container.is-menu-open {
	padding: 32px var(--anc-gutter);
	background: var(--anc-white);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 22px;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

/* ---------- Bandeau d'ouverture ---------- */
.anc-hero {
	position: relative;
	padding: 80px var(--anc-gutter) 0;
	overflow: hidden;
}
.anc-hero > * { position: relative; z-index: 1; }
.anc-hero > .anc-hero__curve,
.anc-hero__curve {
	position: absolute;
	z-index: 0;
	top: 90px;
	right: var(--anc-gutter);
	width: min(880px, 62%);
	pointer-events: none;
}
.anc-hero__curve svg { display: block; width: 100%; height: auto; overflow: visible; }
.anc-curve-off { stroke: #B9B8B2; }
.anc-curve-on { stroke: var(--anc-accent); }
.anc-curve-dot { fill: var(--anc-accent); }
.anc-curve-label { font-family: inherit; font-size: 15px; fill: var(--anc-muted); }
.anc-curve-label--on { fill: var(--anc-accent); font-weight: 600; }
.anc-curve-axis { font-family: inherit; font-size: 13px; letter-spacing: 1.5px; fill: var(--anc-muted); }

.anc-kicker {
	display: flex;
	align-items: flex-start;
	gap: 28px;
	max-width: 380px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.45;
}
.anc-kicker::before {
	content: "";
	flex-shrink: 0;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--anc-accent);
	margin-top: -10px;
}
.anc-hero__title {
	margin-top: 150px !important;
	font-size: var(--wp--preset--font-size--huge);
	line-height: 0.86;
	font-weight: 800;
	font-stretch: 92%;
	letter-spacing: -0.055em;
	padding-left: 1.84em;
	text-indent: -1.84em;
}
.anc-hero__bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;
	margin-top: 72px !important;
}
.anc-hero__lead {
	max-width: 560px;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.18;
	font-weight: 500;
	letter-spacing: -0.02em;
	padding-bottom: 8px;
}
.anc-hero__aside {
	flex: 0 0 460px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.anc-btn-block .wp-block-button { width: 100%; }
.anc-btn-block .wp-block-button__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 108px;
	font-size: 20px;
}
.anc-stat {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 28px 32px;
	background: var(--anc-white);
}
.anc-stat__value {
	font-size: 76px;
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1;
}
.anc-stat__main .anc-label { margin-top: 36px !important; }
.anc-stat__side {
	align-self: flex-end;
	width: 160px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--anc-muted);
}

@media (max-width: 1100px) {
	.anc-hero__bottom { flex-direction: column; align-items: stretch; }
	.anc-hero__aside { flex-basis: auto; max-width: 520px; }
}
@media (max-width: 700px) {
	.anc-hero { padding-top: 40px; }
	.anc-hero > .anc-hero__curve,
	.anc-hero__curve { top: 120px; right: -40px; width: 120%; opacity: 0.35; }
	.anc-curve-label, .anc-curve-axis { display: none; }
	.anc-hero__title { letter-spacing: -0.035em; }
	.anc-kicker { gap: 18px; }
	.anc-kicker::before { width: 52px; height: 52px; margin-top: -4px; }
	.anc-hero__title { margin-top: 96px !important; padding-left: 0; text-indent: 0; }
	.anc-hero__bottom { margin-top: 40px !important; }
	.anc-stat { padding: 24px; }
	.anc-stat__value { font-size: 56px; }
	.anc-btn-block .wp-block-button__link { min-height: 84px; }
}

/* ---------- Bandeau clients ---------- */
.anc-clients {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 72px;
	margin-top: 64px !important;
	padding: 30px var(--anc-gutter);
	border-top: 1px solid var(--anc-line);
	border-bottom: 1px solid var(--anc-line);
}
.anc-clients__intro { color: var(--anc-muted); }
.anc-clients__name {
	font-size: 24px;
	font-weight: 700;
	font-stretch: 80%;
	text-transform: uppercase;
	line-height: 1.2;
}
@media (max-width: 700px) {
	.anc-clients { gap: 10px 32px; }
	.anc-clients__intro { flex-basis: 100%; }
	.anc-clients__name { font-size: 19px; }
}

/* ---------- Sections communes ---------- */
.anc-section {
	padding: clamp(80px, 9.7vw, 140px) var(--anc-gutter) clamp(72px, 8.3vw, 120px);
}
.anc-section--white { background: var(--anc-white); }
.anc-section__kicker { color: var(--anc-accent); }
.anc-section__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 32px;
}
.anc-h2 {
	margin-top: 24px !important;
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 0.9;
	font-weight: 800;
	font-stretch: 90%;
	letter-spacing: -0.05em;
}
.anc-h2--m { font-size: var(--wp--preset--font-size--x-large); line-height: 0.95; letter-spacing: -0.045em; }
.anc-h2--l { font-size: clamp(44px, 5vw, 72px); }
.anc-h2--xl { font-size: clamp(56px, 7.6vw, 110px); line-height: 0.86; letter-spacing: -0.055em; font-stretch: 88%; }
.anc-link-under a {
	font-size: 18px;
	font-weight: 600;
	color: var(--anc-ink);
	text-decoration: none;
	border-bottom: 2px solid currentColor;
	padding-bottom: 4px;
}
.anc-link-under a:hover { color: var(--anc-accent); }

/* ---------- Pourquoi ---------- */
.anc-why {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 24px;
}
.anc-why__head { grid-column: 1 / span 4; }
.anc-why__list { grid-column: 6 / span 7; display: flex; flex-direction: column; }
.anc-why__item {
	display: flex;
	gap: 40px;
	padding: 30px 0;
	border-top: 1px solid var(--anc-ink);
}
.anc-why__item:last-child { border-bottom: 1px solid var(--anc-ink); }
.anc-why__num { flex: 0 0 40px; font-size: 20px; font-weight: 600; line-height: 1.6; }
.anc-why__title { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.anc-why__text { margin-top: 10px !important; font-size: 19px; line-height: 1.5; color: var(--anc-body2); }
@media (max-width: 900px) {
	.anc-why { display: block; }
	.anc-why__list { margin-top: 48px !important; }
	.anc-why__item { gap: 20px; padding: 24px 0; }
	.anc-why__title { font-size: 25px; }
	.anc-why__text { font-size: 17px; }
}

/* ---------- Réalisations ---------- */
.anc-works__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 56px 24px;
	margin-top: 72px !important;
}
.anc-work { display: flex; flex-direction: column; gap: 20px; }
.anc-work__media { margin: 0; }
.anc-work__media img {
	display: block;
	width: 100%;
	height: 340px;
	object-fit: cover;
	background: var(--anc-soft);
}
.anc-work__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.anc-work__client { color: var(--anc-muted); }
.anc-work__title {
	margin-top: 8px !important;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
}
.anc-work__tools {
	flex-shrink: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--anc-muted);
	text-align: right;
}
@media (max-width: 800px) {
	.anc-works__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 48px !important; }
	.anc-work__media img { height: 240px; }
	.anc-work__title { font-size: 25px; }
}

/* ---------- Offres ---------- */
.anc-offers > .anc-section__head { margin-top: 24px !important; }
.anc-offers .anc-section__head .anc-h2 { margin-top: 0 !important; }
.anc-entry {
	width: 420px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px 32px;
	background: var(--anc-accent);
	color: var(--anc-white);
	transition: background-color .2s;
}
.anc-entry:hover { background: var(--anc-ink); }
.anc-entry__title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.anc-entry__title a { color: var(--anc-white); text-decoration: none; }
.anc-entry__title a:hover { color: var(--anc-white); }
.anc-poles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 72px !important;
	border-top: 2px solid var(--anc-ink);
}
.anc-pole {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 36px;
	border-right: 1px solid var(--anc-line);
}
.anc-pole:first-child { padding-left: 0; }
.anc-pole:last-child { padding-right: 0; border-right: 0; }
.anc-pole__num { font-size: 72px; font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.anc-pole__title { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.anc-pole__intro { font-size: 17px; line-height: 1.5; color: var(--anc-body2); }
.anc-pole__list { list-style: none; margin: 0; padding: 0; }
.anc-pole__list li {
	margin: 0;
	padding: 14px 0;
	border-top: 1px solid var(--anc-line);
	font-size: 19px;
	font-weight: 500;
	line-height: 1.35;
}
@media (max-width: 900px) {
	.anc-poles { grid-template-columns: minmax(0, 1fr); margin-top: 48px !important; }
	.anc-pole, .anc-pole:first-child, .anc-pole:last-child {
		padding: 32px 0;
		border-right: 0;
		border-bottom: 1px solid var(--anc-line);
	}
	.anc-pole__num { font-size: 52px; }
	.anc-pole__title { font-size: 28px; }
}

/* ---------- Articles (accueil et blog) ---------- */
.anc-posts { margin-top: 64px !important; }
.anc-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 56px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.anc-posts__grid > li { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.anc-posts__grid > li > * { margin: 0; }
.anc-post__media img { display: block; width: 100%; object-fit: cover; background: var(--anc-soft); }
.anc-post__cat a { color: var(--anc-muted); text-decoration: none; }
.anc-post__title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.anc-post__title a { text-decoration: none; }
.anc-post__excerpt { font-size: 17px; color: var(--anc-body2); }
.anc-post__excerpt .wp-block-post-excerpt__more-text { display: none; }
.anc-posts__empty { font-size: 19px; color: var(--anc-muted); }
.anc-pagination { margin-top: 64px !important; font-size: 17px; font-weight: 600; }
.anc-pagination a { text-decoration: none; }
@media (max-width: 900px) {
	.anc-posts__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.anc-post__title { font-size: 23px; }
}

/* ---------- Contact ---------- */
.anc-contact {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 24px;
	padding-top: clamp(88px, 9vw, 130px);
	padding-bottom: clamp(88px, 9vw, 130px);
	background: var(--anc-ink);
	color: var(--anc-white);
}
.anc-contact__intro { grid-column: 1 / span 5; }
.anc-contact > .anc-form-wrap { grid-column: 7 / span 6; }
.anc-contact .anc-section__kicker { color: var(--anc-accent-on-dark); }
.anc-contact .anc-h2 { color: var(--anc-white); margin-top: 28px !important; }
.anc-contact__lead {
	margin-top: 40px !important;
	max-width: 440px;
	font-size: 21px;
	line-height: 1.5;
	color: var(--anc-on-dark);
}
.anc-contact__direct {
	margin-top: 48px !important;
	font-size: 18px;
	line-height: 1.6;
	color: #8A8A85;
}
.anc-contact__direct a { color: var(--anc-white); font-size: 26px; font-weight: 600; text-decoration: none; }
.anc-contact__direct a:hover { color: var(--anc-accent-on-dark); }
@media (max-width: 1000px) {
	.anc-contact { display: block; }
	.anc-contact > .anc-form-wrap { margin-top: 56px !important; }
	.anc-contact__direct a { font-size: 21px; }
}

/* Formulaire */
.anc-form { display: flex; flex-direction: column; gap: 34px; position: relative; }
.anc-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.anc-field { display: flex; flex-direction: column; gap: 8px; }
.anc-field label,
.anc-form legend {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--anc-on-dark);
}
.anc-field input,
.anc-field textarea,
.anc-field select {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid #6E6E69;
	border-radius: 0;
	background: transparent;
	color: var(--anc-white);
	font-family: inherit;
	font-size: 18px;
	color-scheme: dark;
}
.anc-field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.anc-field select option { background: var(--anc-ink); color: var(--anc-white); }
.anc-field input::placeholder,
.anc-field textarea::placeholder { color: #8A8A85; }
.anc-field input:focus,
.anc-field textarea:focus,
.anc-field select:focus {
	outline: none;
	border-bottom-color: var(--anc-white);
	box-shadow: 0 2px 0 0 var(--anc-white);
}
.anc-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.anc-form legend { padding: 0; margin-bottom: 14px; }
.anc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.anc-chip { position: relative; display: inline-flex; }
.anc-chip input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}
.anc-chip span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid #6E6E69;
	font-size: 15px;
	color: var(--anc-white);
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.anc-chip:hover span { border-color: var(--anc-white); }
.anc-chip input:checked + span {
	background: var(--anc-white);
	border-color: var(--anc-white);
	color: var(--anc-ink);
}
.anc-chip input:focus-visible + span { outline: 3px solid var(--anc-accent-on-dark); outline-offset: 2px; }
.anc-consent {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 14px;
	line-height: 1.5;
	color: var(--anc-on-dark);
}
.anc-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--anc-accent); }
.anc-consent a { color: var(--anc-white); }
.anc-form__submit { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; }
.anc-form button[type="submit"] {
	min-height: 76px;
	padding: 0 48px;
	border: 0;
	border-radius: 0;
	background: var(--anc-accent);
	color: var(--anc-white);
	font-family: inherit;
	font-size: 19px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.anc-form button[type="submit"]:hover { background: var(--anc-white); color: var(--anc-ink); }
.anc-form__note { font-size: 15px; color: #8A8A85; }
.anc-form__msg { margin: 0 0 8px; padding: 20px 24px; font-size: 17px; line-height: 1.5; }
.anc-form__msg--ok { background: var(--anc-white); color: var(--anc-ink); }
.anc-form__msg--err { background: var(--anc-accent); color: var(--anc-white); }
.anc-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
	.anc-form__row { grid-template-columns: minmax(0, 1fr); }
	.anc-form button[type="submit"] { width: 100%; }
}

/* ---------- Pied de page ---------- */
.anc-footer { padding: 56px var(--anc-gutter) 40px; background: var(--anc-paper); }
.anc-footer__mark {
	font-size: clamp(84px, 20.8vw, 300px);
	line-height: 0.8;
	font-weight: 800;
	font-stretch: 85%;
	letter-spacing: -0.07em;
	white-space: nowrap;
}
.anc-footer__bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px 32px;
	margin-top: 48px !important;
	font-size: 15px;
	color: var(--anc-body2);
}
.anc-footer__links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.anc-footer__links a { color: var(--anc-body2); text-decoration: none; }
.anc-footer__links a:hover { color: var(--anc-accent); }

/* ---------- Pages simples et mentions légales ---------- */
.anc-page { padding: clamp(64px, 7.6vw, 110px) var(--anc-gutter) clamp(80px, 8vw, 120px); }
.anc-page__title {
	margin-bottom: clamp(40px, 5vw, 70px) !important;
	font-size: clamp(52px, 8.3vw, 120px);
	line-height: 0.9;
	font-weight: 800;
	font-stretch: 90%;
	letter-spacing: -0.05em;
}
.anc-page__content > :not(.anc-legal):not(.alignwide):not(.alignfull) { max-width: 760px; }
.anc-page__content { font-size: 19px; line-height: 1.65; }
.anc-legal__block {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 48px;
	padding: 44px 0;
	border-top: 1px solid var(--anc-ink);
}
.anc-legal__block:last-child { border-bottom: 1px solid var(--anc-ink); }
.anc-legal__title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.anc-legal p { margin: 0 0 14px; font-size: 18px; line-height: 1.65; color: #2E2E2B; }
.anc-legal p:last-child { margin-bottom: 0; }
.anc-legal mark { color: #8A1510; font-weight: 600; padding: 1px 6px; }
@media (max-width: 800px) {
	.anc-legal__block { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 32px 0; }
	.anc-legal__title { font-size: 22px; }
}

/* ---------- Article de blog ---------- */
.anc-article { padding: clamp(56px, 7vw, 96px) var(--anc-gutter) 0; }
.anc-article__head { max-width: 1000px; margin-inline: auto !important; }
.anc-article__cat a { color: var(--anc-accent); text-decoration: none; }
.anc-article__title {
	margin-top: 20px !important;
	font-size: clamp(42px, 6vw, 88px);
	line-height: 0.95;
	font-weight: 800;
	font-stretch: 90%;
	letter-spacing: -0.045em;
}
.anc-article__date { margin-top: 24px !important; font-size: 15px; color: var(--anc-muted); }
.anc-article__media { max-width: 1328px; margin: 56px auto 0 !important; }
.anc-article__media img { display: block; width: 100%; object-fit: cover; }
.anc-article__content { margin-top: 56px !important; font-size: 20px; line-height: 1.65; }
.anc-article__content h2 { margin-top: 64px; font-size: 40px; line-height: 1.05; }
.anc-article__content h3 { margin-top: 48px; font-size: 28px; line-height: 1.15; letter-spacing: -0.03em; }
.anc-article__content a { text-decoration-color: var(--anc-accent); text-underline-offset: 3px; }
.anc-article__content blockquote {
	margin: 48px 0;
	padding: 0;
	border: 0;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.anc-article__cta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 32px;
	margin: 112px calc(var(--anc-gutter) * -1) 0 !important;
	padding: 72px var(--anc-gutter);
	background: var(--anc-ink);
	color: var(--anc-white);
}
.anc-article__cta .anc-h2 { margin: 0 !important; color: var(--anc-white); max-width: 760px; }
.anc-article__cta .wp-block-button__link { min-height: 76px; display: flex; align-items: center; }

/* ---------- Listes d'articles et 404 ---------- */
.anc-listing { padding: clamp(56px, 7vw, 96px) var(--anc-gutter) clamp(80px, 8vw, 120px); }
.anc-listing .anc-h2 { margin-top: 24px !important; }
.anc-404 { padding: clamp(80px, 10vw, 140px) var(--anc-gutter) clamp(96px, 11vw, 160px); }
.anc-404 .wp-block-buttons { margin-top: 48px !important; }

/* ---------- Ajustements mobiles (en dernier pour primer) ---------- */
@media (max-width: 700px) {
	.anc-h2, .anc-h2--m, .anc-h2--xl, .anc-page__title, .anc-article__title { letter-spacing: -0.03em; }
	.anc-stat { flex-direction: column; gap: 16px; }
	.anc-stat__side { align-self: flex-start; width: auto; }
	.anc-work__meta { flex-direction: column; gap: 8px; }
	.anc-work__tools { text-align: left; }
}

/* ---------- Page « Bientôt en ligne » ---------- */
.anc-soon {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	box-sizing: border-box;
	padding: 36px var(--anc-gutter) 32px;
	overflow: hidden;
	background: var(--anc-paper);
}
.anc-soon > *,
.anc-soon__top > *,
.anc-soon__bottom > *,
.anc-soon__intro > *,
.anc-soon__contact > * { margin-block-start: 0; margin-block-end: 0; position: relative; z-index: 1; }
.anc-soon__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.anc-soon__status { color: var(--anc-muted); }
.anc-soon > .anc-soon__curve { position: absolute; z-index: 0; top: 130px; }
.anc-soon__title { margin-top: clamp(96px, 16vh, 190px) !important; }
.anc-soon__bottom {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;
	margin-top: clamp(48px, 7vh, 80px) !important;
}
.anc-soon__intro { max-width: 600px; }
.anc-soon__en { margin-top: 16px !important; font-size: 17px; line-height: 1.5; color: var(--anc-muted); }
.anc-soon__contact {
	flex: 0 1 560px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 32px 36px;
	background: var(--anc-accent);
	color: var(--anc-white);
	transition: background-color .2s;
}
.anc-soon__contact:hover { background: var(--anc-ink); }
.anc-soon__mail { font-size: clamp(24px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.anc-soon__mail a { color: var(--anc-white); text-decoration: none; overflow-wrap: anywhere; }
.anc-soon__mail a::after { content: " →"; }
.anc-soon__mail a:hover, .anc-soon__mail a:focus-visible { color: var(--anc-white); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.anc-soon__foot { margin-top: auto !important; padding-top: 48px; font-size: 14px; color: var(--anc-muted); }
.anc-soon__foot a { color: var(--anc-muted); }
@media (max-width: 1000px) {
	.anc-soon__bottom { flex-direction: column; align-items: stretch; }
	.anc-soon__contact { flex-basis: auto; }
}
@media (max-width: 700px) {
	.anc-soon > .anc-soon__curve { top: 150px; }
	.anc-soon__title { margin-top: 110px !important; }
	.anc-soon__contact { padding: 26px 24px; }
	.anc-soon__mail { font-size: 22px; }
}

/* ==========================================================================
   v1.2 — Notre approche, réalisations à 3 colonnes, offres par public
   ========================================================================== */

/* ---------- Notre approche ---------- */
.anc-approach__top > *, .anc-approach__head > *, .anc-approach__body > *,
.anc-pillars > *, .anc-pillar > *, .anc-audiences > *, .anc-audience > *,
.anc-offer > *, .anc-offer__top > *, .anc-work__results > *, .anc-stat-mini > * {
	margin-block-start: 0;
	margin-block-end: 0;
}
.anc-approach__top {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 24px;
	align-items: end;
}
.anc-approach__head { grid-column: 1 / span 5; }
.anc-approach__body { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: 24px; }
.anc-approach__lead { font-size: 22px; line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; }
.anc-approach__text { font-size: 19px; line-height: 1.55; color: var(--anc-body2); }
.anc-pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 80px !important;
	border-top: 2px solid var(--anc-ink);
}
.anc-pillar {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 32px 32px 8px;
	border-right: 1px solid var(--anc-line);
}
.anc-pillar:first-child { padding-left: 0; }
.anc-pillar:last-child { padding-right: 0; border-right: 0; }
.anc-pillar__num { font-size: 15px; font-weight: 600; color: var(--anc-accent); }
.anc-pillar__title { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.anc-pillar__text { font-size: 18px; line-height: 1.5; color: var(--anc-body2); }
@media (max-width: 900px) {
	.anc-approach__top { display: block; }
	.anc-approach__body { margin-top: 32px !important; }
	.anc-approach__lead { font-size: 19px; }
	.anc-approach__text { font-size: 17px; }
	.anc-pillars { grid-template-columns: minmax(0, 1fr); margin-top: 48px !important; }
	.anc-pillar, .anc-pillar:first-child, .anc-pillar:last-child { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--anc-line); }
	.anc-pillar__title { font-size: 24px; }
}

/* ---------- Réalisations à 3 colonnes ---------- */
.anc-works__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
.anc-works__grid--3 .anc-work { gap: 14px; }
.anc-works__grid--3 .anc-work__media img { height: 260px; }
.anc-works__grid--3 .anc-work__media { margin-bottom: 6px; }
.anc-works__grid--3 .anc-work__title { margin-top: 0 !important; font-size: 26px; }
.anc-work__desc { font-size: 17px; line-height: 1.55; color: var(--anc-body2); }
.anc-works__grid--3 .anc-work__tools {
	text-align: left;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--anc-ink);
	padding-top: 12px;
	border-top: 1px solid var(--anc-line);
}
.anc-work__results { display: flex; gap: 32px; }
.anc-stat-mini__value { font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--anc-accent); }
.anc-stat-mini__label { margin-top: 6px !important; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--anc-muted); }
@media (max-width: 1000px) {
	.anc-works__grid--3 { grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 48px !important; }
	.anc-works__grid--3 .anc-work__media img { height: 240px; }
	.anc-works__grid--3 .anc-work__title { font-size: 24px; }
}

/* ---------- Offres par public ---------- */
.anc-audiences {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-top: 72px !important;
}
.anc-audience { display: flex; flex-direction: column; gap: 16px; }
.anc-audience__title {
	padding-bottom: 18px;
	border-bottom: 2px solid var(--anc-ink);
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
}
.anc-offer {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 32px;
	background: var(--anc-white);
}
.anc-offer__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.anc-offer__num { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--anc-muted); }
.anc-offer__badge {
	padding: 6px 12px;
	background: var(--anc-accent);
	color: var(--anc-white);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.2;
}
.anc-offer__title { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.anc-offer__text { font-size: 17px; line-height: 1.55; color: var(--anc-body2); }
.anc-offer--core { box-shadow: inset 0 0 0 2px var(--anc-accent); }
.anc-offer--core .anc-offer__num { color: var(--anc-accent); }
@media (max-width: 900px) {
	.anc-audiences { grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: 48px !important; }
	.anc-audience__title { font-size: 28px; }
	.anc-offer { padding: 24px; }
	.anc-offer__title { font-size: 23px; }
	.anc-offer__text { font-size: 16px; }
}

/* ==========================================================================
   v2.0 — Sélecteur de langue FR / EN et titre anglais
   ========================================================================== */
.anc-lang {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	margin: 0 0 0 auto;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.04em;
}
.anc-lang__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	color: var(--anc-muted);
	text-decoration: none;
}
a.anc-lang__item:hover,
a.anc-lang__item:focus-visible { color: var(--anc-accent); }
a.anc-lang__item:focus-visible { outline: 3px solid var(--anc-accent); outline-offset: -3px; }
.anc-lang__item.is-current { color: var(--anc-ink); }
.anc-lang__sep { color: var(--anc-line); }
.anc-header > .anc-lang { margin-left: auto; margin-right: 0; }
.anc-header > .anc-nav + .anc-lang { margin-left: 0; }
@media (max-width: 900px) {
	.anc-lang { font-size: 14px; gap: 2px; }
	.anc-header > .anc-lang { order: 2; margin-left: auto; }
	.anc-header > .anc-nav { order: 3; }
}

/* Titre d'ouverture anglais, plus long que la version française */
.anc-hero__title--en {
	font-size: clamp(46px, 9.6vw, 138px);
	padding-left: 1.2em;
	text-indent: -1.2em;
}
@media (max-width: 700px) {
	.anc-hero__title--en { padding-left: 0; text-indent: 0; }
}

/* Carte chiffre empilée (texte plus long, ex. « 15 years ») */
.anc-stat--stack { flex-direction: column; gap: 20px; }
.anc-stat--stack .anc-stat__value { white-space: nowrap; }
.anc-stat--stack .anc-stat__main .anc-label { margin-top: 20px !important; }
.anc-stat--stack .anc-stat__side { align-self: flex-start; width: auto; }
