/* ==========================================================================
   Portfolio by Adama Koubia — feuille de style principale
   Les couleurs, polices et formes viennent des variables CSS générées
   par l'outil de personnalisation (voir inc/dynamic-css.php).
   ========================================================================== */

/* ---------- 1. Variables dérivées & mode sombre ---------- */
:root {
	--c-bg: #ffffff;
	--c-surface: #ffffff;
	--c-surface-2: var(--c-light);
	--c-heading: var(--c-dark);
	--c-body: var(--c-text);
	--c-muted: rgba(var(--c-text-rgb), 0.68);
	--c-border: rgba(var(--c-text-rgb), 0.12);
	--c-link: var(--c-primary);
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.05);
	--shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.22);
	--shadow-lg: 0 30px 60px -24px rgba(15, 23, 42, 0.35);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--gutter: clamp(20px, 4vw, 40px);
	--section-y: clamp(64px, 9vw, 120px);
	--header-h: 84px;
	--btn-radius: var(--radius);
}

[data-theme="dark"] {
	--c-bg: #0f1218;
	--c-surface: #171b23;
	--c-surface-2: #12161d;
	--c-heading: #f3f4f6;
	--c-body: #d3d7de;
	--c-muted: rgba(211, 215, 222, 0.7);
	--c-border: rgba(255, 255, 255, 0.1);
	--c-link: var(--c-accent);
	--shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
	--shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
	color-scheme: dark;
}

.btn-style-pill { --btn-radius: 999px; }
.btn-style-sharp { --btn-radius: 0; }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-body);
	font-family: var(--f-body);
	font-size: var(--fs-base);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	transition: background-color 0.3s, color 0.3s;
}

img, video, iframe, svg { max-width: 100%; }
img { height: auto; display: block; }
svg.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }

a { color: var(--c-link); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--c-accent); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-heading);
	color: var(--c-heading);
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: var(--heading-spacing);
	text-transform: var(--heading-transform);
	margin: 0 0 0.6em;
	text-wrap: balance;
}
h1 { font-size: calc(clamp(2.2rem, 5vw, 3.6rem) * var(--h-scale)); }
h2 { font-size: calc(clamp(1.8rem, 3.6vw, 2.75rem) * var(--h-scale)); }
h3 { font-size: calc(clamp(1.2rem, 2vw, 1.45rem) * var(--h-scale)); }
h4 { font-size: 1.12rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--c-border); margin: 2.5em 0; }
::selection { background: var(--c-accent); color: var(--c-on-accent); }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus, .skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000;
	top: 8px; left: 8px; padding: 12px 20px; background: var(--c-surface);
	color: var(--c-heading); box-shadow: var(--shadow); border-radius: var(--radius);
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.container--content { max-width: calc(820px + var(--gutter) * 2); }

.grid { display: grid; gap: clamp(20px, 2.6vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--1 { grid-template-columns: 1fr; }

/* ---------- 3. Boutons ---------- */
.btn,
.wp-block-button__link,
:where(input[type="submit"], button[type="submit"]:not(.search-submit):not(.icon-btn)) {
	--btn-bg: var(--c-primary);
	--btn-fg: var(--c-on-primary);
	--btn-bd: var(--c-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	padding: 0.95em 1.7em;
	border: 2px solid var(--btn-bd);
	border-radius: var(--btn-radius);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--f-body);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.25s var(--ease), box-shadow 0.25s, background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover,
.wp-block-button__link:hover,
:where(input[type="submit"], button[type="submit"]:not(.search-submit):not(.icon-btn)):hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -10px rgba(var(--c-primary-rgb), 0.55);
	color: var(--btn-fg);
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--accent { --btn-bg: var(--c-accent); --btn-fg: var(--c-on-accent); --btn-bd: var(--c-accent); }
.btn--accent:hover { box-shadow: 0 12px 24px -10px rgba(var(--c-accent-rgb), 0.6); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--c-primary); --btn-bd: rgba(var(--c-primary-rgb), 0.3); }
.btn--outline:hover { --btn-bg: var(--c-primary); --btn-fg: var(--c-on-primary); --btn-bd: var(--c-primary); }
[data-theme="dark"] .btn--outline { --btn-fg: var(--c-heading); --btn-bd: var(--c-border); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.45); }
.btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--c-dark); --btn-bd: #fff; box-shadow: none; }
.btn--sm { padding: 0.7em 1.25em; font-size: 0.88rem; }

.btn-style-outline .btn--primary,
.btn-style-outline .btn--accent { --btn-fg: var(--btn-bd); --btn-bg: transparent; }
.btn-style-outline .btn--primary:hover { --btn-bg: var(--c-primary); --btn-fg: var(--c-on-primary); }
.btn-style-outline .btn--accent:hover { --btn-bg: var(--c-accent); --btn-fg: var(--c-on-accent); }
.btn-style-sharp .btn,
.btn-style-sharp .wp-block-button__link { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; }

.wp-block-button.is-style-outline > .wp-block-button__link { --btn-bg: transparent; --btn-fg: var(--c-primary); background: transparent; color: var(--c-primary); }

.link-more {
	display: inline-flex; align-items: center; gap: 0.4em;
	font-weight: 700; font-size: 0.9rem; color: var(--c-primary);
}
[data-theme="dark"] .link-more { color: var(--c-accent); }
.link-more svg { transition: transform 0.25s var(--ease); }
.link-more:hover svg { transform: translateX(4px); }

.icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
	background: transparent; color: inherit; cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}
.icon-btn:hover { background: rgba(var(--c-text-rgb), 0.07); }

/* ---------- 4. Barre supérieure ---------- */
.topbar {
	background: var(--c-dark);
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.82rem;
	position: relative;
	z-index: 51;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--c-accent); }
.topbar svg { color: var(--c-accent); }
.topbar__text { opacity: 0.9; }
.topbar-menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }

/* ---------- 5. En-tête ---------- */
.site-header {
	position: relative;
	z-index: 50;
	background: var(--c-surface);
	border-bottom: 1px solid var(--c-border);
	transition: background-color 0.35s, box-shadow 0.35s, border-color 0.35s, transform 0.35s var(--ease);
}
.has-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: var(--shadow); border-color: transparent; }

.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.site-branding { display: flex; flex-direction: column; justify-content: center; flex-shrink: 0; }
.site-branding .custom-logo { max-height: 62px; width: auto; }
.site-title { margin: 0; font-family: var(--f-heading); font-size: 1.45rem; font-weight: 800; line-height: 1.1; letter-spacing: var(--heading-spacing); text-transform: var(--heading-transform); }
.site-title a { color: var(--c-heading); }
.site-tagline { margin: 3px 0 0; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); }

.main-navigation { margin-left: auto; }
.main-navigation .menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-navigation li { position: relative; }
.main-navigation a {
	display: flex; align-items: center; gap: 4px;
	padding: 10px 14px;
	color: var(--c-heading);
	font-size: 0.95rem;
	font-weight: 600;
	border-radius: var(--radius);
	position: relative;
}
.main-navigation > .menu > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
	background: var(--c-accent); transform: scaleX(0); transform-origin: left;
	transition: transform 0.3s var(--ease);
}
.main-navigation > .menu > li:hover > a::after,
.main-navigation > .menu > li.current-menu-item > a::after,
.main-navigation > .menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.main-navigation a:hover { color: var(--c-primary); }
[data-theme="dark"] .main-navigation a:hover { color: var(--c-accent); }
.submenu-arrow { display: inline-flex; opacity: 0.6; }

