/*
Theme Name: VITA
Theme URI: https://example.org/vita
Author: Direction Diocésaine des Œuvres — diocèse de Thiès
Description: Thème de la plateforme VITA, Revue de l'Apostolat des Laïcs du diocèse de Thiès (Sénégal). À utiliser avec l'extension « VITA Core ».
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: vita
*/

/* =========================================================
   Polices locales (licence SIL Open Font License)
   ========================================================= */
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-latin.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }

/* =========================================================
   Design system — couleurs du logo officiel
   (pour revenir au bleu #154360 : modifier --brand-*)
   ========================================================= */
:root {
	--brand-50: #eef7f1; --brand-100: #d5ecdd; --brand-200: #a9d7ba; --brand-600: #0a7337; --brand-700: #075c2c; --brand-800: #064a24; --brand-900: #053a1d; --brand-950: #032412;
	--gold-300: #f5e73c; --gold-400: #e2c449; --gold-500: #c9a227;
	--cream: #f8f6f0; --ink: #263238; --ink-soft: #4a575d; --muted: #5f6b70; --line: #e3ddd0; --white: #fff; --heading: #12261c;
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--radius: 1rem; --shadow: 0 18px 40px -24px rgba(6, 74, 36, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand-700); }
a:hover { color: var(--brand-900); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--heading); letter-spacing: -.01em; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold-300); color: var(--heading); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