.main-navigation .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 240px;
	list-style: none; margin: 0; padding: 10px;
	background: var(--c-surface); border: 1px solid var(--c-border);
	border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
}
.main-navigation .sub-menu .sub-menu { top: -10px; left: 100%; }
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu,
.main-navigation li.is-touched > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-navigation .sub-menu a { padding: 10px 14px; font-weight: 500; font-size: 0.92rem; }
.main-navigation .sub-menu a:hover { background: rgba(var(--c-primary-rgb), 0.06); }

.header-actions { display: flex; align-items: center; gap: 6px; color: var(--c-heading); }
.header-cta { margin-left: 8px; }
.menu-toggle { display: none; }

.theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: inline-flex; }
[data-theme="dark"] .theme-toggle__moon { display: none; }

/* Disposition centrée */
.site-header--centered .site-header__inner { flex-wrap: wrap; justify-content: center; padding-block: 18px 0; gap: 0; }
.site-header--centered .site-branding { width: 100%; align-items: center; text-align: center; order: 1; padding-bottom: 12px; }
.site-header--centered .main-navigation { margin: 0; order: 2; flex: 1; display: flex; justify-content: center; border-top: 1px solid var(--c-border); }
.site-header--centered .header-actions { order: 3; border-top: 1px solid var(--c-border); align-self: stretch; }

/* Disposition minimale */
.site-header--minimal .main-navigation { display: none; }
.site-header--minimal .header-actions { margin-left: auto; }
.site-header--minimal .menu-toggle { display: inline-flex; }

/* En-tête transparent sur la bannière */
.has-transparent-header .site-header:not(.is-scrolled) {
	position: absolute; left: 0; right: 0;
	background: transparent; border-color: rgba(255, 255, 255, 0.14);
}
.has-transparent-header.has-sticky-header .site-header { position: fixed; left: 0; right: 0; top: 0; }
.has-transparent-header.has-sticky-header.admin-bar .site-header { top: 32px; }
.has-transparent-header .topbar + .site-header:not(.is-scrolled) { top: 42px; }
.has-transparent-header.admin-bar .topbar + .site-header:not(.is-scrolled) { top: 74px; }
.has-transparent-header .site-header:not(.is-scrolled) .site-title a,
.has-transparent-header .site-header:not(.is-scrolled) .main-navigation > .menu > li > a,
.has-transparent-header .site-header:not(.is-scrolled) .header-actions { color: #fff; }
.has-transparent-header .site-header:not(.is-scrolled) .site-tagline { color: rgba(255, 255, 255, 0.75); }
.has-transparent-header .site-header:not(.is-scrolled) .icon-btn:hover { background: rgba(255, 255, 255, 0.12); }
.has-transparent-header .site-header:not(.is-scrolled) .site-header--centered .main-navigation,
.has-transparent-header .site-header--centered:not(.is-scrolled) .main-navigation,
.has-transparent-header .site-header--centered:not(.is-scrolled) .header-actions { border-color: rgba(255, 255, 255, 0.14); }
.has-transparent-header.hero-is-light .site-header:not(.is-scrolled) .site-title a,
.has-transparent-header.hero-is-light .site-header:not(.is-scrolled) .main-navigation > .menu > li > a,
.has-transparent-header.hero-is-light .site-header:not(.is-scrolled) .header-actions { color: var(--c-heading); }
.has-transparent-header.hero-is-light .site-header:not(.is-scrolled) { border-color: var(--c-border); }

/* Panneau mobile */
.mobile-panel {
	position: fixed; inset: 0 0 0 auto; z-index: 100;
	width: min(420px, 100%); height: 100%;
	display: flex; flex-direction: column;
	background: var(--c-surface); color: var(--c-heading);
	box-shadow: var(--shadow-lg);
	transform: translateX(100%);
	transition: transform 0.45s var(--ease);
	overflow-y: auto;
}
.mobile-panel[hidden] { display: flex; visibility: hidden; }
.mobile-panel.is-open { transform: none; visibility: visible; }
.mobile-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--c-border); }
.mobile-navigation { padding: 12px 24px; flex: 1; }
.mobile-menu, .mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a { display: flex; justify-content: space-between; padding: 14px 0; color: var(--c-heading); font-family: var(--f-heading); font-size: 1.25rem; font-weight: 600; border-bottom: 1px solid var(--c-border); }
.mobile-menu .sub-menu { padding-left: 16px; }
.mobile-menu .sub-menu a { font-family: var(--f-body); font-size: 1rem; font-weight: 500; }
.mobile-menu .submenu-arrow { display: none; }
.mobile-panel__foot { padding: 24px; display: grid; gap: 20px; }
.body-overlay { position: fixed; inset: 0; z-index: 99; background: rgba(0, 0, 0, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.menu-open .body-overlay { opacity: 1; pointer-events: auto; }
.menu-open, .lightbox-open, .search-open { overflow: hidden; }

/* Recherche plein écran */
.search-overlay {
	position: fixed; inset: 0; z-index: 110;
	display: grid; place-items: center;
	background: rgba(var(--c-dark-rgb), 0.97); color: #fff;
	opacity: 0; transition: opacity 0.3s;
}
.search-overlay[hidden] { display: none; }
.search-overlay.is-open { opacity: 1; }
.search-overlay__inner { width: min(760px, 90%); }
.search-overlay .eyebrow { color: var(--c-accent); }
.search-overlay .search-form { border-bottom: 2px solid rgba(255, 255, 255, 0.3); }
.search-overlay .search-field { background: transparent; border: 0; color: #fff; font-size: clamp(1.4rem, 4vw, 2.4rem); padding: 16px 0; font-family: var(--f-heading); }
.search-overlay .search-field::placeholder { color: rgba(255, 255, 255, 0.4); }
.search-overlay .search-submit { color: #fff; }
.search-overlay__close { position: absolute; top: 24px; right: 24px; color: #fff; }

/* ---------- 6. Sections : bases ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--tinted { background: var(--c-surface-2); }
.section--dark { background: var(--c-dark); color: rgba(255, 255, 255, 0.8); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow,
.is-style-eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	margin-bottom: 14px;
	color: var(--c-accent);
	font-family: var(--f-body);
	font-size: 0.8rem; font-weight: 700;
	letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow::before,
.is-style-eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }

.section-heading { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
.section-heading--left { margin-left: 0; text-align: left; }
.section-heading .section-title { margin-bottom: 0.35em; }
.section-heading .section-title em,
.hero__title em,
.section-cta__title em,
.newsletter-band em { font-style: normal; color: var(--c-accent); }
.section-intro { color: var(--c-muted); font-size: 1.08rem; }
.section-intro p:last-child { margin: 0; }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); flex-wrap: wrap; }
.section-heading-row .section-heading { margin-bottom: 0; }

.admin-hint {
	display: flex; align-items: center; gap: 10px;
	margin: 0 0 28px; padding: 12px 16px;
	border: 1px dashed rgba(var(--c-accent-rgb), 0.7); border-radius: var(--radius);
	background: rgba(var(--c-accent-rgb), 0.08); color: var(--c-heading);
	font-size: 0.88rem;
}
.admin-hint svg { color: var(--c-accent); }
.admin-hint a { font-weight: 700; text-decoration: underline; }

/* ---------- 7. Bannière ---------- */
.hero {
	position: relative;
	display: flex; align-items: center;
	overflow: hidden;
	background: var(--c-dark);
	color: rgba(255, 255, 255, 0.85);
	isolation: isolate;
}
.hero--h-full { min-height: 100vh; min-height: 100svh; }
.hero--h-large { min-height: min(88vh, 860px); }
.hero--h-medium { min-height: 560px; }
.has-transparent-header .hero { padding-top: var(--header-h); }

.hero__media, .hero__bg, .hero__video, .hero__overlay { position: absolute; inset: 0; }
.hero__media { z-index: -2; }
.hero__bg { background-size: cover; background-position: center; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { background: linear-gradient(100deg, rgba(var(--c-dark-rgb), calc(var(--hero-overlay) + 0.25)) 0%, rgba(var(--c-dark-rgb), var(--hero-overlay)) 55%, rgba(var(--c-dark-rgb), calc(var(--hero-overlay) - 0.15)) 100%); }
.hero--align-center .hero__overlay { background: rgba(var(--c-dark-rgb), var(--hero-overlay)); }

.hero--split { background: radial-gradient(120% 120% at 85% 20%, rgba(var(--c-accent-rgb), 0.22) 0%, transparent 45%), linear-gradient(135deg, var(--c-primary) 0%, var(--c-dark) 100%); }
.hero--split.hero--has-media .hero__overlay { background: linear-gradient(135deg, rgba(var(--c-primary-rgb), 0.92), rgba(var(--c-dark-rgb), 0.95)); }

.hero__pattern {
	position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
	background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
	background-size: 26px 26px;
	mask-image: linear-gradient(to bottom, #000 30%, transparent 90%);
	-webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 90%);
}
.hero--fullscreen .hero__pattern, .hero--video .hero__pattern { display: none; }

.hero__inner { display: grid; grid-template-columns: 1fr; align-items: center; gap: 48px; padding-block: clamp(80px, 10vw, 140px); }
.hero--split .hero__inner { grid-template-columns: 1.1fr 0.9fr; padding-bottom: 0; align-items: end; }
.hero--split .hero__content { padding-bottom: clamp(80px, 10vw, 140px); }
.hero__content { max-width: 760px; position: relative; }
.hero--align-center .hero__content { margin-inline: auto; text-align: center; }
.hero--align-center .hero__actions, .hero--align-center .social-icons--hero { justify-content: center; }
.hero--align-center .hero__eyebrow { justify-content: center; }

.hero__eyebrow {
	display: inline-flex; align-items: center; gap: 14px;
	margin-bottom: 22px;
	color: var(--c-accent); font-size: 0.85rem; font-weight: 700;
	letter-spacing: 0.22em; text-transform: uppercase;
	animation: fadeUp 0.9s var(--ease) both;
}
.hero__eyebrow-line { width: 40px; height: 2px; background: currentColor; }
.hero__title {
	color: #fff;
	font-size: calc(clamp(2.5rem, 6.2vw, 4.9rem) * var(--h-scale));
	line-height: 1.04;
	margin-bottom: 0.4em;
	animation: fadeUp 0.9s 0.1s var(--ease) both;
}
.hero__text { max-width: 600px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, 0.82); animation: fadeUp 0.9s 0.2s var(--ease) both; }
.hero--align-center .hero__text { margin-inline: auto; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; animation: fadeUp 0.9s 0.3s var(--ease) both; }
.hero .social-icons--hero { margin-top: 36px; animation: fadeUp 0.9s 0.4s var(--ease) both; }
.social-icons--hero a { color: rgba(255, 255, 255, 0.75); border: 1px solid rgba(255, 255, 255, 0.22); }
.social-icons--hero a:hover { color: var(--c-on-accent); background: var(--c-accent); border-color: var(--c-accent); }

.hero__visual { position: relative; align-self: end; display: flex; justify-content: center; }
.hero__portrait-wrap { position: relative; width: min(100%, 520px); animation: fadeIn 1.2s 0.2s var(--ease) both; }
.hero__ring {
	position: absolute; left: 50%; bottom: 8%; z-index: 0;
	width: 88%; aspect-ratio: 1; transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(var(--c-accent-rgb), 0.95), rgba(var(--c-accent-rgb), 0.55));
	box-shadow: 0 0 0 18px rgba(var(--c-accent-rgb), 0.12), 0 0 0 40px rgba(var(--c-accent-rgb), 0.06);
}
.hero__portrait { position: relative; z-index: 1; width: 100%; max-height: 78vh; object-fit: contain; object-position: bottom; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); }
.hero__monogram {
	display: grid; place-items: center;
	width: min(100%, 420px); aspect-ratio: 1; margin-bottom: clamp(80px, 10vw, 140px);
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: inset 0 0 0 22px rgba(255, 255, 255, 0.03), 0 0 0 40px rgba(var(--c-accent-rgb), 0.08);
	font-family: var(--f-heading); font-size: clamp(5rem, 12vw, 9rem); font-weight: 700;
	color: var(--c-accent); letter-spacing: -0.04em;
}
.hero__visual .admin-hint { position: absolute; bottom: 24px; left: 0; right: 0; background: rgba(0, 0, 0, 0.45); color: #fff; }

.hero--minimal { background: var(--c-surface-2); color: var(--c-body); }
.hero--minimal .hero__title { color: var(--c-heading); }
.hero--minimal .hero__text { color: var(--c-muted); }
.hero--minimal .hero__pattern { background-image: radial-gradient(rgba(var(--c-text-rgb), 0.08) 1px, transparent 1px); }
.hero--minimal .btn--ghost { --btn-fg: var(--c-heading); --btn-bd: var(--c-border); }
.hero--minimal .btn--ghost:hover { --btn-bg: var(--c-dark); --btn-fg: #fff; --btn-bd: var(--c-dark); }
.hero--minimal .social-icons--hero a { color: var(--c-heading); border-color: var(--c-border); }

.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.45); border-radius: 20px; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }

/* ---------- 8. À propos ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.is-reversed .about__media { order: 2; }
.about__media { position: relative; padding: 0 24px 24px 0; }
.about__frame { position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--c-surface-2); box-shadow: var(--shadow-lg); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__media::before { content: ""; position: absolute; inset: 24px 0 0 24px; border: 2px solid var(--c-accent); border-radius: var(--radius-lg); }
.about__placeholder { display: grid; place-items: center; height: 100%; color: var(--c-muted); }
.about__badge {
	position: absolute; z-index: 2; right: -6px; bottom: 48px;
	display: flex; flex-direction: column;
	padding: 20px 24px; min-width: 150px;
	background: var(--c-primary); color: var(--c-on-primary);
	border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.about__badge strong { font-family: var(--f-heading); font-size: 2.4rem; line-height: 1; color: var(--c-accent); }
.about__badge span { font-size: 0.82rem; margin-top: 6px; opacity: 0.9; }
.about__content .section-heading { margin-bottom: 24px; }
.about__text { font-size: 1.05rem; }
.about__text p:first-child { font-size: 1.15rem; color: var(--c-heading); }
.about__sign { display: flex; align-items: center; gap: 18px; margin: 28px 0 32px; padding-top: 24px; border-top: 1px solid var(--c-border); }
.about__sign strong { display: block; font-family: var(--f-heading); color: var(--c-heading); font-size: 1.15rem; }
.about__sign span { color: var(--c-muted); font-size: 0.9rem; }
.about__signature { max-height: 64px; width: auto; }
[data-theme="dark"] .about__signature { filter: invert(1); }

/* ---------- 9. Citation ---------- */
.section-quote { background: var(--c-primary); color: var(--c-on-primary); text-align: center; overflow: hidden; }
.section-quote.has-bg { background: var(--c-dark); }
.section-quote__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.18; }
.big-quote { position: relative; margin: 0; }
.big-quote__mark { display: inline-flex; color: var(--c-accent); margin-bottom: 18px; }
.big-quote blockquote { margin: 0; font-family: var(--f-heading); font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1.35; font-style: italic; color: inherit; }
.big-quote blockquote p { margin: 0; }
.big-quote figcaption { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; color: var(--c-accent); }
.big-quote figcaption span { width: 36px; height: 2px; background: currentColor; }

/* ---------- 10. Domaines d'action ---------- */
.pillar {
	position: relative; display: flex; flex-direction: column;
	background: var(--c-surface); border: 1px solid var(--c-border);
	border-radius: var(--radius-lg); overflow: hidden;
	transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-surface-2); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.06); }