/* ---------- Mise en page ---------- */
.vita-container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .vita-container { padding-inline: 1.5rem; } }
.vita-container--narrow { max-width: 900px; }
.vita-container--text { max-width: 780px; }
.vita-section { padding-block: 4rem 0; }
.vita-section--tight { padding-block: 2.5rem; }
.vita-mt { margin-top: 1.5rem; }
.vita-mt-lg { margin-top: 3.5rem; }
.vita-center { text-align: center; }
.vita-muted { color: var(--muted); font-size: .95rem; }
.vita-cap::first-letter, .vita-cap-first::first-letter { text-transform: uppercase; }
.vita-cap { display: inline-block; }
.vita-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.vita-row--tight { gap: .5rem; }
.vita-row--center { justify-content: center; }
.vita-row--start { align-items: flex-start; flex-wrap: nowrap; gap: 1rem; }
.vita-stack { display: grid; gap: .9rem; }
.vita-stack > .vita-btn { justify-self: start; }
.vita-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .vita-grid--2, .vita-grid--3, .vita-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vita-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .vita-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vita-split { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .vita-split { grid-template-columns: 1fr 1fr; } .vita-split--wide { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.vita-split > div > .vita-btn { margin-top: 1rem; }
.vita-h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.vita-h3 { font-size: 1.35rem; }
.vita-rule { border-bottom: 1px solid var(--line); padding-bottom: .5rem; }
.vita-rounded { border-radius: var(--radius); width: 100%; }
.vita-lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Boutons, badges ---------- */
.vita-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .65rem 1.25rem; border-radius: 999px; font: 600 .95rem/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, transform .2s; text-align: center; }
.vita-btn:active { transform: translateY(1px); }
.vita-btn--primary { background: var(--brand-600); color: #fff; }
.vita-btn--primary:hover { background: var(--brand-700); color: #fff; }
.vita-btn--gold { background: var(--gold-500); color: #1b1606; }
.vita-btn--gold:hover { background: var(--gold-400); color: #1b1606; }
.vita-btn--outline { border-color: currentColor; color: var(--brand-700); background: transparent; }
.vita-btn--outline:hover { background: var(--brand-50); }
.vita-btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.vita-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.vita-btn--sm { min-height: 36px; padding: .4rem .9rem; font-size: .85rem; }
.vita-btn--block { width: 100%; }
.vita-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; }
.vita-iconbtn:hover { background: var(--brand-50); color: var(--ink); }
.vita-iconbtn--outline { border: 1px solid var(--line); background: #fff; }
.vita-eyebrow { font: 700 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-700); margin: 0 0 .5rem; }
.vita-eyebrow--light { color: var(--gold-300); }
.vita-badge { display: inline-flex; align-items: center; gap: .25rem; border-radius: 999px; padding: .1rem .55rem; font: 700 .7rem/1.6 var(--sans); letter-spacing: .04em; text-transform: uppercase; background: #f1f1ef; color: #4b5563; border: 1px solid #e5e7eb; vertical-align: middle; }
.vita-badge--demo { background: #fef3c7; color: #78350f; border-color: #fcd34d; }
.vita-badge--red { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.vita-badge--gold { background: #fbf3d6; color: #6b5410; border-color: #ecd88f; }
.vita-pill { display: inline-block; border-radius: 999px; padding: .25rem .75rem; background: var(--gold-500); color: var(--brand-950); font: 700 .72rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.vita-pill--soft { background: var(--brand-50); color: var(--brand-800); }
.vita-chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; margin-bottom: 2rem; scrollbar-width: none; }
.vita-chip { flex-shrink: 0; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .45rem 1rem; font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; }
.vita-chip:hover, .vita-chip[aria-current] { border-color: var(--brand-600); color: var(--brand-700); }
.vita-chip[aria-current] { background: var(--brand-600); color: #fff; }
.vita-chip span { opacity: .7; font-weight: 400; }
.vita-notice { display: flex; gap: .6rem; align-items: flex-start; border-radius: .9rem; border: 1px solid #bae6fd; background: #f0f9ff; color: #0c4a6e; padding: 1rem; font-size: .95rem; margin: 0 0 1.25rem; }
.vita-notice--success { border-color: var(--brand-200); background: var(--brand-50); color: var(--brand-900); }
.vita-notice--error { border-color: #fecaca; background: #fef2f2; color: #7f1d1d; }
.vita-notice--warning { border-color: #fcd34d; background: #fffbeb; color: #78350f; }
.vita-notice .vita-icon { flex-shrink: 0; margin-top: .15rem; }
.vita-skip { position: absolute; left: -9999px; top: .5rem; z-index: 100; background: #fff; padding: .6rem 1rem; border-radius: .5rem; font-weight: 600; }
.vita-skip:focus { left: .5rem; }
.vita-stretched::after { content: ""; position: absolute; inset: 0; }

/* ---------- En-tête ---------- */
.vita-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.admin-bar .vita-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .vita-header { top: 0; } }
.vita-topbar { display: none; background: var(--brand-800); color: rgba(255, 255, 255, .85); font-size: .82rem; }
@media (min-width: 768px) { .vita-topbar { display: block; } }
.vita-topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.vita-topbar p { margin: 0; }
.vita-topbar__menu { display: flex; gap: 1.25rem; }
.vita-topbar a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.vita-topbar a:hover { color: #fff; text-decoration: underline; }
.vita-header__main { display: flex; align-items: center; justify-content: space-between; gap: .5rem; height: 64px; }
@media (min-width: 640px) { .vita-header__main { height: 72px; gap: 1rem; } }
.vita-logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.vita-logo__img { width: 40px; height: 40px; transition: transform .5s; }
@media (min-width: 640px) { .vita-logo__img { width: 48px; height: 48px; } }
.vita-logo:hover .vita-logo__img { transform: rotate(8deg); }
.vita-logo__text { line-height: 1; }
.vita-logo__name { display: block; font: 700 1.45rem/1 var(--serif); letter-spacing: .12em; color: var(--brand-700); }
.vita-logo__tag { display: none; margin-top: .25rem; font: 600 .62rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 400px) { .vita-logo__tag { display: block; } }
.vita-logo--light .vita-logo__name { color: #fff; }
.vita-logo--light .vita-logo__tag { color: rgba(255, 255, 255, .7); }
.vita-nav { display: none; }
@media (min-width: 1200px) { .vita-nav { display: block; } }
.vita-nav__menu { display: flex; gap: .25rem; }
.vita-nav__menu a { position: relative; display: block; padding: .5rem .75rem; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; }
.vita-nav__menu a:hover { background: var(--brand-50); color: var(--brand-800); }
.vita-nav__menu a[aria-current] { color: var(--brand-700); }
.vita-nav__menu a[aria-current]::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: -2px; height: 2px; border-radius: 2px; background: var(--gold-500); }
.vita-header__actions { display: flex; align-items: center; gap: .25rem; flex-shrink: 0; }
.vita-header__cta { min-height: 40px; padding: .5rem .9rem; }
.vita-show-xs { display: inline; }
.vita-hide-xs { display: none; }
@media (min-width: 640px) { .vita-show-xs { display: none; } .vita-hide-xs { display: inline; } .vita-header__cta { padding: .6rem 1.2rem; } }
.vita-menu-toggle { display: inline-grid; }
@media (min-width: 1200px) { .vita-menu-toggle { display: none; } }
.vita-searchbar { border-top: 1px solid var(--line); padding: .9rem 0; background: #fff; }
.vita-searchform { display: flex; gap: .5rem; }
.vita-searchform input[type=search] { flex: 1; min-width: 0; }

/* Menu mobile */
.vita-mobile[hidden] { display: none; }
.vita-mobile { position: fixed; inset: 0; z-index: 60; }
.vita-mobile__backdrop { position: absolute; inset: 0; border: 0; background: rgba(3, 36, 18, .5); cursor: pointer; }
.vita-mobile__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: #fff; display: flex; flex-direction: column; overflow-y: auto; box-shadow: -10px 0 40px rgba(0, 0, 0, .2); }
.admin-bar .vita-mobile__panel { top: 46px; }
@media (min-width: 783px) { .admin-bar .vita-mobile__panel { top: 32px; } }
.vita-mobile__head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.vita-mobile__title { font: 700 1.25rem var(--serif); color: var(--brand-700); }
.vita-mobile__search { padding: 1.25rem 1.25rem 0; }
.vita-mobile__menu { padding: .75rem; }
.vita-mobile__menu a { display: flex; min-height: 48px; align-items: center; padding: 0 .75rem; border-radius: .6rem; font-weight: 600; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.vita-mobile__menu a:hover, .vita-mobile__menu a[aria-current] { background: var(--brand-50); color: var(--brand-800); }
.vita-mobile__foot { margin-top: auto; padding: 1.25rem; border-top: 1px solid var(--line); }
body.vita-noscroll { overflow: hidden; }

/* ---------- Formulaires ---------- */
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], input[type=url], input[type=password], select, textarea, .vita-select {
	width: 100%; min-height: 44px; border: 1px solid #cfc8b8; background: #fff; border-radius: .6rem; padding: .55rem .8rem; font: inherit; font-size: 1rem; color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(10, 115, 55, .3); border-color: var(--brand-600); }
label { font-weight: 600; font-size: .92rem; }
.vita-field { margin: 0; }
.vita-field label { display: block; margin-bottom: .35rem; }
.vita-field small { display: block; color: var(--muted); font-size: .8rem; margin-top: .3rem; }
.vita-form__grid { display: grid; gap: 1.1rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .vita-form__grid { grid-template-columns: 1fr 1fr; } .vita-field--full { grid-column: 1 / -1; } }
.vita-check label { display: flex; gap: .55rem; align-items: flex-start; font-weight: 400; }
.vita-check input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--brand-600); flex-shrink: 0; }
.vita-form__intro { color: var(--muted); }
.vita-form__note { color: var(--muted); font-size: .85rem; margin-top: .75rem; }
.vita-hp { position: absolute !important; left: -9999px; }
.vita-filters { display: grid; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
@media (min-width: 768px) { .vita-filters { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; } .vita-filters--search { grid-template-columns: 1fr auto; } }

/* ---------- Bandeau d'accueil ---------- */
.vita-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--brand-900); color: #fff; }
.vita-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; z-index: -2; }
.vita-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 36, 18, .92), rgba(5, 58, 29, .7) 55%, rgba(5, 58, 29, .1)); }
.vita-hero__art { position: absolute; inset: 0; z-index: -2; }
.vita-hero__art::before { content: ""; position: absolute; right: -8rem; top: -10rem; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 231, 60, .45), rgba(245, 231, 60, 0) 62%); }
.vita-hero__art svg { position: absolute; right: -2.5rem; top: -6rem; width: 520px; height: 520px; opacity: .25; fill: var(--gold-300); }
.vita-hero__inner { display: grid; gap: 2.5rem; align-items: center; padding-block: 4rem; }
@media (min-width: 768px) { .vita-hero__inner { padding-block: 6rem; } }
@media (min-width: 1024px) { .vita-hero__inner { grid-template-columns: 1.4fr 1fr; } }
.vita-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.5vw, 3.8rem); line-height: 1.05; margin: .75rem 0 1rem; }
.vita-hero__sub { font-size: clamp(1.1rem, 2vw, 1.3rem); color: rgba(255, 255, 255, .85); max-width: 40rem; }
.vita-hero__actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
@media (min-width: 640px) { .vita-hero__actions { flex-direction: row; } }
.vita-hero__logo { display: none; justify-self: center; width: 300px; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); animation: vita-up .8s both; }
@media (min-width: 1024px) { .vita-hero__logo { display: block; } }
.vita-hero__text { animation: vita-up .7s both; }
@keyframes vita-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Titres de section ---------- */
.vita-section-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.vita-section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 0; }
@media (min-width: 768px) { .vita-section-head { flex-direction: row; justify-content: space-between; align-items: flex-end; } .vita-split .vita-section-head { flex-direction: column; align-items: flex-start; } }

/* ---------- Carrousel ---------- */
.vita-carousel { position: relative; }
.vita-carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 1.5rem; scrollbar-width: none; overscroll-behavior-x: contain; }
.vita-carousel__track::-webkit-scrollbar { display: none; }
.vita-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; background: var(--brand-900); aspect-ratio: 4 / 5; overflow: hidden; }
@media (min-width: 640px) { .vita-slide { aspect-ratio: 16 / 9; } }
@media (min-width: 1024px) { .vita-slide { aspect-ratio: 21 / 9; } }
.vita-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vita-slide__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 36, 18, .95), rgba(3, 36, 18, .55) 55%, rgba(3, 36, 18, .05)); }
@media (min-width: 1024px) { .vita-slide__shade { background: linear-gradient(90deg, rgba(3, 36, 18, .95), rgba(3, 36, 18, .6) 50%, transparent); } }
.vita-slide__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 1.5rem 4.5rem; color: #fff; }
@media (min-width: 640px) { .vita-slide__body { padding: 2.5rem 2.5rem 4.5rem; } }
@media (min-width: 1024px) { .vita-slide__body { top: 0; max-width: 58%; display: flex; flex-direction: column; justify-content: center; padding: 3.5rem; } }
.vita-slide__meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .9rem; color: rgba(255, 255, 255, .8); margin: 0; }
.vita-slide h3 { color: #fff; font-size: clamp(1.5rem, 3.5vw, 2.6rem); margin: .75rem 0; }
.vita-slide__excerpt { color: rgba(255, 255, 255, .85); max-width: 40rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vita-carousel__controls { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1rem; display: flex; justify-content: space-between; align-items: center; }
@media (min-width: 1024px) { .vita-carousel__controls { left: 3.5rem; } }
.vita-carousel__dots { display: flex; gap: .5rem; }
.vita-carousel__dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; padding: 0; transition: width .3s; }
.vita-carousel__dots button[aria-current="true"] { width: 32px; background: var(--gold-300); }
.vita-carousel__btns { display: flex; gap: .5rem; }
.vita-carousel__btns button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; }
.vita-carousel__btns button:hover { background: rgba(255, 255, 255, .28); }