.pillar__media--empty { display: grid; place-items: center; color: var(--c-accent); }
.pillar__body { position: relative; padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.pillar__num { font-family: var(--f-heading); font-size: 0.85rem; font-weight: 700; color: var(--c-accent); letter-spacing: 0.1em; margin-bottom: 8px; }
.pillar__title { font-size: 1.25rem; margin-bottom: 10px; }
.pillar__title a { color: inherit; }
.pillar__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pillar__excerpt { color: var(--c-muted); font-size: 0.95rem; margin-bottom: 18px; }
.pillar__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.88rem; color: var(--c-primary); }
[data-theme="dark"] .pillar__more { color: var(--c-accent); }
.pillar__more svg { transition: transform 0.3s var(--ease); }
.pillar:hover .pillar__more svg { transform: translateX(4px); }

.pillars--icon .pillar { padding: 34px 28px 30px; }
.pillars--icon .pillar__body { padding: 0; }
.pillar__icon {
	display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px;
	border-radius: var(--radius); background: rgba(var(--c-primary-rgb), 0.08); color: var(--c-primary);
	transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
[data-theme="dark"] .pillar__icon { background: rgba(var(--c-accent-rgb), 0.12); color: var(--c-accent); }
.pillars--icon .pillar:hover .pillar__icon { background: var(--c-accent); color: var(--c-on-accent); transform: rotate(-6deg); }
.pillars--icon .pillar::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.pillars--icon .pillar:hover::before { transform: scaleX(1); }

.pillars--overlay .pillar { min-height: 380px; border: 0; color: #fff; }
.pillars--overlay .pillar__media { position: absolute; inset: 0; aspect-ratio: auto; }
.pillars--overlay .pillar__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--c-dark-rgb), 0.95) 10%, rgba(var(--c-dark-rgb), 0.15) 70%); }
.pillars--overlay .pillar__body { margin-top: auto; flex: 0; z-index: 1; }
.pillars--overlay .pillar__title { color: #fff; }
.pillars--overlay .pillar__excerpt { color: rgba(255, 255, 255, 0.8); }
.pillars--overlay .pillar__more { color: var(--c-accent); }

/* ---------- 11. Chiffres clés ---------- */
.section-stats { padding-block: clamp(56px, 7vw, 88px); }
.section-stats--primary { background: var(--c-primary); color: var(--c-on-primary); }
.section-stats--dark { background: var(--c-dark); color: #fff; }
.section-stats--light { background: var(--c-surface-2); }
.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: calc(clamp(20px, 2.6vw, 32px) / -2); top: 15%; bottom: 15%; width: 1px; background: currentColor; opacity: 0.18; }
.stat__number { font-family: var(--f-heading); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.section-stats--light .stat__number { color: var(--c-primary); }
.stat__suffix { color: var(--c-accent); }
.stat__label { margin: 12px 0 0; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }

/* ---------- 12. Parcours ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(var(--c-accent), rgba(var(--c-accent-rgb), 0.1)); }
.timeline__item { position: relative; width: 50%; padding: 0 48px 32px 0; }
.timeline__item + .timeline__item { margin-top: -60px; }
.timeline__item:nth-child(even) { margin-left: 50%; padding: 0 0 32px 48px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot { position: absolute; top: 6px; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--c-bg); border: 4px solid var(--c-accent); }
.timeline__item:nth-child(even) .timeline__dot { right: auto; left: -9px; }
.timeline__card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 24px 28px; box-shadow: var(--shadow-sm); }
.timeline__item:nth-child(odd) .timeline__card { text-align: right; }
.timeline__year { display: inline-block; font-family: var(--f-heading); font-size: 1.6rem; font-weight: 700; color: var(--c-accent); line-height: 1; margin-bottom: 8px; }
.timeline__title { font-size: 1.15rem; margin-bottom: 6px; }
.timeline__card p { margin: 0; color: var(--c-muted); font-size: 0.95rem; }

/* ---------- 13. Témoignages ---------- */
.section-testimonials { overflow: hidden; }
.testimonials__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonials--slider .testimonials__track {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
	scrollbar-width: none; padding: 8px 4px 28px; margin: -8px -4px 0;
}
.testimonials--slider .testimonials__track::-webkit-scrollbar { display: none; }
.testimonials--slider .testimonial { flex: 0 0 calc((100% - 56px) / 3); scroll-snap-align: start; }
.testimonial {
	position: relative; margin: 0; display: flex; flex-direction: column;
	padding: 36px 32px 30px; background: var(--c-surface);
	border: 1px solid var(--c-border); border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}
.testimonial__mark { color: rgba(var(--c-accent-rgb), 0.85); margin-bottom: 14px; }
.testimonial__stars { color: var(--c-accent); letter-spacing: 3px; margin-bottom: 10px; }
.testimonial__text { margin: 0 0 26px; font-size: 1.02rem; line-height: 1.75; color: var(--c-body); flex: 1; }
.testimonial__author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--c-border); }
.testimonial__author img, .testimonial__initial { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial__initial { display: grid; place-items: center; background: var(--c-primary); color: var(--c-on-primary); font-family: var(--f-heading); font-weight: 700; font-size: 1.25rem; }
.testimonial__author strong { display: block; color: var(--c-heading); font-family: var(--f-heading); }
.testimonial__author em { font-style: normal; color: var(--c-muted); font-size: 0.88rem; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; }
.slider-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-heading); cursor: pointer; transition: all 0.25s; }
.slider-btn:hover { background: var(--c-primary); color: var(--c-on-primary); border-color: var(--c-primary); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 9px; background: var(--c-border); cursor: pointer; transition: all 0.3s var(--ease); }
.slider-dots button.is-active { width: 28px; background: var(--c-accent); }

/* ---------- 14. Cartes d'articles ---------- */
.card {
	display: flex; flex-direction: column; position: relative;
	background: var(--c-surface); border: 1px solid var(--c-border);
	border-radius: var(--radius-lg); overflow: hidden;
	transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--c-muted); background: linear-gradient(135deg, rgba(var(--c-primary-rgb), 0.08), rgba(var(--c-accent-rgb), 0.12)); }
.card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.2rem; margin: 10px 0 10px; }
.card__title a { color: var(--c-heading); }
.card__title a:hover { color: var(--c-primary); }
[data-theme="dark"] .card__title a:hover { color: var(--c-accent); }
.card__excerpt { color: var(--c-muted); font-size: 0.95rem; }
.card__excerpt p { margin-bottom: 16px; }
.card .link-more { margin-top: auto; }

.post-cat {
	display: inline-block; align-self: flex-start;
	padding: 4px 11px; border-radius: 999px;
	background: rgba(var(--c-accent-rgb), 0.14); color: var(--c-heading);
	font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.post-cat:hover { background: var(--c-accent); color: var(--c-on-accent); }

.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--c-muted); font-size: 0.82rem; margin-bottom: 12px; }
.post-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta a { color: inherit; }

.card--featured { grid-row: span 2; }
.card--featured .card__media { aspect-ratio: 16 / 10; }
.card--featured .card__title { font-size: calc(clamp(1.4rem, 2.4vw, 1.9rem) * var(--h-scale)); }

.news-featured { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; }
.news-list { display: flex; flex-direction: column; gap: 6px; }
.news-item { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; padding: 16px; border-radius: var(--radius-lg); transition: background-color 0.3s; }
.news-item:hover { background: var(--c-surface-2); }
.news-item__thumb { display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--c-surface-2); }
.news-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item__title { font-size: 1.05rem; margin: 8px 0 6px; line-height: 1.3; }
.news-item__title a { color: var(--c-heading); }
.news-item__date { color: var(--c-muted); font-size: 0.82rem; }

/* ---------- 15. Agenda ---------- */
.events { display: grid; gap: 16px; }
.event {
	display: grid; grid-template-columns: 96px 1fr auto; gap: 28px; align-items: center;
	padding: 22px 26px; background: var(--c-surface);
	border: 1px solid var(--c-border); border-radius: var(--radius-lg);
	transition: box-shadow 0.3s, transform 0.3s var(--ease);
}
.event:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.event.is-past { opacity: 0.7; }
.event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 8px; border-radius: var(--radius); background: var(--c-primary); color: var(--c-on-primary); text-align: center; line-height: 1; }
.event__date strong { font-family: var(--f-heading); font-size: 2rem; }
.event__date span { text-transform: uppercase; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; margin-top: 6px; color: var(--c-accent); }
.event__date em { font-style: normal; font-size: 0.72rem; opacity: 0.75; margin-top: 4px; }
.event__title { font-size: 1.2rem; margin-bottom: 6px; }
.event__title a { color: var(--c-heading); }
.event__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--c-muted); font-size: 0.88rem; }
.event__meta span { display: inline-flex; align-items: center; gap: 6px; }
.event__badge { padding: 2px 10px; border-radius: 999px; background: var(--c-border); font-size: 0.75rem; }
.event__excerpt { margin: 8px 0 0; color: var(--c-muted); font-size: 0.92rem; }

.event-box { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; background: var(--c-surface-2); border-radius: var(--radius-lg); }
.event-box ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.event-box li { display: flex; gap: 12px; align-items: flex-start; }
.event-box svg { color: var(--c-accent); margin-top: 3px; }
.event-box__past { margin: 12px 0 0; color: var(--c-muted); font-size: 0.9rem; }

/* ---------- 16. Vidéo ---------- */
.video-block { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.section--dark .section-intro { color: rgba(255, 255, 255, 0.7); }
.video-embed {
	position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
	border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
	background: #000; box-shadow: var(--shadow-lg);
}
.video-embed img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 0.7s var(--ease), opacity 0.4s; }
.video-embed:hover img { transform: scale(1.04); opacity: 0.7; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed__play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	display: grid; place-items: center; width: 86px; height: 86px; padding-left: 5px;
	border-radius: 50%; background: var(--c-accent); color: var(--c-on-accent);
	box-shadow: 0 0 0 14px rgba(var(--c-accent-rgb), 0.25);
	animation: pulse 2.4s infinite;
}

/* ---------- 17. Galerie ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.gallery-grid__item { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--c-surface-2); }
.gallery-grid.has-feature .gallery-grid__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-grid__item:hover img { transform: scale(1.07); }
.gallery-grid__zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(var(--c-primary-rgb), 0.55); color: #fff; opacity: 0; transition: opacity 0.35s; }
.gallery-grid__item:hover .gallery-grid__zoom { opacity: 1; }

/* ---------- 18. Logos ---------- */
.section-logos { padding-block: clamp(40px, 5vw, 64px); border-block: 1px solid var(--c-border); }
.logos__title { text-align: center; margin: 0 0 28px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-muted); }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 56px; }
.logos__item img { max-height: 46px; width: auto; transition: filter 0.3s, opacity 0.3s; }
.is-grayscale .logos__item img { filter: grayscale(1); opacity: 0.6; }
.is-grayscale .logos__item:hover img { filter: none; opacity: 1; }
[data-theme="dark"] .logos__item img { filter: grayscale(1) invert(1); opacity: 0.7; }

/* ---------- 19. Widgets d'accueil ---------- */
.home-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.home-widget { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 24px; overflow: hidden; }

/* ---------- 20. Lettre d'information ---------- */
.section-newsletter { padding-block: clamp(48px, 6vw, 80px); }
.newsletter-band {
	display: grid; grid-template-columns: auto 1fr 1.1fr; gap: 32px; align-items: center;
	padding: clamp(32px, 4vw, 52px);
	border-radius: var(--radius-lg);
	background: linear-gradient(120deg, var(--c-primary), var(--c-dark));
	color: rgba(255, 255, 255, 0.85);
	position: relative; overflow: hidden;
}
.newsletter-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(var(--c-accent-rgb), 0.12); pointer-events: none; }
.newsletter-band__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(var(--c-accent-rgb), 0.18); color: var(--c-accent); }
.newsletter-band h2 { color: #fff; font-size: calc(clamp(1.5rem, 2.6vw, 2rem) * var(--h-scale)); margin-bottom: 8px; }
.newsletter-band p { margin: 0; }
.newsletter-band__form { position: relative; z-index: 1; }
.newsletter-form__row { display: flex; gap: 10px; }
.newsletter-form__row input { flex: 1; min-width: 0; }
.newsletter-band input[type="email"] { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.newsletter-band input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.6); }
.newsletter-form--stacked .newsletter-form__row { flex-direction: column; }

/* ---------- 21. Appel à l'action ---------- */
.section-cta { background: var(--c-dark); color: rgba(255, 255, 255, 0.82); text-align: center; overflow: hidden; }
.section-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(var(--c-accent-rgb), 0.18), transparent 70%); pointer-events: none; }
.section-cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.22; background-attachment: fixed; }
.section-cta__inner { position: relative; }
.section-cta__icon { display: inline-grid; place-items: center; width: 70px; height: 70px; margin-bottom: 24px; border-radius: 50%; background: var(--c-accent); color: var(--c-on-accent); }
.section-cta__title { color: #fff; font-size: calc(clamp(2rem, 4.4vw, 3.4rem) * var(--h-scale)); }
.section-cta__text { font-size: 1.12rem; max-width: 620px; margin-inline: auto; }
.section-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }

/* ---------- 22. Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-cards { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.contact-cards li { display: flex; align-items: center; gap: 16px; }
.contact-cards__icon { display: grid; place-items: center; width: 50px; height: 50px; flex-shrink: 0; border-radius: var(--radius); background: var(--c-surface); color: var(--c-primary); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .contact-cards__icon { color: var(--c-accent); }
.contact-cards small { display: block; color: var(--c-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.contact-cards a, .contact-cards span { color: var(--c-heading); font-weight: 600; }
.contact__form { background: var(--c-surface); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.contact-map iframe { display: block; width: 100%; height: 400px; border: 0; filter: grayscale(0.85) contrast(1.05); }
[data-theme="dark"] .contact-map iframe { filter: grayscale(1) invert(0.9) hue-rotate(180deg); }

/* ---------- 23. Formulaires ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="password"], input[type="number"], input[type="date"], select, textarea {
	width: 100%; padding: 0.85em 1em;
	border: 1.5px solid var(--c-border); border-radius: var(--radius);
	background: var(--c-bg); color: var(--c-heading);
	font: inherit; font-size: 0.95rem; line-height: 1.4;
	transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--c-accent); box-shadow: 0 0 0 4px rgba(var(--c-accent-rgb), 0.18); }
textarea { resize: vertical; min-height: 140px; }
label { font-size: 0.88rem; font-weight: 600; color: var(--c-heading); }
.field { margin: 0 0 18px; }
.field label { display: block; margin-bottom: 7px; }
.field--consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--c-muted); }
.field--consent input { margin-top: 5px; }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.req { color: var(--c-accent); }
.hp-field { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.presence-form { position: relative; }
.form-notice { margin-bottom: 18px; padding: 12px 16px; border-radius: var(--radius); font-weight: 600; font-size: 0.92rem; }
.form-notice--success { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.form-notice--error { background: rgba(220, 38, 38, 0.1); color: #b91c1c; }
.section--dark .form-notice--success, .newsletter-band .form-notice--success { background: rgba(255, 255, 255, 0.12); color: #fff; }

.search-form { position: relative; display: flex; }
.search-form .search-field { padding-right: 52px; }
.search-submit { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--c-heading); cursor: pointer; }

/* ---------- 24. Bandeau des pages internes ---------- */
.page-header { position: relative; padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); background: var(--c-primary); color: var(--c-on-primary); overflow: hidden; isolation: isolate; }
.page-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 120% at 100% 0%, rgba(var(--c-accent-rgb), 0.25), transparent 55%); }
.page-header__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-header.has-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--c-dark-rgb), 0.9), rgba(var(--c-dark-rgb), 0.55)); }
.page-header__title { color: #fff; margin: 0; max-width: 900px; }
.page-header__subtitle { margin: 14px 0 0; max-width: 680px; font-size: 1.1rem; opacity: 0.85; }
.has-transparent-header .page-header { padding-top: calc(var(--header-h) + 64px); }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; opacity: 0.8; }
.breadcrumbs a { color: inherit; }
.breadcrumbs a:hover { color: var(--c-accent); }
.breadcrumbs .sep { opacity: 0.5; }

/* ---------- 25. Blog ---------- */
.layout { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); }
.layout--sidebar-right { grid-template-columns: minmax(0, 1fr) 320px; }
.layout--sidebar-left { grid-template-columns: 320px minmax(0, 1fr); }
.layout--sidebar-left .layout__aside { order: -1; }
.layout--sidebar-none .layout__main { max-width: 100%; }

.posts { display: grid; gap: 30px; }
.posts--grid, .posts--masonry { grid-template-columns: repeat(3, 1fr); }
.has-sidebar .posts--grid, .has-sidebar .posts--masonry { grid-template-columns: repeat(2, 1fr); }
.posts--masonry .card--featured { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: 1.3fr 1fr; }
.posts--masonry .card--featured .card__media { aspect-ratio: auto; min-height: 340px; height: 100%; }
.posts--masonry .card--featured .card__body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
.posts--list .card { display: grid; grid-template-columns: 38% 1fr; }
.posts--list .card__media { aspect-ratio: auto; height: 100%; min-height: 220px; }

.empty-state { text-align: center; padding: 64px 24px; color: var(--c-muted); }
.empty-state svg { color: var(--c-accent); margin-bottom: 16px; }
.empty-state .search-form { max-width: 460px; margin: 24px auto 0; }

.pagination, .nav-links { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border: 1px solid var(--c-border); border-radius: var(--radius); color: var(--c-heading); font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--c-primary); color: var(--c-on-primary); border-color: var(--c-primary); }

.widget { margin-bottom: 36px; }
.layout__aside .widget { padding: 26px; background: var(--c-surface-2); border-radius: var(--radius-lg); }
.widget-title { font-size: 1rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--c-border); position: relative; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--c-accent); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--c-border); }
.widget li:last-child { border: 0; }
.widget li a { color: var(--c-heading); }

/* Article seul */
.post-hero { padding: clamp(56px, 8vw, 100px) 0 36px; text-align: center; background: var(--c-surface-2); }
.has-transparent-header .post-hero { padding-top: calc(var(--header-h) + 56px); }
.post-hero .breadcrumbs { justify-content: center; color: var(--c-muted); }
.post-hero .post-cat { margin-bottom: 18px; }
.post-hero__title { font-size: calc(clamp(2rem, 4.6vw, 3.3rem) * var(--h-scale)); }
.post-hero .post-meta { justify-content: center; font-size: 0.9rem; }
.post-cover { margin: 0 auto; }
.single-post .post-cover { margin-top: -1px; padding-top: 0; }
.post-cover img { width: 100%; border-radius: var(--radius-lg); max-height: 640px; object-fit: cover; }
.post-cover figcaption { text-align: center; color: var(--c-muted); font-size: 0.85rem; margin-top: 10px; }
.single-post .layout--sidebar-none .layout__main { max-width: 780px; margin-inline: auto; }