/* ---------- Cartes ---------- */
.vita-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s; }
.vita-card:hover { box-shadow: var(--shadow); }
.vita-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-900); }
.vita-card__media img, .vita-card__media .vita-thumb-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.vita-card:hover .vita-card__media img { transform: scale(1.04); }
.vita-card__media .vita-badge { position: absolute; left: .75rem; top: .75rem; }
.vita-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.4rem 1.4rem; }
.vita-card__meta { display: flex; flex-wrap: wrap; gap: .75rem; font-size: .78rem; color: var(--muted); margin: 0; }
.vita-card__cat { font: 700 .74rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); margin: 0; }
.vita-card__title { font-size: 1.3rem; margin: .5rem 0 .4rem; }
.vita-card__title a { color: inherit; text-decoration: none; }
.vita-card__title a:hover { color: var(--brand-700); }
.vita-card__excerpt { color: var(--muted); font-size: .97rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vita-card__more { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; color: var(--brand-700); }
@media (min-width: 640px) { .vita-card--horizontal { flex-direction: row; } .vita-card--horizontal .vita-card__media { width: 38%; flex-shrink: 0; aspect-ratio: auto; } }
.vita-thumb-fallback { display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px; background: linear-gradient(135deg, var(--brand-700), var(--brand-900)); color: rgba(255, 255, 255, .7); font: 700 1.8rem var(--serif); letter-spacing: .2em; }

/* Événements */
.vita-event { position: relative; display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; transition: box-shadow .3s; }
.vita-event:hover { box-shadow: var(--shadow); }
.vita-event.is-past { opacity: .75; }
.vita-event__meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: 0; }
.vita-event__title { font-size: 1.15rem; margin: .3rem 0 .4rem; }
.vita-event__title a { color: inherit; text-decoration: none; }
.vita-event__facts { display: grid; gap: .2rem; font-size: .88rem; color: var(--muted); }
.vita-event__facts li { display: flex; gap: .4rem; align-items: center; }
.vita-dateblock { display: flex; flex-direction: column; align-items: center; width: 64px; flex-shrink: 0; border-radius: .8rem; background: var(--brand-600); color: #fff; padding: .45rem 0; text-align: center; line-height: 1.1; }
.vita-dateblock span { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.vita-dateblock strong { font: 700 1.6rem/1 var(--serif); }
.vita-dateblock.is-past { background: #eceae4; color: #6b7280; }

/* Revue */
.vita-edition { display: flex; flex-direction: column; }
.vita-edition__cover { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: .5rem; background: var(--brand-900); box-shadow: 0 20px 40px -24px rgba(6, 74, 36, .6); }
.vita-edition__cover img, .vita-edition__cover .vita-thumb-fallback { width: 100%; height: 100%; object-fit: cover; }
.vita-edition__cover .vita-badge { position: absolute; left: .5rem; top: .5rem; }
.vita-edition__meta { margin: 1rem 0 0; font: 700 .74rem/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); }
.vita-edition__title { font-size: 1.15rem; margin: .3rem 0; }
.vita-edition__title a { color: inherit; text-decoration: none; }
.vita-edition__price { font: 700 1.3rem var(--serif); color: var(--brand-800); margin: .25rem 0 .75rem; }
.vita-edition__actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.vita-tilt { display: block; transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.vita-tilt:hover { transform: perspective(1200px) rotateY(-6deg) translateY(-6px); box-shadow: 24px 30px 50px -20px rgba(6, 74, 36, .45); }
@media (prefers-reduced-motion: reduce) { .vita-tilt:hover { transform: none; } }
.vita-revue-band { margin-top: 5rem; background: #fff; padding-block: 4rem; }
@media (min-width: 768px) { .vita-revue-band { padding-block: 6rem; } }
.vita-revue-band__inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .vita-revue-band__inner { grid-template-columns: minmax(0, 400px) 1fr; gap: 4rem; } }
.vita-revue-band__cover { position: relative; max-width: 360px; width: 100%; margin-inline: auto; }
.vita-revue-band__cover .vita-tilt { aspect-ratio: 3 / 4; overflow: hidden; border-radius: .5rem; box-shadow: 0 30px 60px -28px rgba(6, 74, 36, .65); }
.vita-revue-band__cover img { width: 100%; height: 100%; object-fit: cover; }
.vita-revue-band__cover .vita-badge { position: absolute; top: -.75rem; left: 1rem; }
.vita-revue-band__title { font-size: clamp(2rem, 4vw, 3rem); }
.vita-price { font: 700 2.2rem/1.1 var(--serif); color: var(--brand-800); margin: 1.5rem 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem; }
.vita-price small { font: 400 .9rem var(--sans); color: var(--muted); }
.vita-reveal { transition: opacity .7s ease-out, transform .7s ease-out; }
.vita-js .vita-reveal:not(.is-visible) { opacity: 0; transform: translateY(24px); }
.vita-edition-hero { background: #fff; padding-block: 2.5rem 3.5rem; }
.vita-edition-hero__grid { display: grid; gap: 2.5rem; margin-top: 2rem; }
@media (min-width: 1024px) { .vita-edition-hero__grid { grid-template-columns: minmax(0, 400px) 1fr; gap: 4rem; } }
.vita-edition-hero__cover { position: relative; max-width: 400px; width: 100%; margin-inline: auto; }
.vita-edition-hero__cover .vita-tilt { aspect-ratio: 3 / 4; overflow: hidden; border-radius: .5rem; box-shadow: 0 30px 60px -28px rgba(6, 74, 36, .65); }
.vita-edition-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.vita-edition-hero__cover .vita-badge { position: absolute; top: -.75rem; left: 1rem; }
.vita-edition-hero__title { font-size: clamp(2rem, 4vw, 3rem); }
.vita-buybox { border: 1px solid var(--line); background: var(--cream); border-radius: var(--radius); padding: 1.5rem; margin: 1.75rem 0; }
.vita-buybox .vita-price { margin: 0 0 1rem; }
.vita-previews img { border-radius: .5rem; border: 1px solid var(--line); }
.vita-toc li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.vita-toc li:last-child { border: 0; }
.vita-order-band { background: #fff; border-top: 1px solid var(--line); padding-block: 3.5rem; scroll-margin-top: 90px; }
.vita-facts { display: flex; flex-wrap: wrap; gap: .75rem 2rem; color: var(--ink-soft); font-size: .95rem; }
.vita-facts li { display: flex; gap: .5rem; align-items: center; }
.vita-facts .vita-icon { color: var(--brand-700); }
.vita-steps { display: grid; gap: 1.5rem; margin-top: 4rem; background: #fff; border: 1px solid var(--line); border-radius: 1.5rem; padding: 2rem; }
@media (min-width: 768px) { .vita-steps { grid-template-columns: repeat(3, 1fr); padding: 2.5rem; } }
.vita-steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--gold-500); font: 700 1.1rem var(--serif); color: var(--brand-950); }
.vita-steps h2 { font-size: 1.25rem; margin: .75rem 0 .25rem; }
.vita-steps p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Documents */
.vita-doclist { display: grid; gap: .75rem; margin-bottom: 1rem; }
.vita-doc { position: relative; display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.vita-doc:hover { border-color: var(--brand-200); }
.vita-doc h2, .vita-doc h3 { font-size: 1.12rem; margin: .25rem 0; }
.vita-doc h2 a, .vita-doc h3 a { color: inherit; text-decoration: none; }
.vita-doc__icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: .8rem; background: var(--brand-50); color: var(--brand-700); }
.vita-doc__meta { font: 700 .72rem/1.5 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--brand-700); margin: 0; }
.vita-filebox { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; margin: 1.5rem 0; }
.vita-filebox > div { flex: 1; display: grid; }

/* Bloc DDO */
.vita-ddo-band { margin-top: 5rem; background: var(--brand-800); color: #fff; padding-block: 4rem; }
.vita-ddo-band__inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .vita-ddo-band__inner { grid-template-columns: 1fr 1fr; } }
.vita-ddo-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.vita-ddo-band p { color: rgba(255, 255, 255, .8); }
.vita-tile { display: block; border-radius: var(--radius); background: rgba(255, 255, 255, .1); padding: 1.5rem; color: #fff; text-decoration: none; transition: background .2s; }
.vita-tile:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.vita-tile .vita-icon { color: var(--gold-300); }
.vita-tile h3 { color: #fff; font-size: 1.25rem; margin: 1rem 0 .4rem; }
.vita-tile p { margin: 0; font-size: .92rem; }

/* Partenaires */
.vita-partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 768px) { .vita-partners { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vita-partner { display: flex; flex-direction: column; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.vita-partner a { display: flex; flex-direction: column; align-items: center; gap: .5rem; color: inherit; text-decoration: none; }
.vita-partner__logo { height: 80px; width: 100%; object-fit: contain; filter: grayscale(1); transition: filter .3s; }
.vita-partner:hover .vita-partner__logo { filter: none; }
.vita-partner__name { font-weight: 600; font-size: .9rem; }

/* En-tête de page, fil d'Ariane */
.vita-page-header { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); padding-block: 2.5rem 3rem; }
@media (min-width: 768px) { .vita-page-header { padding-block: 3.5rem; } }
.vita-page-header::before { content: ""; position: absolute; right: -6rem; top: -6rem; width: 18rem; height: 18rem; border-radius: 50%; background: radial-gradient(circle, rgba(245, 231, 60, .35), transparent 65%); pointer-events: none; }
.vita-page-header .vita-eyebrow { margin-top: 1.5rem; }
.vita-page-header__title { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.1; margin: .5rem 0 0; max-width: 56rem; }
.vita-page-header__intro { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 48rem; margin: 1rem 0 0; }
.vita-page-header .vita-badge { margin-top: 1rem; }
.vita-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .88rem; color: var(--muted); }
.vita-crumbs li + li::before { content: "›"; margin-right: .3rem; opacity: .6; }
.vita-crumbs a { color: var(--muted); text-decoration: none; }
.vita-crumbs a:hover { color: var(--brand-700); text-decoration: underline; }
.vita-crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Listes d'articles */
.vita-browser { display: grid; gap: 2.5rem; padding-block: 2.5rem; }
@media (min-width: 1024px) { .vita-browser { grid-template-columns: minmax(0, 1fr) 300px; } }
.vita-toolbar { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; margin-bottom: 1.5rem; }
.vita-searchform--inline { flex: 1; max-width: 480px; }
.vita-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: .25rem; }
.vita-toggle a { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 .9rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.vita-toggle a[aria-current] { background: var(--brand-600); color: #fff; }
.vita-sidebar { display: grid; gap: 1.5rem; align-content: start; }
.vita-box { display: block; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; color: inherit; text-decoration: none; }
a.vita-box:hover { border-color: var(--brand-200); }
.vita-box__title { font: 700 .8rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-700); margin: 0 0 .9rem; }
.vita-box--brand { background: var(--brand-800); color: #fff; border: 0; display: grid; gap: .75rem; justify-items: start; }
.vita-box--brand:hover { color: #fff; }
.vita-box__big { font: 600 1.4rem/1.25 var(--serif); }
.vita-box--link { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.vita-box--tile { display: grid; gap: .5rem; transition: transform .2s, box-shadow .2s; }
.vita-box--tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.vita-tile__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: .8rem; background: var(--brand-600); color: #fff; }
.vita-sidelist li a { display: flex; justify-content: space-between; padding: .45rem .7rem; border-radius: .5rem; color: var(--ink); text-decoration: none; font-size: .95rem; }
.vita-sidelist li a span { color: var(--muted); }
.vita-sidelist li a:hover { background: var(--cream); }
.vita-sidelist li a[aria-current] { background: var(--brand-50); color: var(--brand-800); font-weight: 600; }
.vita-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 3rem; }
.vita-pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 .75rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.vita-pagination .current { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.vita-empty { display: grid; justify-items: center; gap: .75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 3rem 1.5rem; text-align: center; color: var(--muted); }
.vita-empty .vita-icon { color: var(--brand-700); }
.vita-results { display: grid; gap: 1rem; margin-top: 1.5rem; }
.vita-result { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.vita-result h2 { font-size: 1.25rem; margin: .5rem 0 .25rem; }
.vita-result h2 a { color: inherit; text-decoration: none; }
.vita-result h2 a:hover { color: var(--brand-700); }

/* Article */
.vita-article__head { background: #fff; padding-block: 2rem 2rem; }
@media (min-width: 768px) { .vita-article__head { padding-top: 3rem; } }
.vita-article__tags { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 2rem 0 0; }
.vita-article__title { font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.1; margin: 1rem 0 0; }
.vita-article__lead { font: 400 clamp(1.2rem, 2.2vw, 1.45rem)/1.5 var(--serif); color: var(--ink-soft); margin: 1.25rem 0 0; }
.vita-article__byline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.25rem; font-size: .9rem; color: var(--muted); }
.vita-article__byline p { margin: 0; }
.vita-article__cover { max-width: 1160px; margin: 0 auto; }
.vita-article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.vita-article__cover figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.vita-article .vita-container--text { padding-top: 2.5rem; }
.vita-article__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; border-block: 1px solid var(--line); padding-block: 1.5rem; margin-top: 2.5rem; }
.vita-article__taglist { font-size: .9rem; color: var(--muted); }
.vita-adjacent { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .vita-adjacent { grid-template-columns: 1fr 1fr; } }
.vita-adjacent .vita-box { display: grid; gap: .3rem; }
.vita-adjacent strong { font: 600 1.1rem/1.3 var(--serif); }
.vita-adjacent__next { text-align: right; }

/* Texte éditorial */
.vita-prose { font-size: 1.125rem; line-height: 1.8; color: #2b373c; }
.vita-prose > * + * { margin-top: 1.15em; }
.vita-prose h2 { font-size: 1.65rem; margin-top: 2em; }
.vita-prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.vita-prose ul { list-style: disc; padding-left: 1.4em; }
.vita-prose ol { list-style: decimal; padding-left: 1.4em; }
.vita-prose blockquote { margin: 1.5em 0; border-left: 4px solid var(--gold-500); padding: .4em 0 .4em 1.2em; font: 400 1.2em/1.6 var(--serif); color: var(--heading); background: linear-gradient(90deg, rgba(201, 162, 39, .08), transparent); }
.vita-prose blockquote p { margin: 0; }
.vita-prose figure img, .vita-prose .wp-block-image img { border-radius: .75rem; }
.vita-prose figcaption, .vita-prose .wp-element-caption { font-size: .85rem; color: var(--muted); margin-top: .5em; }
.vita-prose a { text-decoration: underline; text-underline-offset: 3px; }
.vita-prose table { width: 100%; border-collapse: collapse; font-size: .95em; }
.vita-prose th, .vita-prose td { border-bottom: 1px solid var(--line); padding: .5em; text-align: left; }
.vita-prose--light, .vita-prose--light p { color: rgba(255, 255, 255, .85); font-size: 1rem; }
.vita-prose--light strong { color: #fff; }
.vita-prose--light a { color: var(--gold-300); }
.vita-list { list-style: disc; padding-left: 1.3em; }

/* Partage */
.vita-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.vita-share__label { font-size: .9rem; font-weight: 600; color: var(--muted); margin-right: .25rem; }
.vita-share__btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.vita-share__btn--whatsapp:hover { background: #1f9d55; color: #fff; }
.vita-share__btn--facebook:hover { background: #1877f2; color: #fff; }
.vita-share__btn--linkedin:hover { background: #0a66c2; color: #fff; }
.vita-share__btn--x:hover { background: #000; color: #fff; }
.vita-share__btn--mail:hover, .vita-share__btn:hover { background: var(--brand-600); color: #fff; }

/* Agenda */
.vita-agenda-bar { display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0 1.5rem; }
@media (min-width: 1024px) { .vita-agenda-bar { flex-direction: row; justify-content: space-between; align-items: center; } }
.vita-agenda-bar__title { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 .5rem; }
.vita-cal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vita-cal__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.vita-cal__row:last-child { border-bottom: 0; }
.vita-cal__head { background: var(--cream); text-align: center; font: 700 .72rem/2.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vita-cal__cell { min-height: 64px; padding: .3rem; border-right: 1px solid var(--line); display: grid; align-content: start; gap: .25rem; }
.vita-cal__cell:last-child { border-right: 0; }
.vita-cal__cell.is-out { background: rgba(248, 246, 240, .7); }
@media (min-width: 640px) { .vita-cal__cell { min-height: 112px; padding: .4rem; } }
.vita-cal__num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; font-size: .88rem; color: var(--ink); text-decoration: none; }
.is-out .vita-cal__num { color: #9ca3af; }
.vita-cal__num.is-today { background: var(--gold-500); color: var(--brand-950); font-weight: 700; }
.vita-chipev, .vita-cal__more { display: none; }
@media (min-width: 640px) {
	.vita-chipev { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border-radius: .35rem; background: var(--brand-50); color: var(--brand-800); padding: .1rem .4rem; font-size: .76rem; font-weight: 600; text-decoration: none; }
	.vita-chipev span { font-weight: 400; opacity: .75; }
	.vita-chipev:hover { background: var(--brand-100); }
	.vita-chipev.is-cancelled { background: #fef2f2; color: #991b1b; text-decoration: line-through; }
	.vita-cal__more { display: block; font-size: .75rem; font-weight: 600; padding-left: .3rem; }
	.vita-cal__dots { display: none !important; }
}
.vita-cal__dots { display: flex; gap: 2px; }
.vita-cal__dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--brand-600); }
.vita-cal__mobile-list { margin-top: 2rem; }
@media (min-width: 640px) { .vita-cal__mobile-list { display: none; } }
.vita-week { display: grid; gap: .75rem; }
@media (min-width: 1024px) { .vita-week { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.vita-week__day { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem; }
.vita-week__day.is-today { border-color: var(--gold-500); box-shadow: 0 0 0 2px rgba(245, 231, 60, .5); }
.vita-week__day h3 { display: flex; align-items: baseline; gap: .5rem; font-size: 1.5rem; margin: 0 0 .5rem; }
.vita-week__day h3 span { font: 700 .8rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vita-week__ev { display: grid; gap: .15rem; border-left: 4px solid var(--brand-600); border-radius: .5rem; padding: .45rem .55rem; margin-bottom: .5rem; color: var(--ink); text-decoration: none; font-size: .9rem; }
.vita-week__ev:hover { background: var(--cream); }
.vita-week__ev small { color: var(--muted); }
.vita-week__ev.is-cancelled { border-color: #f87171; }
.vita-week__ev.is-cancelled strong { text-decoration: line-through; }
.vita-minimonth h3 { display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; }
.vita-minimonth h3 a { color: inherit; text-decoration: none; }
.vita-count { border-radius: 999px; padding: .05rem .5rem; font: 700 .75rem/1.6 var(--sans); background: #f1f1ef; color: #6b7280; }
.vita-count.is-on { background: var(--brand-600); color: #fff; }
.vita-minimonth__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: .7rem; }
.vita-minimonth__grid span { display: grid; place-items: center; height: 22px; border-radius: 4px; color: var(--muted); }
.vita-minimonth__grid .is-head { color: #9ca3af; font-weight: 700; }
.vita-minimonth__grid .is-out { color: transparent; }
.vita-minimonth__grid .is-on { background: var(--brand-600); color: #fff; font-weight: 700; }
.vita-minimonth__grid .is-today { box-shadow: inset 0 0 0 1px var(--gold-500); }
.vita-minimonth__list { border-top: 1px solid var(--line); margin-top: .75rem; padding-top: .6rem; display: grid; gap: .3rem; font-size: .88rem; }
.vita-minimonth__list a { color: var(--ink); text-decoration: none; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vita-minimonth__list a:hover { color: var(--brand-700); }
.vita-dl dt { font-weight: 700; color: var(--ink); font-size: .9rem; }
.vita-dl dd { margin: 0 0 .75rem; color: var(--muted); font-size: .92rem; }
@media (min-width: 1024px) { .vita-sticky { position: sticky; top: 120px; align-self: start; } }

/* Annuaires */
.vita-dircard { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s; }
.vita-dircard:hover { box-shadow: var(--shadow); }
.vita-dircard > .vita-doc__icon { margin: 1.25rem 1.25rem 0; }
.vita-dircard__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--brand-900); }
.vita-dircard__media img, .vita-dircard__media .vita-thumb-fallback { width: 100%; height: 100%; object-fit: cover; }
.vita-dircard--logo { flex-direction: row; align-items: center; gap: 1rem; padding: 1.1rem; }
.vita-dircard--logo .vita-dircard__media { width: 80px; height: 80px; aspect-ratio: 1; flex-shrink: 0; border-radius: 999px; background: #fff; }
.vita-dircard--logo .vita-dircard__media img { object-fit: contain; }
.vita-dircard--logo .vita-dircard__body { padding: 0; }
.vita-dircard__body { padding: 1.1rem 1.25rem 1.25rem; }
.vita-dircard__body h2 { font-size: 1.15rem; margin: .25rem 0; }
.vita-dircard__body h2 a { color: inherit; text-decoration: none; }
.vita-dircard__body p { margin: .25rem 0; }
.vita-contact-list { display: grid; gap: .7rem; font-size: .95rem; margin-bottom: 1rem; }
.vita-contact-list li { display: flex; gap: .55rem; align-items: flex-start; }
.vita-contact-list .vita-icon { color: var(--brand-700); flex-shrink: 0; margin-top: .15rem; }
.vita-contact-list a { word-break: break-word; }
.vita-socials { display: flex; flex-wrap: wrap; gap: .5rem; }
.vita-socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); }
.vita-socials a:hover { background: var(--brand-600); color: #fff; }
.vita-socials--light a { background: rgba(255, 255, 255, .1); color: #fff; }
.vita-socials--light a:hover { background: var(--gold-500); color: var(--brand-950); }
.vita-map { width: 100%; height: 260px; border: 0; border-radius: .75rem; margin-bottom: .5rem; }
.vita-orglogo { max-height: 160px; width: auto; margin: 0 auto; }
.vita-panel { border-radius: 1.5rem; background: #fff; border: 1px solid var(--line); padding: 2rem; display: grid; gap: 1rem; justify-items: start; align-content: start; }
@media (min-width: 768px) { .vita-panel { padding: 2.5rem; } }
.vita-panel > .vita-icon { color: var(--brand-700); }
.vita-panel h2 { font-size: 1.8rem; margin: 0; }
.vita-panel--brand { background: var(--brand-800); color: rgba(255, 255, 255, .85); border: 0; }
.vita-panel--brand h2 { color: #fff; }
.vita-panel--brand > .vita-icon { color: var(--gold-300); }
.vita-member { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.vita-member__photo { width: 100%; aspect-ratio: 1; object-fit: cover; }
.vita-member__body { padding: 1.1rem 1.25rem 1.25rem; }
.vita-member h3 { font-size: 1.15rem; margin: .25rem 0; }

/* Newsletter, pied de page */
.vita-footer { margin-top: 6rem; background: var(--brand-950); color: rgba(255, 255, 255, .8); }
.vita-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.vita-footer a:hover { color: #fff; text-decoration: underline; }
.vita-footer__nl { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.vita-footer__nl-inner { display: grid; gap: 2rem; padding-block: 3rem; align-items: center; }
@media (min-width: 768px) { .vita-footer__nl-inner { grid-template-columns: 1.2fr 1fr; } }
.vita-footer__nl h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 1.9rem); }
.vita-footer__nl p { color: rgba(255, 255, 255, .7); margin: 0; }
.vita-newsletter__row { display: flex; flex-direction: column; gap: .5rem; }
@media (min-width: 640px) { .vita-newsletter__row { flex-direction: row; } }
.vita-newsletter__row input { border-color: rgba(255, 255, 255, .2); }
.vita-newsletter__consent { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; font-size: .88rem; color: rgba(255, 255, 255, .75); margin-top: .75rem; }
.vita-newsletter__consent input { margin-top: .25rem; accent-color: var(--gold-500); }
.vita-newsletter .vita-notice { margin: 0 0 1rem; }
.vita-footer__grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 640px) { .vita-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .vita-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vita-footer__text { font-size: .9rem; color: rgba(255, 255, 255, .7); margin: 1rem 0; }
.vita-footer__title { font: 700 .8rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); margin: 0 0 1rem; }
.vita-footer__menu { display: grid; gap: .5rem; font-size: .92rem; margin-bottom: .5rem; }
.vita-footer__contact { display: grid; gap: .75rem; font-size: .92rem; }
.vita-footer__contact li { display: flex; gap: .5rem; }
.vita-footer__contact .vita-icon { color: var(--gold-300); flex-shrink: 0; }
.vita-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .78rem; color: rgba(255, 255, 255, .6); }
.vita-footer__bottom .vita-container { display: flex; flex-direction: column; gap: .4rem; padding-block: 1.5rem; }
.vita-footer__bottom p { margin: 0; }
@media (min-width: 640px) { .vita-footer__bottom .vita-container { flex-direction: row; justify-content: space-between; } }

/* 404, formulaires encadrés */
.vita-404 { display: grid; justify-items: center; text-align: center; padding-block: 6rem; }
.vita-404__code { font: 700 6rem/1 var(--serif); color: var(--brand-600); margin: 0; }
.vita-404__search { width: 100%; max-width: 32rem; margin: 1.5rem 0; }
.vita-form-wrap { scroll-margin-top: 100px; }
.vita-order-band .vita-form { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
@media (min-width: 768px) { .vita-order-band .vita-form { padding: 2rem; } }

/* Commentaires (si activés) */
.comment-list { list-style: none; padding: 0; }
.comment-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }

/* Blocs Gutenberg */
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-button__link { border-radius: 999px; background: var(--brand-600); }