.entry-footer { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--c-border); display: grid; gap: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { padding: 5px 13px; border-radius: 999px; background: var(--c-surface-2); color: var(--c-heading); font-size: 0.82rem; }
.tags a:hover { background: var(--c-primary); color: var(--c-on-primary); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.share__label { font-weight: 700; font-size: 0.85rem; color: var(--c-heading); margin-right: 6px; text-transform: uppercase; letter-spacing: 0.1em; }
.share__btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-heading); cursor: pointer; transition: all 0.25s; }
.share__btn:hover { color: #fff; border-color: transparent; transform: translateY(-2px); }
.share--whatsapp:hover { background: #25d366; }
.share--facebook:hover { background: #1877f2; }
.share--x:hover { background: #000; }
.share--linkedin:hover { background: #0a66c2; }
.share--telegram:hover { background: #229ed9; }
.share--copy:hover { background: var(--c-accent); color: var(--c-on-accent); }
.share--copy.is-copied { background: #16a34a; color: #fff; }

.author-box { display: flex; gap: 22px; align-items: center; margin-top: 40px; padding: 28px; border-radius: var(--radius-lg); background: var(--c-surface-2); }
.author-box img { border-radius: 50%; }
.author-box h3 { margin: 4px 0 6px; }
.author-box p { margin: 0; color: var(--c-muted); }

.post-navigation { margin-top: 48px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; }
.post-navigation a { display: block; height: 100%; padding: 20px 24px; border: 1px solid var(--c-border); border-radius: var(--radius-lg); color: var(--c-heading); transition: border-color 0.25s, box-shadow 0.25s; }
.post-navigation a:hover { border-color: var(--c-accent); box-shadow: var(--shadow); }
.post-navigation .nav-next { text-align: right; }
.nav-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--c-muted); margin-bottom: 6px; }
.nav-title { font-family: var(--f-heading); font-weight: 700; }

/* Commentaires */
.comments-area { margin-top: 56px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: clamp(16px, 4vw, 48px); }
.comment-body { padding: 22px 0; border-bottom: 1px solid var(--c-border); }
.comment-author { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--c-heading); }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 0.8rem; margin: 4px 0 10px; }
.comment-metadata a { color: var(--c-muted); }
.comment-form p { margin-bottom: 16px; }
.comment-form label { display: block; margin-bottom: 6px; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* ---------- 26. Contenu (éditeur) ---------- */
.entry-content { font-size: 1.06rem; }
.entry-content > * { margin-block: 0 1.3em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.8em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content a:not(.wp-block-button__link):not(.btn) { text-decoration: underline; text-decoration-color: rgba(var(--c-accent-rgb), 0.6); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.entry-content blockquote:not(.big-quote blockquote), .wp-block-quote { margin-inline: 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--c-accent); font-family: var(--f-heading); font-size: 1.25rem; font-style: italic; color: var(--c-heading); }
.wp-block-quote cite, .wp-block-pullquote cite { display: block; margin-top: 10px; font-family: var(--f-body); font-style: normal; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-accent); }
.wp-block-pullquote { border-block: 3px solid var(--c-accent); padding: 32px 0; }
.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .wp-caption-text { color: var(--c-muted); font-size: 0.85rem; text-align: center; margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--c-border); text-align: left; }
.entry-content th { color: var(--c-heading); background: var(--c-surface-2); }
.entry-content pre { background: var(--c-dark); color: #e5e7eb; padding: 20px; border-radius: var(--radius); overflow-x: auto; font-size: 0.9rem; }
.entry-content code { background: var(--c-surface-2); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.entry-content pre code { background: none; padding: 0; }
.entry-content .wp-block-embed iframe { border-radius: var(--radius); }

.alignwide { margin-inline: calc(-1 * min(120px, 6vw)); max-width: calc(100% + 2 * min(120px, 6vw)); }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.entry-content--canvas > .alignfull, .entry-content--wide > .alignfull { margin-inline: calc(50% - 50vw); }
.alignleft { float: left; margin: 0.3em 1.6em 1em 0; }
.alignright { float: right; margin: 0.3em 0 1em 1.6em; }
.aligncenter { margin-inline: auto; text-align: center; }
.wp-caption { max-width: 100%; }
.sticky .card__title::before { content: "★ "; color: var(--c-accent); }
.gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 12px; }
.gallery-columns-2 { --cols: 2; } .gallery-columns-4 { --cols: 4; } .gallery-columns-5 { --cols: 5; }
.gallery-item { margin: 0; }

/* Styles de blocs Présence */
.is-style-lead { font-size: 1.25rem; line-height: 1.6; color: var(--c-heading); }
.wp-block-group.is-style-card { padding: clamp(24px, 3vw, 36px); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); height: 100%; }
.wp-block-group.is-style-tinted { padding: clamp(28px, 4vw, 56px); background: var(--c-surface-2); border-radius: var(--radius-lg); }
.wp-block-image.is-style-frame { position: relative; padding: 0 18px 18px 0; }
.wp-block-image.is-style-frame::before { content: ""; position: absolute; inset: 18px 0 0 18px; border: 2px solid var(--c-accent); border-radius: var(--radius-lg); }
.wp-block-image.is-style-frame img { position: relative; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.wp-block-quote.is-style-statement { border: 0; padding: clamp(32px, 5vw, 56px); text-align: center; background: var(--c-primary); color: var(--c-on-primary); border-radius: var(--radius-lg); font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.wp-block-quote.is-style-statement p { color: inherit; }
.wp-block-heading.is-style-underline { padding-bottom: 14px; background: linear-gradient(var(--c-accent), var(--c-accent)) left bottom / 56px 3px no-repeat; }
.has-text-align-center.is-style-underline { background-position: center bottom; }

.presence-timeline { position: relative; padding-left: 36px; margin-top: 2em; }
.presence-timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--c-accent), rgba(var(--c-accent-rgb), 0.15)); }
.presence-timeline__item { position: relative; padding-bottom: 28px; }
.presence-timeline__item::before { content: ""; position: absolute; left: -36px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--c-bg); border: 4px solid var(--c-accent); }
.presence-timeline__item h3 { margin: 0 0 6px; }
.presence-timeline__item p { margin: 0; }
.entry-content .presence-timeline__year { font-family: var(--f-heading); font-weight: 700; font-size: 1.4rem; color: var(--c-accent); margin: 0 0 4px; line-height: 1; }

.has-primary-color { color: var(--c-primary) !important; }
.has-accent-color { color: var(--c-accent) !important; }
.has-dark-color { color: var(--c-dark) !important; }
.has-light-color { color: var(--c-light) !important; }
.has-white-color { color: #fff !important; }
.has-primary-background-color { background-color: var(--c-primary) !important; }
.has-accent-background-color { background-color: var(--c-accent) !important; }
.has-dark-background-color { background-color: var(--c-dark) !important; }
.has-light-background-color { background-color: var(--c-light) !important; }
.has-white-background-color { background-color: #fff !important; }

.presence-embedded-section .section { padding-inline: 0; }

/* Page 404 */
.error-404 { text-align: center; }
.error-404__code { font-family: var(--f-heading); font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1; margin: 0; color: transparent; -webkit-text-stroke: 2px var(--c-accent); }
.error-404 .search-form { max-width: 460px; margin: 28px auto; }

/* ---------- 27. Pied de page ---------- */
.site-footer { padding-top: clamp(56px, 7vw, 96px); background: var(--c-dark); color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
.site-footer--primary { background: var(--c-primary); color: rgba(255, 255, 255, 0.78); }
.site-footer--light { background: var(--c-surface-2); color: var(--c-body); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: clamp(32px, 4vw, 56px); padding-bottom: 48px; }
.site-footer:not(.site-footer--light) .widget-title,
.site-footer:not(.site-footer--light) .site-title a,
.site-footer:not(.site-footer--light) h1,
.site-footer:not(.site-footer--light) h2,
.site-footer:not(.site-footer--light) h3 { color: #fff; }
.site-footer .widget-title { border-color: rgba(255, 255, 255, 0.1); }
.site-footer--light .widget-title { border-color: var(--c-border); }
.site-footer:not(.site-footer--light) .site-tagline { color: rgba(255, 255, 255, 0.55); }
.site-footer .custom-logo { max-height: 70px; width: auto; margin-bottom: 8px; }
.site-footer:not(.site-footer--light) .custom-logo-link { display: inline-block; background: #fff; padding: 8px 12px; border-radius: var(--radius); }
.footer-about { margin: 18px 0 22px; }
.footer-small { font-size: 0.88rem; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--c-accent); }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-menu a { position: relative; padding-left: 0; transition: padding-left 0.25s var(--ease), color 0.2s; }
.footer-menu a:hover { padding-left: 8px; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { color: var(--c-accent); margin-top: 3px; }
.site-footer:not(.site-footer--light) input[type="email"] { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); color: #fff; }
.site-footer:not(.site-footer--light) .widget li { border-color: rgba(255, 255, 255, 0.08); }
.site-footer:not(.site-footer--light) .widget li a { color: rgba(255, 255, 255, 0.8); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; }
.site-footer--light .footer-bottom { border-color: var(--c-border); }
.footer-bottom p { margin: 0; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 0; }

/* Icônes sociales */
.social-icons { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social-icons a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: inherit; transition: all 0.25s var(--ease); }
.social-icons--small { gap: 4px; }
.social-icons--small a { width: 30px; height: 30px; }
.social-icons--boxed a { background: rgba(var(--c-text-rgb), 0.06); color: var(--c-heading); }
.social-icons--boxed a:hover { background: var(--c-accent); color: var(--c-on-accent); transform: translateY(-3px); }
.site-footer:not(.site-footer--light) .social-icons--boxed a { background: rgba(255, 255, 255, 0.08); color: #fff; }
.site-footer:not(.site-footer--light) .social-icons--boxed a:hover { background: var(--c-accent); color: var(--c-on-accent); }

/* ---------- 28. Éléments flottants ---------- */
.back-to-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 40;
	display: grid; place-items: center; width: 48px; height: 48px;
	border-radius: 50%; background: var(--c-primary); color: var(--c-on-primary);
	box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none;
	transition: opacity 0.3s, transform 0.3s var(--ease), background-color 0.2s;
}
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--c-accent); color: var(--c-on-accent); }
.whatsapp-float { position: fixed; left: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 25px -6px rgba(37, 211, 102, 0.6); animation: pulseGreen 2.6s infinite; }
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }

.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; background: rgba(0, 0, 0, 0.92); }
.lightbox[hidden] { display: none; }
.lightbox__stage { display: grid; place-items: center; height: 100vh; padding: 40px 0; }
.lightbox__stage img { max-height: 86vh; width: auto; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); animation: fadeIn 0.35s var(--ease); }
.lightbox .icon-btn { color: #fff; width: 52px; height: 52px; }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, 0.12); }
.lightbox__close { position: absolute; top: 18px; right: 18px; }

/* ---------- 29. Lien en bio ---------- */
.page-linkinbio { background: linear-gradient(160deg, var(--c-primary), var(--c-dark)); min-height: 100vh; }
.linkinbio { display: grid; place-items: start center; min-height: 100vh; padding: 48px 18px; }
.linkinbio__card { width: min(100%, 480px); text-align: center; color: rgba(255, 255, 255, 0.85); }
.linkinbio__photo { width: 120px; height: 120px; margin: 0 auto 18px; border-radius: 50%; object-fit: cover; border: 4px solid var(--c-accent); }
.linkinbio__logo { margin-bottom: 18px; }
.linkinbio__logo img { margin: 0 auto; max-height: 90px; width: auto; }
.linkinbio__name { color: #fff; font-size: 1.7rem; margin-bottom: 6px; }
.linkinbio__tagline { margin-bottom: 18px; }
.linkinbio .social-icons { justify-content: center; margin-bottom: 26px; }
.linkinbio .social-icons--boxed a { background: rgba(255, 255, 255, 0.12); color: #fff; }
.linkinbio__links .wp-block-buttons { flex-direction: column; gap: 12px; }
.linkinbio__links .wp-block-button { width: 100%; }
.linkinbio__links .wp-block-button__link { width: 100%; --btn-bg: #fff; --btn-fg: var(--c-dark); --btn-bd: #fff; padding: 1.05em 1.4em; }
.linkinbio__links p { color: rgba(255, 255, 255, 0.8); }
.linkinbio__home { display: inline-block; margin-top: 30px; color: rgba(255, 255, 255, 0.7); font-size: 0.88rem; }

/* ---------- 30. Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--c-accent-rgb), 0.45); } 60% { box-shadow: 0 0 0 22px rgba(var(--c-accent-rgb), 0); } }
@keyframes pulseGreen { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } 60% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }

.js .has-animations .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .has-animations .reveal.is-visible { opacity: 1; transform: none; }
body:not(.has-animations) .hero__bg { animation: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.js .has-animations .reveal { opacity: 1; transform: none; }
}

/* ---------- 31. Responsive ---------- */
@media (max-width: 1180px) {
	.main-navigation a { padding: 10px 10px; font-size: 0.9rem; }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.newsletter-band { grid-template-columns: 1fr; text-align: center; }
	.newsletter-band__icon { margin-inline: auto; }
}

@media (max-width: 1024px) {
	:root { --header-h: 74px; }
	.main-navigation, .site-header--centered .main-navigation { display: none; }
	.menu-toggle { display: inline-flex; }
	.header-actions { margin-left: auto; }
	.site-header--centered .site-header__inner { flex-wrap: nowrap; padding: 0; gap: 16px; }
	.site-header--centered .site-branding { width: auto; align-items: flex-start; text-align: left; padding: 0; }
	.site-header--centered .header-actions { border: 0; align-self: center; }
	.hero--split .hero__inner { grid-template-columns: 1fr; padding-bottom: 0; }
	.hero--split .hero__content { padding-bottom: 0; }
	.hero__portrait-wrap { width: min(80%, 420px); }
	.hero__monogram { width: min(70%, 300px); margin: 0 auto 64px; }
	.about { grid-template-columns: 1fr; }
	.is-reversed .about__media { order: 0; }
	.about__media { max-width: 520px; }
	.grid--3, .posts--grid, .posts--masonry { grid-template-columns: repeat(2, 1fr); }
	.testimonials--slider .testimonial { flex-basis: calc((100% - 28px) / 2); }
	.testimonials--grid .testimonials__track { grid-template-columns: repeat(2, 1fr); }
	.news-featured, .video-block, .contact { grid-template-columns: 1fr; }
	.layout--sidebar-right, .layout--sidebar-left { grid-template-columns: 1fr; }
	.layout--sidebar-left .layout__aside { order: 0; }
	.gallery-grid { grid-template-columns: repeat(3, 1fr); }
	.timeline::before { left: 9px; }
	.timeline__item, .timeline__item:nth-child(even), .timeline__item + .timeline__item { width: 100%; margin: 0; padding: 0 0 32px 44px; }
	.timeline__dot, .timeline__item:nth-child(even) .timeline__dot { left: 0; right: auto; }
	.timeline__item:nth-child(odd) .timeline__card { text-align: left; }
	.posts--masonry .card--featured { grid-template-columns: 1fr; }
	.posts--masonry .card--featured .card__media { min-height: 0; aspect-ratio: 16 / 9; }
	.section-cta__bg { background-attachment: scroll; }
}

@media (max-width: 782px) {
	.admin-bar.has-sticky-header .site-header,
	.has-transparent-header.has-sticky-header.admin-bar .site-header { top: 46px; }
	.has-transparent-header.admin-bar .topbar + .site-header:not(.is-scrolled) { top: 88px; }
	.topbar__left span:not(.topbar__text) { display: none; }
	.topbar__text { display: none; }
}

@media (max-width: 680px) {
	.header-cta { display: none; }
	.grid--2, .grid--3, .grid--4, .posts--grid, .posts--masonry, .has-sidebar .posts--grid { grid-template-columns: 1fr; }
	.stats.grid--4, .stats.grid--3 { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.stat:nth-child(odd)::before { display: none; }
	.testimonials--slider .testimonial { flex-basis: 88%; }
	.testimonials--grid .testimonials__track { grid-template-columns: 1fr; }
	.event { grid-template-columns: 74px 1fr; gap: 18px; padding: 18px; }
	.event__action { grid-column: 1 / -1; }
	.event__date strong { font-size: 1.6rem; }
	.posts--list .card { grid-template-columns: 1fr; }
	.posts--list .card__media { aspect-ratio: 3 / 2; min-height: 0; }
	.news-item { grid-template-columns: 84px 1fr; padding: 12px 0; }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.form-row--2 { grid-template-columns: 1fr; }
	.newsletter-form__row { flex-direction: column; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; text-align: center; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { text-align: left; }
	.author-box { flex-direction: column; text-align: center; }
	.hero__actions .btn { flex: 1 1 100%; }
	.section-heading-row { align-items: flex-start; }
	.alignwide { margin-inline: 0; max-width: 100%; }
	.alignleft, .alignright { float: none; margin: 0 0 1em; }
	.lightbox { grid-template-columns: 44px 1fr 44px; }
}

/* ---------- 32. Widgets en blocs ---------- */
.widget h2, .widget .wp-block-heading, .widget .wp-block-search__label { font-size: 1rem; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--c-border); }
.wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.wp-block-search__button { padding: 0.75em 1.1em; border: 0; border-radius: var(--radius); background: var(--c-primary); color: var(--c-on-primary); font-weight: 700; cursor: pointer; }
.wp-block-latest-posts, .wp-block-archives, .wp-block-categories { list-style: none; padding: 0; }
